Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/gpio/
H A Dgpiokeys.c137 uint16_t sc_inputtail; member
163 sc->sc_input[sc->sc_inputtail] = key; in gpiokeys_put_key()
165 ++(sc->sc_inputtail); in gpiokeys_put_key()
166 if (sc->sc_inputtail >= GPIOKEYS_GLOBAL_IN_BUF_SIZE) { in gpiokeys_put_key()
167 sc->sc_inputtail = 0; in gpiokeys_put_key()
/freebsd-12.1/sys/dev/usb/input/
H A Dukbd.c217 uint16_t sc_inputtail; member
430 sc->sc_input[sc->sc_inputtail] = key; in ukbd_put_key()
432 ++(sc->sc_inputtail); in ukbd_put_key()
433 if (sc->sc_inputtail >= UKBD_IN_BUF_SIZE) { in ukbd_put_key()
434 sc->sc_inputtail = 0; in ukbd_put_key()