Lines Matching refs:vq
885 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() argument
890 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_queue_setup()
896 vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_queue_setup()
906 vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_queue_setup()
918 ctx->state, vq->type); in s5p_mfc_queue_setup()
924 vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_queue_setup()
935 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE && in s5p_mfc_queue_setup()
948 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() local
949 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_init()
952 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_init()
974 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_init()
1061 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_queue() local
1062 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_queue()
1067 if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_queue()
1074 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_queue()
1084 mfc_err("Unsupported buffer type (%d)\n", vq->type); in s5p_mfc_buf_queue()