Lines Matching refs:coherent_flag

51 	int coherent_flag;  member
265 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer() argument
277 if (coherent_flag != COHERENT) in __dma_clear_buffer()
283 if (coherent_flag != COHERENT) in __dma_clear_buffer()
288 if (coherent_flag != COHERENT) { in __dma_clear_buffer()
300 gfp_t gfp, int coherent_flag) in __dma_alloc_buffer() argument
316 __dma_clear_buffer(page, size, coherent_flag); in __dma_alloc_buffer()
337 int coherent_flag, gfp_t gfp);
548 int coherent_flag, gfp_t gfp) in __alloc_from_contiguous() argument
559 __dma_clear_buffer(page, size, coherent_flag); in __alloc_from_contiguous()
635 args->want_vaddr, args->coherent_flag, in cma_allocator_alloc()
703 .coherent_flag = is_coherent ? COHERENT : NORMAL, in __dma_alloc()
1238 int coherent_flag) in __iommu_alloc_buffer() argument
1263 __dma_clear_buffer(page, size, coherent_flag); in __iommu_alloc_buffer()
1313 __dma_clear_buffer(pages[i], PAGE_SIZE << order, coherent_flag); in __iommu_alloc_buffer()
1427 dma_addr_t *handle, int coherent_flag, in __iommu_alloc_simple() argument
1433 if (coherent_flag == COHERENT) in __iommu_alloc_simple()
1452 dma_addr_t handle, size_t size, int coherent_flag) in __iommu_free_atomic() argument
1455 if (coherent_flag == COHERENT) in __iommu_free_atomic()
1463 int coherent_flag) in __arm_iommu_alloc_attrs() argument
1472 if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp)) in __arm_iommu_alloc_attrs()
1474 coherent_flag, attrs); in __arm_iommu_alloc_attrs()
1485 pages = __iommu_alloc_buffer(dev, size, gfp, attrs, coherent_flag); in __arm_iommu_alloc_attrs()
1563 dma_addr_t handle, unsigned long attrs, int coherent_flag) in __arm_iommu_free_attrs() argument
1568 if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) { in __arm_iommu_free_attrs()
1569 __iommu_free_atomic(dev, cpu_addr, handle, size, coherent_flag); in __arm_iommu_free_attrs()