Lines Matching refs:inputstate
198 sc->inputstate = 0;
253 sc->inputstate = 0;
528 if (sc->inputstate > 0) {
547 sc->inputstate = 0;
555 if (sc->inputstate == 0) {
564 if (sc->inputstate >= sizeof(sc->packet))
565 panic("inputstate should never be %d", sc->inputstate);
567 sc->packet[sc->inputstate++] = data & 0xff;
568 switch (sc->inputstate) {
588 sc->inputstate = 0;
599 sc->inputstate = 0;
632 if (sc->protocol != PMS_STANDARD && sc->inputstate == 3)
651 sc->inputstate = 0;
680 sc->inputstate = 0;