Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-max77693.c397 struct max77693_led_config_data *led_cfg) in max77693_setup() argument
412 max_flash_curr[FLED1] = led_cfg->iout_flash_max[FLED1] + in max77693_setup()
413 led_cfg->iout_flash_max[FLED2]; in max77693_setup()
417 max_flash_curr[FLED1] = led_cfg->iout_flash_max[FLED1]; in max77693_setup()
418 max_flash_curr[FLED2] = led_cfg->iout_flash_max[FLED2]; in max77693_setup()
433 if (led_cfg->low_vsys > 0) in max77693_setup()
434 v = max77693_led_vsys_to_reg(led_cfg->low_vsys) | in max77693_setup()
446 if (led_cfg->boost_mode == MAX77693_LED_BOOST_FIXED) in max77693_setup()
449 v = led_cfg->boost_mode | led_cfg->boost_mode << 1; in max77693_setup()
458 v = max77693_led_vout_to_reg(led_cfg->boost_vout); in max77693_setup()
[all …]
Dleds-aat1290.c446 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument
457 s->max = led_cfg->max_mm_current; in aat1290_init_v4l2_flash_config()
461 v4l2_sd_cfg->has_external_strobe = led_cfg->has_external_strobe; in aat1290_init_v4l2_flash_config()
471 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument
490 struct aat1290_led_config_data led_cfg = {}; in aat1290_led_probe() local
505 ret = aat1290_led_get_configuration(led, &led_cfg, &sub_node); in aat1290_led_probe()
514 led_cdev->max_brightness = led_cfg.max_brightness; in aat1290_led_probe()
518 aat1290_init_flash_timeout(led, &led_cfg); in aat1290_led_probe()
525 aat1290_init_v4l2_flash_config(led, &led_cfg, &v4l2_sd_cfg); in aat1290_led_probe()
Dleds-ktd2692.c364 struct ktd2692_led_config_data led_cfg; in ktd2692_probe() local
374 ret = ktd2692_parse_dt(led, &pdev->dev, &led_cfg); in ktd2692_probe()
378 ktd2692_init_flash_timeout(fled_cdev, &led_cfg); in ktd2692_probe()
379 ktd2692_init_movie_current_max(&led_cfg); in ktd2692_probe()
383 led_cdev->max_brightness = led_cfg.max_brightness; in ktd2692_probe()
/drivers/scsi/qla2xxx/
Dqla_sup.c1717 uint16_t led_cfg[6]; in qla83xx_beacon_blink() local
1754 led_cfg[0] = 0x4000; in qla83xx_beacon_blink()
1755 led_cfg[1] = 0x2000; in qla83xx_beacon_blink()
1756 led_cfg[2] = 0; in qla83xx_beacon_blink()
1757 led_cfg[3] = 0; in qla83xx_beacon_blink()
1758 led_cfg[4] = 0; in qla83xx_beacon_blink()
1759 led_cfg[5] = 0; in qla83xx_beacon_blink()
1761 led_cfg[0] = 0x4000; in qla83xx_beacon_blink()
1762 led_cfg[1] = 0x4000; in qla83xx_beacon_blink()
1763 led_cfg[2] = 0x4000; in qla83xx_beacon_blink()
[all …]
Dqla_mbx.c5098 qla81xx_set_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) in qla81xx_set_led_config() argument
5113 mcp->mb[1] = led_cfg[0]; in qla81xx_set_led_config()
5114 mcp->mb[2] = led_cfg[1]; in qla81xx_set_led_config()
5116 mcp->mb[3] = led_cfg[2]; in qla81xx_set_led_config()
5117 mcp->mb[4] = led_cfg[3]; in qla81xx_set_led_config()
5118 mcp->mb[5] = led_cfg[4]; in qla81xx_set_led_config()
5119 mcp->mb[6] = led_cfg[5]; in qla81xx_set_led_config()
5142 qla81xx_get_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) in qla81xx_get_led_config() argument
5170 led_cfg[0] = mcp->mb[1]; in qla81xx_get_led_config()
5171 led_cfg[1] = mcp->mb[2]; in qla81xx_get_led_config()
[all …]
/drivers/media/dvb-frontends/
Dau8522_common.c143 struct au8522_led_config *led_config = state->config->led_cfg; in au8522_led_gpio_enable()
173 struct au8522_led_config *led_config = state->config->led_cfg; in au8522_led_ctrl()
Dau8522.h58 struct au8522_led_config *led_cfg; member
Dau8522_dig.c707 struct au8522_led_config *led_config = state->config->led_cfg; in au8522_led_status()
761 if (state->config->led_cfg) in au8522_read_snr()
/drivers/media/usb/au0828/
Dau0828-dvb.c70 .led_cfg = &hauppauge_hvr950q_led_cfg,
/drivers/net/ethernet/broadcom/
Dtg3.c15158 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15206 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg()
15209 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15211 switch (led_cfg) { in tg3_get_eeprom_hw_cfg()