Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/leds/
Dleds-lp55xx-common.c475 if (pdata->led_config[chan].led_current == 0) in lp55xx_init_led()
478 if (pdata->led_config[chan].name) { in lp55xx_init_led()
479 led->cdev.name = pdata->led_config[chan].name; in lp55xx_init_led()
486 if (pdata->led_config[chan].num_colors > 1) { in lp55xx_init_led()
488 pdata->led_config[chan].num_colors, in lp55xx_init_led()
496 led->mc_cdev.num_colors = pdata->led_config[chan].num_colors; in lp55xx_init_led()
499 pdata->led_config[chan].color_id[i]; in lp55xx_init_led()
501 pdata->led_config[chan].output_num[i]; in lp55xx_init_led()
510 led->cdev.default_trigger = pdata->led_config[chan].default_trigger; in lp55xx_init_led()
511 led->led_current = pdata->led_config[chan].led_current; in lp55xx_init_led()
[all …]
Dleds-lp5523.c222 if (pdata->led_config[i].led_current == 0) in lp5523_selftest()
227 pdata->led_config[i].led_current); in lp5523_selftest()
/linux-6.12.1/include/linux/platform_data/
Dleds-lp55xx.h69 struct lp55xx_led_config *led_config; member
/linux-6.12.1/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,