Searched refs:led_cfg (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/leds/flash/ |
A D | leds-max77693.c | 407 led_cfg->iout_flash_max[FLED2]; in max77693_setup() 427 if (led_cfg->low_vsys > 0) in max77693_setup() 443 v = led_cfg->boost_mode | led_cfg->boost_mode << 1; in max77693_setup() 804 led_cfg->iout_flash_max[FLED1] + in max77693_init_flash_settings() 805 led_cfg->iout_flash_max[FLED2] : in max77693_init_flash_settings() 806 led_cfg->iout_flash_max[fled_id]; in max77693_init_flash_settings() 896 led_cdev->name = led_cfg->label[fled_id]; in max77693_init_fled_cdev() 900 led_cfg->iout_torch_max[FLED1] + in max77693_init_fled_cdev() 901 led_cfg->iout_torch_max[FLED2] : in max77693_init_fled_cdev() 902 led_cfg->iout_torch_max[fled_id]) / in max77693_init_fled_cdev() [all …]
|
A 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()
|
A D | leds-ktd2692.c | 355 struct ktd2692_led_config_data led_cfg; in ktd2692_probe() local 365 ret = ktd2692_parse_dt(led, &pdev->dev, &led_cfg); in ktd2692_probe() 369 ktd2692_init_flash_timeout(fled_cdev, &led_cfg); in ktd2692_probe() 370 ktd2692_init_movie_current_max(&led_cfg); in ktd2692_probe() 374 led_cdev->max_brightness = led_cfg.max_brightness; in ktd2692_probe()
|
/linux/drivers/scsi/qla2xxx/ |
A 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() 1829 led_cfg[4] = 0; in qla83xx_beacon_blink() 1837 led_cfg[2] = 0; in qla83xx_beacon_blink() [all …]
|
A D | qla_mbx.c | 6041 mcp->mb[1] = led_cfg[0]; in qla81xx_set_led_config() 6042 mcp->mb[2] = led_cfg[1]; in qla81xx_set_led_config() 6044 mcp->mb[3] = led_cfg[2]; in qla81xx_set_led_config() 6045 mcp->mb[4] = led_cfg[3]; in qla81xx_set_led_config() 6046 mcp->mb[5] = led_cfg[4]; in qla81xx_set_led_config() 6047 mcp->mb[6] = led_cfg[5]; in qla81xx_set_led_config() 6098 led_cfg[0] = mcp->mb[1]; in qla81xx_get_led_config() 6099 led_cfg[1] = mcp->mb[2]; in qla81xx_get_led_config() 6101 led_cfg[2] = mcp->mb[3]; in qla81xx_get_led_config() 6102 led_cfg[3] = mcp->mb[4]; in qla81xx_get_led_config() [all …]
|
/linux/drivers/media/dvb-frontends/ |
A 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()
|
A D | au8522.h | 45 struct au8522_led_config *led_cfg; member
|
A 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/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 3185 struct bnxt_led_cfg *led_cfg; in bnxt_set_phys_id() local 3208 led_cfg = (struct bnxt_led_cfg *)&req->led0_id; in bnxt_set_phys_id() 3209 for (i = 0; i < bp->num_leds; i++, led_cfg++) { in bnxt_set_phys_id() 3211 led_cfg->led_id = bp->leds[i].led_id; in bnxt_set_phys_id() 3212 led_cfg->led_state = led_state; in bnxt_set_phys_id() 3213 led_cfg->led_blink_on = duration; in bnxt_set_phys_id() 3214 led_cfg->led_blink_off = duration; in bnxt_set_phys_id() 3215 led_cfg->led_group_id = bp->leds[i].led_group_id; in bnxt_set_phys_id()
|
/linux/drivers/media/usb/au0828/ |
A D | au0828-dvb.c | 56 .led_cfg = &hauppauge_hvr950q_led_cfg,
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 15135 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local 15183 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg() 15186 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg() 15188 switch (led_cfg) { in tg3_get_eeprom_hw_cfg()
|
Completed in 67 milliseconds