Lines Matching refs:coherent_flag

48 	int coherent_flag;  member
240 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer() argument
252 if (coherent_flag != COHERENT) in __dma_clear_buffer()
258 if (coherent_flag != COHERENT) in __dma_clear_buffer()
263 if (coherent_flag != COHERENT) { in __dma_clear_buffer()
275 gfp_t gfp, int coherent_flag) in __dma_alloc_buffer() argument
291 __dma_clear_buffer(page, size, coherent_flag); in __dma_alloc_buffer()
312 int coherent_flag, gfp_t gfp);
525 int coherent_flag, gfp_t gfp) in __alloc_from_contiguous() argument
536 __dma_clear_buffer(page, size, coherent_flag); in __alloc_from_contiguous()
612 args->want_vaddr, args->coherent_flag, in cma_allocator_alloc()
680 .coherent_flag = is_coherent ? COHERENT : NORMAL, in __dma_alloc()
1203 int coherent_flag) in __iommu_alloc_buffer() argument
1228 __dma_clear_buffer(page, size, coherent_flag); in __iommu_alloc_buffer()
1278 __dma_clear_buffer(pages[i], PAGE_SIZE << order, coherent_flag); in __iommu_alloc_buffer()
1392 dma_addr_t *handle, int coherent_flag, in __iommu_alloc_simple() argument
1398 if (coherent_flag == COHERENT) in __iommu_alloc_simple()
1417 dma_addr_t handle, size_t size, int coherent_flag) in __iommu_free_atomic() argument
1420 if (coherent_flag == COHERENT) in __iommu_free_atomic()
1428 int coherent_flag) in __arm_iommu_alloc_attrs() argument
1437 if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp)) in __arm_iommu_alloc_attrs()
1439 coherent_flag, attrs); in __arm_iommu_alloc_attrs()
1450 pages = __iommu_alloc_buffer(dev, size, gfp, attrs, coherent_flag); in __arm_iommu_alloc_attrs()
1528 dma_addr_t handle, unsigned long attrs, int coherent_flag) in __arm_iommu_free_attrs() argument
1533 if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) { in __arm_iommu_free_attrs()
1534 __iommu_free_atomic(dev, cpu_addr, handle, size, coherent_flag); in __arm_iommu_free_attrs()