linux/arch/sparc/kernel/ioport.c
/* This function must make sure that caches and memory are coherent after DMA
 * On LEON systems without cache snooping it flushes the entire D-CACHE.
 */
This function must make sure that caches and memory are coherent after DMA
On LEON systems without cache snooping it flushes the entire D-CACHE.
This function must make sure that caches and memory are coherent after DMA On LEON systems without cache snooping it flushes the entire D - CACHE .
static inline void dma_make_coherent(unsigned long pa, unsigned long len)
{
	if (sparc_cpu_model == sparc_leon) {
		if (!sparc_leon3_snooping_enabled())
			leon_flush_dcache_all();
	}
}
static inline void dma_make_coherent ( unsigned long pa , unsigned long len ) { if ( sparc_cpu_model == sparc_leon ) { if ( ! sparc_leon3_snooping_enabled ( ) ) leon_flush_dcache_all ( ) ; } }
This function must make sure that caches and memory are coherent after DMA
 On LEON systems without cache snooping it flushes the entire D-CACHE.
This function must make sure that caches and memory are coherent after DMA On LEON systems without cache snooping it flushes the entire D - CACHE .