Home | History | Annotate | Download | only in ir

Lines Matching defs:sc_frames

115 	struct irt_frame sc_frames[MAXFRAMES];
442 if (sc->sc_frames[i].buf != NULL)
443 free(sc->sc_frames[i].buf, M_DEVBUF);
448 sc->sc_frames[i].buf =
454 sc->sc_frames[i].buf = NULL;
473 if (sc->sc_frames[sc->sc_framei].buf == NULL)
475 memcpy(sc->sc_frames[sc->sc_framei].buf, tbuf, len);
476 sc->sc_frames[sc->sc_framei].len = len;
482 wakeup(sc->sc_frames);
645 error = tsleep(sc->sc_frames, PZERO | PCATCH, "irtrd", 0);
655 if (uio->uio_resid < sc->sc_frames[sc->sc_frameo].len) {
658 sc->sc_frames[sc->sc_frameo].len));
662 sc->sc_frames[sc->sc_frameo].len));
663 error = uiomove(sc->sc_frames[sc->sc_frameo].buf,
664 sc->sc_frames[sc->sc_frameo].len, uio);