Searched refs:dev_is_dma_coherent (Results 1 – 9 of 9) sorted by relevance
159 !dev_is_dma_coherent(dev)) in dma_direct_alloc()169 (IS_ENABLED(CONFIG_DMA_DIRECT_REMAP) && !dev_is_dma_coherent(dev)))) in dma_direct_alloc()178 !dev_is_dma_coherent(dev)) || in dma_direct_alloc()221 !dev_is_dma_coherent(dev)) { in dma_direct_alloc()258 !dev_is_dma_coherent(dev)) { in dma_direct_free()350 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()369 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()380 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()448 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()506 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
62 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_single_for_device()71 if (!dev_is_dma_coherent(dev)) { in dma_direct_sync_single_for_cpu()103 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
687 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
345 if (dev_is_dma_coherent(dev)) in dma_pgprot()
24 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
415 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()439 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()457 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()477 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
589 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap()678 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()690 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()704 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()718 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()730 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()838 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()988 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()1025 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()
118 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
234 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function239 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function