Lines Matching refs:ps2mouse_sc
125 struct ps2mouse_softc *ps2mouse_sc; member
241 ps2mouse_fifocnt(sc->ps2mouse_sc) == 0) && sc->kbd.bcnt > 0) in atkbdc_kbd_read()
248 if (ps2mouse_fifocnt(sc->ps2mouse_sc) > 0) { in atkbdc_aux_poll()
275 if (ps2mouse_read(sc->ps2mouse_sc, buf) == 0) { in atkbdc_dequeue_data()
276 if (ps2mouse_fifocnt(sc->ps2mouse_sc) == 0) { in atkbdc_dequeue_data()
301 if (ps2mouse_fifocnt(sc->ps2mouse_sc) == 0 && sc->kbd.bcnt == 0) { in atkbdc_dequeue_data()
352 ps2mouse_write(sc->ps2mouse_sc, *eax, 0); in atkbdc_data_handler()
359 ps2mouse_write(sc->ps2mouse_sc, *eax, 1); in atkbdc_data_handler()
456 ps2mouse_toggle(sc->ps2mouse_sc, 0); in atkbdc_sts_ctl_handler()
462 ps2mouse_toggle(sc->ps2mouse_sc, 1); in atkbdc_sts_ctl_handler()
463 if (ps2mouse_fifocnt(sc->ps2mouse_sc) > 0) in atkbdc_sts_ctl_handler()
487 } else if (ps2mouse_fifocnt(sc->ps2mouse_sc) > 0 && in atkbdc_sts_ctl_handler()
552 sc->ps2mouse_sc = ps2mouse_init(sc); in atkbdc_init()
589 ret = ps2mouse_snapshot(atkbdc_sc->ps2mouse_sc, meta); in atkbdc_snapshot()