Home
last modified time | relevance | path

Searched refs:sc_inputs (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/gpio/
H A Dgpiokeys.c144 uint16_t sc_inputs; member
171 if (sc->sc_inputs < GPIOKEYS_GLOBAL_IN_BUF_SIZE) { in gpiokeys_put_key()
173 ++(sc->sc_inputs); in gpiokeys_put_key()
631 while (sc->sc_inputs == 0) { in gpiokeys_do_poll()
639 while ((sc->sc_inputs == 0) && wait) { in gpiokeys_do_poll()
658 if (sc->sc_inputs > 0) { in gpiokeys_check()
701 if (sc->sc_inputs == 0) { in gpiokeys_get_key()
705 --(sc->sc_inputs); in gpiokeys_get_key()
/freebsd/sys/dev/usb/input/
H A Dukbd.c213 uint16_t sc_inputs; member
464 if (sc->sc_inputs < UKBD_IN_BUF_SIZE) { in ukbd_put_key()
466 ++(sc->sc_inputs); in ukbd_put_key()
493 while (sc->sc_inputs == 0) { in ukbd_do_poll()
505 while (sc->sc_inputs == 0) { in ukbd_do_poll()
534 if (sc->sc_inputs == 0 && in ukbd_get_key()
544 if (sc->sc_inputs == 0) { in ukbd_get_key()
548 --(sc->sc_inputs); in ukbd_get_key()
648 if (sc->sc_inputs == 0) in ukbd_event_keyinput()
679 if (ukbd_any_key_pressed(sc) || (sc->sc_inputs != 0)) { in ukbd_timeout()
[all …]