Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/hid/usbhid/
Dusbkbd.c98 unsigned char newleds; member
176 …kbd->newleds = (!!test_bit(LED_KANA, dev->led) << 3) | (!!test_bit(LED_COMPOSE, dev->led) << 3)… in usb_kbd_event()
185 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_event()
190 *(kbd->leds) = kbd->newleds; in usb_kbd_event()
214 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_led()
220 *(kbd->leds) = kbd->newleds; in usb_kbd_led()
/linux-3.4.99/net/bluetooth/hidp/
Dcore.c140 unsigned char newleds; in hidp_queue_event() local
148 newleds = (!!test_bit(LED_KANA, dev->led) << 3) | in hidp_queue_event()
154 if (session->leds == newleds) in hidp_queue_event()
157 session->leds = newleds; in hidp_queue_event()
167 *skb_put(skb, 1) = newleds; in hidp_queue_event()