Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/sbus/char/
Dsunkbd.c1278 static int kbd_head, kbd_tail; variable
1295 next = (kbd_head + 1) % KBD_QSIZE; in push_kbd()
1297 kbd_queue [kbd_head].id = scan & KBD_KEYMASK; in push_kbd()
1298 kbd_queue [kbd_head].value=scan & KBD_UP ? VKEY_UP : VKEY_DOWN; in push_kbd()
1299 kbd_queue [kbd_head].time = xtime; in push_kbd()
1300 kbd_head = next; in push_kbd()
1316 if (kbd_head == kbd_tail){ in kbd_read()
1322 if (kbd_head == kbd_tail && !signal_pending(current)) { in kbd_read()
1333 for (; p < end && kbd_head != kbd_tail;){ in kbd_read()
1386 if (kbd_head != kbd_tail) in kbd_poll()
[all …]