Lines Matching refs:vq

359 	struct vb2_queue *vq;  in v4l2_m2m_reqbufs()  local
362 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); in v4l2_m2m_reqbufs()
363 ret = vb2_reqbufs(vq, reqbufs); in v4l2_m2m_reqbufs()
367 vq->owner = reqbufs->count ? file->private_data : NULL; in v4l2_m2m_reqbufs()
381 struct vb2_queue *vq; in v4l2_m2m_querybuf() local
385 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_querybuf()
386 ret = vb2_querybuf(vq, buf); in v4l2_m2m_querybuf()
389 if (buf->memory == V4L2_MEMORY_MMAP && !V4L2_TYPE_IS_OUTPUT(vq->type)) { in v4l2_m2m_querybuf()
390 if (V4L2_TYPE_IS_MULTIPLANAR(vq->type)) { in v4l2_m2m_querybuf()
410 struct vb2_queue *vq; in v4l2_m2m_qbuf() local
413 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_qbuf()
414 ret = vb2_qbuf(vq, buf); in v4l2_m2m_qbuf()
429 struct vb2_queue *vq; in v4l2_m2m_dqbuf() local
431 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_dqbuf()
432 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
443 struct vb2_queue *vq; in v4l2_m2m_prepare_buf() local
446 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); in v4l2_m2m_prepare_buf()
447 ret = vb2_prepare_buf(vq, buf); in v4l2_m2m_prepare_buf()
462 struct vb2_queue *vq; in v4l2_m2m_create_bufs() local
464 vq = v4l2_m2m_get_vq(m2m_ctx, create->format.type); in v4l2_m2m_create_bufs()
465 return vb2_create_bufs(vq, create); in v4l2_m2m_create_bufs()
476 struct vb2_queue *vq; in v4l2_m2m_expbuf() local
478 vq = v4l2_m2m_get_vq(m2m_ctx, eb->type); in v4l2_m2m_expbuf()
479 return vb2_expbuf(vq, eb); in v4l2_m2m_expbuf()
488 struct vb2_queue *vq; in v4l2_m2m_streamon() local
491 vq = v4l2_m2m_get_vq(m2m_ctx, type); in v4l2_m2m_streamon()
492 ret = vb2_streamon(vq, type); in v4l2_m2m_streamon()
643 struct vb2_queue *vq; in v4l2_m2m_mmap() local
646 vq = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_mmap()
648 vq = v4l2_m2m_get_dst_vq(m2m_ctx); in v4l2_m2m_mmap()
652 return vb2_mmap(vq, vma); in v4l2_m2m_mmap()