Lines Matching refs:paddr
18 static inline void arch_dma_cache_wback(phys_addr_t paddr, size_t size) in arch_dma_cache_wback() argument
20 void *vaddr = phys_to_virt(paddr); in arch_dma_cache_wback()
24 noncoherent_cache_ops.wback(paddr, size); in arch_dma_cache_wback()
31 static inline void arch_dma_cache_inv(phys_addr_t paddr, size_t size) in arch_dma_cache_inv() argument
33 void *vaddr = phys_to_virt(paddr); in arch_dma_cache_inv()
37 noncoherent_cache_ops.inv(paddr, size); in arch_dma_cache_inv()
45 static inline void arch_dma_cache_wback_inv(phys_addr_t paddr, size_t size) in arch_dma_cache_wback_inv() argument
47 void *vaddr = phys_to_virt(paddr); in arch_dma_cache_wback_inv()
51 noncoherent_cache_ops.wback_inv(paddr, size); in arch_dma_cache_wback_inv()
69 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() argument
74 arch_dma_cache_wback(paddr, size); in arch_sync_dma_for_device()
79 arch_dma_cache_inv(paddr, size); in arch_sync_dma_for_device()
88 arch_dma_cache_wback(paddr, size); in arch_sync_dma_for_device()
90 arch_dma_cache_wback_inv(paddr, size); in arch_sync_dma_for_device()
98 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() argument
109 arch_dma_cache_inv(paddr, size); in arch_sync_dma_for_cpu()