Home
last modified time | relevance | path

Searched refs:sc_inputhead (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/gpio/
H A Dgpiokeys.c145 uint16_t sc_inputhead; member
704 c = sc->sc_input[sc->sc_inputhead]; in gpiokeys_get_key()
706 ++(sc->sc_inputhead); in gpiokeys_get_key()
707 if (sc->sc_inputhead >= GPIOKEYS_GLOBAL_IN_BUF_SIZE) { in gpiokeys_get_key()
708 sc->sc_inputhead = 0; in gpiokeys_get_key()
/freebsd/sys/dev/hid/
H A Dhkbd.c188 uint32_t sc_inputhead; member
399 if (tail != atomic_load_acq_32(&sc->sc_inputhead)) { in hkbd_put_key()
424 while (sc->sc_inputhead == in hkbd_do_poll()
437 while (sc->sc_inputhead == sc->sc_inputtail) { in hkbd_do_poll()
470 head = sc->sc_inputhead; in hkbd_get_key()
476 atomic_store_rel_32(&sc->sc_inputhead, head); in hkbd_get_key()
566 if (sc->sc_inputhead == atomic_load_acq_32(&sc->sc_inputtail)) in hkbd_event_keyinput()
607 atomic_load_acq_32(&sc->sc_inputhead) != sc->sc_inputtail) { in hkbd_timeout()
1214 if (sc->sc_inputhead != atomic_load_acq_32(&sc->sc_inputtail)) { in hkbd_check()
/freebsd/sys/dev/usb/input/
H A Dukbd.c199 uint16_t sc_inputhead; member
531 c = sc->sc_input[sc->sc_inputhead]; in ukbd_get_key()
533 ++(sc->sc_inputhead); in ukbd_get_key()
534 if (sc->sc_inputhead >= UKBD_IN_BUF_SIZE) { in ukbd_get_key()
535 sc->sc_inputhead = 0; in ukbd_get_key()