Lines Matching refs:lp55xx_led
27 static struct lp55xx_led *cdev_to_lp55xx_led(struct led_classdev *cdev) in cdev_to_lp55xx_led()
29 return container_of(cdev, struct lp55xx_led, cdev); in cdev_to_lp55xx_led()
32 static struct lp55xx_led *dev_to_lp55xx_led(struct device *dev) in dev_to_lp55xx_led()
37 static struct lp55xx_led *mcled_cdev_to_led(struct led_classdev_mc *mc_cdev) in mcled_cdev_to_led()
39 return container_of(mc_cdev, struct lp55xx_led, mc_cdev); in mcled_cdev_to_led()
89 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_show()
98 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_store()
122 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in max_current_show()
135 ATTRIBUTE_GROUPS(lp55xx_led);
141 struct lp55xx_led *led = mcled_cdev_to_led(mc_dev); in lp55xx_set_mc_brightness()
152 struct lp55xx_led *led = cdev_to_lp55xx_led(cdev); in lp55xx_set_brightness()
159 static int lp55xx_init_led(struct lp55xx_led *led, in lp55xx_init_led()
276 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in select_engine_show()
286 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in select_engine_store()
328 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in run_engine_store()
491 int lp55xx_register_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_register_leds()
496 struct lp55xx_led *each; in lp55xx_register_leds()