Home
last modified time | relevance | path

Searched refs:io_modes (Results 1 – 25 of 122) sorted by relevance

12345

/linux-5.19.10/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c679 if (q->io_modes & VB2_MMAP) in fill_buf_caps()
681 if (q->io_modes & VB2_USERPTR) in fill_buf_caps()
683 if (q->io_modes & VB2_DMABUF) in fill_buf_caps()
687 if (q->allow_cache_hints && q->io_modes & VB2_MMAP) in fill_buf_caps()
1145 if (!(vdev->queue->io_modes & VB2_WRITE)) in vb2_fop_write()
1169 if (!(vdev->queue->io_modes & VB2_READ)) in vb2_fop_read()
Dvideobuf2-core.c661 if (!(q->io_modes & VB2_USERPTR) || !q->mem_ops->get_userptr || in __verify_userptr_ops()
674 if (!(q->io_modes & VB2_MMAP) || !q->mem_ops->alloc || in __verify_mmap_ops()
687 if (!(q->io_modes & VB2_DMABUF) || !q->mem_ops->attach_dmabuf || in __verify_dmabuf_ops()
2383 WARN_ON(!q->io_modes) || in vb2_core_queue_init()
2463 if (!q->is_output && (q->io_modes & VB2_READ) && in vb2_core_poll()
2468 if (q->is_output && (q->io_modes & VB2_WRITE) && in vb2_core_poll()
2596 if (WARN_ON((read && !(q->io_modes & VB2_READ)) || in __vb2_init_fileio()
2597 (!read && !(q->io_modes & VB2_WRITE)))) in __vb2_init_fileio()
/linux-5.19.10/drivers/media/usb/uvc/
Duvc_queue.c220 queue->queue.io_modes = VB2_MMAP | VB2_USERPTR; in uvc_queue_init()
233 queue->queue.io_modes |= VB2_DMABUF; in uvc_queue_init()
/linux-5.19.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c427 q->io_modes = VB2_MMAP | VB2_DMABUF; in vimc_cap_add()
429 q->io_modes |= VB2_USERPTR; in vimc_cap_add()
/linux-5.19.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_video.c570 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in cedrus_queue_init()
587 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in cedrus_queue_init()
/linux-5.19.10/drivers/usb/gadget/function/
Duvc_queue.c141 queue->queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in uvcg_queue_init()
/linux-5.19.10/include/media/
Dvideobuf2-core.h575 unsigned int io_modes; member
/linux-5.19.10/drivers/media/pci/saa7134/
Dsaa7134-empress.c278 q->io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in empress_init()
/linux-5.19.10/drivers/media/platform/st/stm32/dma2d/
Ddma2d.c200 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
214 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc.c848 q->io_modes = VB2_MMAP; in s5p_mfc_open()
851 q->io_modes = VB2_MMAP | VB2_USERPTR; in s5p_mfc_open()
875 q->io_modes = VB2_MMAP; in s5p_mfc_open()
878 q->io_modes = VB2_MMAP | VB2_USERPTR; in s5p_mfc_open()
/linux-5.19.10/drivers/media/platform/samsung/s5p-g2d/
Dg2d.c147 src_vq->io_modes = VB2_MMAP | VB2_USERPTR; in queue_init()
161 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR; in queue_init()
/linux-5.19.10/drivers/media/platform/nxp/
Dmx2_emmaprp.c691 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-5.19.10/drivers/media/platform/samsung/exynos-gsc/
Dgsc-m2m.c579 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-5.19.10/drivers/media/platform/samsung/exynos4-is/
Dfimc-m2m.c554 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-5.19.10/drivers/media/platform/amphion/
Dvpu_v4l2.c556 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in vpu_m2m_queue_init()
573 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in vpu_m2m_queue_init()
/linux-5.19.10/drivers/media/pci/cx25821/
Dcx25821-video.c730 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-5.19.10/drivers/media/platform/rockchip/rga/
Drga.c103 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
117 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
/linux-5.19.10/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i_rotate.c536 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-5.19.10/drivers/media/dvb-core/
Ddvb_vb2.c173 q->io_modes = VB2_MMAP; in dvb_vb2_init()
/linux-5.19.10/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_dma.c416 q->io_modes = VB2_MMAP | VB2_DMABUF; in sun4i_csi_dma_register()
/linux-5.19.10/drivers/staging/media/imx/
Dimx-media-csc-scaler.c589 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in ipu_csc_scaler_queue_init()
604 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in ipu_csc_scaler_queue_init()
/linux-5.19.10/drivers/media/platform/sunxi/sun8i-di/
Dsun8i-di.c673 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in deinterlace_queue_init()
688 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in deinterlace_queue_init()
/linux-5.19.10/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c362 src_vq->io_modes = VB2_DMABUF | VB2_MMAP; in tegra_queue_init()
389 dst_vq->io_modes = VB2_DMABUF | VB2_MMAP; in tegra_queue_init()
/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_drv.c210 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
243 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
/linux-5.19.10/drivers/media/platform/
Dm2m-deinterlace.c802 src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init()
821 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init()

12345