Searched refs:NO_LEDS (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/radio/
H A Dradio-shark2.c59 enum { BLUE_LED, RED_LED, NO_LEDS }; enumerator in enum:__anon6046
68 struct led_classdev leds[NO_LEDS];
69 char led_names[NO_LEDS][32];
70 atomic_t brightness[NO_LEDS];
193 static const struct led_classdev shark_led_templates[NO_LEDS] = {
214 for (i = 0; i < NO_LEDS; i++) { shark_register_leds()
234 for (i = 0; i < NO_LEDS; i++) shark_unregister_leds()
244 for (i = 0; i < NO_LEDS; i++) shark_resume_leds()
H A Dradio-shark.c62 /* Note BLUE_IS_PULSE comes after NO_LEDS as it is a status bit, not a LED */
63 enum { BLUE_LED, BLUE_PULSE_LED, RED_LED, NO_LEDS, BLUE_IS_PULSE }; enumerator in enum:__anon6045
72 struct led_classdev leds[NO_LEDS];
73 char led_names[NO_LEDS][32];
74 atomic_t brightness[NO_LEDS];
221 static const struct led_classdev shark_led_templates[NO_LEDS] = {
248 for (i = 0; i < NO_LEDS; i++) { shark_register_leds()
268 for (i = 0; i < NO_LEDS; i++) shark_unregister_leds()

Completed in 94 milliseconds