Searched refs:led_config (Results 1 – 11 of 11) sorted by relevance
131 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_gpio_enable() local135 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 …]
694 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_status() local699 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()
177 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 …]
617 if (pdata->led_config[i].led_current == 0) in lp5523_selftest()622 pdata->led_config[i].led_current); in lp5523_selftest()
69 struct lp55xx_led_config *led_config; member
99 .led_config = lp5521_led_config,
138 .led_config = lp5523_led_config,
126 .led_config = lp5562_led_config,
950 int qlge_mb_set_led_cfg(struct qlge_adapter *qdev, u32 led_config) in qlge_mb_set_led_cfg() argument962 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()
2158 u32 led_config; member2279 int qlge_mb_set_led_cfg(struct qlge_adapter *qdev, u32 led_config);
481 if (qlge_mb_set_led_cfg(qdev, qdev->led_config)) in qlge_set_phys_id()