Searched refs:led_nr (Results 1 – 2 of 2) sorted by relevance
482 static int register_nasgpio_led(int led_nr) in register_nasgpio_led() argument484 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() argument500 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in unregister_nasgpio_led()
1045 int led_nr = 0; in lenovo_led_brightness_set() local1049 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()