Lines Matching refs:prev_scancode
361 static int prev_scancode; in pckbd_translate() local
365 prev_scancode = scancode; in pckbd_translate()
371 prev_scancode = 0; in pckbd_translate()
376 if (prev_scancode) { in pckbd_translate()
381 if (prev_scancode != 0xe0) { in pckbd_translate()
382 if (prev_scancode == 0xe1 && scancode == 0x1d) { in pckbd_translate()
383 prev_scancode = 0x100; in pckbd_translate()
385 } else if (prev_scancode == 0x100 && scancode == 0x45) { in pckbd_translate()
387 prev_scancode = 0; in pckbd_translate()
393 prev_scancode = 0; in pckbd_translate()
397 prev_scancode = 0; in pckbd_translate()