Lines Matching refs:dst_vq
541 struct vb2_queue *src_vq, struct vb2_queue *dst_vq) in queue_init() argument
561 memset(dst_vq, 0, sizeof(*dst_vq)); in queue_init()
562 dst_vq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in queue_init()
563 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
564 dst_vq->drv_priv = ctx; in queue_init()
565 dst_vq->ops = &bdisp_qops; in queue_init()
566 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
567 dst_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); in queue_init()
568 dst_vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY; in queue_init()
569 dst_vq->lock = &ctx->bdisp_dev->lock; in queue_init()
570 dst_vq->dev = ctx->bdisp_dev->v4l2_dev.dev; in queue_init()
572 return vb2_queue_init(dst_vq); in queue_init()