Lines Matching refs:dma_coherent
1081 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_alloc_attrs()
1129 if (!dev->dma_coherent) in arm_iommu_mmap_attrs()
1146 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_free_attrs()
1207 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in __map_sg_chunk()
1309 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_unmap_sg()
1329 if (dev->dma_coherent) in arm_iommu_sync_sg_for_cpu()
1351 if (dev->dma_coherent) in arm_iommu_sync_sg_for_device()
1376 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_map_page()
1417 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in arm_iommu_unmap_page()
1491 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_cpu()
1506 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_device()
1770 dev->dma_coherent = true; in arch_setup_dma_ops()