Lines Matching full:keycode

69 #define KEYCODE(keymap)		(keymap & 0xFFFF)  macro
72 * Scancode to keycode tables. These are just the default setting, and
186 unsigned short keycode; member
212 unsigned short keycode[ATKBD_KEYMAP_SIZE]; member
450 unsigned short keycode; in atkbd_receive_byte() local
507 keycode = atkbd->keycode[code]; in atkbd_receive_byte()
510 if (keycode != ATKBD_KEY_NULL) in atkbd_receive_byte()
513 switch (keycode) { in atkbd_receive_byte()
523 "Use 'setkeycodes %s%02x <keycode>' to make it known.\n", in atkbd_receive_byte()
552 } else if (!atkbd->softrepeat && test_bit(keycode, dev->key)) { in atkbd_receive_byte()
561 input_event(dev, EV_KEY, keycode, value); in atkbd_receive_byte()
566 input_report_key(dev, keycode, 0); in atkbd_receive_byte()
1092 u16 scancode, keycode; in atkbd_get_keymap_from_fwnode() local
1109 memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); in atkbd_get_keymap_from_fwnode()
1112 keycode = KEYCODE(ptr[i]); in atkbd_get_keymap_from_fwnode()
1113 atkbd->keycode[scancode] = keycode; in atkbd_get_keymap_from_fwnode()
1121 * atkbd_set_keycode_table() initializes keyboard's keycode table
1131 memset(atkbd->keycode, 0, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1139 atkbd->keycode[i] = atkbd_set2_keycode[scancode]; in atkbd_set_keycode_table()
1140 atkbd->keycode[i | 0x80] = atkbd_set2_keycode[scancode | 0x80]; in atkbd_set_keycode_table()
1144 atkbd->keycode[i | 0x80] = atkbd_scroll_keys[j].keycode; in atkbd_set_keycode_table()
1147 memcpy(atkbd->keycode, atkbd_set3_keycode, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1149 memcpy(atkbd->keycode, atkbd_set2_keycode, sizeof(atkbd->keycode)); in atkbd_set_keycode_table()
1154 atkbd->keycode[scancode] = atkbd_scroll_keys[i].keycode; in atkbd_set_keycode_table()
1163 atkbd->keycode[scancode] = KEY_HANGEUL; in atkbd_set_keycode_table()
1167 atkbd->keycode[scancode] = KEY_HANJA; in atkbd_set_keycode_table()
1237 input_dev->keycode = atkbd->keycode; in atkbd_set_device_attrs()
1242 if (atkbd->keycode[i] != KEY_RESERVED && in atkbd_set_device_attrs()
1243 atkbd->keycode[i] != ATKBD_KEY_NULL && in atkbd_set_device_attrs()
1244 atkbd->keycode[i] < ATKBD_SPECIAL) { in atkbd_set_device_attrs()
1245 __set_bit(atkbd->keycode[i], input_dev->keybit); in atkbd_set_device_attrs()