Lines Matching refs:led_classdev
128 struct led_classdev led_cdev;
150 led_classdev_to_nasgpio_led(struct led_classdev *led_cdev) in led_classdev_to_nasgpio_led()
178 static void __nasgpio_led_set_attr(struct led_classdev *led_cdev, in __nasgpio_led_set_attr()
193 static void nasgpio_led_set_attr(struct led_classdev *led_cdev, in nasgpio_led_set_attr()
201 static u32 nasgpio_led_get_attr(struct led_classdev *led_cdev, u32 port) in nasgpio_led_get_attr()
219 static void nasgpio_led_set_brightness(struct led_classdev *led_cdev, in nasgpio_led_set_brightness()
241 static int nasgpio_led_set_blink(struct led_classdev *led_cdev, in nasgpio_led_set_blink()
420 static struct led_classdev *get_classdev_for_led_nr(int nr) in get_classdev_for_led_nr()
423 struct led_classdev *led = &nas_led->led_cdev; in get_classdev_for_led_nr()
447 struct led_classdev *led = dev_get_drvdata(dev); in blink_show()
459 struct led_classdev *led = dev_get_drvdata(dev); in blink_store()
482 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in register_nasgpio_led()
497 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in unregister_nasgpio_led()