Searched refs:dev_is_dma_coherent (Results 1 – 10 of 10) sorted by relevance
161 !dev_is_dma_coherent(dev)) in dma_direct_alloc()171 (IS_ENABLED(CONFIG_DMA_DIRECT_REMAP) && !dev_is_dma_coherent(dev)))) in dma_direct_alloc()180 !dev_is_dma_coherent(dev)) || in dma_direct_alloc()223 !dev_is_dma_coherent(dev)) { in dma_direct_alloc()258 !dev_is_dma_coherent(dev)) { in dma_direct_free()348 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()367 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()378 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()446 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()504 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()
730 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()
666 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap()755 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()767 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()781 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()795 if (dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()807 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()915 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()1065 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()1102 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()
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()
24 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
118 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()
243 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function248 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function
552 if (dev_is_dma_coherent(dev)) in arm64_noalias_setup_dma_ops()