Lines Matching defs:sc_kbd
71 keyboard_t sc_kbd;
223 if (KBD_IS_INITIALIZED(&sunkbd_softc.sc_kbd))
244 sunkbd_clear_state(&sc->sc_kbd);
247 kbd_init_struct(&sc->sc_kbd, SUNKBD_DRIVER_NAME, KB_101, 0, 0, 0, 0);
248 kbd_set_maps(&sc->sc_kbd, &key_map, &accent_map, fkey_tab,
251 kbd_init_struct(&sc->sc_kbd, SUNKBD_DRIVER_NAME, KB_OTHER, 0, 0, 0, 0);
252 kbd_set_maps(&sc->sc_kbd, &keymap_sun_us_unix_kbd,
257 kbd_register(&sc->sc_kbd);
283 kbd_attach(&sunkbd_softc.sc_kbd);
285 sunkbd_enable(&sunkbd_softc.sc_kbd);
291 KBD_INIT_DONE(&sunkbd_softc.sc_kbd);
311 if (KBD_IS_ACTIVE(&sc->sc_kbd) && KBD_IS_BUSY(&sc->sc_kbd)) {
312 sc->sc_kbd.kb_callback.kc_func(&sc->sc_kbd,
313 KBDIO_KEYINPUT, sc->sc_kbd.kb_callback.kc_arg);
820 if (KBD_IS_ACTIVE(&sc->sc_kbd) && KBD_IS_BUSY(&sc->sc_kbd)) {
823 sc->sc_kbd.kb_callback.kc_func(&sc->sc_kbd,
824 KBDIO_KEYINPUT, sc->sc_kbd.kb_callback.kc_arg);