Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/hid/
Dhid-steelseries.c22 #define SRWS1_NUMBER_LEDS 15 macro
26 struct led_classdev *led[SRWS1_NUMBER_LEDS + 1];
155 drv_data->led_state = (1 << (SRWS1_NUMBER_LEDS + 1)) - 1; in steelseries_srws1_led_all_set_brightness()
173 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness()
189 for (i = 0; i < SRWS1_NUMBER_LEDS; i++) { in steelseries_srws1_led_set_brightness()
219 for (i = 0; i < SRWS1_NUMBER_LEDS; i++) in steelseries_srws1_led_get_brightness()
264 for (i = 0; i < SRWS1_NUMBER_LEDS + 1; i++) in steelseries_srws1_probe()
286 drv_data->led[SRWS1_NUMBER_LEDS] = led; in steelseries_srws1_probe()
292 for (i = 0; i < SRWS1_NUMBER_LEDS; i++) { in steelseries_srws1_probe()
314 for (i = 0; i < SRWS1_NUMBER_LEDS + 1; i++) { in steelseries_srws1_probe()
[all …]