Searched refs:sc_repeat (Results 1 – 2 of 2) sorted by relevance
169 struct wsmouse_repeat sc_repeat; member269 memset(&sc->sc_repeat, 0, sizeof(sc->sc_repeat)); in wsmouse_attach()479 KASSERT(sc->sc_repeat.wr_buttons & in wsmouse_input()510 if ((mb & d) && (sc->sc_repeat.wr_buttons & (1 << btnno)) && in wsmouse_input()511 sc->sc_repeat.wr_delay_first > 0) { in wsmouse_input()513 sc->sc_repeat_delay = sc->sc_repeat.wr_delay_first; in wsmouse_input()592 KASSERT(sc->sc_repeat.wr_buttons & (1 << sc->sc_repeat_button)); in wsmouse_repeat()604 if (newdelay - sc->sc_repeat.wr_delay_decrement < in wsmouse_repeat()605 sc->sc_repeat.wr_delay_minimum) in wsmouse_repeat()606 newdelay = sc->sc_repeat.wr_delay_minimum; in wsmouse_repeat()[all …]
139 callout_t sc_repeat; member229 callout_init(&sc->sc_repeat, 0); in btkbd_attach()230 callout_setfunc(&sc->sc_repeat, btkbd_repeat, sc); in btkbd_attach()254 callout_halt(&sc->sc_repeat, NULL); in btkbd_detach()255 callout_destroy(&sc->sc_repeat); in btkbd_detach()403 callout_stop(&sc->sc_repeat); in btkbd_ioctl()584 callout_stop(&sc->sc_repeat); in btkbd_input()587 callout_schedule(&sc->sc_repeat, hz * REP_DELAY1 / 1000); in btkbd_input()615 callout_schedule(&sc->sc_repeat, hz * REP_DELAYN / 1000); in btkbd_repeat()