/Linux-v6.6/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 678 if (q->io_modes & VB2_MMAP) in fill_buf_caps() 680 if (q->io_modes & VB2_USERPTR) in fill_buf_caps() 682 if (q->io_modes & VB2_DMABUF) in fill_buf_caps() 686 if (q->allow_cache_hints && q->io_modes & VB2_MMAP) in fill_buf_caps() 1144 if (!(vdev->queue->io_modes & VB2_WRITE)) in vb2_fop_write() 1168 if (!(vdev->queue->io_modes & VB2_READ)) in vb2_fop_read()
|
D | videobuf2-core.c | 649 if (!(q->io_modes & VB2_USERPTR) || !q->mem_ops->get_userptr || in __verify_userptr_ops() 662 if (!(q->io_modes & VB2_MMAP) || !q->mem_ops->alloc || in __verify_mmap_ops() 675 if (!(q->io_modes & VB2_DMABUF) || !q->mem_ops->attach_dmabuf || in __verify_dmabuf_ops() 2421 WARN_ON(!q->io_modes) || in vb2_core_queue_init() 2501 if (!q->is_output && (q->io_modes & VB2_READ) && in vb2_core_poll() 2506 if (q->is_output && (q->io_modes & VB2_WRITE) && in vb2_core_poll() 2634 if (WARN_ON((read && !(q->io_modes & VB2_READ)) || in __vb2_init_fileio() 2635 (!read && !(q->io_modes & VB2_WRITE)))) in __vb2_init_fileio()
|
/Linux-v6.6/drivers/media/usb/uvc/ |
D | uvc_queue.c | 221 queue->queue.io_modes = VB2_MMAP | VB2_USERPTR; in uvc_queue_init() 234 queue->queue.io_modes |= VB2_DMABUF; in uvc_queue_init()
|
/Linux-v6.6/drivers/media/test-drivers/vimc/ |
D | vimc-capture.c | 426 q->io_modes = VB2_MMAP | VB2_DMABUF; in vimc_capture_add() 428 q->io_modes |= VB2_USERPTR; in vimc_capture_add()
|
/Linux-v6.6/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 584 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in cedrus_queue_init() 600 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in cedrus_queue_init()
|
/Linux-v6.6/drivers/usb/gadget/function/ |
D | uvc_queue.c | 141 queue->queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in uvcg_queue_init()
|
/Linux-v6.6/drivers/media/pci/saa7134/ |
D | saa7134-empress.c | 278 q->io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in empress_init()
|
D | saa7134-video.c | 1706 q->io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in saa7134_video_init1() 1708 q->io_modes |= VB2_USERPTR; in saa7134_video_init1() 1725 q->io_modes = VB2_MMAP | VB2_READ; in saa7134_video_init1() 1727 q->io_modes |= VB2_USERPTR; in saa7134_video_init1()
|
/Linux-v6.6/include/media/ |
D | videobuf2-core.h | 587 unsigned int io_modes; member
|
/Linux-v6.6/drivers/media/test-drivers/visl/ |
D | visl-video.c | 709 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in visl_queue_init() 724 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in visl_queue_init()
|
/Linux-v6.6/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.c | 200 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init() 214 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
|
/Linux-v6.6/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc.c | 863 q->io_modes = VB2_MMAP; in s5p_mfc_open() 866 q->io_modes = VB2_MMAP | VB2_USERPTR; in s5p_mfc_open() 890 q->io_modes = VB2_MMAP; in s5p_mfc_open() 893 q->io_modes = VB2_MMAP | VB2_USERPTR; in s5p_mfc_open()
|
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-m2m.c | 286 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in mxc_isi_m2m_queue_init() 300 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in mxc_isi_m2m_queue_init()
|
/Linux-v6.6/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-m2m.c | 554 src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init() 568 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init()
|
/Linux-v6.6/drivers/media/platform/samsung/s5p-g2d/ |
D | g2d.c | 147 src_vq->io_modes = VB2_MMAP | VB2_USERPTR; in queue_init() 161 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR; in queue_init()
|
/Linux-v6.6/drivers/media/platform/nxp/ |
D | mx2_emmaprp.c | 691 src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init() 705 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init()
|
/Linux-v6.6/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-m2m.c | 579 src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init() 594 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init()
|
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-m2m.c | 473 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in mdp_m2m_queue_init() 487 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in mdp_m2m_queue_init()
|
/Linux-v6.6/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 730 q->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in cx25821_video_register() 731 q->io_modes |= is_output ? VB2_WRITE : VB2_READ; in cx25821_video_register()
|
/Linux-v6.6/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_rotate.c | 536 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in rotate_queue_init() 551 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in rotate_queue_init()
|
/Linux-v6.6/drivers/media/platform/rockchip/rga/ |
D | rga.c | 100 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init() 114 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
|
/Linux-v6.6/drivers/media/platform/amphion/ |
D | vpu_v4l2.c | 644 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in vpu_m2m_queue_init() 661 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in vpu_m2m_queue_init()
|
/Linux-v6.6/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_dma.c | 416 q->io_modes = VB2_MMAP | VB2_DMABUF; in sun4i_csi_dma_register()
|
/Linux-v6.6/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 383 q->io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; in saa7146_register_device()
|
/Linux-v6.6/drivers/media/dvb-core/ |
D | dvb_vb2.c | 173 q->io_modes = VB2_MMAP; in dvb_vb2_init()
|