Lines Matching refs:lp55xx_led
31 static struct lp55xx_led *cdev_to_lp55xx_led(struct led_classdev *cdev) in cdev_to_lp55xx_led()
33 return container_of(cdev, struct lp55xx_led, cdev); in cdev_to_lp55xx_led()
36 static struct lp55xx_led *dev_to_lp55xx_led(struct device *dev) in dev_to_lp55xx_led()
88 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in lp55xx_show_current()
97 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in lp55xx_store_current()
121 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in lp55xx_show_max_current()
135 ATTRIBUTE_GROUPS(lp55xx_led);
140 struct lp55xx_led *led = cdev_to_lp55xx_led(cdev); in lp55xx_set_brightness()
146 static int lp55xx_init_led(struct lp55xx_led *led, in lp55xx_init_led()
234 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp55xx_show_engine_select()
244 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp55xx_store_engine_select()
286 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp55xx_store_engine_run()
457 int lp55xx_register_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_register_leds()
462 struct lp55xx_led *each; in lp55xx_register_leds()
502 void lp55xx_unregister_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_unregister_leds()
505 struct lp55xx_led *each; in lp55xx_unregister_leds()