Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/dev/hid/
H A Dhkbd.c186 uint32_t sc_inputhead; member
397 if (tail != atomic_load_acq_32(&sc->sc_inputhead)) { in hkbd_put_key()
422 while (sc->sc_inputhead == in hkbd_do_poll()
435 while (sc->sc_inputhead == sc->sc_inputtail) { in hkbd_do_poll()
468 head = sc->sc_inputhead; in hkbd_get_key()
474 atomic_store_rel_32(&sc->sc_inputhead, head); in hkbd_get_key()
564 if (sc->sc_inputhead == atomic_load_acq_32(&sc->sc_inputtail)) in hkbd_event_keyinput()
605 atomic_load_acq_32(&sc->sc_inputhead) != sc->sc_inputtail) { in hkbd_timeout()
1212 if (sc->sc_inputhead != atomic_load_acq_32(&sc->sc_inputtail)) { in hkbd_check()
/freebsd-14.2/sys/dev/usb/input/
H A Dukbd.c192 uint16_t sc_inputhead; member
482 c = sc->sc_input[sc->sc_inputhead]; in ukbd_get_key()
484 ++(sc->sc_inputhead); in ukbd_get_key()
485 if (sc->sc_inputhead >= UKBD_IN_BUF_SIZE) { in ukbd_get_key()
486 sc->sc_inputhead = 0; in ukbd_get_key()