Home
last modified time | relevance | path

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

/linux-6.1.9/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.c22 mcled_cdev->subled_info[i].brightness = brightness * in led_mc_calc_color_components()
23 mcled_cdev->subled_info[i].intensity / in led_mc_calc_color_components()
60 mcled_cdev->subled_info[i].intensity = intensity_value[i]; in multi_intensity_store()
80 mcled_cdev->subled_info[i].intensity); in multi_intensity_show()
101 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.c362 led->mc_cdev.subled_info[i].channel, in lp5521_multicolor_brightness()
363 led->mc_cdev.subled_info[i].brightness); in lp5521_multicolor_brightness()
Dleds-lp5523.c805 led->mc_cdev.subled_info[i].channel, in lp5523_multicolor_brightness()
806 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-6.1.9/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-qcom-lpg.c630 lpg_brightness_set(led, cdev, mc->subled_info); in lpg_brightness_mc_set()
887 lpg_brightness_set(led, cdev, mc->subled_info); in lpg_pattern_mc_set()
1121 led->mcdev.subled_info = info; in lpg_add_led()
/linux-6.1.9/include/linux/
Dled-class-multicolor.h24 struct mc_subled *subled_info; member
/linux-6.1.9/drivers/hid/
Dhid-playstation.c596 lightbar_mc_dev->subled_info = mc_led_info; in ps_lightbar_register()
868 red = mc_cdev->subled_info[0].brightness; in dualsense_lightbar_set_brightness()
869 green = mc_cdev->subled_info[1].brightness; in dualsense_lightbar_set_brightness()
870 blue = mc_cdev->subled_info[2].brightness; in dualsense_lightbar_set_brightness()
/linux-6.1.9/drivers/leds/flash/
Dleds-mt6360.c115 struct mc_subled *subled = mccdev->subled_info + i; in mt6360_mc_brightness_set()
664 led->mc.subled_info = sub_led; in mt6360_init_isnk_properties()