Home
last modified time | relevance | path

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

/drivers/media/platform/
Dvia-camera.c88 struct videobuf_queue vb_queue; member
680 videobuf_queue_sg_init(&cam->vb_queue, &viacam_vb_ops, in viacam_open()
701 videobuf_stop(&cam->vb_queue); in viacam_release()
716 videobuf_mmap_free(&cam->vb_queue); in viacam_release()
759 ret = videobuf_read_stream(&cam->vb_queue, buffer, len, pos, 0, in viacam_read()
774 return videobuf_poll_stream(filp, &cam->vb_queue, pt); in viacam_poll()
782 return videobuf_mmap_mapper(&cam->vb_queue, vma); in viacam_mmap()
1007 return videobuf_reqbufs(&cam->vb_queue, rb); in viacam_reqbufs()
1015 return videobuf_querybuf(&cam->vb_queue, buf); in viacam_querybuf()
1022 return videobuf_qbuf(&cam->vb_queue, buf); in viacam_qbuf()
[all …]
/drivers/media/usb/pwc/
Dpwc-if.c1016 pdev->vb_queue.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in usb_pwc_probe()
1017 pdev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in usb_pwc_probe()
1018 pdev->vb_queue.drv_priv = pdev; in usb_pwc_probe()
1019 pdev->vb_queue.buf_struct_size = sizeof(struct pwc_frame_buf); in usb_pwc_probe()
1020 pdev->vb_queue.ops = &pwc_vb_queue_ops; in usb_pwc_probe()
1021 pdev->vb_queue.mem_ops = &vb2_vmalloc_memops; in usb_pwc_probe()
1022 pdev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in usb_pwc_probe()
1023 rc = vb2_queue_init(&pdev->vb_queue); in usb_pwc_probe()
1032 pdev->vdev.queue = &pdev->vb_queue; in usb_pwc_probe()
1145 if (pdev->vb_queue.streaming) in usb_pwc_disconnect()
Dpwc.h227 struct vb2_queue vb_queue; member
Dpwc-v4l.c471 if (vb2_is_busy(&pdev->vb_queue)) in pwc_s_fmt_vid_cap()
1019 if (vb2_is_busy(&pdev->vb_queue)) in pwc_s_parm()
/drivers/media/usb/airspy/
Dairspy.c118 struct vb2_queue vb_queue; member
662 struct vb2_queue *q = &s->vb_queue; in airspy_s_fmt_sdr_cap()
1019 s->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in airspy_probe()
1020 s->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in airspy_probe()
1021 s->vb_queue.drv_priv = s; in airspy_probe()
1022 s->vb_queue.buf_struct_size = sizeof(struct airspy_frame_buf); in airspy_probe()
1023 s->vb_queue.ops = &airspy_vb2_ops; in airspy_probe()
1024 s->vb_queue.mem_ops = &vb2_vmalloc_memops; in airspy_probe()
1025 s->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in airspy_probe()
1026 ret = vb2_queue_init(&s->vb_queue); in airspy_probe()
[all …]
/drivers/media/platform/s5p-tv/
Dmixer_video.c694 return vb2_reqbufs(&layer->vb_queue, p); in mxr_reqbufs()
702 return vb2_querybuf(&layer->vb_queue, p); in mxr_querybuf()
710 return vb2_qbuf(&layer->vb_queue, p); in mxr_qbuf()
718 return vb2_dqbuf(&layer->vb_queue, p, file->f_flags & O_NONBLOCK); in mxr_dqbuf()
727 return vb2_expbuf(&layer->vb_queue, eb); in mxr_expbuf()
735 return vb2_streamon(&layer->vb_queue, i); in mxr_streamon()
743 return vb2_streamoff(&layer->vb_queue, i); in mxr_streamoff()
807 ret = vb2_queue_init(&layer->vb_queue); in mxr_video_open()
841 res = vb2_poll(&layer->vb_queue, file, wait); in mxr_video_poll()
855 ret = vb2_mmap(&layer->vb_queue, vma); in mxr_video_mmap()
[all …]
Dmixer.h181 struct vb2_queue vb_queue; member
/drivers/media/platform/s3c-camif/
Dcamif-capture.c518 if (vb2_is_streaming(&vp->vb_queue) && !list_empty(&vp->pending_buf_q) in buffer_queue()
595 vb2_queue_release(&vp->vb_queue); in s3c_camif_close()
619 ret = vb2_poll(&vp->vb_queue, file, wait); in s3c_camif_poll()
633 ret = vb2_mmap(&vp->vb_queue, vma); in s3c_camif_mmap()
800 if (vb2_is_busy(&vp->vb_queue)) in s3c_camif_vidioc_s_fmt()
884 return vb2_streamon(&vp->vb_queue, type); in s3c_camif_streamon()
902 ret = vb2_streamoff(&vp->vb_queue, type); in s3c_camif_streamoff()
925 ret = vb2_reqbufs(&vp->vb_queue, rb); in s3c_camif_reqbufs()
931 vb2_reqbufs(&vp->vb_queue, rb); in s3c_camif_reqbufs()
946 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.c129 struct vb2_queue vb_queue; member
948 struct vb2_queue *q = &dev->vb_queue; in msi2500_s_fmt_sdr_cap()
1222 dev->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in msi2500_probe()
1223 dev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in msi2500_probe()
1224 dev->vb_queue.drv_priv = dev; in msi2500_probe()
1225 dev->vb_queue.buf_struct_size = sizeof(struct msi2500_frame_buf); in msi2500_probe()
1226 dev->vb_queue.ops = &msi2500_vb2_ops; in msi2500_probe()
1227 dev->vb_queue.mem_ops = &vb2_vmalloc_memops; in msi2500_probe()
1228 dev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in msi2500_probe()
1229 ret = vb2_queue_init(&dev->vb_queue); in msi2500_probe()
[all …]
/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c358 struct vb2_queue *vb_queue) in netup_unidvb_queue_init() argument
363 vb_queue->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in netup_unidvb_queue_init()
364 vb_queue->io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in netup_unidvb_queue_init()
365 vb_queue->drv_priv = dma; in netup_unidvb_queue_init()
366 vb_queue->buf_struct_size = sizeof(struct netup_unidvb_buffer); in netup_unidvb_queue_init()
367 vb_queue->ops = &dvb_qops; in netup_unidvb_queue_init()
368 vb_queue->mem_ops = &vb2_vmalloc_memops; in netup_unidvb_queue_init()
369 vb_queue->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in netup_unidvb_queue_init()
370 res = vb2_queue_init(vb_queue); in netup_unidvb_queue_init()
/drivers/media/dvb-frontends/
Drtl2832_sdr.c128 struct vb2_queue vb_queue; member
1202 struct vb2_queue *q = &dev->vb_queue; in rtl2832_sdr_s_fmt_sdr_cap()
1417 dev->vb_queue.type = V4L2_BUF_TYPE_SDR_CAPTURE; in rtl2832_sdr_probe()
1418 dev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in rtl2832_sdr_probe()
1419 dev->vb_queue.drv_priv = dev; in rtl2832_sdr_probe()
1420 dev->vb_queue.buf_struct_size = sizeof(struct rtl2832_sdr_frame_buf); in rtl2832_sdr_probe()
1421 dev->vb_queue.ops = &rtl2832_sdr_vb2_ops; in rtl2832_sdr_probe()
1422 dev->vb_queue.mem_ops = &vb2_vmalloc_memops; in rtl2832_sdr_probe()
1423 dev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; in rtl2832_sdr_probe()
1424 ret = vb2_queue_init(&dev->vb_queue); in rtl2832_sdr_probe()
[all …]
/drivers/media/platform/exynos4-is/
Dfimc-lite.h176 struct vb2_queue vb_queue; member
Dfimc-isp.h133 struct vb2_queue vb_queue; member
Dfimc-lite.c443 if (vb2_is_streaming(&fimc->vb_queue) && in buffer_queue()
770 if (vb2_is_busy(&fimc->vb_queue)) in fimc_lite_s_fmt_mplane()
1118 vb2_is_busy(&fimc->vb_queue))) { in fimc_lite_subdev_set_fmt()
1286 struct vb2_queue *q = &fimc->vb_queue; in fimc_lite_subdev_registered()
Dfimc-isp-video.c580 struct vb2_queue *q = &isp->video_capture.vb_queue; in fimc_isp_video_device_register()
/drivers/media/platform/marvell-ccic/
Dmcam-core.h159 struct vb2_queue vb_queue; member
Dmcam-core.c1265 struct vb2_queue *vq = &cam->vb_queue; in mcam_setup_vb2()
1398 if (cam->state != S_IDLE || vb2_is_busy(&cam->vb_queue)) in mcam_vidioc_s_fmt_vid_cap()
1839 cam->vdev.queue = &cam->vb_queue; in mccic_register()