Lines Matching refs:prev_scancode
356 static int prev_scancode = 0; in pcikbd_translate() local
360 prev_scancode = scancode; in pcikbd_translate()
364 prev_scancode = 0; in pcikbd_translate()
368 if(prev_scancode) { in pcikbd_translate()
369 if(prev_scancode != 0xe0) { in pcikbd_translate()
370 if(prev_scancode == 0xe1 && scancode == 0x1d) { in pcikbd_translate()
371 prev_scancode = 0x100; in pcikbd_translate()
373 } else if(prev_scancode == 0x100 && scancode == 0x45) { in pcikbd_translate()
375 prev_scancode = 0; in pcikbd_translate()
377 prev_scancode = 0; in pcikbd_translate()
381 prev_scancode = 0; in pcikbd_translate()