Lines Matching refs:dir

22 		enum dma_data_direction dir, unsigned long attrs);
28 int nents, enum dma_data_direction dir);
31 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument
40 int nents, enum dma_data_direction dir, unsigned long attrs);
42 struct scatterlist *sgl, int nents, enum dma_data_direction dir);
45 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() argument
50 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument
56 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()
78 swiotlb_sync_single_for_cpu(dev, paddr, size, dir); in dma_direct_sync_single_for_cpu()
80 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_single_for_cpu()
86 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_page() argument
94 return swiotlb_map(dev, phys, size, dir, attrs); 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()
123 swiotlb_tbl_unmap_single(dev, phys, size, dir, in dma_direct_unmap_page()