Lines Matching refs:frame_offset
446 sc->frame_offset = 0; in fwcam_iso_start()
599 if (video_buf_write(vb, 0, sc->frame_buf, sc->frame_offset) != 0) { in fwcam_frame_done()
603 video_buf_done(vb, sc->frame_offset, sc->sc_sequence++); in fwcam_frame_done()
641 if (sc->frame_offset > 0 && in fwcam_iso_input()
642 sc->frame_offset == sc->frame_size) { in fwcam_iso_input()
644 } else if (sc->frame_offset > 0) { in fwcam_iso_input()
652 sc->frame_offset = 0; in fwcam_iso_input()
663 if (sc->frame_offset + plen <= sc->frame_size) { in fwcam_iso_input()
664 memcpy(sc->frame_buf + sc->frame_offset, payload, plen); in fwcam_iso_input()
665 sc->frame_offset += plen; in fwcam_iso_input()
673 sc->frame_offset = 0; in fwcam_iso_input()