tag | line | file | source code |
scancode | 204 | drivers/char/keyboard.c | unsigned char scancode; |
scancode | 214 | drivers/char/keyboard.c | scancode = inb(0x60); |
scancode | 216 | drivers/char/keyboard.c | if (scancode == 0xfa) { |
scancode | 219 | drivers/char/keyboard.c | } else if (scancode == 0xfe) { |
scancode | 222 | drivers/char/keyboard.c | } else if (scancode == 0) { |
scancode | 227 | drivers/char/keyboard.c | } else if (scancode == 0xff) { |
scancode | 237 | drivers/char/keyboard.c | put_queue(scancode); |
scancode | 242 | drivers/char/keyboard.c | if (scancode == 0xe0 || scancode == 0xe1) { |
scancode | 243 | drivers/char/keyboard.c | prev_scancode = scancode; |
scancode | 250 | drivers/char/keyboard.c | up_flag = (scancode & 0200); |
scancode | 251 | drivers/char/keyboard.c | scancode &= 0x7f; |
scancode | 259 | drivers/char/keyboard.c | if (prev_scancode == 0xe1 && scancode == 0x1d) { |
scancode | 262 | drivers/char/keyboard.c | } else if (prev_scancode == 0x100 && scancode == 0x45) { |
scancode | 263 | drivers/char/keyboard.c | scancode = E1_PAUSE; |
scancode | 285 | drivers/char/keyboard.c | if (scancode == 0x2a || scancode == 0x36) |
scancode | 288 | drivers/char/keyboard.c | if (e0_keys[scancode]) |
scancode | 289 | drivers/char/keyboard.c | scancode = e0_keys[scancode]; |
scancode | 292 | drivers/char/keyboard.c | printk("keyboard: unknown scancode e0 %02x\n", scancode); |
scancode | 297 | drivers/char/keyboard.c | } else if (scancode >= E0_BASE && !raw_mode) { |
scancode | 300 | drivers/char/keyboard.c | scancode, E0_BASE - 1); |
scancode | 314 | drivers/char/keyboard.c | clear_bit(scancode, key_down); |
scancode | 317 | drivers/char/keyboard.c | rep = set_bit(scancode, key_down); |
scancode | 323 | drivers/char/keyboard.c | put_queue(scancode + up_flag); |
scancode | 349 | drivers/char/keyboard.c | key_code = key_map[shift_final][scancode]; |
scancode | 355 | drivers/char/keyboard.c | key_code = key_map[shift_final ^ (1<<KG_SHIFT)][scancode]; |