Lines Matching full:dir

22 		enum dma_data_direction dir, unsigned long attrs);
29 int nents, enum dma_data_direction dir);
32 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument
41 int nents, enum dma_data_direction dir, unsigned long attrs);
43 struct scatterlist *sgl, int nents, enum dma_data_direction dir);
46 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() argument
51 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument
57 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_device() argument
61 swiotlb_sync_single_for_device(dev, paddr, size, dir); in dma_direct_sync_single_for_device()
64 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device()
68 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_cpu() argument
73 arch_sync_dma_for_cpu(paddr, size, dir); in dma_direct_sync_single_for_cpu()
77 swiotlb_sync_single_for_cpu(dev, paddr, size, dir); in dma_direct_sync_single_for_cpu()
79 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_single_for_cpu()
85 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_page() argument
93 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
97 dma_kmalloc_needs_bounce(dev, size, dir)) { in dma_direct_map_page()
101 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
110 arch_sync_dma_for_device(phys, size, dir); in dma_direct_map_page()
115 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_page() argument
120 dma_direct_sync_single_for_cpu(dev, addr, size, dir); in dma_direct_unmap_page()
122 swiotlb_tbl_unmap_single(dev, phys, size, dir, in dma_direct_unmap_page()