Searched refs:led_cfg (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/drivers/leds/flash/ |
| H 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() 799 led_cfg->iout_flash_max[FLED1] + in max77693_init_flash_settings() 800 led_cfg->iout_flash_max[FLED2] : in max77693_init_flash_settings() 801 led_cfg->iout_flash_max[fled_id]; in max77693_init_flash_settings() 891 led_cdev->name = led_cfg->label[fled_id]; in max77693_init_fled_cdev() 895 led_cfg->iout_torch_max[FLED1] + in max77693_init_fled_cdev() 896 led_cfg->iout_torch_max[FLED2] : in max77693_init_fled_cdev() 897 led_cfg->iout_torch_max[fled_id]) / in max77693_init_fled_cdev() [all …]
|
| H A D | leds-aat1290.c | 418 struct aat1290_led_config_data *led_cfg, in aat1290_init_v4l2_flash_config() argument 429 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() argument 463 struct aat1290_led_config_data led_cfg = {}; in aat1290_led_probe() local 478 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()
|
| H A D | leds-ktd2692.c | 286 struct ktd2692_led_config_data led_cfg; in ktd2692_probe() local 297 ret = ktd2692_parse_dt(led, &pdev->dev, &led_cfg); in ktd2692_probe() 301 ktd2692_init_flash_timeout(fled_cdev, &led_cfg); in ktd2692_probe() 302 ktd2692_init_movie_current_max(&led_cfg); in ktd2692_probe() 306 led_cdev->max_brightness = led_cfg.max_brightness; in ktd2692_probe()
|
| /linux-6.15/drivers/scsi/qla2xxx/ |
| H A D | qla_sup.c | 1796 uint16_t led_cfg[6]; in qla83xx_beacon_blink() local 1834 led_cfg[0] = 0x4000; in qla83xx_beacon_blink() 1835 led_cfg[1] = 0x2000; in qla83xx_beacon_blink() 1836 led_cfg[2] = 0; in qla83xx_beacon_blink() 1837 led_cfg[3] = 0; in qla83xx_beacon_blink() 1838 led_cfg[4] = 0; in qla83xx_beacon_blink() 1839 led_cfg[5] = 0; in qla83xx_beacon_blink() 1841 led_cfg[0] = 0x4000; in qla83xx_beacon_blink() 1845 led_cfg[4] = 0; in qla83xx_beacon_blink() 1853 led_cfg[2] = 0; in qla83xx_beacon_blink() [all …]
|
| H A D | qla_mbx.c | 6059 mcp->mb[1] = led_cfg[0]; in qla81xx_set_led_config() 6060 mcp->mb[2] = led_cfg[1]; in qla81xx_set_led_config() 6062 mcp->mb[3] = led_cfg[2]; in qla81xx_set_led_config() 6063 mcp->mb[4] = led_cfg[3]; in qla81xx_set_led_config() 6064 mcp->mb[5] = led_cfg[4]; in qla81xx_set_led_config() 6065 mcp->mb[6] = led_cfg[5]; in qla81xx_set_led_config() 6116 led_cfg[0] = mcp->mb[1]; in qla81xx_get_led_config() 6117 led_cfg[1] = mcp->mb[2]; in qla81xx_get_led_config() 6119 led_cfg[2] = mcp->mb[3]; in qla81xx_get_led_config() 6120 led_cfg[3] = mcp->mb[4]; in qla81xx_get_led_config() [all …]
|
| /linux-6.15/drivers/media/dvb-frontends/ |
| H 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()
|
| H A D | au8522.h | 45 struct au8522_led_config *led_cfg; member
|
| H 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-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 4703 struct bnxt_led_cfg *led_cfg; in bnxt_set_phys_id() local 4726 led_cfg = (struct bnxt_led_cfg *)&req->led0_id; in bnxt_set_phys_id() 4727 for (i = 0; i < bp->num_leds; i++, led_cfg++) { in bnxt_set_phys_id() 4729 led_cfg->led_id = bp->leds[i].led_id; in bnxt_set_phys_id() 4730 led_cfg->led_state = led_state; in bnxt_set_phys_id() 4731 led_cfg->led_blink_on = duration; in bnxt_set_phys_id() 4732 led_cfg->led_blink_off = duration; in bnxt_set_phys_id() 4733 led_cfg->led_group_id = bp->leds[i].led_group_id; in bnxt_set_phys_id()
|
| /linux-6.15/drivers/media/usb/au0828/ |
| H A D | au0828-dvb.c | 56 .led_cfg = &hauppauge_hvr950q_led_cfg,
|
| /linux-6.15/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 15295 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local 15343 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg() 15346 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg() 15348 switch (led_cfg) { in tg3_get_eeprom_hw_cfg()
|