Home
last modified time | relevance | path

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

/openbmc/qemu/hw/input/
H A Dhid.c252 uint8_t hid_code, index, key; in hid_keyboard_process_keycode() local
267 hid_code = hid_usage_keys[index]; in hid_keyboard_process_keycode()
270 switch (hid_code) { in hid_keyboard_process_keycode()
291 hs->kbd.modifiers &= ~(1 << (hid_code & 0x0f)); in hid_keyboard_process_keycode()
302 hs->kbd.modifiers |= 1 << (hid_code & 0x0f); in hid_keyboard_process_keycode()
314 if (hs->kbd.key[i] == hid_code) { in hid_keyboard_process_keycode()
325 if (hs->kbd.key[i] == hid_code) { in hid_keyboard_process_keycode()
331 hs->kbd.key[hs->kbd.keys++] = hid_code; in hid_keyboard_process_keycode()
/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.c801 unsigned int hid_code, struct hid_field **pfield) in hid_find_field_early() argument
814 (usage->hid & 0xFFFF) == hid_code) { in hid_find_field_early()