tag | line | file | source code |
scancode | 123 | drivers/char/keyboard.c | static inline void translate(unsigned char scancode); |
scancode | 142 | drivers/char/keyboard.c | unsigned char scancode; |
scancode | 153 | drivers/char/keyboard.c | scancode = inb(0x60); |
scancode | 155 | drivers/char/keyboard.c | if (scancode == 0xfa) { |
scancode | 158 | drivers/char/keyboard.c | } else if (scancode == 0xfe) { |
scancode | 168 | drivers/char/keyboard.c | put_queue(scancode); |
scancode | 171 | drivers/char/keyboard.c | translate(scancode); |
scancode | 177 | drivers/char/keyboard.c | static inline void translate(unsigned char scancode) |
scancode | 210 | drivers/char/keyboard.c | if (scancode == 0xe0) { |
scancode | 214 | drivers/char/keyboard.c | if (scancode == 0xe1) { |
scancode | 225 | drivers/char/keyboard.c | if (kbd_dead(KGD_E0) && (scancode == 0x2a || scancode == 0xaa || |
scancode | 226 | drivers/char/keyboard.c | scancode == 0x36 || scancode == 0xb6)) |
scancode | 231 | drivers/char/keyboard.c | break_flag = scancode > 0x7f; |
scancode | 232 | drivers/char/keyboard.c | scancode &= 0x7f; |
scancode | 237 | drivers/char/keyboard.c | if (scancode == e0_keys[i]) { |
scancode | 238 | drivers/char/keyboard.c | scancode = E0_BASE + i; |
scancode | 244 | drivers/char/keyboard.c | printk("keyboard: unknown scancode e0 %02x\n", scancode); |
scancode | 248 | drivers/char/keyboard.c | } else if (scancode >= E0_BASE) { |
scancode | 250 | drivers/char/keyboard.c | printk("keyboard: scancode (%02x) not in range 00 - %2x\n", scancode, E0_BASE - 1); |
scancode | 257 | drivers/char/keyboard.c | clear_bit(scancode, key_down); |
scancode | 259 | drivers/char/keyboard.c | rep = set_bit(scancode, key_down); |
scancode | 262 | drivers/char/keyboard.c | put_queue(scancode); |
scancode | 277 | drivers/char/keyboard.c | key_code = key_map[shift_state][scancode]; |