Home
last modified time | relevance | path

Searched refs:lp55xx_led (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/leds/
H A Dleds-lp55xx-common.c75 static struct lp55xx_led *cdev_to_lp55xx_led(struct led_classdev *cdev) in cdev_to_lp55xx_led()
77 return container_of(cdev, struct lp55xx_led, cdev); in cdev_to_lp55xx_led()
80 static struct lp55xx_led *dev_to_lp55xx_led(struct device *dev) in dev_to_lp55xx_led()
85 static struct lp55xx_led *mcled_cdev_to_led(struct led_classdev_mc *mc_cdev) in mcled_cdev_to_led()
87 return container_of(mc_cdev, struct lp55xx_led, mc_cdev); in mcled_cdev_to_led()
270 int lp55xx_led_brightness(struct lp55xx_led *led) in lp55xx_led_brightness()
284 int lp55xx_multicolor_brightness(struct lp55xx_led *led) in lp55xx_multicolor_brightness()
306 void lp55xx_set_led_current(struct lp55xx_led *led, u8 led_current) in lp55xx_set_led_current()
387 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_show()
396 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_store()
[all …]
H A Dleds-lp55xx-common.h97 struct lp55xx_led;
155 int (*brightness_fn)(struct lp55xx_led *led);
158 int (*multicolor_brightness_fn)(struct lp55xx_led *led);
161 void (*set_led_current) (struct lp55xx_led *led, u8 led_current);
216 struct lp55xx_led { struct
242 extern int lp55xx_led_brightness(struct lp55xx_led *led); argument
243 extern int lp55xx_multicolor_brightness(struct lp55xx_led *led);
244 extern void lp55xx_set_led_current(struct lp55xx_led *led, u8 led_current);
H A Dleds-lp5562.c99 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5562_set_led_current()
164 static int lp5562_multicolor_brightness(struct lp55xx_led *led) in lp5562_multicolor_brightness()
188 static int lp5562_led_brightness(struct lp55xx_led *led) in lp5562_led_brightness()
282 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5562_store_pattern()
310 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5562_store_engine_mux()
H A Dleds-lp5569.c209 static ssize_t lp5569_led_open_test(struct lp55xx_led *led, char *buf) in lp5569_led_open_test()
214 struct lp55xx_led *led_tmp = led; in lp5569_led_open_test()
302 static ssize_t lp5569_led_short_test(struct lp55xx_led *led, char *buf) in lp5569_led_short_test()
307 struct lp55xx_led *led_tmp = led; in lp5569_led_short_test()
404 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5569_selftest()
H A Dleds-lp5521.c185 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5521_selftest()
H A Dleds-lp5523.c186 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5523_selftest()
/linux/Documentation/leds/
H A Dleds-lp55xx.rst27 * lp55xx_led
35 lp55xx_chip for LP5521 ... lp55xx_led #1
36 lp55xx_led #2
37 lp55xx_led #3
39 lp55xx_chip for LP5523 ... lp55xx_led #1
40 lp55xx_led #2
43 lp55xx_led #9