Lines Matching defs:coherent
634 * @coherent: Is the DMA master cache-coherent?
639 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent,
642 int prot = coherent ? IOMMU_CACHE : 0;
841 bool coherent = dev_is_dma_coherent(dev);
842 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs);
1035 bool coherent = dev_is_dma_coherent(dev);
1036 int prot = dma_info_to_prot(dir, coherent, attrs);
1078 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC))
1431 /* Non-coherent atomic allocation? Easy */
1438 * If it the address is remapped, then it's either non-coherent
1446 /* Lowmem means a coherent atomic or CMA allocation */
1466 bool coherent = dev_is_dma_coherent(dev);
1478 if (!coherent || PageHighMem(page)) {
1486 if (!coherent)
1503 bool coherent = dev_is_dma_coherent(dev);
1504 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs);
1517 !gfpflags_allow_blocking(gfp) && !coherent)