Home
last modified time | relevance | path

Searched refs:vb_queue (Results 1 – 16 of 16) sorted by relevance

/drivers/media/usb/pwc/
Dpwc-if.c1050 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()
Dpwc.h215 struct vb2_queue vb_queue; member
Dpwc-v4l.c458 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()
/drivers/media/usb/airspy/
Dairspy.c106 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 …]
/drivers/media/platform/renesas/
Drcar_drif.c212 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()
1314 sdr->vb_queue.buf_struct_size = sizeof(struct rcar_drif_frame_buf); 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()
[all …]
/drivers/media/platform/samsung/s3c-camif/
Dcamif-capture.c502 if (vb2_is_streaming(&vp->vb_queue) && !list_empty(&vp->pending_buf_q) in buffer_queue()
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()
[all …]
Dcamif-core.h218 struct vb2_queue vb_queue; member
/drivers/media/usb/msi2500/
Dmsi2500.c113 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 …]
/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c362 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()
/drivers/media/dvb-frontends/
Drtl2832_sdr.c114 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 …]
/drivers/media/platform/samsung/exynos4-is/
Dfimc-isp.h134 struct vb2_queue vb_queue; member
Dfimc-lite.h173 struct vb2_queue vb_queue; member
Dfimc-lite.c427 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()
Dfimc-isp-video.c570 struct vb2_queue *q = &isp->video_capture.vb_queue; in fimc_isp_video_device_register()
/drivers/media/platform/marvell/
Dmcam-core.h157 struct vb2_queue vb_queue; member
Dmcam-core.c1278 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()