Home
last modified time | relevance | path

Searched refs:led_classdev_mc (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/include/linux/
H A Dled-class-multicolor.h19 struct led_classdev_mc { struct
27 static inline struct led_classdev_mc *lcdev_to_mccdev( in lcdev_to_mccdev() argument
30 return container_of(led_cdev, struct led_classdev_mc, led_cdev); in lcdev_to_mccdev()
44 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()
84 struct led_classdev_mc *mcled_cdev, in devm_led_classdev_multicolor_register_ext()
91 struct led_classdev_mc *mcled_cdev) in devm_led_classdev_multicolor_unregister()
97 struct led_classdev_mc *mcled_cdev) in led_classdev_multicolor_register()
[all …]
/openbmc/linux/drivers/leds/
H A Dled-class-multicolor.c16 int led_mc_calc_color_components(struct led_classdev_mc *mcled_cdev, in led_mc_calc_color_components()
37 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_intensity_store()
76 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_intensity_show()
97 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_index_show()
122 struct led_classdev_mc *mcled_cdev, in led_classdev_multicolor_register_ext()
143 void led_classdev_multicolor_unregister(struct led_classdev_mc *mcled_cdev) in led_classdev_multicolor_unregister()
154 led_classdev_multicolor_unregister(*(struct led_classdev_mc **)res); in devm_led_classdev_multicolor_release()
158 struct led_classdev_mc *mcled_cdev, in devm_led_classdev_multicolor_register_ext()
161 struct led_classdev_mc **dr; in devm_led_classdev_multicolor_register_ext()
186 struct led_classdev_mc **p = res; in devm_led_classdev_multicolor_match()
[all …]
H A Dleds-turris-omnia.c31 struct led_classdev_mc mc_cdev;
78 struct led_classdev_mc *mc_cdev = lcdev_to_mccdev(cdev); in omnia_led_brightness_set_blocking()
H A Dleds-lp50xx.c266 struct led_classdev_mc mc_cdev;
299 static struct lp50xx_led *mcled_cdev_to_led(struct led_classdev_mc *mc_cdev) in mcled_cdev_to_led()
307 struct led_classdev_mc *mc_dev = lcdev_to_mccdev(cdev); in lp50xx_brightness_set()
H A Dleds-lp55xx-common.h178 struct led_classdev_mc mc_cdev;
H A Dleds-lp55xx-common.c38 static struct lp55xx_led *mcled_cdev_to_led(struct led_classdev_mc *mc_cdev) in mcled_cdev_to_led()
141 struct led_classdev_mc *mc_dev = lcdev_to_mccdev(cdev); in lp55xx_set_mc_brightness()
/openbmc/linux/drivers/leds/rgb/
H A Dleds-group-multicolor.c24 struct led_classdev_mc mc_cdev;
30 struct led_classdev_mc *mc_cdev = lcdev_to_mccdev(cdev); in leds_gmc_set()
H A Dleds-pwm-multicolor.c26 struct led_classdev_mc mc_cdev;
34 struct led_classdev_mc *mc_cdev = lcdev_to_mccdev(cdev); in led_pwm_mc_set()
H A Dleds-mt6370-rgb.c130 struct led_classdev_mc mc;
423 struct led_classdev_mc *mccdev = lcdev_to_mccdev(lcdev); in mt6370_mc_brightness_set()
485 struct led_classdev_mc *mccdev = lcdev_to_mccdev(lcdev); in mt6370_mc_blink_set()
537 struct led_classdev_mc *mccdev = lcdev_to_mccdev(lcdev); in mt6370_mc_pattern_set()
587 struct led_classdev_mc *mccdev = lcdev_to_mccdev(lcdev); in mt6370_mc_pattern_clear()
H A Dleds-qcom-lpg.c173 struct led_classdev_mc mcdev;
675 struct led_classdev_mc *mc = lcdev_to_mccdev(cdev); in lpg_brightness_mc_set()
749 struct led_classdev_mc *mc = lcdev_to_mccdev(cdev); in lpg_blink_mc_set()
929 struct led_classdev_mc *mc = lcdev_to_mccdev(cdev); in lpg_pattern_mc_set()
974 struct led_classdev_mc *mc = lcdev_to_mccdev(cdev); in lpg_pattern_mc_clear()
/openbmc/linux/drivers/leds/flash/
H A Dleds-mt6360.c77 struct led_classdev_mc mc;
100 struct led_classdev_mc *mccdev = lcdev_to_mccdev(lcdev); in mt6360_mc_brightness_set()
/openbmc/linux/drivers/hid/
H A Dhid-playstation.c171 struct led_classdev_mc lightbar;
811 static int ps_lightbar_register(struct ps_device *ps_dev, struct led_classdev_mc *lightbar_mc_dev, in ps_lightbar_register()
1130 struct led_classdev_mc *mc_cdev = lcdev_to_mccdev(cdev); in dualsense_lightbar_set_brightness()