Lines Matching refs:dma_coherent
1080 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_alloc_attrs()
1128 if (!dev->dma_coherent) in arm_iommu_mmap_attrs()
1145 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_free_attrs()
1206 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in __map_sg_chunk()
1308 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_unmap_sg()
1328 if (dev->dma_coherent) in arm_iommu_sync_sg_for_cpu()
1350 if (dev->dma_coherent) in arm_iommu_sync_sg_for_device()
1375 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_map_page()
1416 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in arm_iommu_unmap_page()
1490 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_cpu()
1505 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_device()
1765 dev->dma_coherent = true; in arch_setup_dma_ops()