Lines Matching +full:non +full:- +full:coherent
1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2000, 2001, 06 Ralf Baechle <ralf@linux-mips.org>
7 #include <linux/dma-direct.h>
8 #include <linux/dma-map-ops.h>
12 #include <asm/cpu-type.h>
18 * flush post-DMA.
20 * Warning on the terminology - Linux calls an uncached area coherent; MIPS
21 * terminology calls memory areas with hardware maintained coherency coherent.
24 * However this function is only called on non-I/O-coherent systems and only the
41 * the post-DMA flush/invalidate. in cpu_needs_post_dma_flush()
108 len = PAGE_SIZE - offset; in dma_sync_phys()
120 left -= len; in dma_sync_phys()
140 void arch_setup_dma_ops(struct device *dev, bool coherent) in arch_setup_dma_ops() argument
142 dev->dma_coherent = coherent; in arch_setup_dma_ops()