Lines Matching refs:vb_vidq
128 struct vb2_queue vb_vidq; member
245 if (vb2_is_streaming(&vip->vb_vidq)) { /* streaming is on */ in vip_active_buf_next()
311 if (vb2_is_streaming(&vip->vb_vidq)) /* streaming is on */ in buffer_queue()
652 if (vb2_is_busy(&vip->vb_vidq)) { in vidioc_s_fmt_vid_cap()
848 memset(&vip->vb_vidq, 0, sizeof(struct vb2_queue)); in sta2x11_vip_init_buffer()
849 vip->vb_vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in sta2x11_vip_init_buffer()
850 vip->vb_vidq.io_modes = VB2_MMAP | VB2_READ; in sta2x11_vip_init_buffer()
851 vip->vb_vidq.drv_priv = vip; in sta2x11_vip_init_buffer()
852 vip->vb_vidq.buf_struct_size = sizeof(struct vip_buffer); in sta2x11_vip_init_buffer()
853 vip->vb_vidq.ops = &vip_video_qops; in sta2x11_vip_init_buffer()
854 vip->vb_vidq.mem_ops = &vb2_dma_contig_memops; in sta2x11_vip_init_buffer()
855 vip->vb_vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in sta2x11_vip_init_buffer()
856 vip->vb_vidq.dev = &vip->pdev->dev; in sta2x11_vip_init_buffer()
857 vip->vb_vidq.lock = &vip->v4l_lock; in sta2x11_vip_init_buffer()
858 err = vb2_queue_init(&vip->vb_vidq); in sta2x11_vip_init_buffer()
1068 vip->video_dev.queue = &vip->vb_vidq; in sta2x11_vip_init_one()