• Home
  • Raw
  • Download

Lines Matching full:keycode

70 #define KEYCODE(keymap)		(keymap & 0xFFFF)  macro
73 * Scancode to keycode tables. These are just the default setting, and
187 unsigned short keycode; member
213 unsigned short keycode[ATKBD_KEYMAP_SIZE]; member
417 unsigned short keycode; in atkbd_interrupt() local
496 keycode = atkbd->keycode[code]; in atkbd_interrupt()
499 if (keycode != ATKBD_KEY_NULL) in atkbd_interrupt()
502 switch (keycode) { in atkbd_interrupt()
512 "Use 'setkeycodes %s%02x <keycode>' to make it known.\n", in atkbd_interrupt()
541 } else if (!atkbd->softrepeat && test_bit(keycode, dev->key)) { in atkbd_interrupt()
550 input_event(dev, EV_KEY, keycode, value); in atkbd_interrupt()
555 input_report_key(dev, keycode, 0); in atkbd_interrupt()
1043 u16 scancode, keycode; in atkbd_get_keymap_from_fwnode() local
1060 memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); in atkbd_get_keymap_from_fwnode()
1063 keycode = KEYCODE(ptr[i]); in atkbd_get_keymap_from_fwnode()
1064 atkbd->keycode[scancode] = keycode; in atkbd_get_keymap_from_fwnode()
1072 * atkbd_set_keycode_table() initializes keyboard's keycode table
1082 memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1090 atkbd->keycode[i] = atkbd_set2_keycode[scancode]; in atkbd_set_keycode_table()
1091 atkbd->keycode[i | 0x80] = atkbd_set2_keycode[scancode | 0x80]; in atkbd_set_keycode_table()
1095 atkbd->keycode[i | 0x80] = atkbd_scroll_keys[j].keycode; in atkbd_set_keycode_table()
1098 memcpy(atkbd->keycode, atkbd_set3_keycode, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1100 memcpy(atkbd->keycode, atkbd_set2_keycode, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1105 atkbd->keycode[scancode] = atkbd_scroll_keys[i].keycode; in atkbd_set_keycode_table()
1114 atkbd->keycode[scancode] = KEY_HANGEUL; in atkbd_set_keycode_table()
1118 atkbd->keycode[scancode] = KEY_HANJA; in atkbd_set_keycode_table()
1188 input_dev->keycode = atkbd->keycode; in atkbd_set_device_attrs()
1193 if (atkbd->keycode[i] != KEY_RESERVED && in atkbd_set_device_attrs()
1194 atkbd->keycode[i] != ATKBD_KEY_NULL && in atkbd_set_device_attrs()
1195 atkbd->keycode[i] < ATKBD_SPECIAL) { in atkbd_set_device_attrs()
1196 __set_bit(atkbd->keycode[i], input_dev->keybit); in atkbd_set_device_attrs()