Home
last modified time | relevance | path

Searched refs:control_bank (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/leds/
Dleds-lm3697.c64 int control_bank; member
127 int ctrl_en_val = (1 << led->control_bank); in lm3697_brightness_set()
209 int control_bank; in lm3697_probe_dt() local
226 ret = fwnode_property_read_u32(child, "reg", &control_bank); in lm3697_probe_dt()
232 if (control_bank > LM3697_CONTROL_B) { in lm3697_probe_dt()
245 led->control_bank = control_bank; in lm3697_probe_dt()
248 control_bank; in lm3697_probe_dt()
250 led->control_bank * 2; in lm3697_probe_dt()
252 led->control_bank * 2; in lm3697_probe_dt()
270 (led->control_bank << led->hvled_strings[j]); in lm3697_probe_dt()
Dleds-lm3532.c137 int control_bank; member
299 int ctrl_en_val = BIT(led_data->control_bank); in lm3532_led_enable()
324 int ctrl_en_val = BIT(led_data->control_bank); in lm3532_led_disable()
374 brightness_reg = LM3532_REG_ZONE_TRGT_A + led->control_bank * 5 + in lm3532_brightness_set()
400 brightness_config_reg = LM3532_REG_ZONE_CFG_A + led->control_bank * 2; in lm3532_init_registers()
418 fs_current_reg = LM3532_REG_CTRL_A_FS_CURR + led->control_bank * 2; in lm3532_init_registers()
430 output_cfg_val |= (led->control_bank << output_cfg_shift); in lm3532_init_registers()
549 int control_bank; in lm3532_parse_node() local
586 ret = fwnode_property_read_u32(child, "reg", &control_bank); in lm3532_parse_node()
592 if (control_bank > LM3532_CONTROL_C) { in lm3532_parse_node()
[all …]