Home
last modified time | relevance | path

Searched refs:up_flag (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dkeyboard.c102 typedef void (*k_hand)(unsigned char value, char up_flag);
103 typedef void (k_handfn)(unsigned char value, char up_flag);
199 char up_flag = down ? 0 : 0200; in handle_scancode() local
204 add_keyboard_randomness(scancode | up_flag); in handle_scancode()
228 unsigned char next_scancode = scancode|up_flag; in handle_scancode()
229 if (have_keycode && up_flag && next_scancode==prev_scancode) { in handle_scancode()
238 else if (!up_flag || prev_scancode == 1) in handle_scancode()
259 if (up_flag) { in handle_scancode()
262 up_flag = kbd_unexpected_up(keycode); in handle_scancode()
268 sysrq_pressed = !up_flag; in handle_scancode()
[all …]
/linux-2.4.37.9/drivers/sbus/char/
Dsunkbd.c123 typedef void (*k_hand)(unsigned char value, char up_flag);
124 typedef void (k_handfn)(unsigned char value, char up_flag);
463 char up_flag; /* 0 or SUNKBD_UBIT */ in __sunkbd_inchar() local
527 up_flag = (keycode & SUNKBD_UBIT); /* The 'up' bit */ in __sunkbd_inchar()
530 if(up_flag) { in __sunkbd_inchar()
546 if (!up_flag) in __sunkbd_inchar()
556 put_queue(keycode + up_flag); in __sunkbd_inchar()
597 (*key_handler[type])(keysym & 0xff, up_flag); in __sunkbd_inchar()
812 static void do_ignore(unsigned char value, char up_flag) in do_ignore() argument
821 static void do_spec(unsigned char value, char up_flag) in do_spec() argument
[all …]
/linux-2.4.37.9/drivers/acorn/char/
Dkeyb_arc.c128 static void a5kkbd_key(unsigned int keycode, unsigned int up_flag) in a5kkbd_key() argument
143 busmouse_add_buttons(mousedev, 4, up_flag ? 4 : 0); in a5kkbd_key()
147 busmouse_add_buttons(mousedev, 2, up_flag ? 2 : 0); in a5kkbd_key()
151 busmouse_add_buttons(mousedev, 1, up_flag ? 1 : 0); in a5kkbd_key()
197 if (up_flag) in a5kkbd_key()
203 handle_scancode(keycode, !up_flag); in a5kkbd_key()
Dkeyb_ps2.c237 static inline void ps2kbd_key(unsigned int keycode, unsigned int up_flag) in ps2kbd_key() argument
239 handle_scancode(keycode, !up_flag); in ps2kbd_key()
/linux-2.4.37.9/drivers/macintosh/
Dmac_keyb.c328 int up_flag; in input_keycode() local
331 up_flag = (keycode & 0x80); in input_keycode()
364 if (data[button] != up_flag) { in input_keycode()
366 data[button] = up_flag; in input_keycode()
378 if (!up_flag && !dont_repeat[keycode]) { in input_keycode()
404 handle_scancode(keycode, !up_flag); in input_keycode()
Dadbhid.c151 int up_flag; in adbhid_input_keycode() local
153 up_flag = (keycode & 0x80); in adbhid_input_keycode()
178 adbhid[id]->keycode[keycode], !up_flag); in adbhid_input_keycode()
181 up_flag ? "released" : "pressed"); in adbhid_input_keycode()