Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/usbhid/
Dusbkbd.c85 unsigned char newleds; member
163 …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()
/Linux-v5.4/net/bluetooth/hidp/
Dcore.c151 unsigned char newleds; in hidp_input_event() local
160 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()