Searched refs:led_classdev_mc (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | led-class-multicolor.h | 19 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 D | led-class-multicolor.c | 16 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 D | leds-turris-omnia.c | 31 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 D | leds-lp50xx.c | 266 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 D | leds-lp55xx-common.h | 178 struct led_classdev_mc mc_cdev;
|
H A D | leds-lp55xx-common.c | 38 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 D | leds-group-multicolor.c | 24 struct led_classdev_mc mc_cdev; 30 struct led_classdev_mc *mc_cdev = lcdev_to_mccdev(cdev); in leds_gmc_set()
|
H A D | leds-pwm-multicolor.c | 26 struct led_classdev_mc mc_cdev; 34 struct led_classdev_mc *mc_cdev = lcdev_to_mccdev(cdev); in led_pwm_mc_set()
|
H A D | leds-mt6370-rgb.c | 130 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 D | leds-qcom-lpg.c | 173 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 D | leds-mt6360.c | 77 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 D | hid-playstation.c | 171 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()
|