Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/leds/
Dleds-max77693.c394 struct max77693_led_config_data *led_cfg) in max77693_setup() argument
409 max_flash_curr[FLED1] = led_cfg->iout_flash_max[FLED1] + in max77693_setup()
410 led_cfg->iout_flash_max[FLED2]; in max77693_setup()
414 max_flash_curr[FLED1] = led_cfg->iout_flash_max[FLED1]; in max77693_setup()
415 max_flash_curr[FLED2] = led_cfg->iout_flash_max[FLED2]; in max77693_setup()
430 if (led_cfg->low_vsys > 0) in max77693_setup()
431 v = max77693_led_vsys_to_reg(led_cfg->low_vsys) | in max77693_setup()
443 if (led_cfg->boost_mode == MAX77693_LED_BOOST_FIXED) in max77693_setup()
446 v = led_cfg->boost_mode | led_cfg->boost_mode << 1; in max77693_setup()
455 v = max77693_led_vout_to_reg(led_cfg->boost_vout); in max77693_setup()
[all …]
Dleds-aat1290.c428 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument
439 s->max = led_cfg->max_mm_current; in aat1290_init_v4l2_flash_config()
443 v4l2_sd_cfg->has_external_strobe = led_cfg->has_external_strobe; in aat1290_init_v4l2_flash_config()
453 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument
472 struct aat1290_led_config_data led_cfg = {}; in aat1290_led_probe() local
487 ret = aat1290_led_get_configuration(led, &led_cfg, &sub_node); in aat1290_led_probe()
495 led_cdev->max_brightness = led_cfg.max_brightness; in aat1290_led_probe()
498 aat1290_init_flash_timeout(led, &led_cfg); in aat1290_led_probe()
505 aat1290_init_v4l2_flash_config(led, &led_cfg, &v4l2_sd_cfg); in aat1290_led_probe()
Dleds-ktd2692.c341 struct ktd2692_led_config_data led_cfg; in ktd2692_probe() local
351 ret = ktd2692_parse_dt(led, &pdev->dev, &led_cfg); in ktd2692_probe()
355 ktd2692_init_flash_timeout(fled_cdev, &led_cfg); in ktd2692_probe()
356 ktd2692_init_movie_current_max(&led_cfg); in ktd2692_probe()
360 led_cdev->max_brightness = led_cfg.max_brightness; in ktd2692_probe()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_sup.c1748 uint16_t led_cfg[6]; in qla83xx_beacon_blink() local
1785 led_cfg[0] = 0x4000; in qla83xx_beacon_blink()
1786 led_cfg[1] = 0x2000; in qla83xx_beacon_blink()
1787 led_cfg[2] = 0; in qla83xx_beacon_blink()
1788 led_cfg[3] = 0; in qla83xx_beacon_blink()
1789 led_cfg[4] = 0; in qla83xx_beacon_blink()
1790 led_cfg[5] = 0; in qla83xx_beacon_blink()
1792 led_cfg[0] = 0x4000; in qla83xx_beacon_blink()
1793 led_cfg[1] = 0x4000; in qla83xx_beacon_blink()
1794 led_cfg[2] = 0x4000; in qla83xx_beacon_blink()
[all …]
Dqla_mbx.c5638 qla81xx_set_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) in qla81xx_set_led_config() argument
5653 mcp->mb[1] = led_cfg[0]; in qla81xx_set_led_config()
5654 mcp->mb[2] = led_cfg[1]; in qla81xx_set_led_config()
5656 mcp->mb[3] = led_cfg[2]; in qla81xx_set_led_config()
5657 mcp->mb[4] = led_cfg[3]; in qla81xx_set_led_config()
5658 mcp->mb[5] = led_cfg[4]; in qla81xx_set_led_config()
5659 mcp->mb[6] = led_cfg[5]; in qla81xx_set_led_config()
5682 qla81xx_get_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) in qla81xx_get_led_config() argument
5710 led_cfg[0] = mcp->mb[1]; in qla81xx_get_led_config()
5711 led_cfg[1] = mcp->mb[2]; in qla81xx_get_led_config()
[all …]
/Linux-v4.19/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.h57 struct au8522_led_config *led_cfg; member
Dau8522_dig.c706 struct au8522_led_config *led_config = state->config.led_cfg; in au8522_led_status()
760 if (state->config.led_cfg) in au8522_read_snr()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2299 struct bnxt_led_cfg *led_cfg; in bnxt_set_phys_id() local
2319 led_cfg = (struct bnxt_led_cfg *)&req.led0_id; in bnxt_set_phys_id()
2320 for (i = 0; i < bp->num_leds; i++, led_cfg++) { in bnxt_set_phys_id()
2322 led_cfg->led_id = bp->leds[i].led_id; in bnxt_set_phys_id()
2323 led_cfg->led_state = led_state; in bnxt_set_phys_id()
2324 led_cfg->led_blink_on = duration; in bnxt_set_phys_id()
2325 led_cfg->led_blink_off = duration; in bnxt_set_phys_id()
2326 led_cfg->led_group_id = bp->leds[i].led_group_id; in bnxt_set_phys_id()
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-dvb.c66 .led_cfg = &hauppauge_hvr950q_led_cfg,
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dtg3.c15182 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15230 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg()
15233 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15235 switch (led_cfg) { in tg3_get_eeprom_hw_cfg()