Lines Matching +full:keyboard +full:- +full:controller

7  * PS/2 keyboard driver
15 #include <keyboard.h>
28 * This reads the keyboard status port, and does the
37 while ((--work > 0) && (status & KBD_STAT_OBF)) { in handle_kbd_event()
54 PRINTF("pc_keyb: controller jammed (0x%02X).\n", status); in handle_kbd_event()
64 val = -1; in kbd_read_data()
69 val = -2; in kbd_read_data()
82 if(timeout--==0) in kbd_wait_for_input()
83 return -1; in kbd_wait_for_input()
100 timeout--; in kb_wait()
131 * Test the keyboard interface. in kbd_initialize()
139 * Perform a keyboard interface test. This causes the controller in kbd_initialize()
140 * to test the keyboard clock and data lines. The results of the in kbd_initialize()
147 * Enable the keyboard by allowing the keyboard clock to run. in kbd_initialize()
152 * Reset keyboard. If the read times out in kbd_initialize()
153 * then the assumption is that no keyboard is in kbd_initialize()
155 * This defaults the keyboard to scan-code set 2. in kbd_initialize()
157 * Set up to try again if the keyboard asks for RESEND. in kbd_initialize()
173 * Set keyboard controller mode. During this, the keyboard should be in kbd_initialize()
176 * Set up to try again if the keyboard asks for RESEND. in kbd_initialize()
184 return "Kbd: disable keyboard: no ACK"; in kbd_initialize()
193 /* AMCC powerpc portables need this to use scan-code set 1 -- Cort */ in kbd_initialize()
197 * If the controller does not support conversion, in kbd_initialize()
198 * Set the keyboard to scan-code set 1. in kbd_initialize()
207 return "Kbd: enable keyboard: no ACK"; in kbd_initialize()
238 PRINTF("AT Keyboard initialized\n"); in kbd_init_hw()
243 return (-1); in kbd_init_hw()