Searched refs:dev_is_dma_coherent (Results 1 – 8 of 8) sorted by relevance
222 if (!dev_is_dma_coherent(dev)) { in dma_direct_alloc()338 !dev_is_dma_coherent(dev) && in dma_direct_free()345 !dev_is_dma_coherent(dev)) { in dma_direct_free()422 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_device()441 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()452 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_sg_for_cpu()551 return dev_is_dma_coherent(dev) || in dma_direct_can_mmap()613 return !dev_is_dma_coherent(dev) || in dma_direct_need_sync()
63 if (!dev_is_dma_coherent(dev)) in dma_direct_sync_single_for_device()72 if (!dev_is_dma_coherent(dev)) { in dma_direct_sync_single_for_cpu()110 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in dma_direct_map_page()
421 if (dev_is_dma_coherent(dev)) in dma_pgprot()
1517 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in swiotlb_map()
242 if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_map_page()266 if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in xen_swiotlb_unmap_page()284 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_cpu()304 if (!dev_is_dma_coherent(dev)) { in xen_swiotlb_sync_single_for_device()
841 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous()970 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_cpu()974 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_cpu()986 if (dev_is_dma_coherent(dev) && !dev_use_swiotlb(dev, size, dir)) in iommu_dma_sync_single_for_device()993 if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_single_for_device()1008 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_cpu()1025 else if (!dev_is_dma_coherent(dev)) in iommu_dma_sync_sg_for_device()1035 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page()1097 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) && !dev_is_dma_coherent(dev)) in iommu_dma_unmap_page()1248 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg()[all …]
262 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function269 static inline bool dev_is_dma_coherent(struct device *dev) in dev_is_dma_coherent() function293 if (dev_is_dma_coherent(dev) || dir == DMA_TO_DEVICE) in dma_kmalloc_safe()
116 !dev_is_dma_coherent(dev)); in xen_arch_need_swiotlb()