taglinefilesource code
scancode316drivers/char/keyboard.cint setkeycode(unsigned int scancode, unsigned int keycode)
scancode318drivers/char/keyboard.cif (scancode < SC_LIM || scancode > 255 || keycode > 127)
scancode320drivers/char/keyboard.cif (scancode < 128)
scancode321drivers/char/keyboard.chigh_keys[scancode - SC_LIM] = keycode;
scancode323drivers/char/keyboard.ce0_keys[scancode - 128] = keycode;
scancode327drivers/char/keyboard.cint getkeycode(unsigned int scancode)
scancode330drivers/char/keyboard.c(scancode < SC_LIM || scancode > 255) ? -EINVAL :
scancode331drivers/char/keyboard.c(scancode < 128) ? high_keys[scancode - SC_LIM] :
scancode332drivers/char/keyboard.ce0_keys[scancode - 128];
scancode337drivers/char/keyboard.cunsigned char scancode, keycode;
scancode347drivers/char/keyboard.cscancode = inb(0x60);
scancode353drivers/char/keyboard.cif (scancode == 0xfa) {
scancode356drivers/char/keyboard.c} else if (scancode == 0xfe) {
scancode363drivers/char/keyboard.cprintk("keyboard reply expected - got %02x\n", scancode);
scancode366drivers/char/keyboard.cif (scancode == 0) {
scancode377drivers/char/keyboard.cput_queue(scancode);
scancode383drivers/char/keyboard.cif (scancode == 0xff) {
scancode396drivers/char/keyboard.cif (scancode == 0xe0 || scancode == 0xe1) {
scancode397drivers/char/keyboard.cprev_scancode = scancode;
scancode404drivers/char/keyboard.cup_flag = (scancode & 0200);
scancode405drivers/char/keyboard.cscancode &= 0x7f;
scancode413drivers/char/keyboard.cif (prev_scancode == 0xe1 && scancode == 0x1d) {
scancode416drivers/char/keyboard.c} else if (prev_scancode == 0x100 && scancode == 0x45) {
scancode442drivers/char/keyboard.cif (scancode == 0x2a || scancode == 0x36)
scancode445drivers/char/keyboard.cif (e0_keys[scancode])
scancode446drivers/char/keyboard.ckeycode = e0_keys[scancode];
scancode450drivers/char/keyboard.cprintk("keyboard: unknown scancode e0 %02x\n", scancode);
scancode455drivers/char/keyboard.c} else if (scancode >= SC_LIM) {
scancode466drivers/char/keyboard.ckeycode = high_keys[scancode - SC_LIM];
scancode472drivers/char/keyboard.c, scancode);
scancode478drivers/char/keyboard.ckeycode = scancode;
scancode53drivers/char/vt.cextern int getkeycode(unsigned int scancode);
scancode54drivers/char/vt.cextern int setkeycode(unsigned int scancode, unsigned int keycode);
scancode369drivers/char/vt.csc = get_user(&a->scancode);
scancode387drivers/char/vt.csc = get_user(&a->scancode);
scancode126include/linux/kd.hunsigned int scancode, keycode;