/linux-6.3-rc2/drivers/media/usb/pwc/ |
A D | pwc-if.c | 1050 pdev->vb_queue.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in usb_pwc_probe() 1051 pdev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in usb_pwc_probe() 1052 pdev->vb_queue.drv_priv = pdev; in usb_pwc_probe() 1053 pdev->vb_queue.buf_struct_size = sizeof(struct pwc_frame_buf); in usb_pwc_probe() 1054 pdev->vb_queue.ops = &pwc_vb_queue_ops; in usb_pwc_probe() 1055 pdev->vb_queue.mem_ops = &vb2_vmalloc_memops; in usb_pwc_probe() 1056 pdev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in usb_pwc_probe() 1057 rc = vb2_queue_init(&pdev->vb_queue); in usb_pwc_probe() 1066 pdev->vdev.queue = &pdev->vb_queue; in usb_pwc_probe() 1181 if (pdev->vb_queue.streaming) in usb_pwc_disconnect()
|
A D | pwc.h | 215 struct vb2_queue vb_queue; member
|
A D | pwc-v4l.c | 458 if (vb2_is_busy(&pdev->vb_queue)) in pwc_s_fmt_vid_cap() 1000 if (vb2_is_busy(&pdev->vb_queue)) in pwc_s_parm()
|
/linux-6.3-rc2/drivers/media/usb/airspy/ |
A D | airspy.c | 106 struct vb2_queue vb_queue; member 646 struct vb2_queue *q = &s->vb_queue; in airspy_s_fmt_sdr_cap() 1012 s->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in airspy_probe() 1013 s->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in airspy_probe() 1014 s->vb_queue.drv_priv = s; in airspy_probe() 1015 s->vb_queue.buf_struct_size = sizeof(struct airspy_frame_buf); in airspy_probe() 1016 s->vb_queue.ops = &airspy_vb2_ops; in airspy_probe() 1017 s->vb_queue.mem_ops = &vb2_vmalloc_memops; in airspy_probe() 1018 s->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in airspy_probe() 1019 ret = vb2_queue_init(&s->vb_queue); in airspy_probe() [all …]
|
/linux-6.3-rc2/drivers/media/platform/renesas/ |
A D | rcar_drif.c | 212 struct vb2_queue vb_queue; member 530 if (!vb2_is_streaming(&sdr->vb_queue)) { in rcar_drif_dma_complete() 923 struct vb2_queue *q = &sdr->vb_queue; in rcar_drif_s_fmt_sdr_cap() 1072 sdr->vdev->queue = &sdr->vb_queue; in rcar_drif_sdr_register() 1311 sdr->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in rcar_drif_sdr_probe() 1312 sdr->vb_queue.io_modes = VB2_READ | VB2_MMAP | VB2_DMABUF; in rcar_drif_sdr_probe() 1313 sdr->vb_queue.drv_priv = sdr; in rcar_drif_sdr_probe() 1315 sdr->vb_queue.ops = &rcar_drif_vb2_ops; in rcar_drif_sdr_probe() 1316 sdr->vb_queue.mem_ops = &vb2_vmalloc_memops; in rcar_drif_sdr_probe() 1317 sdr->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in rcar_drif_sdr_probe() [all …]
|
/linux-6.3-rc2/drivers/media/platform/samsung/s3c-camif/ |
A D | camif-capture.c | 579 vb2_queue_release(&vp->vb_queue); in s3c_camif_close() 603 ret = vb2_poll(&vp->vb_queue, file, wait); in s3c_camif_poll() 617 ret = vb2_mmap(&vp->vb_queue, vma); in s3c_camif_mmap() 777 if (vb2_is_busy(&vp->vb_queue)) in s3c_camif_vidioc_s_fmt() 861 return vb2_streamon(&vp->vb_queue, type); in s3c_camif_streamon() 879 ret = vb2_streamoff(&vp->vb_queue, type); in s3c_camif_streamoff() 902 ret = vb2_reqbufs(&vp->vb_queue, rb); in s3c_camif_reqbufs() 908 vb2_reqbufs(&vp->vb_queue, rb); in s3c_camif_reqbufs() 923 return vb2_querybuf(&vp->vb_queue, buf); in s3c_camif_querybuf() 962 ret = vb2_create_bufs(&vp->vb_queue, create); in s3c_camif_create_bufs() [all …]
|
A D | camif-core.h | 218 struct vb2_queue vb_queue; member
|
/linux-6.3-rc2/drivers/media/usb/msi2500/ |
A D | msi2500.c | 113 struct vb2_queue vb_queue; member 923 struct vb2_queue *q = &dev->vb_queue; in msi2500_s_fmt_sdr_cap() 1195 dev->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in msi2500_probe() 1196 dev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in msi2500_probe() 1197 dev->vb_queue.drv_priv = dev; in msi2500_probe() 1198 dev->vb_queue.buf_struct_size = sizeof(struct msi2500_frame_buf); in msi2500_probe() 1199 dev->vb_queue.ops = &msi2500_vb2_ops; in msi2500_probe() 1200 dev->vb_queue.mem_ops = &vb2_vmalloc_memops; in msi2500_probe() 1201 dev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in msi2500_probe() 1202 ret = vb2_queue_init(&dev->vb_queue); in msi2500_probe() [all …]
|
/linux-6.3-rc2/drivers/media/pci/netup_unidvb/ |
A D | netup_unidvb_core.c | 362 struct vb2_queue *vb_queue) in netup_unidvb_queue_init() argument 367 vb_queue->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in netup_unidvb_queue_init() 368 vb_queue->io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in netup_unidvb_queue_init() 369 vb_queue->drv_priv = dma; in netup_unidvb_queue_init() 370 vb_queue->buf_struct_size = sizeof(struct netup_unidvb_buffer); in netup_unidvb_queue_init() 371 vb_queue->ops = &dvb_qops; in netup_unidvb_queue_init() 372 vb_queue->mem_ops = &vb2_vmalloc_memops; in netup_unidvb_queue_init() 373 vb_queue->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in netup_unidvb_queue_init() 374 res = vb2_queue_init(vb_queue); in netup_unidvb_queue_init()
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | atomisp_subdev.c | 963 pipe->vb_queue.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in atomisp_init_subdev_pipe() 964 pipe->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR; in atomisp_init_subdev_pipe() 965 pipe->vb_queue.buf_struct_size = sizeof(struct ia_css_frame); in atomisp_init_subdev_pipe() 966 pipe->vb_queue.ops = &atomisp_vb2_ops; in atomisp_init_subdev_pipe() 967 pipe->vb_queue.mem_ops = &vb2_vmalloc_memops; in atomisp_init_subdev_pipe() 968 pipe->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in atomisp_init_subdev_pipe() 969 ret = vb2_queue_init(&pipe->vb_queue); in atomisp_init_subdev_pipe() 973 pipe->vdev.queue = &pipe->vb_queue; in atomisp_init_subdev_pipe()
|
A D | atomisp_subdev.h | 59 struct vb2_queue vb_queue; member 109 container_of(queue, struct atomisp_video_pipe, vb_queue)
|
A D | atomisp_ioctl.c | 526 if (settings_change && vb2_is_busy(&pipe->vb_queue)) { in atomisp_pipe_check() 621 return vb2_start_streaming_called(&asd->video_out_preview.vb_queue) + in atomisp_subdev_streaming_count() 622 vb2_start_streaming_called(&asd->video_out_capture.vb_queue) + in atomisp_subdev_streaming_count() 623 vb2_start_streaming_called(&asd->video_out_video_capture.vb_queue) + in atomisp_subdev_streaming_count() 624 vb2_start_streaming_called(&asd->video_out_vf.vb_queue); in atomisp_subdev_streaming_count() 1098 vb = pipe->vb_queue.bufs[buf->index]; in atomisp_dqbuf_wrapper() 1475 ret = wait_event_timeout(pipe->vb_queue.done_wq, in atomisp_stop_streaming()
|
A D | atomisp_fops.c | 49 struct atomisp_video_pipe *pipe = container_of(vq, struct atomisp_video_pipe, vb_queue); in atomisp_queue_setup()
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | rtl2832_sdr.c | 114 struct vb2_queue vb_queue; member 1144 struct vb2_queue *q = &dev->vb_queue; in rtl2832_sdr_s_fmt_sdr_cap() 1360 dev->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in rtl2832_sdr_probe() 1361 dev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in rtl2832_sdr_probe() 1362 dev->vb_queue.drv_priv = dev; in rtl2832_sdr_probe() 1363 dev->vb_queue.buf_struct_size = sizeof(struct rtl2832_sdr_frame_buf); in rtl2832_sdr_probe() 1364 dev->vb_queue.ops = &rtl2832_sdr_vb2_ops; in rtl2832_sdr_probe() 1365 dev->vb_queue.mem_ops = &vb2_vmalloc_memops; in rtl2832_sdr_probe() 1366 dev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in rtl2832_sdr_probe() 1367 ret = vb2_queue_init(&dev->vb_queue); in rtl2832_sdr_probe() [all …]
|
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/ |
A D | fimc-isp.h | 134 struct vb2_queue vb_queue; member
|
A D | fimc-lite.h | 173 struct vb2_queue vb_queue; member
|
A D | fimc-lite.c | 427 if (vb2_is_streaming(&fimc->vb_queue) && in buffer_queue() 749 if (vb2_is_busy(&fimc->vb_queue)) in fimc_lite_s_fmt_mplane() 1073 vb2_is_busy(&fimc->vb_queue))) { in fimc_lite_subdev_set_fmt() 1242 struct vb2_queue *q = &fimc->vb_queue; in fimc_lite_subdev_registered()
|
A D | fimc-isp-video.c | 570 struct vb2_queue *q = &isp->video_capture.vb_queue; in fimc_isp_video_device_register()
|
/linux-6.3-rc2/drivers/media/platform/marvell/ |
A D | mcam-core.h | 157 struct vb2_queue vb_queue; member
|
A D | mcam-core.c | 1278 struct vb2_queue *vq = &cam->vb_queue; in mcam_setup_vb2() 1391 if (cam->state != S_IDLE || vb2_is_busy(&cam->vb_queue)) in mcam_vidioc_s_fmt_vid_cap() 1789 cam->vdev.queue = &cam->vb_queue; in mccic_notify_bound()
|