Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/leds/
Dleds-turris-omnia.c32 struct mc_subled subled_info[OMNIA_LED_NUM_CHANNELS]; member
59 buf[2] = mc_cdev->subled_info[0].brightness; in omnia_led_brightness_set_blocking()
60 buf[3] = mc_cdev->subled_info[1].brightness; in omnia_led_brightness_set_blocking()
61 buf[4] = mc_cdev->subled_info[2].brightness; in omnia_led_brightness_set_blocking()
100 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
101 led->subled_info[0].channel = 0; in omnia_led_register()
102 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
103 led->subled_info[1].channel = 1; in omnia_led_register()
104 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in omnia_led_register()
105 led->subled_info[2].channel = 2; in omnia_led_register()
[all …]
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()
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()
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()
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()
Dleds-lp55xx-common.c207 led->mc_cdev.subled_info = mc_led_info; in lp55xx_init_led()
/Linux-v6.6/drivers/leds/rgb/
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()
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()
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()
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()
/Linux-v6.6/include/linux/
Dled-class-multicolor.h24 struct mc_subled *subled_info; member
/Linux-v6.6/drivers/leds/flash/
Dleds-mt6360.c111 struct mc_subled *subled = mccdev->subled_info + i; in mt6360_mc_brightness_set()
660 led->mc.subled_info = sub_led; in mt6360_init_isnk_properties()
/Linux-v6.6/drivers/hid/
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()