Searched refs:sc_framestate (Results 1 – 3 of 3) sorted by relevance
| /netbsd/src/sys/dev/ir/ |
| D | irframe_tty.c | 104 int sc_framestate; member 493 if (sc->sc_framestate != FRAME_OUTSIDE) in irt_timeout() 496 sc->sc_framestate = FRAME_OUTSIDE; in irt_timeout() 520 sc->sc_framestate = FRAME_INSIDE; in irframetinput() 527 sc->sc_framestate, sc->sc_inchars, sc->sc_inFCS)); in irframetinput() 528 if (sc->sc_framestate == FRAME_INSIDE && in irframetinput() 531 } else if (sc->sc_framestate != FRAME_OUTSIDE) { in irframetinput() 536 sc->sc_framestate = FRAME_OUTSIDE; in irframetinput() 540 if (sc->sc_framestate == FRAME_INSIDE) in irframetinput() 541 sc->sc_framestate = FRAME_ESCAPE; in irframetinput() [all …]
|
| /netbsd/src/sys/dev/usb/ |
| D | udsir.c | 86 struct framestate sc_framestate; member 372 deframe_init(&sc->sc_framestate, sc->sc_ur_buf, IRDA_MAX_FRAME_SIZE); in udsir_open() 882 fresult = deframe_process(&sc->sc_framestate, &buf, &buflen); in deframe_rd_ur() 896 sc->sc_ur_framelen = sc->sc_framestate.bufindex; in deframe_rd_ur() 994 if (!deframe_isclear(&sc->sc_framestate) && size == 0 && in udsir_rd_cb() 1002 deframe_clear(&sc->sc_framestate); in udsir_rd_cb()
|
| D | ustir.c | 116 struct framestate sc_framestate; member 399 fresult = deframe_process(&sc->sc_framestate, &buf, &buflen); in deframe_rd_ur() 413 sc->sc_ur_framelen = sc->sc_framestate.bufindex; in deframe_rd_ur() 605 if (!deframe_isclear(&sc->sc_framestate) && size == 0 && in ustir_rd_cb() 613 deframe_clear(&sc->sc_framestate); in ustir_rd_cb() 747 deframe_init(&sc->sc_framestate, sc->sc_ur_buf, IRDA_MAX_FRAME_SIZE); in ustir_open()
|