Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sb1250_l2c.h File Reference
#include <asm/sibyte/sb1250_defs.h>

Go to the source code of this file.

Macros

#define S_L2C_TAG_MBZ   0
 
#define M_L2C_TAG_MBZ   _SB_MAKEMASK(5, S_L2C_TAG_MBZ)
 
#define S_L2C_TAG_INDEX   5
 
#define M_L2C_TAG_INDEX   _SB_MAKEMASK(12, S_L2C_TAG_INDEX)
 
#define V_L2C_TAG_INDEX(x)   _SB_MAKEVALUE(x, S_L2C_TAG_INDEX)
 
#define G_L2C_TAG_INDEX(x)   _SB_GETVALUE(x, S_L2C_TAG_INDEX, M_L2C_TAG_INDEX)
 
#define S_L2C_TAG_TAG   17
 
#define M_L2C_TAG_TAG   _SB_MAKEMASK(23, S_L2C_TAG_TAG)
 
#define V_L2C_TAG_TAG(x)   _SB_MAKEVALUE(x, S_L2C_TAG_TAG)
 
#define G_L2C_TAG_TAG(x)   _SB_GETVALUE(x, S_L2C_TAG_TAG, M_L2C_TAG_TAG)
 
#define S_L2C_TAG_ECC   40
 
#define M_L2C_TAG_ECC   _SB_MAKEMASK(6, S_L2C_TAG_ECC)
 
#define V_L2C_TAG_ECC(x)   _SB_MAKEVALUE(x, S_L2C_TAG_ECC)
 
#define G_L2C_TAG_ECC(x)   _SB_GETVALUE(x, S_L2C_TAG_ECC, M_L2C_TAG_ECC)
 
#define S_L2C_TAG_WAY   46
 
#define M_L2C_TAG_WAY   _SB_MAKEMASK(2, S_L2C_TAG_WAY)
 
#define V_L2C_TAG_WAY(x)   _SB_MAKEVALUE(x, S_L2C_TAG_WAY)
 
#define G_L2C_TAG_WAY(x)   _SB_GETVALUE(x, S_L2C_TAG_WAY, M_L2C_TAG_WAY)
 
#define M_L2C_TAG_DIRTY   _SB_MAKEMASK1(48)
 
#define M_L2C_TAG_VALID   _SB_MAKEMASK1(49)
 
#define S_L2C_MGMT_INDEX   5
 
#define M_L2C_MGMT_INDEX   _SB_MAKEMASK(12, S_L2C_MGMT_INDEX)
 
#define V_L2C_MGMT_INDEX(x)   _SB_MAKEVALUE(x, S_L2C_MGMT_INDEX)
 
#define G_L2C_MGMT_INDEX(x)   _SB_GETVALUE(x, S_L2C_MGMT_INDEX, M_L2C_MGMT_INDEX)
 
#define S_L2C_MGMT_QUADRANT   15
 
#define M_L2C_MGMT_QUADRANT   _SB_MAKEMASK(2, S_L2C_MGMT_QUADRANT)
 
#define V_L2C_MGMT_QUADRANT(x)   _SB_MAKEVALUE(x, S_L2C_MGMT_QUADRANT)
 
#define G_L2C_MGMT_QUADRANT(x)   _SB_GETVALUE(x, S_L2C_MGMT_QUADRANT, M_L2C_MGMT_QUADRANT)
 
#define S_L2C_MGMT_HALF   16
 
#define M_L2C_MGMT_HALF   _SB_MAKEMASK(1, S_L2C_MGMT_HALF)
 
#define S_L2C_MGMT_WAY   17
 
#define M_L2C_MGMT_WAY   _SB_MAKEMASK(2, S_L2C_MGMT_WAY)
 
#define V_L2C_MGMT_WAY(x)   _SB_MAKEVALUE(x, S_L2C_MGMT_WAY)
 
#define G_L2C_MGMT_WAY(x)   _SB_GETVALUE(x, S_L2C_MGMT_WAY, M_L2C_MGMT_WAY)
 
#define S_L2C_MGMT_ECC_DIAG   21
 
#define M_L2C_MGMT_ECC_DIAG   _SB_MAKEMASK(2, S_L2C_MGMT_ECC_DIAG)
 
#define V_L2C_MGMT_ECC_DIAG(x)   _SB_MAKEVALUE(x, S_L2C_MGMT_ECC_DIAG)
 
#define G_L2C_MGMT_ECC_DIAG(x)   _SB_GETVALUE(x, S_L2C_MGMT_ECC_DIAG, M_L2C_MGMT_ECC_DIAG)
 
#define S_L2C_MGMT_TAG   23
 
#define M_L2C_MGMT_TAG   _SB_MAKEMASK(4, S_L2C_MGMT_TAG)
 
#define V_L2C_MGMT_TAG(x)   _SB_MAKEVALUE(x, S_L2C_MGMT_TAG)
 
#define G_L2C_MGMT_TAG(x)   _SB_GETVALUE(x, S_L2C_MGMT_TAG, M_L2C_MGMT_TAG)
 
#define M_L2C_MGMT_DIRTY   _SB_MAKEMASK1(19)
 
#define M_L2C_MGMT_VALID   _SB_MAKEMASK1(20)
 
#define A_L2C_MGMT_TAG_BASE   0x00D0000000
 
#define L2C_ENTRIES_PER_WAY   4096
 
#define L2C_NUM_WAYS   4
 

Macro Definition Documentation

#define A_L2C_MGMT_TAG_BASE   0x00D0000000

Definition at line 103 of file sb1250_l2c.h.

#define G_L2C_MGMT_ECC_DIAG (   x)    _SB_GETVALUE(x, S_L2C_MGMT_ECC_DIAG, M_L2C_MGMT_ECC_DIAG)

Definition at line 93 of file sb1250_l2c.h.

#define G_L2C_MGMT_INDEX (   x)    _SB_GETVALUE(x, S_L2C_MGMT_INDEX, M_L2C_MGMT_INDEX)

Definition at line 75 of file sb1250_l2c.h.

#define G_L2C_MGMT_QUADRANT (   x)    _SB_GETVALUE(x, S_L2C_MGMT_QUADRANT, M_L2C_MGMT_QUADRANT)

Definition at line 80 of file sb1250_l2c.h.

#define G_L2C_MGMT_TAG (   x)    _SB_GETVALUE(x, S_L2C_MGMT_TAG, M_L2C_MGMT_TAG)

Definition at line 98 of file sb1250_l2c.h.

#define G_L2C_MGMT_WAY (   x)    _SB_GETVALUE(x, S_L2C_MGMT_WAY, M_L2C_MGMT_WAY)

Definition at line 88 of file sb1250_l2c.h.

#define G_L2C_TAG_ECC (   x)    _SB_GETVALUE(x, S_L2C_TAG_ECC, M_L2C_TAG_ECC)

Definition at line 58 of file sb1250_l2c.h.

#define G_L2C_TAG_INDEX (   x)    _SB_GETVALUE(x, S_L2C_TAG_INDEX, M_L2C_TAG_INDEX)

Definition at line 48 of file sb1250_l2c.h.

#define G_L2C_TAG_TAG (   x)    _SB_GETVALUE(x, S_L2C_TAG_TAG, M_L2C_TAG_TAG)

Definition at line 53 of file sb1250_l2c.h.

#define G_L2C_TAG_WAY (   x)    _SB_GETVALUE(x, S_L2C_TAG_WAY, M_L2C_TAG_WAY)

Definition at line 63 of file sb1250_l2c.h.

#define L2C_ENTRIES_PER_WAY   4096

Definition at line 105 of file sb1250_l2c.h.

#define L2C_NUM_WAYS   4

Definition at line 106 of file sb1250_l2c.h.

#define M_L2C_MGMT_DIRTY   _SB_MAKEMASK1(19)

Definition at line 100 of file sb1250_l2c.h.

#define M_L2C_MGMT_ECC_DIAG   _SB_MAKEMASK(2, S_L2C_MGMT_ECC_DIAG)

Definition at line 91 of file sb1250_l2c.h.

#define M_L2C_MGMT_HALF   _SB_MAKEMASK(1, S_L2C_MGMT_HALF)

Definition at line 83 of file sb1250_l2c.h.

#define M_L2C_MGMT_INDEX   _SB_MAKEMASK(12, S_L2C_MGMT_INDEX)

Definition at line 73 of file sb1250_l2c.h.

#define M_L2C_MGMT_QUADRANT   _SB_MAKEMASK(2, S_L2C_MGMT_QUADRANT)

Definition at line 78 of file sb1250_l2c.h.

#define M_L2C_MGMT_TAG   _SB_MAKEMASK(4, S_L2C_MGMT_TAG)

Definition at line 96 of file sb1250_l2c.h.

#define M_L2C_MGMT_VALID   _SB_MAKEMASK1(20)

Definition at line 101 of file sb1250_l2c.h.

#define M_L2C_MGMT_WAY   _SB_MAKEMASK(2, S_L2C_MGMT_WAY)

Definition at line 86 of file sb1250_l2c.h.

#define M_L2C_TAG_DIRTY   _SB_MAKEMASK1(48)

Definition at line 65 of file sb1250_l2c.h.

#define M_L2C_TAG_ECC   _SB_MAKEMASK(6, S_L2C_TAG_ECC)

Definition at line 56 of file sb1250_l2c.h.

#define M_L2C_TAG_INDEX   _SB_MAKEMASK(12, S_L2C_TAG_INDEX)

Definition at line 46 of file sb1250_l2c.h.

#define M_L2C_TAG_MBZ   _SB_MAKEMASK(5, S_L2C_TAG_MBZ)

Definition at line 43 of file sb1250_l2c.h.

#define M_L2C_TAG_TAG   _SB_MAKEMASK(23, S_L2C_TAG_TAG)

Definition at line 51 of file sb1250_l2c.h.

#define M_L2C_TAG_VALID   _SB_MAKEMASK1(49)

Definition at line 66 of file sb1250_l2c.h.

#define M_L2C_TAG_WAY   _SB_MAKEMASK(2, S_L2C_TAG_WAY)

Definition at line 61 of file sb1250_l2c.h.

#define S_L2C_MGMT_ECC_DIAG   21

Definition at line 90 of file sb1250_l2c.h.

#define S_L2C_MGMT_HALF   16

Definition at line 82 of file sb1250_l2c.h.

#define S_L2C_MGMT_INDEX   5

Definition at line 72 of file sb1250_l2c.h.

#define S_L2C_MGMT_QUADRANT   15

Definition at line 77 of file sb1250_l2c.h.

#define S_L2C_MGMT_TAG   23

Definition at line 95 of file sb1250_l2c.h.

#define S_L2C_MGMT_WAY   17

Definition at line 85 of file sb1250_l2c.h.

#define S_L2C_TAG_ECC   40

Definition at line 55 of file sb1250_l2c.h.

#define S_L2C_TAG_INDEX   5

Definition at line 45 of file sb1250_l2c.h.

#define S_L2C_TAG_MBZ   0

Definition at line 42 of file sb1250_l2c.h.

#define S_L2C_TAG_TAG   17

Definition at line 50 of file sb1250_l2c.h.

#define S_L2C_TAG_WAY   46

Definition at line 60 of file sb1250_l2c.h.

#define V_L2C_MGMT_ECC_DIAG (   x)    _SB_MAKEVALUE(x, S_L2C_MGMT_ECC_DIAG)

Definition at line 92 of file sb1250_l2c.h.

#define V_L2C_MGMT_INDEX (   x)    _SB_MAKEVALUE(x, S_L2C_MGMT_INDEX)

Definition at line 74 of file sb1250_l2c.h.

#define V_L2C_MGMT_QUADRANT (   x)    _SB_MAKEVALUE(x, S_L2C_MGMT_QUADRANT)

Definition at line 79 of file sb1250_l2c.h.

#define V_L2C_MGMT_TAG (   x)    _SB_MAKEVALUE(x, S_L2C_MGMT_TAG)

Definition at line 97 of file sb1250_l2c.h.

#define V_L2C_MGMT_WAY (   x)    _SB_MAKEVALUE(x, S_L2C_MGMT_WAY)

Definition at line 87 of file sb1250_l2c.h.

#define V_L2C_TAG_ECC (   x)    _SB_MAKEVALUE(x, S_L2C_TAG_ECC)

Definition at line 57 of file sb1250_l2c.h.

#define V_L2C_TAG_INDEX (   x)    _SB_MAKEVALUE(x, S_L2C_TAG_INDEX)

Definition at line 47 of file sb1250_l2c.h.

#define V_L2C_TAG_TAG (   x)    _SB_MAKEVALUE(x, S_L2C_TAG_TAG)

Definition at line 52 of file sb1250_l2c.h.

#define V_L2C_TAG_WAY (   x)    _SB_MAKEVALUE(x, S_L2C_TAG_WAY)

Definition at line 62 of file sb1250_l2c.h.