Lines Matching refs:vbq
893 container_of(vb->vb2_queue, struct cio2_queue, vbq);
1532 struct vb2_queue *vbq = &q->vbq;
1599 /* Initialize vbq */
1600 vbq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
1601 vbq->io_modes = VB2_USERPTR | VB2_MMAP | VB2_DMABUF;
1602 vbq->ops = &cio2_vb2_ops;
1603 vbq->mem_ops = &vb2_dma_sg_memops;
1604 vbq->buf_struct_size = sizeof(struct cio2_buffer);
1605 vbq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
1606 vbq->min_buffers_needed = 1;
1607 vbq->drv_priv = cio2;
1608 vbq->lock = &q->lock;
1609 r = vb2_queue_init(vbq);
1623 vdev->queue = &q->vbq;