Lines Matching refs:v4l_buffers

513 		if (zr->v4l_buffers.active == ZORAN_FREE) {  in zoran_v4l_queue_frame()
514 zr->v4l_buffers = fh->buffers; in zoran_v4l_queue_frame()
527 switch (zr->v4l_buffers.buffer[num].state) { in zoran_v4l_queue_frame()
530 if (zr->v4l_buffers.active == ZORAN_FREE) { in zoran_v4l_queue_frame()
532 zr->v4l_buffers.allocated = 0; in zoran_v4l_queue_frame()
545 zr->v4l_buffers.buffer[num].state = BUZ_STATE_PEND; in zoran_v4l_queue_frame()
546 zr->v4l_buffers.buffer[num].bs.length = in zoran_v4l_queue_frame()
549 fh->buffers.buffer[num] = zr->v4l_buffers.buffer[num]; in zoran_v4l_queue_frame()
556 if (!res && zr->v4l_buffers.active == ZORAN_FREE) in zoran_v4l_queue_frame()
557 zr->v4l_buffers.active = fh->buffers.active; in zoran_v4l_queue_frame()
588 if (zr->v4l_buffers.buffer[frame].state == BUZ_STATE_USER) { in v4l_sync()
598 (zr->v4l_buffers.buffer[frame].state != BUZ_STATE_PEND), 10*HZ)) in v4l_sync()
604 if (zr->v4l_buffers.buffer[frame].state != BUZ_STATE_DONE) in v4l_sync()
609 zr->v4l_buffers.buffer[frame].state = BUZ_STATE_USER; in v4l_sync()
610 fh->buffers.buffer[frame] = zr->v4l_buffers.buffer[frame]; in v4l_sync()
617 if (zr->v4l_buffers.active == ZORAN_ACTIVE) { in v4l_sync()
618 fh->buffers.active = zr->v4l_buffers.active = ZORAN_FREE; in v4l_sync()
619 zr->v4l_buffers.allocated = 0; in v4l_sync()
880 zr->v4l_buffers.allocated = 0; in zoran_close_end_session()
881 zr->v4l_buffers.active = fh->buffers.active = ZORAN_FREE; in zoran_close_end_session()
1016 zr->v4l_buffers.allocated = 0; in zoran_close()
1017 zr->v4l_buffers.active = ZORAN_FREE; in zoran_close()
1344 "UPMD"[zr->v4l_buffers.buffer[num].state], in zoran_v4l2_buffer_status()
1430 if (zr->v4l_buffers.active != ZORAN_FREE || in zoran_set_norm()
1502 if (zr->v4l_buffers.active != ZORAN_FREE || in zoran_set_input()
2183 zr->v4l_buffers.buffer[num].state != BUZ_STATE_DONE) { in zoran_dqbuf()
2250 if (zr->v4l_buffers.active != ZORAN_ACTIVE || in zoran_streamon()
2256 zr->v4l_buffers.active = fh->buffers.active = ZORAN_LOCKED; in zoran_streamon()
2309 zr->v4l_buffers.active != ZORAN_FREE) { in zoran_streamoff()
2313 if (zr->v4l_buffers.active == ZORAN_FREE) in zoran_streamoff()
2324 zr->v4l_buffers.buffer[i].state = BUZ_STATE_USER; in zoran_streamoff()
2325 fh->buffers = zr->v4l_buffers; in zoran_streamoff()
2327 zr->v4l_buffers.active = fh->buffers.active = ZORAN_FREE; in zoran_streamoff()
2731 "UPMD"[zr->v4l_buffers.buffer[frame].state], in zoran_poll()
2736 zr->v4l_buffers.buffer[frame].state == BUZ_STATE_DONE) in zoran_poll()
2836 zr->v4l_buffers.allocated = 0; in zoran_vm_close()
2837 zr->v4l_buffers.active = fh->buffers.active = ZORAN_FREE; in zoran_vm_close()