Searched refs:led_cfg (Results 1 – 7 of 7) sorted by relevance
391 struct max77693_led_config_data *led_cfg) in max77693_setup() argument406 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 …]
418 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument429 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() argument463 struct aat1290_led_config_data led_cfg = {}; in aat1290_led_probe() local478 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()
131 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()
45 struct au8522_led_config *led_cfg; member
694 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_status()748 if (state->config.led_cfg) in au8522_read_snr()
4929 struct bnxt_led_cfg *led_cfg; in bnxt_set_phys_id() local4952 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()
15252 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local15300 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()