Lines Matching refs:dma_dir

28 	enum dma_data_direction		dma_dir;  member
38 unsigned long size, enum dma_data_direction dma_dir, in vb2_vmalloc_alloc() argument
49 buf->dma_dir = dma_dir; in vb2_vmalloc_alloc()
76 enum dma_data_direction dma_dir) in vb2_vmalloc_get_userptr() argument
87 buf->dma_dir = dma_dir; in vb2_vmalloc_get_userptr()
90 vec = vb2_create_framevec(vaddr, size, dma_dir == DMA_FROM_DEVICE || in vb2_vmalloc_get_userptr()
91 dma_dir == DMA_BIDIRECTIONAL); in vb2_vmalloc_get_userptr()
141 if (buf->dma_dir == DMA_FROM_DEVICE || in vb2_vmalloc_put_userptr()
142 buf->dma_dir == DMA_BIDIRECTIONAL) in vb2_vmalloc_put_userptr()
209 enum dma_data_direction dma_dir; member
246 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_attach()
263 if (attach->dma_dir != DMA_NONE) in vb2_vmalloc_dmabuf_ops_detach()
265 attach->dma_dir); in vb2_vmalloc_dmabuf_ops_detach()
272 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_map() argument
283 if (attach->dma_dir == dma_dir) { in vb2_vmalloc_dmabuf_ops_map()
289 if (attach->dma_dir != DMA_NONE) { in vb2_vmalloc_dmabuf_ops_map()
291 attach->dma_dir); in vb2_vmalloc_dmabuf_ops_map()
292 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_map()
297 dma_dir); in vb2_vmalloc_dmabuf_ops_map()
304 attach->dma_dir = dma_dir; in vb2_vmalloc_dmabuf_ops_map()
312 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap() argument
412 unsigned long size, enum dma_data_direction dma_dir) in vb2_vmalloc_attach_dmabuf() argument
424 buf->dma_dir = dma_dir; in vb2_vmalloc_attach_dmabuf()