Searched refs:newleds (Results 1 – 2 of 2) sorted by relevance
85 unsigned char newleds; member163 …kbd->newleds = (!!test_bit(LED_KANA, dev->led) << 3) | (!!test_bit(LED_COMPOSE, dev->led) << 3)… in usb_kbd_event()172 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_event()177 *(kbd->leds) = kbd->newleds; in usb_kbd_event()201 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_led()207 *(kbd->leds) = kbd->newleds; in usb_kbd_led()
151 unsigned char newleds; in hidp_input_event() local160 newleds = (!!test_bit(LED_KANA, dev->led) << 3) | in hidp_input_event()166 if (session->leds == newleds) in hidp_input_event()169 session->leds = newleds; in hidp_input_event()173 data[1] = newleds; in hidp_input_event()