Lines Matching refs:vq
359 struct vb2_queue *vq; in v4l2_m2m_reqbufs() local
361 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); in v4l2_m2m_reqbufs()
362 return vb2_reqbufs(vq, reqbufs); in v4l2_m2m_reqbufs()
374 struct vb2_queue *vq; in v4l2_m2m_querybuf() local
378 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_querybuf()
379 ret = vb2_querybuf(vq, buf); in v4l2_m2m_querybuf()
382 if (buf->memory == V4L2_MEMORY_MMAP && !V4L2_TYPE_IS_OUTPUT(vq->type)) { in v4l2_m2m_querybuf()
383 if (V4L2_TYPE_IS_MULTIPLANAR(vq->type)) { in v4l2_m2m_querybuf()
403 struct vb2_queue *vq; in v4l2_m2m_qbuf() local
406 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_qbuf()
407 ret = vb2_qbuf(vq, buf); in v4l2_m2m_qbuf()
422 struct vb2_queue *vq; in v4l2_m2m_dqbuf() local
424 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_dqbuf()
425 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
436 struct vb2_queue *vq; in v4l2_m2m_create_bufs() local
438 vq = v4l2_m2m_get_vq(m2m_ctx, create->format.type); in v4l2_m2m_create_bufs()
439 return vb2_create_bufs(vq, create); in v4l2_m2m_create_bufs()
450 struct vb2_queue *vq; in v4l2_m2m_expbuf() local
452 vq = v4l2_m2m_get_vq(m2m_ctx, eb->type); in v4l2_m2m_expbuf()
453 return vb2_expbuf(vq, eb); in v4l2_m2m_expbuf()
462 struct vb2_queue *vq; in v4l2_m2m_streamon() local
465 vq = v4l2_m2m_get_vq(m2m_ctx, type); in v4l2_m2m_streamon()
466 ret = vb2_streamon(vq, type); in v4l2_m2m_streamon()
616 struct vb2_queue *vq; in v4l2_m2m_mmap() local
619 vq = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_mmap()
621 vq = v4l2_m2m_get_dst_vq(m2m_ctx); in v4l2_m2m_mmap()
625 return vb2_mmap(vq, vma); in v4l2_m2m_mmap()