Lines Matching refs:coherent_flag
48 int coherent_flag;
107 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag)
119 if (coherent_flag != COHERENT)
125 if (coherent_flag != COHERENT)
130 if (coherent_flag != COHERENT) {
142 gfp_t gfp, int coherent_flag)
158 __dma_clear_buffer(page, size, coherent_flag);
179 int coherent_flag, gfp_t gfp);
212 * so we must pass NORMAL for coherent_flag.
394 int coherent_flag, gfp_t gfp)
405 __dma_clear_buffer(page, size, coherent_flag);
481 args->want_vaddr, args->coherent_flag,
549 .coherent_flag = is_coherent ? COHERENT : NORMAL,
854 int coherent_flag)
879 __dma_clear_buffer(page, size, coherent_flag);
929 __dma_clear_buffer(pages[i], PAGE_SIZE << order, coherent_flag);
1044 dma_addr_t *handle, int coherent_flag,
1050 if (coherent_flag == COHERENT)
1069 dma_addr_t handle, size_t size, int coherent_flag)
1072 if (coherent_flag == COHERENT)
1084 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL;
1089 if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp))
1091 coherent_flag, attrs);
1093 pages = __iommu_alloc_buffer(dev, size, gfp, attrs, coherent_flag);
1149 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL;
1153 if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) {
1154 __iommu_free_atomic(dev, cpu_addr, handle, size, coherent_flag);