Lines Matching refs:src_vq
1184 static int jpu_queue_init(void *priv, struct vb2_queue *src_vq, in jpu_queue_init() argument
1190 memset(src_vq, 0, sizeof(*src_vq)); in jpu_queue_init()
1191 src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in jpu_queue_init()
1192 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in jpu_queue_init()
1193 src_vq->drv_priv = ctx; in jpu_queue_init()
1194 src_vq->buf_struct_size = sizeof(struct jpu_buffer); in jpu_queue_init()
1195 src_vq->ops = &jpu_qops; in jpu_queue_init()
1196 src_vq->mem_ops = &vb2_dma_contig_memops; in jpu_queue_init()
1197 src_vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY; in jpu_queue_init()
1198 src_vq->lock = &ctx->jpu->mutex; in jpu_queue_init()
1199 src_vq->dev = ctx->jpu->v4l2_dev.dev; in jpu_queue_init()
1201 ret = vb2_queue_init(src_vq); in jpu_queue_init()