Searched refs:mcled_cdev (Results 1 – 2 of 2) sorted by relevance
15 int led_mc_calc_color_components(struct led_classdev_mc *mcled_cdev, in led_mc_calc_color_components() argument18 struct led_classdev *led_cdev = &mcled_cdev->led_cdev; in led_mc_calc_color_components()21 for (i = 0; i < mcled_cdev->num_colors; i++) in led_mc_calc_color_components()22 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()35 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_intensity_store() local43 for (i = 0; i < mcled_cdev->num_colors; i++) { in multi_intensity_store()59 for (i = 0; i < mcled_cdev->num_colors; i++) in multi_intensity_store()60 mcled_cdev->subled_info[i].intensity = intensity_value[i]; in multi_intensity_store()74 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_intensity_show() local[all …]
44 struct led_classdev_mc *mcled_cdev,55 void led_classdev_multicolor_unregister(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() argument76 static inline void led_classdev_multicolor_unregister(struct led_classdev_mc *mcled_cdev) {}; in led_classdev_multicolor_unregister() argument77 static inline int led_mc_calc_color_components(struct led_classdev_mc *mcled_cdev, in led_mc_calc_color_components() argument84 struct led_classdev_mc *mcled_cdev, in devm_led_classdev_multicolor_register_ext() argument91 struct led_classdev_mc *mcled_cdev) in devm_led_classdev_multicolor_unregister() argument[all …]