Lines Matching refs:grabstate
879 if (frame->grabstate == FRAME_READY) { in bayer_unshuffle()
880 frame->grabstate = FRAME_GRABBING; in bayer_unshuffle()
1055 frame->grabstate = FRAME_DONE; in bayer_unshuffle()
1058 if (stv680->frame[(stv680->curframe + 1) & (STV680_NUMFRAMES - 1)].grabstate == FRAME_READY) { in bayer_unshuffle()
1070 …(stv680->streaming && (stv680->frame[framenr].grabstate == FRAME_READY || stv680->frame[framenr].g… in stv680_newframe()
1086 stv680->frame[framenr].grabstate = FRAME_ERROR; in stv680_newframe()
1145 stv680->frame[i].grabstate = FRAME_UNUSED; in stv_close()
1324 if ((stv680->frame[vm.frame].grabstate == FRAME_ERROR) in stv680_ioctl()
1325 || (stv680->frame[vm.frame].grabstate == FRAME_GRABBING)) { in stv680_ioctl()
1327 stv680->frame[vm.frame].grabstate); in stv680_ioctl()
1337 stv680->frame[vm.frame].grabstate = FRAME_READY; in stv680_ioctl()
1356 stv680->frame[frame].grabstate = FRAME_UNUSED; in stv680_ioctl()
1449 if (stv680->frame[0].grabstate == FRAME_GRABBING) { in stv680_read()
1453 stv680->frame[0].grabstate = FRAME_READY; in stv680_read()
1454 stv680->frame[1].grabstate = FRAME_UNUSED; in stv680_read()
1474 stv680->frame[0].grabstate = FRAME_UNUSED; in stv680_read()
1556 stv680->frame[0].grabstate = FRAME_ERROR; in usb_stv680_remove_disconnected()
1557 stv680->frame[1].grabstate = FRAME_ERROR; in usb_stv680_remove_disconnected()