tag | line | file | source code |
scancode | 316 | drivers/char/keyboard.c | int setkeycode(unsigned int scancode, unsigned int keycode) |
scancode | 318 | drivers/char/keyboard.c | if (scancode < SC_LIM || scancode > 255 || keycode > 127) |
scancode | 320 | drivers/char/keyboard.c | if (scancode < 128) |
scancode | 321 | drivers/char/keyboard.c | high_keys[scancode - SC_LIM] = keycode; |
scancode | 323 | drivers/char/keyboard.c | e0_keys[scancode - 128] = keycode; |
scancode | 327 | drivers/char/keyboard.c | int getkeycode(unsigned int scancode) |
scancode | 330 | drivers/char/keyboard.c | (scancode < SC_LIM || scancode > 255) ? -EINVAL : |
scancode | 331 | drivers/char/keyboard.c | (scancode < 128) ? high_keys[scancode - SC_LIM] : |
scancode | 332 | drivers/char/keyboard.c | e0_keys[scancode - 128]; |
scancode | 337 | drivers/char/keyboard.c | unsigned char scancode, keycode; |
scancode | 347 | drivers/char/keyboard.c | scancode = inb(0x60); |
scancode | 353 | drivers/char/keyboard.c | if (scancode == 0xfa) { |
scancode | 356 | drivers/char/keyboard.c | } else if (scancode == 0xfe) { |
scancode | 363 | drivers/char/keyboard.c | printk("keyboard reply expected - got %02x\n", scancode); |
scancode | 366 | drivers/char/keyboard.c | if (scancode == 0) { |
scancode | 377 | drivers/char/keyboard.c | put_queue(scancode); |
scancode | 383 | drivers/char/keyboard.c | if (scancode == 0xff) { |
scancode | 396 | drivers/char/keyboard.c | if (scancode == 0xe0 || scancode == 0xe1) { |
scancode | 397 | drivers/char/keyboard.c | prev_scancode = scancode; |
scancode | 404 | drivers/char/keyboard.c | up_flag = (scancode & 0200); |
scancode | 405 | drivers/char/keyboard.c | scancode &= 0x7f; |
scancode | 413 | drivers/char/keyboard.c | if (prev_scancode == 0xe1 && scancode == 0x1d) { |
scancode | 416 | drivers/char/keyboard.c | } else if (prev_scancode == 0x100 && scancode == 0x45) { |
scancode | 442 | drivers/char/keyboard.c | if (scancode == 0x2a || scancode == 0x36) |
scancode | 445 | drivers/char/keyboard.c | if (e0_keys[scancode]) |
scancode | 446 | drivers/char/keyboard.c | keycode = e0_keys[scancode]; |
scancode | 450 | drivers/char/keyboard.c | printk("keyboard: unknown scancode e0 %02x\n", scancode); |
scancode | 455 | drivers/char/keyboard.c | } else if (scancode >= SC_LIM) { |
scancode | 466 | drivers/char/keyboard.c | keycode = high_keys[scancode - SC_LIM]; |
scancode | 472 | drivers/char/keyboard.c | , scancode); |
scancode | 478 | drivers/char/keyboard.c | keycode = scancode; |
scancode | 53 | drivers/char/vt.c | extern int getkeycode(unsigned int scancode); |
scancode | 54 | drivers/char/vt.c | extern int setkeycode(unsigned int scancode, unsigned int keycode); |
scancode | 369 | drivers/char/vt.c | sc = get_user(&a->scancode); |
scancode | 387 | drivers/char/vt.c | sc = get_user(&a->scancode); |
scancode | 126 | include/linux/kd.h | unsigned int scancode, keycode; |