Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cache.h File Reference

Go to the source code of this file.

Macros

#define L1_CACHE_SHIFT   5
 
#define SH_CACHE_VALID   (1LL<<0)
 
#define SH_CACHE_UPDATED   (1LL<<57)
 
#define SH_CACHE_COMBINED   0
 
#define SH_CACHE_ASSOC   0
 
#define SH_CACHE_MODE_WT   (1LL<<0)
 
#define SH_CACHE_MODE_WB   (1LL<<1)
 
#define ICCR_BASE   0x01600000 /* Instruction Cache Control Register */
 
#define ICCR_REG0   0 /* Register 0 offset */
 
#define ICCR_REG1   1 /* Register 1 offset */
 
#define ICCR0   ICCR_BASE+ICCR_REG0
 
#define ICCR1   ICCR_BASE+ICCR_REG1
 
#define ICCR0_OFF   0x0 /* Set ICACHE off */
 
#define ICCR0_ON   0x1 /* Set ICACHE on */
 
#define ICCR0_ICI   0x2 /* Invalidate all in IC */
 
#define ICCR1_NOLOCK   0x0 /* Set No Locking */
 
#define OCCR_BASE   0x01E00000 /* Operand Cache Control Register */
 
#define OCCR_REG0   0 /* Register 0 offset */
 
#define OCCR_REG1   1 /* Register 1 offset */
 
#define OCCR0   OCCR_BASE+OCCR_REG0
 
#define OCCR1   OCCR_BASE+OCCR_REG1
 
#define OCCR0_OFF   0x0 /* Set OCACHE off */
 
#define OCCR0_ON   0x1 /* Set OCACHE on */
 
#define OCCR0_OCI   0x2 /* Invalidate all in OC */
 
#define OCCR0_WT   0x4 /* Set OCACHE in WT Mode */
 
#define OCCR0_WB   0x0 /* Set OCACHE in WB Mode */
 
#define OCCR1_NOLOCK   0x0 /* Set No Locking */
 
#define CACHE_IC_ADDRESS_ARRAY   0x01000000
 
#define CACHE_OC_ADDRESS_ARRAY   0x01800000
 
#define CACHE_OC_N_SYNBITS   1 /* Number of synonym bits */
 
#define CACHE_OC_SYN_SHIFT   12
 
#define CACHE_OC_SYN_MASK   (((1UL<<CACHE_OC_N_SYNBITS)-1)<<CACHE_OC_SYN_SHIFT)
 

Macro Definition Documentation

#define CACHE_IC_ADDRESS_ARRAY   0x01000000

Definition at line 77 of file cache.h.

#define CACHE_OC_ADDRESS_ARRAY   0x01800000

Definition at line 80 of file cache.h.

#define CACHE_OC_N_SYNBITS   1 /* Number of synonym bits */

Definition at line 87 of file cache.h.

#define CACHE_OC_SYN_MASK   (((1UL<<CACHE_OC_N_SYNBITS)-1)<<CACHE_OC_SYN_SHIFT)

Definition at line 90 of file cache.h.

#define CACHE_OC_SYN_SHIFT   12

Definition at line 88 of file cache.h.

#define ICCR0   ICCR_BASE+ICCR_REG0

Definition at line 35 of file cache.h.

#define ICCR0_ICI   0x2 /* Invalidate all in IC */

Definition at line 40 of file cache.h.

#define ICCR0_OFF   0x0 /* Set ICACHE off */

Definition at line 38 of file cache.h.

#define ICCR0_ON   0x1 /* Set ICACHE on */

Definition at line 39 of file cache.h.

#define ICCR1   ICCR_BASE+ICCR_REG1

Definition at line 36 of file cache.h.

#define ICCR1_NOLOCK   0x0 /* Set No Locking */

Definition at line 42 of file cache.h.

#define ICCR_BASE   0x01600000 /* Instruction Cache Control Register */

Definition at line 32 of file cache.h.

#define ICCR_REG0   0 /* Register 0 offset */

Definition at line 33 of file cache.h.

#define ICCR_REG1   1 /* Register 1 offset */

Definition at line 34 of file cache.h.

#define L1_CACHE_SHIFT   5

Definition at line 15 of file cache.h.

#define OCCR0   OCCR_BASE+OCCR_REG0

Definition at line 47 of file cache.h.

#define OCCR0_OCI   0x2 /* Invalidate all in OC */

Definition at line 52 of file cache.h.

#define OCCR0_OFF   0x0 /* Set OCACHE off */

Definition at line 50 of file cache.h.

#define OCCR0_ON   0x1 /* Set OCACHE on */

Definition at line 51 of file cache.h.

#define OCCR0_WB   0x0 /* Set OCACHE in WB Mode */

Definition at line 54 of file cache.h.

#define OCCR0_WT   0x4 /* Set OCACHE in WT Mode */

Definition at line 53 of file cache.h.

#define OCCR1   OCCR_BASE+OCCR_REG1

Definition at line 48 of file cache.h.

#define OCCR1_NOLOCK   0x0 /* Set No Locking */

Definition at line 56 of file cache.h.

#define OCCR_BASE   0x01E00000 /* Operand Cache Control Register */

Definition at line 44 of file cache.h.

#define OCCR_REG0   0 /* Register 0 offset */

Definition at line 45 of file cache.h.

#define OCCR_REG1   1 /* Register 1 offset */

Definition at line 46 of file cache.h.

#define SH_CACHE_ASSOC   0

Definition at line 23 of file cache.h.

#define SH_CACHE_COMBINED   0

Definition at line 22 of file cache.h.

#define SH_CACHE_MODE_WB   (1LL<<1)

Definition at line 27 of file cache.h.

#define SH_CACHE_MODE_WT   (1LL<<0)

Definition at line 26 of file cache.h.

#define SH_CACHE_UPDATED   (1LL<<57)

Definition at line 19 of file cache.h.

#define SH_CACHE_VALID   (1LL<<0)

Definition at line 18 of file cache.h.