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

Go to the source code of this file.

Macros

#define DART_CNTL   0
 
#define DART_EXCP_U3   0x10
 
#define DART_TAGS_U3   0x1000
 
#define DART_BASE_U4   0x10
 
#define DART_SIZE_U4   0x20
 
#define DART_EXCP_U4   0x30
 
#define DART_TAGS_U4   0x1000
 
#define DART_CNTL_U3_BASE_MASK   0xfffff
 
#define DART_CNTL_U3_BASE_SHIFT   12
 
#define DART_CNTL_U3_FLUSHTLB   0x400
 
#define DART_CNTL_U3_ENABLE   0x200
 
#define DART_CNTL_U3_SIZE_MASK   0x1ff
 
#define DART_CNTL_U3_SIZE_SHIFT   0
 
#define DART_BASE_U4_BASE_MASK   0xffffff
 
#define DART_BASE_U4_BASE_SHIFT   0
 
#define DART_CNTL_U4_ENABLE   0x80000000
 
#define DART_CNTL_U4_IONE   0x40000000
 
#define DART_CNTL_U4_FLUSHTLB   0x20000000
 
#define DART_CNTL_U4_IDLE   0x10000000
 
#define DART_CNTL_U4_PAR_EN   0x08000000
 
#define DART_CNTL_U4_IONE_MASK   0x07ffffff
 
#define DART_SIZE_U4_SIZE_MASK   0x1fff
 
#define DART_SIZE_U4_SIZE_SHIFT   0
 
#define DART_REG(r)   (dart + ((r) >> 2))
 
#define DART_IN(r)   (in_be32(DART_REG(r)))
 
#define DART_OUT(r, v)   (out_be32(DART_REG(r), (v)))
 
#define DARTMAP_VALID   0x80000000
 
#define DARTMAP_RPNMASK   0x00ffffff
 
#define DART_PAGE_SHIFT   12
 
#define DART_PAGE_SIZE   (1 << DART_PAGE_SHIFT)
 

Macro Definition Documentation

#define DART_BASE_U4   0x10

Definition at line 32 of file dart.h.

#define DART_BASE_U4_BASE_MASK   0xffffff

Definition at line 48 of file dart.h.

#define DART_BASE_U4_BASE_SHIFT   0

Definition at line 49 of file dart.h.

#define DART_CNTL   0

Definition at line 24 of file dart.h.

#define DART_CNTL_U3_BASE_MASK   0xfffff

Definition at line 40 of file dart.h.

#define DART_CNTL_U3_BASE_SHIFT   12

Definition at line 41 of file dart.h.

#define DART_CNTL_U3_ENABLE   0x200

Definition at line 43 of file dart.h.

#define DART_CNTL_U3_FLUSHTLB   0x400

Definition at line 42 of file dart.h.

#define DART_CNTL_U3_SIZE_MASK   0x1ff

Definition at line 44 of file dart.h.

#define DART_CNTL_U3_SIZE_SHIFT   0

Definition at line 45 of file dart.h.

#define DART_CNTL_U4_ENABLE   0x80000000

Definition at line 50 of file dart.h.

#define DART_CNTL_U4_FLUSHTLB   0x20000000

Definition at line 52 of file dart.h.

#define DART_CNTL_U4_IDLE   0x10000000

Definition at line 53 of file dart.h.

#define DART_CNTL_U4_IONE   0x40000000

Definition at line 51 of file dart.h.

#define DART_CNTL_U4_IONE_MASK   0x07ffffff

Definition at line 55 of file dart.h.

#define DART_CNTL_U4_PAR_EN   0x08000000

Definition at line 54 of file dart.h.

#define DART_EXCP_U3   0x10

Definition at line 27 of file dart.h.

#define DART_EXCP_U4   0x30

Definition at line 34 of file dart.h.

#define DART_IN (   r)    (in_be32(DART_REG(r)))

Definition at line 60 of file dart.h.

#define DART_OUT (   r,
  v 
)    (out_be32(DART_REG(r), (v)))

Definition at line 61 of file dart.h.

#define DART_PAGE_SHIFT   12

Definition at line 73 of file dart.h.

#define DART_PAGE_SIZE   (1 << DART_PAGE_SHIFT)

Definition at line 74 of file dart.h.

#define DART_REG (   r)    (dart + ((r) >> 2))

Definition at line 59 of file dart.h.

#define DART_SIZE_U4   0x20

Definition at line 33 of file dart.h.

#define DART_SIZE_U4_SIZE_MASK   0x1fff

Definition at line 56 of file dart.h.

#define DART_SIZE_U4_SIZE_SHIFT   0

Definition at line 57 of file dart.h.

#define DART_TAGS_U3   0x1000

Definition at line 29 of file dart.h.

#define DART_TAGS_U4   0x1000

Definition at line 35 of file dart.h.

#define DARTMAP_RPNMASK   0x00ffffff

Definition at line 70 of file dart.h.

#define DARTMAP_VALID   0x80000000

Definition at line 69 of file dart.h.