Lines Matching defs:scancode
300 * Checks if we should mangle the scancode to extract 'release' bit
338 * Encode the scancode, 0xe0 prefix, and high bit into a single integer,
959 * according to the selected scancode set
964 unsigned int scancode;
972 scancode = atkbd_unxlate_table[i];
973 atkbd->keycode[i] = atkbd_set2_keycode[scancode];
974 atkbd->keycode[i | 0x80] = atkbd_set2_keycode[scancode | 0x80];
977 if ((scancode | 0x80) == atkbd_scroll_keys[j].set2)
987 scancode = atkbd_scroll_keys[i].set2;
988 atkbd->keycode[scancode] = atkbd_scroll_keys[i].keycode;
996 scancode = atkbd_compat_scancode(atkbd, ATKBD_RET_HANGEUL);
997 atkbd->keycode[scancode] = KEY_HANGEUL;
998 __set_bit(scancode, atkbd->force_release_mask);
1000 scancode = atkbd_compat_scancode(atkbd, ATKBD_RET_HANJA);
1001 atkbd->keycode[scancode] = KEY_HANJA;
1002 __set_bit(scancode, atkbd->force_release_mask);