Home
last modified time | relevance | path

Searched refs:led_config (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/media/dvb-frontends/
Dau8522_common.c131 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_gpio_enable() local
135 if (!led_config || !led_config->gpio_output || in au8522_led_gpio_enable()
136 !led_config->gpio_output_enable || !led_config->gpio_output_disable) in au8522_led_gpio_enable()
140 (led_config->gpio_output & ~0xc000)); in au8522_led_gpio_enable()
143 val &= ~((led_config->gpio_output_enable >> 8) & 0xff); in au8522_led_gpio_enable()
144 val |= (led_config->gpio_output_enable & 0xff); in au8522_led_gpio_enable()
147 val &= ~((led_config->gpio_output_disable >> 8) & 0xff); in au8522_led_gpio_enable()
148 val |= (led_config->gpio_output_disable & 0xff); in au8522_led_gpio_enable()
151 (led_config->gpio_output & ~0xc000), val); in au8522_led_gpio_enable()
161 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_ctrl() local
[all …]
Dau8522_dig.c694 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_status() local
699 if (!led_config) in au8522_led_status()
705 strong = led_config->qam256_strong; in au8522_led_status()
707 strong = led_config->qam64_strong; in au8522_led_status()
709 strong = led_config->vsb8_strong; in au8522_led_status()
/linux-6.1.9/drivers/leds/
Dleds-lp55xx-common.c177 if (pdata->led_config[chan].led_current == 0) in lp55xx_init_led()
180 if (pdata->led_config[chan].name) { in lp55xx_init_led()
181 led->cdev.name = pdata->led_config[chan].name; in lp55xx_init_led()
188 if (pdata->led_config[chan].num_colors > 1) { in lp55xx_init_led()
190 pdata->led_config[chan].num_colors, in lp55xx_init_led()
198 led->mc_cdev.num_colors = pdata->led_config[chan].num_colors; in lp55xx_init_led()
201 pdata->led_config[chan].color_id[i]; in lp55xx_init_led()
203 pdata->led_config[chan].output_num[i]; in lp55xx_init_led()
213 led->cdev.default_trigger = pdata->led_config[chan].default_trigger; in lp55xx_init_led()
214 led->led_current = pdata->led_config[chan].led_current; in lp55xx_init_led()
[all …]
Dleds-lp5523.c617 if (pdata->led_config[i].led_current == 0) in lp5523_selftest()
622 pdata->led_config[i].led_current); in lp5523_selftest()
/linux-6.1.9/include/linux/platform_data/
Dleds-lp55xx.h69 struct lp55xx_led_config *led_config; member
/linux-6.1.9/Documentation/leds/
Dleds-lp5521.rst99 .led_config = lp5521_led_config,
Dleds-lp5523.rst138 .led_config = lp5523_led_config,
Dleds-lp5562.rst126 .led_config = lp5562_led_config,
/linux-6.1.9/drivers/staging/qlge/
Dqlge_mpi.c950 int qlge_mb_set_led_cfg(struct qlge_adapter *qdev, u32 led_config) in qlge_mb_set_led_cfg() argument
962 mbcp->mbox_in[1] = led_config; in qlge_mb_set_led_cfg()
999 qdev->led_config = mbcp->mbox_out[1]; in qlge_mb_get_led_cfg()
Dqlge.h2158 u32 led_config; member
2279 int qlge_mb_set_led_cfg(struct qlge_adapter *qdev, u32 led_config);
Dqlge_ethtool.c481 if (qlge_mb_set_led_cfg(qdev, qdev->led_config)) in qlge_set_phys_id()