Home
last modified time | relevance | path

Searched refs:mcled_cdev (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dled-class-multicolor.c22 for (i = 0; i < mcled_cdev->num_colors; i++) in led_mc_calc_color_components()
23 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()
61 for (i = 0; i < mcled_cdev->num_colors; i++) in multi_intensity_store()
83 if (i < mcled_cdev->num_colors - 1) in multi_intensity_show()
105 if (i < mcled_cdev->num_colors - 1) in multi_index_show()
127 if (!mcled_cdev) in led_classdev_multicolor_register_ext()
130 if (mcled_cdev->num_colors <= 0) in led_classdev_multicolor_register_ext()
136 led_cdev = &mcled_cdev->led_cdev; in led_classdev_multicolor_register_ext()
145 if (!mcled_cdev) in led_classdev_multicolor_unregister()
[all …]
/openbmc/linux/include/linux/
H A Dled-class-multicolor.h44 struct led_classdev_mc *mcled_cdev,
58 int led_mc_calc_color_components(struct led_classdev_mc *mcled_cdev,
62 struct led_classdev_mc *mcled_cdev,
66 struct led_classdev_mc *mcled_cdev);
70 struct led_classdev_mc *mcled_cdev, in led_classdev_multicolor_register_ext() argument
84 struct led_classdev_mc *mcled_cdev, in devm_led_classdev_multicolor_register_ext() argument
91 struct led_classdev_mc *mcled_cdev) in devm_led_classdev_multicolor_unregister() argument
97 struct led_classdev_mc *mcled_cdev) in led_classdev_multicolor_register() argument
99 return led_classdev_multicolor_register_ext(parent, mcled_cdev, NULL); in led_classdev_multicolor_register()
103 struct led_classdev_mc *mcled_cdev) in devm_led_classdev_multicolor_register() argument
[all …]