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

/linux-4.1.27/drivers/hid/usbhid/
H A Dusbkbd.c78 * @newleds: data that will be sent with the @led URB representing which LEDs
88 * @leds_lock: spinlock that protects @leds, @newleds, and @led_urb_submitted
98 unsigned char newleds; member in struct:usb_kbd
176 kbd->newleds = (!!test_bit(LED_KANA, dev->led) << 3) | (!!test_bit(LED_COMPOSE, dev->led) << 3) | usb_kbd_event()
185 if (*(kbd->leds) == kbd->newleds){ usb_kbd_event()
190 *(kbd->leds) = kbd->newleds; usb_kbd_event()
214 if (*(kbd->leds) == kbd->newleds){ usb_kbd_led()
220 *(kbd->leds) = kbd->newleds; usb_kbd_led()
/linux-4.1.27/net/bluetooth/hidp/
H A Dcore.c145 unsigned char newleds; hidp_input_event() local
154 newleds = (!!test_bit(LED_KANA, dev->led) << 3) | hidp_input_event()
160 if (session->leds == newleds) hidp_input_event()
163 session->leds = newleds; hidp_input_event()
167 data[1] = newleds; hidp_input_event()

Completed in 166 milliseconds