Searched refs:SC_LIM (Results 1 – 5 of 5) sorted by relevance
135 #define SC_LIM 89 macro162 static unsigned char high_keys[128 - SC_LIM] = {218 if (scancode < SC_LIM || scancode > 255 || keycode > 127) in q40kbd_setkeycode()221 high_keys[scancode - SC_LIM] = keycode; in q40kbd_setkeycode()230 (scancode < SC_LIM || scancode > 255) ? -EINVAL : in q40kbd_getkeycode()231 (scancode < 128) ? high_keys[scancode - SC_LIM] : in q40kbd_getkeycode()310 } else if (scancode >= SC_LIM) { in q40kbd_translate()321 *keycode = high_keys[scancode - SC_LIM]; in q40kbd_translate()341 if (keycode >= SC_LIM || keycode == 85) in q40kbd_unexpected_up()
254 #define SC_LIM 89 /* 0x59 == 89 */ macro287 static unsigned char high_keys[128 - SC_LIM] = {341 if (scancode < SC_LIM || scancode > 255 || keycode > 127) in pckbd_setkeycode()344 high_keys[scancode - SC_LIM] = keycode; in pckbd_setkeycode()353 (scancode < SC_LIM || scancode > 255) ? -EINVAL : in pckbd_getkeycode()354 (scancode < 128) ? high_keys[scancode - SC_LIM] : in pckbd_getkeycode()425 } else if (scancode >= SC_LIM) { in pckbd_translate()436 *keycode = high_keys[scancode - SC_LIM]; in pckbd_translate()
185 #define SC_LIM 89 macro212 static unsigned char high_keys[128 - SC_LIM] = {266 if (scancode < SC_LIM || scancode > 255 || keycode > 127) in pckbd_setkeycode()269 high_keys[scancode - SC_LIM] = keycode; in pckbd_setkeycode()278 (scancode < SC_LIM || scancode > 255) ? -EINVAL : in pckbd_getkeycode()279 (scancode < 128) ? high_keys[scancode - SC_LIM] : in pckbd_getkeycode()377 } else if (scancode >= SC_LIM) { in pckbd_translate()388 *keycode = high_keys[scancode - SC_LIM]; in pckbd_translate()408 if (keycode >= SC_LIM || keycode == 85) in pckbd_unexpected_up()
136 #define SC_LIM 89 macro163 static unsigned char high_keys[128 - SC_LIM] = {241 if(scancode < SC_LIM || scancode > 255 || keycode > 127) in pcikbd_setkeycode()244 high_keys[scancode - SC_LIM] = keycode; in pcikbd_setkeycode()253 (scancode < SC_LIM || scancode > 255) ? -EINVAL : in pcikbd_getkeycode()254 (scancode < 128) ? high_keys[scancode - SC_LIM] : in pcikbd_getkeycode()389 } else if(scancode >= SC_LIM) { in pcikbd_translate()390 *keycode = high_keys[scancode - SC_LIM]; in pcikbd_translate()413 if(keycode >= SC_LIM || keycode == 85) in pcikbd_unexpected_up()
311 #define SC_LIM 89 macro338 static unsigned char high_keys[128 - SC_LIM] = {407 if (scancode < SC_LIM || scancode > 255 || keycode > 127) in sun_setkeycode()410 high_keys[scancode - SC_LIM] = keycode; in sun_setkeycode()419 (scancode < SC_LIM || scancode > 255) ? -EINVAL : in sun_getkeycode()420 (scancode < 128) ? high_keys[scancode - SC_LIM] : in sun_getkeycode()