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.c198 uint16_t sc_inputs; member
448 if (sc->sc_inputs < UKBD_IN_BUF_SIZE) { in ukbd_put_key()
450 ++(sc->sc_inputs); in ukbd_put_key()
477 while (sc->sc_inputs == 0) { in ukbd_do_poll()
489 while (sc->sc_inputs == 0) { in ukbd_do_poll()
518 if (sc->sc_inputs == 0 && in ukbd_get_key()
528 if (sc->sc_inputs == 0) { in ukbd_get_key()
532 --(sc->sc_inputs); in ukbd_get_key()
632 if (sc->sc_inputs == 0) in ukbd_event_keyinput()
663 if (ukbd_any_key_pressed(sc) || (sc->sc_inputs != 0)) { in ukbd_timeout()
[all …]