Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/leds/
Dleds-turris-omnia.c40 struct mc_subled subled_info[OMNIA_LED_NUM_CHANNELS]; member
67 buf[OMNIA_CMD_LED_COLOR_R] = mc_cdev->subled_info[0].brightness; in omnia_led_brightness_set_blocking()
68 buf[OMNIA_CMD_LED_COLOR_G] = mc_cdev->subled_info[1].brightness; in omnia_led_brightness_set_blocking()
69 buf[OMNIA_CMD_LED_COLOR_B] = mc_cdev->subled_info[2].brightness; in omnia_led_brightness_set_blocking()
108 led->subled_info[0].color_index = LED_COLOR_ID_RED; in omnia_led_register()
109 led->subled_info[0].channel = 0; in omnia_led_register()
110 led->subled_info[1].color_index = LED_COLOR_ID_GREEN; in omnia_led_register()
111 led->subled_info[1].channel = 1; in omnia_led_register()
112 led->subled_info[2].color_index = LED_COLOR_ID_BLUE; in omnia_led_register()
113 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-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-lp50xx.c339 mc_dev->subled_info[i].intensity); in lp50xx_brightness_set()
507 led->mc_cdev.subled_info = mc_led_info; in lp50xx_probe_dt()
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-v5.10/include/linux/
Dled-class-multicolor.h24 struct mc_subled *subled_info; member