Home
last modified time | relevance | path

Searched refs:subled_info (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-turris-omnia.c32 struct mc_subled subled_info[OMNIA_LED_NUM_CHANNELS]; member
90 buf[2] = mc_cdev->subled_info[0].brightness; in omnia_led_brightness_set_blocking()
91 buf[3] = mc_cdev->subled_info[1].brightness; in omnia_led_brightness_set_blocking()
92 buf[4] = mc_cdev->subled_info[2].brightness; in omnia_led_brightness_set_blocking()
131 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
132 led->subled_info[0].channel = 0; in omnia_led_register()
133 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
134 led->subled_info[1].channel = 1; in omnia_led_register()
135 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in omnia_led_register()
136 led->subled_info[2].channel = 2; in omnia_led_register()
[all …]
H A Dled-class-multicolor.c23 mcled_cdev->subled_info[i].brightness = in led_mc_calc_color_components()
25 mcled_cdev->subled_info[i].intensity, in led_mc_calc_color_components()
62 mcled_cdev->subled_info[i].intensity = intensity_value[i]; in multi_intensity_store()
82 mcled_cdev->subled_info[i].intensity); in multi_intensity_show()
103 index = mcled_cdev->subled_info[i].color_index; in multi_index_show()
H A Dleds-lp50xx.c337 mc_dev->subled_info[i].intensity); in lp50xx_brightness_set()
503 led->mc_cdev.subled_info = mc_led_info; in lp50xx_probe_dt()
H A Dleds-lp5521.c361 led->mc_cdev.subled_info[i].channel, in lp5521_multicolor_brightness()
362 led->mc_cdev.subled_info[i].brightness); in lp5521_multicolor_brightness()
H A Dleds-lp5523.c812 led->mc_cdev.subled_info[i].channel, in lp5523_multicolor_brightness()
813 led->mc_cdev.subled_info[i].brightness); in lp5523_multicolor_brightness()
H A Dleds-lp55xx-common.c207 led->mc_cdev.subled_info = mc_led_info; in lp55xx_init_led()
/openbmc/linux/drivers/leds/rgb/
H A Dleds-pwm-multicolor.c46 duty *= mc_cdev->subled_info[i].brightness; in led_pwm_mc_set()
68 struct mc_subled *subled = priv->mc_cdev.subled_info; in iterate_subleds()
134 priv->mc_cdev.subled_info = subled; in led_pwm_mc_probe()
H A Dleds-group-multicolor.c38 unsigned int intensity = mc_cdev->subled_info[i].intensity; in leds_gmc_set()
104 priv->mc_cdev.subled_info = subled; in leds_gmc_probe()
H A Dleds-mt6370-rgb.c443 subled = mccdev->subled_info + i; in mt6370_mc_brightness_set()
504 subled = mccdev->subled_info + i; in mt6370_mc_blink_set()
558 subled = mccdev->subled_info + i; in mt6370_mc_pattern_set()
596 subled = mccdev->subled_info + i; in mt6370_mc_pattern_clear()
754 led->mc.subled_info = sub_led; in mt6370_assign_multicolor_info()
H A Dleds-qcom-lpg.c681 lpg_brightness_set(led, cdev, mc->subled_info); in lpg_brightness_mc_set()
938 lpg_brightness_set(led, cdev, mc->subled_info); in lpg_pattern_mc_set()
1184 led->mcdev.subled_info = info; in lpg_add_led()
/openbmc/linux/include/linux/
H A Dled-class-multicolor.h24 struct mc_subled *subled_info; member
/openbmc/linux/drivers/leds/flash/
H A Dleds-mt6360.c111 struct mc_subled *subled = mccdev->subled_info + i; in mt6360_mc_brightness_set()
663 led->mc.subled_info = sub_led; in mt6360_init_isnk_properties()
/openbmc/linux/drivers/hid/
H A Dhid-playstation.c828 lightbar_mc_dev->subled_info = mc_led_info; in ps_lightbar_register()
1135 red = mc_cdev->subled_info[0].brightness; in dualsense_lightbar_set_brightness()
1136 green = mc_cdev->subled_info[1].brightness; in dualsense_lightbar_set_brightness()
1137 blue = mc_cdev->subled_info[2].brightness; in dualsense_lightbar_set_brightness()