Searched refs:led_config (Results 1 – 7 of 7) sorted by relevance
143 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_gpio_enable() local147 if (!led_config || !led_config->gpio_output || in au8522_led_gpio_enable()148 !led_config->gpio_output_enable || !led_config->gpio_output_disable) in au8522_led_gpio_enable()152 (led_config->gpio_output & ~0xc000)); in au8522_led_gpio_enable()155 val &= ~((led_config->gpio_output_enable >> 8) & 0xff); in au8522_led_gpio_enable()156 val |= (led_config->gpio_output_enable & 0xff); in au8522_led_gpio_enable()159 val &= ~((led_config->gpio_output_disable >> 8) & 0xff); in au8522_led_gpio_enable()160 val |= (led_config->gpio_output_disable & 0xff); in au8522_led_gpio_enable()163 (led_config->gpio_output & ~0xc000), val); in au8522_led_gpio_enable()173 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_ctrl() local[all …]
707 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_status() local712 if (!led_config) in au8522_led_status()718 strong = led_config->qam256_strong; in au8522_led_status()720 strong = led_config->qam64_strong; in au8522_led_status()722 strong = led_config->vsb8_strong; in au8522_led_status()
162 if (pdata->led_config[chan].led_current == 0) in lp55xx_init_led()165 led->led_current = pdata->led_config[chan].led_current; in lp55xx_init_led()166 led->max_current = pdata->led_config[chan].max_current; in lp55xx_init_led()167 led->chan_nr = pdata->led_config[chan].chan_nr; in lp55xx_init_led()168 led->cdev.default_trigger = pdata->led_config[chan].default_trigger; in lp55xx_init_led()179 if (pdata->led_config[chan].name) { in lp55xx_init_led()180 led->cdev.name = pdata->led_config[chan].name; in lp55xx_init_led()476 if (pdata->led_config[i].led_current == 0) in lp55xx_register_leds()479 led_current = pdata->led_config[i].led_current; in lp55xx_register_leds()567 pdata->led_config = &cfg[0]; in lp55xx_of_populate_pdata()
627 if (pdata->led_config[i].led_current == 0) in lp5523_selftest()632 pdata->led_config[i].led_current); in lp5523_selftest()
954 int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config) in ql_mb_set_led_cfg() argument966 mbcp->mbox_in[1] = led_config; in ql_mb_set_led_cfg()1004 qdev->led_config = mbcp->mbox_out[1]; in ql_mb_get_led_cfg()
2134 u32 led_config; member2242 int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config);
471 if (ql_mb_set_led_cfg(qdev, qdev->led_config)) in ql_set_phys_id()