Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A Dleds-ss4200.c482 static int register_nasgpio_led(int led_nr) in register_nasgpio_led() argument
484 struct nasgpio_led *nas_led = &nasgpio_leds[led_nr]; in register_nasgpio_led()
485 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in register_nasgpio_led()
498 static void unregister_nasgpio_led(int led_nr) in unregister_nasgpio_led() argument
500 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in unregister_nasgpio_led()
/linux/drivers/hid/
H A Dhid-lenovo.c1045 int led_nr = 0; in lenovo_led_brightness_set() local
1049 led_nr = 1; in lenovo_led_brightness_set()
1052 data_pointer->led_state &= ~(1 << led_nr); in lenovo_led_brightness_set()
1054 data_pointer->led_state |= 1 << led_nr; in lenovo_led_brightness_set()
1063 ret = lenovo_led_set_tp10ubkbd(hdev, tp10ubkbd_led[led_nr], value); in lenovo_led_brightness_set()