Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/gpio/
Dgpiokeys.c146 uint16_t sc_inputs; member
173 if (sc->sc_inputs < GPIOKEYS_GLOBAL_IN_BUF_SIZE) { in gpiokeys_put_key()
175 ++(sc->sc_inputs); in gpiokeys_put_key()
629 while (sc->sc_inputs == 0) { in gpiokeys_do_poll()
637 while ((sc->sc_inputs == 0) && wait) { in gpiokeys_do_poll()
656 if (sc->sc_inputs > 0) { in gpiokeys_check()
699 if (sc->sc_inputs == 0) { in gpiokeys_get_key()
703 --(sc->sc_inputs); in gpiokeys_get_key()
/freebsd-12-stable/sys/dev/usb/input/
Dukbd.c191 uint16_t sc_inputs; member
397 if (sc->sc_inputs < UKBD_IN_BUF_SIZE) { in ukbd_put_key()
399 ++(sc->sc_inputs); in ukbd_put_key()
426 while (sc->sc_inputs == 0) { in ukbd_do_poll()
438 while (sc->sc_inputs == 0) { in ukbd_do_poll()
468 if (sc->sc_inputs == 0 && in ukbd_get_key()
478 if (sc->sc_inputs == 0) { in ukbd_get_key()
482 --(sc->sc_inputs); in ukbd_get_key()
580 if (sc->sc_inputs == 0) in ukbd_event_keyinput()
611 if (ukbd_any_key_pressed(sc) || (sc->sc_inputs != 0)) { in ukbd_timeout()
[all …]