Home
last modified time | relevance | path

Searched refs:sub_led (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/leds/flash/
H A Dleds-max77693.c124 struct max77693_sub_led *sub_led) in sub_led_to_led() argument
127 sub_leds[sub_led->fled_id]); in sub_led_to_led()
361 sub_led->flash_faults = 0; in max77693_get_flash_faults()
520 int fled_id = sub_led->fled_id; in max77693_led_flash_strobe_set()
555 *fault = sub_led->flash_faults; in max77693_led_flash_fault_get()
590 sub_led->flash_timeout = timeout; in max77693_led_flash_timeout_set()
797 int fled_id = sub_led->fled_id; in max77693_init_flash_settings()
824 struct max77693_sub_led *sub_led = in max77693_led_external_strobe_set() local
827 int fled_id = sub_led->fled_id; in max77693_led_external_strobe_set()
887 int fled_id = sub_led->fled_id; in max77693_init_fled_cdev()
[all …]
H A Dleds-mt6360.c624 struct mc_subled *sub_led; in mt6360_init_isnk_properties() local
626 sub_led = devm_kzalloc(priv->dev, in mt6360_init_isnk_properties()
627 sizeof(*sub_led) * MULTICOLOR_NUM_CHANNELS, GFP_KERNEL); in mt6360_init_isnk_properties()
628 if (!sub_led) in mt6360_init_isnk_properties()
651 sub_led[num_color].color_index = color; in mt6360_init_isnk_properties()
652 sub_led[num_color].channel = reg; in mt6360_init_isnk_properties()
663 led->mc.subled_info = sub_led; in mt6360_init_isnk_properties()
/openbmc/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c719 struct mc_subled *sub_led; in mt6370_assign_multicolor_info() local
723 sub_led = devm_kcalloc(dev, MC_CHANNEL_NUM, sizeof(*sub_led), GFP_KERNEL); in mt6370_assign_multicolor_info()
724 if (!sub_led) in mt6370_assign_multicolor_info()
743 sub_led[num_color].color_index = color; in mt6370_assign_multicolor_info()
744 sub_led[num_color].channel = reg; in mt6370_assign_multicolor_info()
745 sub_led[num_color].intensity = 0; in mt6370_assign_multicolor_info()
754 led->mc.subled_info = sub_led; in mt6370_assign_multicolor_info()