1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2009 Tensilica Inc.
5 #ifndef _XTENSA_CACHE_H
6 #define _XTENSA_CACHE_H
8 #include <asm/arch/core.h>
10 #define ARCH_DMA_MINALIGN XCHAL_DCACHE_LINESIZE
14 void __flush_dcache_all(void);
15 void __flush_invalidate_dcache_range(unsigned long addr, unsigned long size);
16 void __invalidate_dcache_all(void);
17 void __invalidate_dcache_range(unsigned long addr, unsigned long size);
19 void __invalidate_icache_all(void);
20 void __invalidate_icache_range(unsigned long addr, unsigned long size);
24 #endif /* _XTENSA_CACHE_H */