Lines Matching defs:sc_kbd
67 keyboard_t sc_kbd;
312 kbd_init_struct(&sc->sc_kbd, KBD_DRIVER_NAME, KB_101, 0, 0, 0, 0);
313 kbd_set_maps(&sc->sc_kbd, &key_map, &accent_map, fkey_tab,
319 KBD_FOUND_DEVICE(&sc->sc_kbd);
320 KBD_PROBE_DONE(&sc->sc_kbd);
321 KBD_INIT_DONE(&sc->sc_kbd);
322 KBD_CONFIG_DONE(&sc->sc_kbd);
324 (*sw->enable)(&sc->sc_kbd);
326 kbd_register(&sc->sc_kbd);
329 if (kbd_attach(&sc->sc_kbd)) {
462 ms_to_ticks(sc->sc_kbd.kb_delay1), akbd_repeat, sc);
468 if (KBD_IS_ACTIVE(&sc->sc_kbd) && KBD_IS_BUSY(&sc->sc_kbd)) {
469 sc->sc_kbd.kb_callback.kc_func(&sc->sc_kbd,
470 KBDIO_KEYINPUT, sc->sc_kbd.kb_callback.kc_arg);
492 if (notify_kbd && KBD_IS_ACTIVE(&sc->sc_kbd)
493 && KBD_IS_BUSY(&sc->sc_kbd)) {
494 sc->sc_kbd.kb_callback.kc_func(&sc->sc_kbd,
495 KBDIO_KEYINPUT, sc->sc_kbd.kb_callback.kc_arg);
499 callout_reset(&sc->sc_repeater, ms_to_ticks(sc->sc_kbd.kb_delay2),