Lines Matching refs:vq
1820 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() argument
1825 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_queue_setup()
1828 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_queue_setup()
1844 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_queue_setup()
1870 mfc_err("invalid queue type: %d\n", vq->type); in s5p_mfc_queue_setup()
1879 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() local
1880 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_init()
1884 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_init()
1893 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_init()
1905 mfc_err("invalid queue type: %d\n", vq->type); in s5p_mfc_buf_init()
1913 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_prepare() local
1914 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_prepare()
1917 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_prepare()
1927 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_prepare()
1941 mfc_err("invalid queue type: %d\n", vq->type); in s5p_mfc_buf_prepare()
2010 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_queue() local
2011 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_queue()
2021 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_queue()
2029 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_queue()
2037 mfc_err("unsupported buffer type (%d)\n", vq->type); in s5p_mfc_buf_queue()