Lines Matching refs:dev_is_dma_coherent
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()
1466 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages()
1503 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc()