You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/include/asm-cris/arch-v32/cache.h

19 lines
492 B

#ifndef _ASM_CRIS_ARCH_CACHE_H
#define _ASM_CRIS_ARCH_CACHE_H
#include <asm/arch/hwregs/dma.h>
/* A cache-line is 32 bytes. */
#define L1_CACHE_BYTES 32
#define L1_CACHE_SHIFT 5
void flush_dma_list(dma_descr_data *descr);
void flush_dma_descr(dma_descr_data *descr, int flush_buf);
#define flush_dma_context(c) \
flush_dma_list(phys_to_virt((c)->saved_data));
void cris_flush_cache_range(void *buf, unsigned long len);
void cris_flush_cache(void);
#endif /* _ASM_CRIS_ARCH_CACHE_H */