Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cache.h File Reference
#include <variant/core.h>

Go to the source code of this file.

Macros

#define L1_CACHE_SHIFT   XCHAL_DCACHE_LINEWIDTH
 
#define L1_CACHE_BYTES   XCHAL_DCACHE_LINESIZE
 
#define SMP_CACHE_BYTES   L1_CACHE_BYTES
 
#define DCACHE_WAY_SIZE   (XCHAL_DCACHE_SIZE/XCHAL_DCACHE_WAYS)
 
#define ICACHE_WAY_SIZE   (XCHAL_ICACHE_SIZE/XCHAL_ICACHE_WAYS)
 
#define DCACHE_WAY_SHIFT   (XCHAL_DCACHE_SETWIDTH + XCHAL_DCACHE_LINEWIDTH)
 
#define ICACHE_WAY_SHIFT   (XCHAL_ICACHE_SETWIDTH + XCHAL_ICACHE_LINEWIDTH)
 
#define CACHE_WAY_SIZE   DCACHE_WAY_SIZE
 
#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES
 

Macro Definition Documentation

#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES

Definition at line 32 of file cache.h.

#define CACHE_WAY_SIZE   DCACHE_WAY_SIZE

Definition at line 27 of file cache.h.

#define DCACHE_WAY_SHIFT   (XCHAL_DCACHE_SETWIDTH + XCHAL_DCACHE_LINEWIDTH)

Definition at line 22 of file cache.h.

#define DCACHE_WAY_SIZE   (XCHAL_DCACHE_SIZE/XCHAL_DCACHE_WAYS)

Definition at line 20 of file cache.h.

#define ICACHE_WAY_SHIFT   (XCHAL_ICACHE_SETWIDTH + XCHAL_ICACHE_LINEWIDTH)

Definition at line 23 of file cache.h.

#define ICACHE_WAY_SIZE   (XCHAL_ICACHE_SIZE/XCHAL_ICACHE_WAYS)

Definition at line 21 of file cache.h.

#define L1_CACHE_BYTES   XCHAL_DCACHE_LINESIZE

Definition at line 17 of file cache.h.

#define L1_CACHE_SHIFT   XCHAL_DCACHE_LINEWIDTH

Definition at line 16 of file cache.h.

#define SMP_CACHE_BYTES   L1_CACHE_BYTES

Definition at line 18 of file cache.h.