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