Lines Matching full:keyboard

59 	KBDC		kbdc;		/* keyboard controller */
76 "AT keyboard");
142 /* attach a virtual keyboard cdev */ in atkbd_attach_unit()
149 * This is a kludge to compensate for lost keyboard interrupts. in atkbd_attach_unit()
173 * With release 2.1 of the Xaccel server, the keyboard is left in atkbd_timeout()
175 * keyboard is lost, and I don't know why (yet). in atkbd_timeout()
177 * is ready for the keyboard and conveniently hides the problem. XXX in atkbd_timeout()
179 * Try removing anything stuck in the keyboard controller; whether in atkbd_timeout()
180 * it's a keyboard scan code or mouse data. The low-level in atkbd_timeout()
182 * but the keyboard controller driver will, as a side effect. in atkbd_timeout()
189 * would be no more keyboard IRQs until the keyboard is reset by in atkbd_timeout()
192 * The keyboard apparently unwedges the irq in most cases. in atkbd_timeout()
218 /* keyboard driver declaration */
289 /* structures for the default keyboard */
297 * The back door to the keyboard driver!
299 * to tickle keyboard drivers when the low-level console is being initialized.
313 * Probe the keyboard controller, if not present or if the driver in atkbd_configure()
314 * is disabled, unregister the keyboard if any. in atkbd_configure()
331 /* probe the default keyboard */ in atkbd_configure()
346 /* detect a keyboard */
476 evdev_set_name(evdev, "AT keyboard"); in atkbd_init()
527 /* finish using this keyboard */
538 /* keyboard interrupt routine */
548 * The keyboard was not detected before; in atkbd_intr()
597 * the client cannot read from the keyboard.
622 /* read one byte from the keyboard if it's allowed */
646 /* read char from the keyboard */
666 /* see if there is something in the keyboard port */ in atkbd_read_char()
788 /* the following 3 are only used on the MS "Natural" keyboard */ in atkbd_read_char()
813 * The pause/break key on the 101 keyboard produces: in atkbd_read_char()
953 case KDGKBMODE: /* get keyboard mode */ in atkbd_ioctl()
963 case KDSKBMODE: /* set keyboard mode */ in atkbd_ioctl()
985 case KDGETLED: /* get keyboard LED */ in atkbd_ioctl()
995 case KDSETLED: /* set keyboard LED */ in atkbd_ioctl()
1048 case KDSETREPEAT: /* set keyboard repeat rate (new interface) */ in atkbd_ioctl()
1072 case KDSETRAD: /* set keyboard repeat rate (old interface) */ in atkbd_ioctl()
1088 case PIO_KEYMAP: /* set keyboard translation table */ in atkbd_ioctl()
1089 case PIO_KEYMAPENT: /* set keyboard translation table entry */ in atkbd_ioctl()
1092 case OPIO_KEYMAP: /* set keyboard translation table (compat) */ in atkbd_ioctl()
1106 /* lock the access to the keyboard */
1113 /* clear the internal state of the keyboard */
1174 /* reset keyboard hardware */ in atkbd_reset()
1177 * KEYBOARD ERROR in atkbd_reset()
1178 * Keyboard reset may fail either because the keyboard in atkbd_reset()
1179 * doen't exist, or because the keyboard doesn't pass in atkbd_reset()
1180 * the self-test, or the keyboard controller on the in atkbd_reset()
1181 * motherboard and the keyboard somehow fail to shake hands. in atkbd_reset()
1183 * that the keyboard controller may be left in a hung state. in atkbd_reset()
1185 * the keyboard controller back (I don't know why and how, in atkbd_reset()
1192 * We could disable the keyboard port and interrupt... but, in atkbd_reset()
1193 * the keyboard may still exist (see above). in atkbd_reset()
1198 printf("atkbd: failed to reset the keyboard.\n"); in atkbd_reset()
1252 /* enable the keyboard port, but disable the keyboard intr. */ in get_kbd_echo()
1266 /* enable the keyboard port and intr. */ in get_kbd_echo()
1270 * This is serious; the keyboard intr is left disabled! in get_kbd_echo()
1294 /* temporarily block data transmission from the keyboard */ in probe_keyboard()
1300 /* save the current keyboard controller command byte */ in probe_keyboard()
1311 * The keyboard may have been screwed up by the boot block. in probe_keyboard()
1313 * and the keyboard port. The controller command byte needs to be in probe_keyboard()
1324 * Even if the keyboard doesn't seem to be present (err != 0), in probe_keyboard()
1325 * we shall enable the keyboard port and interrupt so that in probe_keyboard()
1326 * the driver will be operable when the keyboard is attached in probe_keyboard()
1328 * the AT keyboard, but many people do so... in probe_keyboard()
1359 /* temporarily block data transmission from the keyboard */ in init_keyboard()
1375 /* override the keyboard lock switch */ in init_keyboard()
1379 /* enable the keyboard port, but disable the keyboard intr. */ in init_keyboard()
1394 * Check if we have an XT keyboard before we attempt to reset it. in init_keyboard()
1395 * The procedure assumes that the keyboard and the controller have in init_keyboard()
1401 /* the user says there is a XT keyboard */ in init_keyboard()
1428 case -1: /* AT 84 keyboard doesn't return ID */ in init_keyboard()
1435 printf("atkbd: keyboard ID 0x%x (%d)\n", id, *type); in init_keyboard()
1455 * KEYBOARD ERROR in init_keyboard()
1462 printf("atkbd: unable to set the XT keyboard mode.\n"); in init_keyboard()
1478 /* enable the keyboard port and intr. */ in init_keyboard()
1486 * keyboard intr. in init_keyboard()
1492 printf("atkbd: unable to enable the keyboard port and intr.\n"); in init_keyboard()
1505 /* prevent the timeout routine from polling the keyboard */ in write_kbd()
1509 /* disable the keyboard and mouse interrupt */ in write_kbd()
1524 * Now that the keyboard controller is told not to generate in write_kbd()
1525 * the keyboard and mouse interrupts, call `splx()' to allow in write_kbd()