Lines Matching refs:kbd_softc
136 struct kbd_softc {
150 struct kbd_softc kbd_softc;
204 if (kbd_softc.k_mf2)
218 waa.console = kbd_softc.k_console;
222 kbd_softc.k_wskbddev = config_found(self, &waa, wskbddevprint,
225 kbd_softc.k_pollingmode = 0;
239 kbd_softc.k_console = 1;
297 kbd_softc.k_mf2 = 1;
306 kbd_softc.k_mf2 = 0;
322 kbd_softc.k_event_mode = 0;
323 kbd_softc.k_events.ev_io = 0;
462 if (kbd_softc.k_events.ev_io)
465 kbd_softc.k_events.ev_io = l->l_proc;
466 ev_init(&kbd_softc.k_events);
475 kbd_softc.k_event_mode = 0;
476 ev_fini(&kbd_softc.k_events);
477 kbd_softc.k_events.ev_io = NULL;
484 return ev_read (&kbd_softc.k_events, uio, flags);
491 register struct kbd_softc *k = &kbd_softc;
537 return ev_poll (&kbd_softc.k_events, events, l);
544 return (ev_kqfilter(&kbd_softc.k_events, kn));
632 if (is_draco() && kbd_softc.k_mf2) {
685 struct kbd_softc *k = &kbd_softc;
695 if (kbd_softc.k_pollingmode == 0
696 && kbd_softc.k_wskbddev != NULL
698 wskbd_input(kbd_softc.k_wskbddev,
747 struct kbd_softc *k = &kbd_softc;
821 kbd_softc.k_pollingmode = on;