Searched refs:io_modes (Results 1 – 5 of 5) sorted by relevance
583 if (!(q->io_modes & VB2_USERPTR) || !q->mem_ops->get_userptr || in __verify_userptr_ops()596 if (!(q->io_modes & VB2_MMAP) || !q->mem_ops->alloc || in __verify_mmap_ops()609 if (!(q->io_modes & VB2_DMABUF) || !q->mem_ops->attach_dmabuf || in __verify_dmabuf_ops()2052 WARN_ON(!q->io_modes) || in vb2_core_queue_init()2105 if (!q->is_output && (q->io_modes & VB2_READ) && in vb2_core_poll()2110 if (q->is_output && (q->io_modes & VB2_WRITE) && in vb2_core_poll()2240 if (WARN_ON((read && !(q->io_modes & VB2_READ)) || in __vb2_init_fileio()2241 (!read && !(q->io_modes & VB2_WRITE)))) in __vb2_init_fileio()
867 if (!(vdev->queue->io_modes & VB2_WRITE)) in vb2_fop_write()891 if (!(vdev->queue->io_modes & VB2_READ)) in vb2_fop_read()
511 unsigned int io_modes; member
178 q->io_modes = VB2_MMAP; in dvb_vb2_init()
1380 dev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; in rtl2832_sdr_probe()