Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/gpio/
H A Dgpiokeys.c135 uint16_t sc_inputs; member
162 if (sc->sc_inputs < GPIOKEYS_GLOBAL_IN_BUF_SIZE) { in gpiokeys_put_key()
164 ++(sc->sc_inputs); in gpiokeys_put_key()
586 while (sc->sc_inputs == 0) { in gpiokeys_do_poll()
594 while ((sc->sc_inputs == 0) && wait) { in gpiokeys_do_poll()
613 if (sc->sc_inputs > 0) { in gpiokeys_check()
656 if (sc->sc_inputs == 0) { in gpiokeys_get_key()
660 --(sc->sc_inputs); in gpiokeys_get_key()
/freebsd-12.1/sys/dev/usb/input/
H A Dukbd.c215 uint16_t sc_inputs; member
429 if (sc->sc_inputs < UKBD_IN_BUF_SIZE) { in ukbd_put_key()
431 ++(sc->sc_inputs); in ukbd_put_key()
458 while (sc->sc_inputs == 0) { in ukbd_do_poll()
470 while (sc->sc_inputs == 0) { in ukbd_do_poll()
500 if (sc->sc_inputs == 0 && in ukbd_get_key()
510 if (sc->sc_inputs == 0) { in ukbd_get_key()
514 --(sc->sc_inputs); in ukbd_get_key()
632 if (sc->sc_inputs == 0) in ukbd_event_keyinput()
852 if (sc->sc_inputs < UKBD_IN_BUF_FULL) { in ukbd_intr_callback()
[all …]