Lines Matching refs:nasgpio_led
125 struct nasgpio_led { struct
134 static struct nasgpio_led nasgpio_leds[] = { argument
149 static struct nasgpio_led *
152 return container_of(led_cdev, struct nasgpio_led, led_cdev); in led_classdev_to_nasgpio_led()
155 static struct nasgpio_led *get_led_named(char *name) in get_led_named()
181 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in __nasgpio_led_set_attr()
203 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in nasgpio_led_get_attr()
425 struct nasgpio_led *nas_led = &nasgpio_leds[nr]; in get_classdev_for_led_nr()
433 struct nasgpio_led *amber = get_led_named("power:amber:power"); in set_power_light_amber_noblink()
434 struct nasgpio_led *blue = get_led_named("power:blue:power"); in set_power_light_amber_noblink()
480 ATTRIBUTE_GROUPS(nasgpio_led);
484 struct nasgpio_led *nas_led = &nasgpio_leds[led_nr]; in register_nasgpio_led()