Lines Matching refs:queue
322 static int isp_video_queue_setup(struct vb2_queue *queue, in isp_video_queue_setup() argument
327 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup()
416 video->ops->queue(video, buffer); in isp_video_buffer_queue()
576 vb2_discard_done(video->queue); in omap3isp_video_resume()
583 video->ops->queue(video, buf); in omap3isp_video_resume()
831 ret = vb2_reqbufs(&vfh->queue, rb); in isp_video_reqbufs()
845 ret = vb2_querybuf(&vfh->queue, b); in isp_video_querybuf()
859 ret = vb2_qbuf(&vfh->queue, b); in isp_video_qbuf()
873 ret = vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); in isp_video_dqbuf()
1069 video->queue = &vfh->queue; in isp_video_streamon()
1075 ret = vb2_streamon(&vfh->queue, type); in isp_video_streamon()
1100 vb2_streamoff(&vfh->queue, type); in isp_video_streamon()
1114 video->queue = NULL; in isp_video_streamon()
1137 streaming = vb2_is_streaming(&vfh->queue); in isp_video_streamoff()
1160 vb2_streamoff(&vfh->queue, type); in isp_video_streamoff()
1162 video->queue = NULL; in isp_video_streamoff()
1231 struct vb2_queue *queue; in isp_video_open() local
1253 queue = &handle->queue; in isp_video_open()
1254 queue->type = video->type; in isp_video_open()
1255 queue->io_modes = VB2_MMAP | VB2_USERPTR; in isp_video_open()
1256 queue->drv_priv = handle; in isp_video_open()
1257 queue->ops = &isp_video_queue_ops; in isp_video_open()
1258 queue->mem_ops = &vb2_dma_contig_memops; in isp_video_open()
1259 queue->buf_struct_size = sizeof(struct isp_buffer); in isp_video_open()
1260 queue->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in isp_video_open()
1262 ret = vb2_queue_init(&handle->queue); in isp_video_open()
1294 vb2_queue_release(&handle->queue); in isp_video_release()
1316 ret = vb2_poll(&vfh->queue, file, wait); in isp_video_poll()
1326 return vb2_mmap(&vfh->queue, vma); in isp_video_mmap()