Lines Matching refs:grabstate

3864 			frame->grabstate = FRAME_DONE;	// FIXME: Is this right?  in ov511_move_data()
3867 frame->grabstate = FRAME_DONE; in ov511_move_data()
3874 if (ov->frame[nextf].grabstate == FRAME_READY in ov511_move_data()
3875 || ov->frame[nextf].grabstate == FRAME_GRABBING) { in ov511_move_data()
3879 if (frame->grabstate == FRAME_DONE) { in ov511_move_data()
3883 ov->frame[nextf].grabstate); in ov511_move_data()
4034 frame->grabstate = FRAME_DONE; // FIXME: Is this right? in ov518_move_data()
4037 frame->grabstate = FRAME_DONE; in ov518_move_data()
4044 if (ov->frame[nextf].grabstate == FRAME_READY in ov518_move_data()
4045 || ov->frame[nextf].grabstate == FRAME_GRABBING) { in ov518_move_data()
4050 if (frame->grabstate == FRAME_DONE) { in ov518_move_data()
4054 ov->frame[nextf].grabstate); in ov518_move_data()
4363 if (ov->frame[newnum].grabstate == FRAME_READY) in ov51x_new_frame()
4373 frame->grabstate = FRAME_GRABBING; in ov51x_new_frame()
4559 ov->frame[i].grabstate = FRAME_UNUSED; in ov51x_v4l1_open()
4913 if (ov->frame[f].grabstate == FRAME_GRABBING) { in ov51x_v4l1_ioctl_internal()
4951 ov->frame[f].grabstate = FRAME_READY; in ov51x_v4l1_ioctl_internal()
4971 frame->grabstate); in ov51x_v4l1_ioctl_internal()
4973 switch (frame->grabstate) { in ov51x_v4l1_ioctl_internal()
4984 (frame->grabstate == FRAME_DONE) in ov51x_v4l1_ioctl_internal()
4985 || (frame->grabstate == FRAME_ERROR)); in ov51x_v4l1_ioctl_internal()
4990 if (frame->grabstate == FRAME_ERROR) { in ov51x_v4l1_ioctl_internal()
5006 frame->grabstate = FRAME_UNUSED; in ov51x_v4l1_ioctl_internal()
5119 if (ov->frame[0].grabstate >= FRAME_DONE) /* _DONE or _ERROR */ in ov51x_v4l1_read()
5121 else if (ov->frame[1].grabstate >= FRAME_DONE)/* _DONE or _ERROR */ in ov51x_v4l1_read()
5133 if (ov->frame[0].grabstate == FRAME_GRABBING) in ov51x_v4l1_read()
5135 else if (ov->frame[1].grabstate == FRAME_GRABBING) in ov51x_v4l1_read()
5158 (frame->grabstate == FRAME_DONE) in ov51x_v4l1_read()
5159 || (frame->grabstate == FRAME_ERROR)); in ov51x_v4l1_read()
5164 PDEBUG(4, "Got image, frame->grabstate = %d", frame->grabstate); in ov51x_v4l1_read()
5167 if (frame->grabstate == FRAME_ERROR) { in ov51x_v4l1_read()
5229 ov->frame[frmx].grabstate = FRAME_UNUSED; in ov51x_v4l1_read()
6592 ov->frame[n].grabstate = FRAME_ERROR; in ov51x_disconnect()