Lines Matching +full:multi +full:- +full:led
1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * Derived from leds-lp5521.c, leds-lp5523.c
15 #include <linux/led-class-multicolor.h>
122 * @reg_led_pwm_base : Chip specific base reg address for LED PWM conf
123 * @reg_led_current_base : Chip specific base reg address for LED current conf
125 * @reg_led_ctrl_base : Chip specific base reg address for LED ctrl base
132 * @set_led_current : LED current set function
154 /* set LED brightness */
155 int (*brightness_fn)(struct lp55xx_led *led);
157 /* set multicolor LED brightness */
158 int (*multicolor_brightness_fn)(struct lp55xx_led *led);
161 void (*set_led_current) (struct lp55xx_led *led, u8 led_current);
166 /* used for running firmware LED patterns */
176 * @led_mux : Mux bits for LED selection. Only used in LP5523
187 * @lock : Lock for user-space interface
192 * @fw : Firmware data for running a LED pattern
197 struct mutex lock; /* lock for user-space interface */
208 * @cdev : LED class device
209 * @mc_cdev : Multi color class device
210 * @color_components: Multi color LED map information
211 * @led_current : Current setting at each led channel
212 * @max_current : Maximun current at each led channel
242 extern int lp55xx_led_brightness(struct lp55xx_led *led);
243 extern int lp55xx_multicolor_brightness(struct lp55xx_led *led);
244 extern void lp55xx_set_led_current(struct lp55xx_led *led, u8 led_current);