Searched refs:led_cfg (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/drivers/leds/flash/ |
D | leds-max77693.c | 391 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 …]
|
D | leds-aat1290.c | 422 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument 433 s->max = led_cfg->max_mm_current; in aat1290_init_v4l2_flash_config() 437 v4l2_sd_cfg->has_external_strobe = led_cfg->has_external_strobe; in aat1290_init_v4l2_flash_config() 447 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument 467 struct aat1290_led_config_data led_cfg = {}; in aat1290_led_probe() local 482 ret = aat1290_led_get_configuration(led, &led_cfg, &sub_node); in aat1290_led_probe() 490 led_cdev->max_brightness = led_cfg.max_brightness; in aat1290_led_probe() 493 aat1290_init_flash_timeout(led, &led_cfg); in aat1290_led_probe() 504 aat1290_init_v4l2_flash_config(led, &led_cfg, &v4l2_sd_cfg); in aat1290_led_probe()
|
D | leds-ktd2692.c | 350 struct ktd2692_led_config_data led_cfg; in ktd2692_probe() local 360 ret = ktd2692_parse_dt(led, &pdev->dev, &led_cfg); in ktd2692_probe() 364 ktd2692_init_flash_timeout(fled_cdev, &led_cfg); in ktd2692_probe() 365 ktd2692_init_movie_current_max(&led_cfg); in ktd2692_probe() 369 led_cdev->max_brightness = led_cfg.max_brightness; in ktd2692_probe()
|
/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 1780 uint16_t led_cfg[6]; in qla83xx_beacon_blink() local 1818 led_cfg[0] = 0x4000; in qla83xx_beacon_blink() 1819 led_cfg[1] = 0x2000; in qla83xx_beacon_blink() 1820 led_cfg[2] = 0; in qla83xx_beacon_blink() 1821 led_cfg[3] = 0; in qla83xx_beacon_blink() 1822 led_cfg[4] = 0; in qla83xx_beacon_blink() 1823 led_cfg[5] = 0; in qla83xx_beacon_blink() 1825 led_cfg[0] = 0x4000; in qla83xx_beacon_blink() 1826 led_cfg[1] = 0x4000; in qla83xx_beacon_blink() 1827 led_cfg[2] = 0x4000; in qla83xx_beacon_blink() [all …]
|
D | qla_mbx.c | 6045 qla81xx_set_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) in qla81xx_set_led_config() argument 6060 mcp->mb[1] = led_cfg[0]; in qla81xx_set_led_config() 6061 mcp->mb[2] = led_cfg[1]; in qla81xx_set_led_config() 6063 mcp->mb[3] = led_cfg[2]; in qla81xx_set_led_config() 6064 mcp->mb[4] = led_cfg[3]; in qla81xx_set_led_config() 6065 mcp->mb[5] = led_cfg[4]; in qla81xx_set_led_config() 6066 mcp->mb[6] = led_cfg[5]; in qla81xx_set_led_config() 6089 qla81xx_get_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) in qla81xx_get_led_config() argument 6117 led_cfg[0] = mcp->mb[1]; in qla81xx_get_led_config() 6118 led_cfg[1] = mcp->mb[2]; in qla81xx_get_led_config() [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | au8522_common.c | 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()
|
D | au8522.h | 45 struct au8522_led_config *led_cfg; member
|
D | au8522_dig.c | 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()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 3290 struct bnxt_led_cfg *led_cfg; in bnxt_set_phys_id() local 3313 led_cfg = (struct bnxt_led_cfg *)&req->led0_id; in bnxt_set_phys_id() 3314 for (i = 0; i < bp->num_leds; i++, led_cfg++) { in bnxt_set_phys_id() 3316 led_cfg->led_id = bp->leds[i].led_id; in bnxt_set_phys_id() 3317 led_cfg->led_state = led_state; in bnxt_set_phys_id() 3318 led_cfg->led_blink_on = duration; in bnxt_set_phys_id() 3319 led_cfg->led_blink_off = duration; in bnxt_set_phys_id() 3320 led_cfg->led_group_id = bp->leds[i].led_group_id; in bnxt_set_phys_id()
|
/Linux-v6.1/drivers/media/usb/au0828/ |
D | au0828-dvb.c | 56 .led_cfg = &hauppauge_hvr950q_led_cfg,
|
/Linux-v6.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 15138 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local 15186 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg() 15189 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg() 15191 switch (led_cfg) { in tg3_get_eeprom_hw_cfg()
|