Home
last modified time | relevance | path

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

/linux-6.15/drivers/leds/
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-lp55xx-common.c77 return container_of(cdev, struct lp55xx_led, cdev); in cdev_to_lp55xx_led()
270 int lp55xx_led_brightness(struct lp55xx_led *led) in lp55xx_led_brightness()
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()
420 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in max_current_show()
433 ATTRIBUTE_GROUPS(lp55xx_led);
439 struct lp55xx_led *led = mcled_cdev_to_led(mc_dev); in lp55xx_set_mc_brightness()
450 struct lp55xx_led *led = cdev_to_lp55xx_led(cdev); in lp55xx_set_brightness()
457 static int lp55xx_init_led(struct lp55xx_led *led, in lp55xx_init_led()
1053 struct lp55xx_led *each; in lp55xx_register_leds()
[all …]
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-6.15/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