Lines Matching refs:coherent_flag
48 int coherent_flag;
240 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag)
252 if (coherent_flag != COHERENT)
258 if (coherent_flag != COHERENT)
263 if (coherent_flag != COHERENT) {
275 gfp_t gfp, int coherent_flag)
291 __dma_clear_buffer(page, size, coherent_flag);
312 int coherent_flag, gfp_t gfp);
345 * so we must pass NORMAL for coherent_flag.
523 int coherent_flag, gfp_t gfp)
534 __dma_clear_buffer(page, size, coherent_flag);
610 args->want_vaddr, args->coherent_flag,
678 .coherent_flag = is_coherent ? COHERENT : NORMAL,
1199 int coherent_flag)
1224 __dma_clear_buffer(page, size, coherent_flag);
1274 __dma_clear_buffer(pages[i], PAGE_SIZE << order, coherent_flag);
1388 dma_addr_t *handle, int coherent_flag,
1394 if (coherent_flag == COHERENT)
1413 dma_addr_t handle, size_t size, int coherent_flag)
1416 if (coherent_flag == COHERENT)
1424 int coherent_flag)
1433 if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp))
1435 coherent_flag, attrs);
1446 pages = __iommu_alloc_buffer(dev, size, gfp, attrs, coherent_flag);
1524 dma_addr_t handle, unsigned long attrs, int coherent_flag)
1529 if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) {
1530 __iommu_free_atomic(dev, cpu_addr, handle, size, coherent_flag);