/linux/drivers/media/common/videobuf2/ |
A D | videobuf2-v4l2.c | 679 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() 1151 if (!(vdev->queue->io_modes & VB2_WRITE)) in vb2_fop_write() 1175 if (!(vdev->queue->io_modes & VB2_READ)) in vb2_fop_read()
|
A D | videobuf2-core.c | 661 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/drivers/media/usb/uvc/ |
A D | uvc_queue.c | 220 queue->queue.io_modes = VB2_MMAP | VB2_USERPTR; in uvc_queue_init() 233 queue->queue.io_modes |= VB2_DMABUF; in uvc_queue_init()
|
/linux/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus_video.c | 570 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/drivers/media/platform/s5p-mfc/ |
A D | s5p_mfc.c | 848 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/drivers/usb/gadget/function/ |
A D | uvc_queue.c | 133 queue->queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in uvcg_queue_init()
|
/linux/drivers/media/pci/saa7134/ |
A D | saa7134-empress.c | 278 q->io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in empress_init()
|
A D | saa7134-video.c | 2116 q->io_modes = VB2_MMAP | VB2_DMABUF | VB2_READ; in saa7134_video_init1() 2118 q->io_modes |= VB2_USERPTR; in saa7134_video_init1() 2135 q->io_modes = VB2_MMAP | VB2_READ; in saa7134_video_init1() 2137 q->io_modes |= VB2_USERPTR; in saa7134_video_init1()
|
/linux/include/media/ |
A D | videobuf2-core.h | 575 unsigned int io_modes; member
|
/linux/drivers/media/platform/exynos-gsc/ |
A D | gsc-m2m.c | 584 src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init() 599 dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in queue_init()
|
/linux/drivers/media/platform/exynos4-is/ |
A 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/drivers/media/platform/ |
A 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()
|
A D | m2m-deinterlace.c | 802 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()
|
/linux/drivers/media/platform/s5p-g2d/ |
A 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/drivers/media/pci/cx25821/ |
A 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/drivers/media/platform/rockchip/rga/ |
A D | rga.c | 103 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init() 117 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
|
/linux/drivers/media/platform/sunxi/sun8i-rotate/ |
A 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/drivers/staging/media/hantro/ |
A D | hantro_drv.c | 193 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init() 232 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
|
/linux/drivers/staging/media/imx/ |
A D | imx-media-csc-scaler.c | 589 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/drivers/media/platform/sunxi/sun8i-di/ |
A D | sun8i-di.c | 673 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/drivers/media/dvb-core/ |
A D | dvb_vb2.c | 177 q->io_modes = VB2_MMAP; in dvb_vb2_init()
|
/linux/drivers/media/platform/sunxi/sun4i-csi/ |
A D | sun4i_dma.c | 416 q->io_modes = VB2_MMAP | VB2_DMABUF; in sun4i_csi_dma_register()
|
/linux/drivers/staging/media/rkvdec/ |
A D | rkvdec.c | 693 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in rkvdec_queue_init() 721 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in rkvdec_queue_init()
|
/linux/drivers/media/platform/mtk-vcodec/ |
A D | mtk_vcodec_dec.c | 932 src_vq->io_modes = VB2_DMABUF | VB2_MMAP; in mtk_vcodec_dec_queue_init() 947 dst_vq->io_modes = VB2_DMABUF | VB2_MMAP; in mtk_vcodec_dec_queue_init()
|
/linux/drivers/media/platform/meson/ge2d/ |
A D | ge2d.c | 405 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init() 419 dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
|