Searched refs:lp55xx_led (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-lp55xx-common.c | 30 return container_of(cdev, struct lp55xx_led, cdev); in cdev_to_lp55xx_led() 33 static struct lp55xx_led *dev_to_lp55xx_led(struct device *dev) in dev_to_lp55xx_led() 40 return container_of(mc_cdev, struct lp55xx_led, mc_cdev); in mcled_cdev_to_led() 90 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_show() 99 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_store() 123 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in max_current_show() 136 ATTRIBUTE_GROUPS(lp55xx_led); 142 struct lp55xx_led *led = mcled_cdev_to_led(mc_dev); in lp55xx_set_mc_brightness() 153 struct lp55xx_led *led = cdev_to_lp55xx_led(cdev); in lp55xx_set_brightness() 160 static int lp55xx_init_led(struct lp55xx_led *led, in lp55xx_init_led() [all …]
|
H A D | leds-lp55xx-common.h | 78 struct lp55xx_led; 113 int (*brightness_fn)(struct lp55xx_led *led); 116 int (*multicolor_brightness_fn)(struct lp55xx_led *led); 119 void (*set_led_current) (struct lp55xx_led *led, u8 led_current); 175 struct lp55xx_led { struct 199 extern int lp55xx_register_leds(struct lp55xx_led *led, argument
|
H A D | leds-lp5523.c | 396 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode() 418 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode() 486 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_leds() 530 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_leds() 563 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load() 585 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5523_selftest() 691 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_master_fader() 802 static int lp5523_multicolor_brightness(struct lp55xx_led *led) in lp5523_multicolor_brightness() 821 static int lp5523_led_brightness(struct lp55xx_led *led) in lp5523_led_brightness() 899 struct lp55xx_led *led; in lp5523_probe() [all …]
|
H A D | leds-lp5521.c | 111 static void lp5521_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5521_set_led_current() 351 static int lp5521_multicolor_brightness(struct lp55xx_led *led) in lp5521_multicolor_brightness() 370 static int lp5521_led_brightness(struct lp55xx_led *led) in lp5521_led_brightness() 387 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode() 409 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode() 441 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load() 463 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5521_selftest() 523 struct lp55xx_led *led; in lp5521_probe() 583 struct lp55xx_led *led = i2c_get_clientdata(client); in lp5521_remove()
|
H A D | leds-lp5562.c | 114 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5562_set_led_current() 315 static int lp5562_led_brightness(struct lp55xx_led *led) in lp5562_led_brightness() 409 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5562_store_pattern() 437 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5562_store_engine_mux() 518 struct lp55xx_led *led; in lp5562_probe() 577 struct lp55xx_led *led = i2c_get_clientdata(client); in lp5562_remove()
|
H A D | leds-lp8501.c | 83 static void lp8501_set_led_current(struct lp55xx_led *led, u8 led_current) in lp8501_set_led_current() 273 static int lp8501_led_brightness(struct lp55xx_led *led) in lp8501_led_brightness() 309 struct lp55xx_led *led; in lp8501_probe() 369 struct lp55xx_led *led = i2c_get_clientdata(client); in lp8501_remove()
|
/openbmc/linux/Documentation/leds/ |
H A D | leds-lp55xx.rst | 27 * 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
|