Home
last modified time | relevance | path

Searched refs:led_cfg (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/leds/flash/
H A Dleds-max77693.c391 struct max77693_led_config_data *led_cfg) in max77693_setup() argument
406 max_flash_curr[FLED1] = led_cfg->iout_flash_max[FLED1] + in max77693_setup()
407 led_cfg->iout_flash_max[FLED2]; in max77693_setup()
411 max_flash_curr[FLED1] = led_cfg->iout_flash_max[FLED1]; in max77693_setup()
412 max_flash_curr[FLED2] = led_cfg->iout_flash_max[FLED2]; in max77693_setup()
427 if (led_cfg->low_vsys > 0) in max77693_setup()
428 v = max77693_led_vsys_to_reg(led_cfg->low_vsys) | in max77693_setup()
440 if (led_cfg->boost_mode == MAX77693_LED_BOOST_FIXED) in max77693_setup()
443 v = led_cfg->boost_mode | led_cfg->boost_mode << 1; in max77693_setup()
452 v = max77693_led_vout_to_reg(led_cfg->boost_vout); in max77693_setup()
[all …]
H A Dleds-aat1290.c418 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument
429 s->max = led_cfg->max_mm_current; in aat1290_init_v4l2_flash_config()
433 v4l2_sd_cfg->has_external_strobe = led_cfg->has_external_strobe; in aat1290_init_v4l2_flash_config()
443 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument
463 struct aat1290_led_config_data led_cfg = {}; in aat1290_led_probe() local
478 ret = aat1290_led_get_configuration(led, &led_cfg, &sub_node); in aat1290_led_probe()
486 led_cdev->max_brightness = led_cfg.max_brightness; in aat1290_led_probe()
489 aat1290_init_flash_timeout(led, &led_cfg); in aat1290_led_probe()
500 aat1290_init_v4l2_flash_config(led, &led_cfg, &v4l2_sd_cfg); in aat1290_led_probe()
/linux/drivers/media/dvb-frontends/
H A Dau8522_common.c131 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_gpio_enable()
161 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_ctrl()
H A Dau8522.h45 struct au8522_led_config *led_cfg; member
H A Dau8522_dig.c694 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_status()
748 if (state->config.led_cfg) in au8522_read_snr()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c4929 struct bnxt_led_cfg *led_cfg; in bnxt_set_phys_id() local
4952 led_cfg = (struct bnxt_led_cfg *)&req->led0_id; in bnxt_set_phys_id()
4953 for (i = 0; i < bp->num_leds; i++, led_cfg++) { in bnxt_set_phys_id()
4955 led_cfg->led_id = bp->leds[i].led_id; in bnxt_set_phys_id()
4956 led_cfg->led_state = led_state; in bnxt_set_phys_id()
4957 led_cfg->led_blink_on = duration; in bnxt_set_phys_id()
4958 led_cfg->led_blink_off = duration; in bnxt_set_phys_id()
4959 led_cfg->led_group_id = bp->leds[i].led_group_id; in bnxt_set_phys_id()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c15252 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15300 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg()
15303 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15305 switch (led_cfg) { in tg3_get_eeprom_hw_cfg()