Lines Matching refs:vq
890 static int s5p_mfc_queue_setup(struct vb2_queue *vq, in s5p_mfc_queue_setup() argument
895 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_queue_setup()
901 vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_queue_setup()
911 vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_queue_setup()
923 ctx->state, vq->type); in s5p_mfc_queue_setup()
929 vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_queue_setup()
940 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE && in s5p_mfc_queue_setup()
954 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_init() local
955 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_init()
958 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_init()
980 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_init()
1067 struct vb2_queue *vq = vb->vb2_queue; in s5p_mfc_buf_queue() local
1068 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); in s5p_mfc_buf_queue()
1073 if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in s5p_mfc_buf_queue()
1080 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in s5p_mfc_buf_queue()
1090 mfc_err("Unsupported buffer type (%d)\n", vq->type); in s5p_mfc_buf_queue()