Lines Matching full:keycode
28 for (key = dev->keycode; key->type != KE_END; key++) { in sparse_keymap_get_key_index()
45 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_by_index()
66 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_from_scancode()
77 * @keycode: Key code
83 unsigned int keycode) in sparse_keymap_entry_from_keycode() argument
87 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_from_keycode()
88 if (key->type == KE_KEY && keycode == key->keycode) in sparse_keymap_entry_from_keycode()
116 if (dev->keycode) { in sparse_keymap_getkeycode()
119 ke->keycode = key->keycode; in sparse_keymap_getkeycode()
138 if (dev->keycode) { in sparse_keymap_setkeycode()
141 *old_keycode = key->keycode; in sparse_keymap_setkeycode()
142 key->keycode = ke->keycode; in sparse_keymap_setkeycode()
143 set_bit(ke->keycode, dev->keybit); in sparse_keymap_setkeycode()
196 __set_bit(entry->keycode, dev->keybit); in sparse_keymap_setup()
213 dev->keycode = map; in sparse_keymap_setup()
240 input_report_key(dev, ke->keycode, value); in sparse_keymap_report_entry()
243 input_report_key(dev, ke->keycode, 0); in sparse_keymap_report_entry()
288 unknown_ke.keycode = KEY_UNKNOWN; in sparse_keymap_report_event()