Lines Matching refs:vb_queue
104 struct vb2_queue vb_queue; member
604 struct vb2_queue *q = &dev->vb_queue; in hackrf_s_fmt_sdr_cap()
1052 dev->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in hackrf_probe()
1053 dev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in hackrf_probe()
1054 dev->vb_queue.drv_priv = dev; in hackrf_probe()
1055 dev->vb_queue.buf_struct_size = sizeof(struct hackrf_frame_buf); in hackrf_probe()
1056 dev->vb_queue.ops = &hackrf_vb2_ops; in hackrf_probe()
1057 dev->vb_queue.mem_ops = &vb2_vmalloc_memops; in hackrf_probe()
1058 dev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in hackrf_probe()
1059 ret = vb2_queue_init(&dev->vb_queue); in hackrf_probe()
1067 dev->vdev.queue = &dev->vb_queue; in hackrf_probe()