Lines Matching refs:coherent_flag

52 	int coherent_flag;  member
287 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer() argument
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()
322 gfp_t gfp, int coherent_flag) in __dma_alloc_buffer() argument
338 __dma_clear_buffer(page, size, coherent_flag); in __dma_alloc_buffer()
359 int coherent_flag, gfp_t gfp);
590 int coherent_flag, gfp_t gfp) in __alloc_from_contiguous() argument
601 __dma_clear_buffer(page, size, coherent_flag); in __alloc_from_contiguous()
677 args->want_vaddr, args->coherent_flag, in cma_allocator_alloc()
745 .coherent_flag = is_coherent ? COHERENT : NORMAL, in __dma_alloc()
1282 int coherent_flag) in __iommu_alloc_buffer() argument
1307 __dma_clear_buffer(page, size, coherent_flag); in __iommu_alloc_buffer()
1357 __dma_clear_buffer(pages[i], PAGE_SIZE << order, coherent_flag); in __iommu_alloc_buffer()
1487 dma_addr_t *handle, int coherent_flag, in __iommu_alloc_simple() argument
1493 if (coherent_flag == COHERENT) in __iommu_alloc_simple()
1512 dma_addr_t handle, size_t size, int coherent_flag) in __iommu_free_atomic() argument
1515 if (coherent_flag == COHERENT) in __iommu_free_atomic()
1523 int coherent_flag) in __arm_iommu_alloc_attrs() argument
1532 if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp)) in __arm_iommu_alloc_attrs()
1534 coherent_flag, attrs); in __arm_iommu_alloc_attrs()
1545 pages = __iommu_alloc_buffer(dev, size, gfp, attrs, coherent_flag); in __arm_iommu_alloc_attrs()
1633 dma_addr_t handle, unsigned long attrs, int coherent_flag) in __arm_iommu_free_attrs() argument
1638 if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) { in __arm_iommu_free_attrs()
1639 __iommu_free_atomic(dev, cpu_addr, handle, size, coherent_flag); in __arm_iommu_free_attrs()