Lines Matching refs:keycode

186 	unsigned short keycode;  member
212 unsigned short keycode[ATKBD_KEYMAP_SIZE]; member
407 unsigned short keycode; in atkbd_interrupt() local
486 keycode = atkbd->keycode[code]; in atkbd_interrupt()
489 if (keycode != ATKBD_KEY_NULL) in atkbd_interrupt()
492 switch (keycode) { in atkbd_interrupt()
531 } else if (!atkbd->softrepeat && test_bit(keycode, dev->key)) { in atkbd_interrupt()
540 input_event(dev, EV_KEY, keycode, value); in atkbd_interrupt()
545 input_report_key(dev, keycode, 0); in atkbd_interrupt()
1031 u16 scancode, keycode; in atkbd_get_keymap_from_fwnode() local
1048 memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); in atkbd_get_keymap_from_fwnode()
1051 keycode = KEYCODE(ptr[i]); in atkbd_get_keymap_from_fwnode()
1052 atkbd->keycode[scancode] = keycode; in atkbd_get_keymap_from_fwnode()
1070 memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1078 atkbd->keycode[i] = atkbd_set2_keycode[scancode]; in atkbd_set_keycode_table()
1079 atkbd->keycode[i | 0x80] = atkbd_set2_keycode[scancode | 0x80]; in atkbd_set_keycode_table()
1083 atkbd->keycode[i | 0x80] = atkbd_scroll_keys[j].keycode; in atkbd_set_keycode_table()
1086 memcpy(atkbd->keycode, atkbd_set3_keycode, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1088 memcpy(atkbd->keycode, atkbd_set2_keycode, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1093 atkbd->keycode[scancode] = atkbd_scroll_keys[i].keycode; in atkbd_set_keycode_table()
1102 atkbd->keycode[scancode] = KEY_HANGEUL; in atkbd_set_keycode_table()
1106 atkbd->keycode[scancode] = KEY_HANJA; in atkbd_set_keycode_table()
1176 input_dev->keycode = atkbd->keycode; in atkbd_set_device_attrs()
1181 if (atkbd->keycode[i] != KEY_RESERVED && in atkbd_set_device_attrs()
1182 atkbd->keycode[i] != ATKBD_KEY_NULL && in atkbd_set_device_attrs()
1183 atkbd->keycode[i] < ATKBD_SPECIAL) { in atkbd_set_device_attrs()
1184 __set_bit(atkbd->keycode[i], input_dev->keybit); in atkbd_set_device_attrs()