Searched refs:sc_inputhead (Results 1 – 2 of 2) sorted by relevance
136 uint16_t sc_inputhead; member659 c = sc->sc_input[sc->sc_inputhead]; in gpiokeys_get_key()661 ++(sc->sc_inputhead); in gpiokeys_get_key()662 if (sc->sc_inputhead >= GPIOKEYS_GLOBAL_IN_BUF_SIZE) { in gpiokeys_get_key()663 sc->sc_inputhead = 0; in gpiokeys_get_key()
216 uint16_t sc_inputhead; member513 c = sc->sc_input[sc->sc_inputhead]; in ukbd_get_key()515 ++(sc->sc_inputhead); in ukbd_get_key()516 if (sc->sc_inputhead >= UKBD_IN_BUF_SIZE) { in ukbd_get_key()517 sc->sc_inputhead = 0; in ukbd_get_key()