tag | line | file | source code |
scancode | 317 | drivers/char/keyboard.c | int setkeycode(unsigned int scancode, unsigned int keycode) |
scancode | 319 | drivers/char/keyboard.c | if (scancode < SC_LIM || scancode > 255 || keycode > 127) |
scancode | 321 | drivers/char/keyboard.c | if (scancode < 128) |
scancode | 322 | drivers/char/keyboard.c | high_keys[scancode - SC_LIM] = keycode; |
scancode | 324 | drivers/char/keyboard.c | e0_keys[scancode - 128] = keycode; |
scancode | 328 | drivers/char/keyboard.c | int getkeycode(unsigned int scancode) |
scancode | 331 | drivers/char/keyboard.c | (scancode < SC_LIM || scancode > 255) ? -EINVAL : |
scancode | 332 | drivers/char/keyboard.c | (scancode < 128) ? high_keys[scancode - SC_LIM] : |
scancode | 333 | drivers/char/keyboard.c | e0_keys[scancode - 128]; |
scancode | 338 | drivers/char/keyboard.c | unsigned char scancode, keycode; |
scancode | 348 | drivers/char/keyboard.c | scancode = inb(0x60); |
scancode | 354 | drivers/char/keyboard.c | if (scancode == 0xfa) { |
scancode | 357 | drivers/char/keyboard.c | } else if (scancode == 0xfe) { |
scancode | 364 | drivers/char/keyboard.c | printk("keyboard reply expected - got %02x\n", scancode); |
scancode | 367 | drivers/char/keyboard.c | if (scancode == 0) { |
scancode | 378 | drivers/char/keyboard.c | put_queue(scancode); |
scancode | 384 | drivers/char/keyboard.c | if (scancode == 0xff) { |
scancode | 397 | drivers/char/keyboard.c | if (scancode == 0xe0 || scancode == 0xe1) { |
scancode | 398 | drivers/char/keyboard.c | prev_scancode = scancode; |
scancode | 405 | drivers/char/keyboard.c | up_flag = (scancode & 0200); |
scancode | 406 | drivers/char/keyboard.c | scancode &= 0x7f; |
scancode | 414 | drivers/char/keyboard.c | if (prev_scancode == 0xe1 && scancode == 0x1d) { |
scancode | 417 | drivers/char/keyboard.c | } else if (prev_scancode == 0x100 && scancode == 0x45) { |
scancode | 443 | drivers/char/keyboard.c | if (scancode == 0x2a || scancode == 0x36) |
scancode | 446 | drivers/char/keyboard.c | if (e0_keys[scancode]) |
scancode | 447 | drivers/char/keyboard.c | keycode = e0_keys[scancode]; |
scancode | 451 | drivers/char/keyboard.c | printk("keyboard: unknown scancode e0 %02x\n", scancode); |
scancode | 456 | drivers/char/keyboard.c | } else if (scancode >= SC_LIM) { |
scancode | 467 | drivers/char/keyboard.c | keycode = high_keys[scancode - SC_LIM]; |
scancode | 473 | drivers/char/keyboard.c | , scancode); |
scancode | 479 | drivers/char/keyboard.c | keycode = scancode; |
scancode | 52 | drivers/char/vt.c | extern int getkeycode(unsigned int scancode); |
scancode | 53 | drivers/char/vt.c | extern int setkeycode(unsigned int scancode, unsigned int keycode); |
scancode | 321 | drivers/char/vt.c | sc = get_fs_long((int *) &a->scancode); |
scancode | 339 | drivers/char/vt.c | sc = get_fs_long((int *) &a->scancode); |
scancode | 110 | include/linux/kd.h | unsigned int scancode, keycode; |