Lines Matching refs:COHERENT
64 #define COHERENT 1 macro
299 if (coherent_flag != COHERENT) in __dma_clear_buffer()
305 if (coherent_flag != COHERENT) in __dma_clear_buffer()
310 if (coherent_flag != COHERENT) { in __dma_clear_buffer()
647 page = __dma_alloc_buffer(dev, size, gfp, COHERENT); in __alloc_simple_buffer()
745 .coherent_flag = is_coherent ? COHERENT : NORMAL, in __dma_alloc()
1493 if (coherent_flag == COHERENT) in __iommu_alloc_simple()
1515 if (coherent_flag == COHERENT) in __iommu_free_atomic()
1532 if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp)) in __arm_iommu_alloc_attrs()
1579 return __arm_iommu_alloc_attrs(dev, size, handle, gfp, attrs, COHERENT); in arm_coherent_iommu_alloc_attrs()
1638 if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) { in __arm_iommu_free_attrs()
1667 __arm_iommu_free_attrs(dev, size, cpu_addr, handle, attrs, COHERENT); in arm_coherent_iommu_free_attrs()