Home
last modified time | relevance | path

Searched refs:SRWS1_NUMBER_LEDS (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dhid-steelseries.c39 #define SRWS1_NUMBER_LEDS 15 macro
43 struct led_classdev *led[SRWS1_NUMBER_LEDS + 1];
172 drv_data->led_state = (1 << (SRWS1_NUMBER_LEDS + 1)) - 1; in steelseries_srws1_led_all_set_brightness()
190 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness()
206 for (i = 0; i < SRWS1_NUMBER_LEDS; i++) { in steelseries_srws1_led_set_brightness()
236 for (i = 0; i < SRWS1_NUMBER_LEDS; i++) in steelseries_srws1_led_get_brightness()
281 for (i = 0; i < SRWS1_NUMBER_LEDS + 1; i++) in steelseries_srws1_probe()
303 drv_data->led[SRWS1_NUMBER_LEDS] = led; in steelseries_srws1_probe()
309 for (i = 0; i < SRWS1_NUMBER_LEDS; i++) { in steelseries_srws1_probe()
331 for (i = 0; i < SRWS1_NUMBER_LEDS + 1; i++) { in steelseries_srws1_probe()
[all …]