taglinefilesource code
scancode317drivers/char/keyboard.cint setkeycode(unsigned int scancode, unsigned int keycode)
scancode319drivers/char/keyboard.cif (scancode < SC_LIM || scancode > 255 || keycode > 127)
scancode321drivers/char/keyboard.cif (scancode < 128)
scancode322drivers/char/keyboard.chigh_keys[scancode - SC_LIM] = keycode;
scancode324drivers/char/keyboard.ce0_keys[scancode - 128] = keycode;
scancode328drivers/char/keyboard.cint getkeycode(unsigned int scancode)
scancode331drivers/char/keyboard.c(scancode < SC_LIM || scancode > 255) ? -EINVAL :
scancode332drivers/char/keyboard.c(scancode < 128) ? high_keys[scancode - SC_LIM] :
scancode333drivers/char/keyboard.ce0_keys[scancode - 128];
scancode338drivers/char/keyboard.cunsigned char scancode, keycode;
scancode348drivers/char/keyboard.cscancode = inb(0x60);
scancode354drivers/char/keyboard.cif (scancode == 0xfa) {
scancode357drivers/char/keyboard.c} else if (scancode == 0xfe) {
scancode364drivers/char/keyboard.cprintk("keyboard reply expected - got %02x\n", scancode);
scancode367drivers/char/keyboard.cif (scancode == 0) {
scancode378drivers/char/keyboard.cput_queue(scancode);
scancode384drivers/char/keyboard.cif (scancode == 0xff) {
scancode397drivers/char/keyboard.cif (scancode == 0xe0 || scancode == 0xe1) {
scancode398drivers/char/keyboard.cprev_scancode = scancode;
scancode405drivers/char/keyboard.cup_flag = (scancode & 0200);
scancode406drivers/char/keyboard.cscancode &= 0x7f;
scancode414drivers/char/keyboard.cif (prev_scancode == 0xe1 && scancode == 0x1d) {
scancode417drivers/char/keyboard.c} else if (prev_scancode == 0x100 && scancode == 0x45) {
scancode443drivers/char/keyboard.cif (scancode == 0x2a || scancode == 0x36)
scancode446drivers/char/keyboard.cif (e0_keys[scancode])
scancode447drivers/char/keyboard.ckeycode = e0_keys[scancode];
scancode451drivers/char/keyboard.cprintk("keyboard: unknown scancode e0 %02x\n", scancode);
scancode456drivers/char/keyboard.c} else if (scancode >= SC_LIM) {
scancode467drivers/char/keyboard.ckeycode = high_keys[scancode - SC_LIM];
scancode473drivers/char/keyboard.c, scancode);
scancode479drivers/char/keyboard.ckeycode = scancode;
scancode52drivers/char/vt.cextern int getkeycode(unsigned int scancode);
scancode53drivers/char/vt.cextern int setkeycode(unsigned int scancode, unsigned int keycode);
scancode321drivers/char/vt.csc = get_fs_long((int *) &a->scancode);
scancode339drivers/char/vt.csc = get_fs_long((int *) &a->scancode);
scancode110include/linux/kd.hunsigned int scancode, keycode;