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

Go to the source code of this file.

Data Structures

struct  reg_intr_vect_rw_mask0
 
struct  reg_intr_vect_r_vect0
 
struct  reg_intr_vect_r_masked_vect0
 
struct  reg_intr_vect_rw_xmask0
 
struct  reg_intr_vect_rw_mask1
 
struct  reg_intr_vect_r_vect1
 
struct  reg_intr_vect_r_masked_vect1
 
struct  reg_intr_vect_rw_xmask1
 
struct  reg_intr_vect_rw_xmask_ctrl
 
struct  reg_intr_vect_r_nmi
 
struct  reg_intr_vect_r_guru
 
struct  reg_intr_vect_rw_ipi
 

Macros

#define REG_RD(scope, inst, reg)
 
#define REG_WR(scope, inst, reg, val)
 
#define REG_RD_VECT(scope, inst, reg, index)
 
#define REG_WR_VECT(scope, inst, reg, index, val)
 
#define REG_RD_INT(scope, inst, reg)   REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )
 
#define REG_WR_INT(scope, inst, reg, val)   REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
 
#define REG_RD_INT_VECT(scope, inst, reg, index)
 
#define REG_WR_INT_VECT(scope, inst, reg, index, val)
 
#define REG_TYPE_CONV(type, orgtype, val)   ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
 
#define reg_page_size   8192
 
#define REG_ADDR(scope, inst, reg)   ( (inst) + REG_RD_ADDR_##scope##_##reg )
 
#define REG_ADDR_VECT(scope, inst, reg, index)
 
#define STRIDE_intr_vect_rw_mask   4
 
#define reg_intr_vect_rw_mask   reg_intr_vect_rw_mask0
 
#define REG_RD_ADDR_intr_vect_rw_mask   0
 
#define REG_WR_ADDR_intr_vect_rw_mask   0
 
#define REG_RD_ADDR_intr_vect_rw_mask0   0
 
#define REG_WR_ADDR_intr_vect_rw_mask0   0
 
#define STRIDE_intr_vect_r_vect   4
 
#define reg_intr_vect_r_vect   reg_intr_vect_r_vect0
 
#define REG_RD_ADDR_intr_vect_r_vect   8
 
#define REG_RD_ADDR_intr_vect_r_vect0   8
 
#define STRIDE_intr_vect_r_masked_vect   4
 
#define reg_intr_vect_r_masked_vect   reg_intr_masked_vect_r_vect0
 
#define REG_RD_ADDR_intr_vect_r_masked_vect0   16
 
#define REG_RD_ADDR_intr_vect_r_masked_vect   16
 
#define STRIDE_intr_vect_rw_xmask   4
 
#define reg_intr_vect_rw_xmask   reg_intr_vect_rw_xmask0
 
#define REG_RD_ADDR_intr_vect_rw_xmask0   24
 
#define REG_WR_ADDR_intr_vect_rw_xmask0   24
 
#define REG_RD_ADDR_intr_vect_rw_xmask   24
 
#define REG_WR_ADDR_intr_vect_rw_xmask   24
 
#define REG_RD_ADDR_intr_vect_rw_mask1   4
 
#define REG_WR_ADDR_intr_vect_rw_mask1   4
 
#define REG_RD_ADDR_intr_vect_r_vect1   12
 
#define REG_RD_ADDR_intr_vect_r_masked_vect1   20
 
#define REG_RD_ADDR_intr_vect_rw_xmask1   28
 
#define REG_WR_ADDR_intr_vect_rw_xmask1   28
 
#define REG_RD_ADDR_intr_vect_rw_xmask_ctrl   32
 
#define REG_WR_ADDR_intr_vect_rw_xmask_ctrl   32
 
#define REG_RD_ADDR_intr_vect_r_nmi   64
 
#define REG_RD_ADDR_intr_vect_r_guru   68
 
#define REG_RD_ADDR_intr_vect_rw_ipi   72
 
#define REG_WR_ADDR_intr_vect_rw_ipi   72
 

Enumerations

enum  {
  regk_intr_vect_no = 0x00000000, regk_intr_vect_rw_mask0_default = 0x00000000, regk_intr_vect_rw_mask1_default = 0x00000000, regk_intr_vect_rw_xmask0_default = 0x00000000,
  regk_intr_vect_rw_xmask1_default = 0x00000000, regk_intr_vect_rw_xmask_ctrl_default = 0x00000000, regk_intr_vect_yes = 0x00000001
}
 

Macro Definition Documentation

#define REG_ADDR (   scope,
  inst,
  reg 
)    ( (inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 72 of file intr_vect_defs.h.

#define REG_ADDR_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
( (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 77 of file intr_vect_defs.h.

#define reg_intr_vect_r_masked_vect   reg_intr_masked_vect_r_vect0

Definition at line 203 of file intr_vect_defs.h.

Definition at line 163 of file intr_vect_defs.h.

Definition at line 121 of file intr_vect_defs.h.

#define reg_intr_vect_rw_xmask   reg_intr_vect_rw_xmask0

Definition at line 243 of file intr_vect_defs.h.

#define reg_page_size   8192

Definition at line 68 of file intr_vect_defs.h.

#define REG_RD (   scope,
  inst,
  reg 
)
Value:
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 15 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_guru   68

Definition at line 320 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_masked_vect   16

Definition at line 205 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_masked_vect0   16

Definition at line 204 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_masked_vect1   20

Definition at line 284 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_nmi   64

Definition at line 313 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_vect   8

Definition at line 164 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_vect0   8

Definition at line 165 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_r_vect1   12

Definition at line 272 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_ipi   72

Definition at line 328 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_mask   0

Definition at line 122 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_mask0   0

Definition at line 124 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_mask1   4

Definition at line 259 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_xmask   24

Definition at line 246 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_xmask0   24

Definition at line 244 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_xmask1   28

Definition at line 296 of file intr_vect_defs.h.

#define REG_RD_ADDR_intr_vect_rw_xmask_ctrl   32

Definition at line 304 of file intr_vect_defs.h.

#define REG_RD_INT (   scope,
  inst,
  reg 
)    REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 41 of file intr_vect_defs.h.

#define REG_RD_INT_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 51 of file intr_vect_defs.h.

#define REG_RD_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 27 of file intr_vect_defs.h.

#define REG_TYPE_CONV (   type,
  orgtype,
  val 
)    ( { union { orgtype o; type n; } r; r.o = val; r.n; } )

Definition at line 63 of file intr_vect_defs.h.

#define REG_WR (   scope,
  inst,
  reg,
  val 
)
Value:
REG_WRITE( reg_##scope##_##reg, \
(inst) + REG_WR_ADDR_##scope##_##reg, (val) )

Definition at line 21 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_ipi   72

Definition at line 329 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_mask   0

Definition at line 123 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_mask0   0

Definition at line 125 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_mask1   4

Definition at line 260 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_xmask   24

Definition at line 247 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_xmask0   24

Definition at line 245 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_xmask1   28

Definition at line 297 of file intr_vect_defs.h.

#define REG_WR_ADDR_intr_vect_rw_xmask_ctrl   32

Definition at line 305 of file intr_vect_defs.h.

#define REG_WR_INT (   scope,
  inst,
  reg,
  val 
)    REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )

Definition at line 46 of file intr_vect_defs.h.

#define REG_WR_INT_VECT (   scope,
  inst,
  reg,
  index,
  val 
)
Value:
REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg, (val) )

Definition at line 57 of file intr_vect_defs.h.

#define REG_WR_VECT (   scope,
  inst,
  reg,
  index,
  val 
)
Value:
REG_WRITE( reg_##scope##_##reg, \
(inst) + REG_WR_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg, (val) )

Definition at line 34 of file intr_vect_defs.h.

#define STRIDE_intr_vect_r_masked_vect   4

Definition at line 167 of file intr_vect_defs.h.

#define STRIDE_intr_vect_r_vect   4

Definition at line 127 of file intr_vect_defs.h.

#define STRIDE_intr_vect_rw_mask   4

Definition at line 85 of file intr_vect_defs.h.

#define STRIDE_intr_vect_rw_xmask   4

Definition at line 207 of file intr_vect_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_intr_vect_no 
regk_intr_vect_rw_mask0_default 
regk_intr_vect_rw_mask1_default 
regk_intr_vect_rw_xmask0_default 
regk_intr_vect_rw_xmask1_default 
regk_intr_vect_rw_xmask_ctrl_default 
regk_intr_vect_yes 

Definition at line 332 of file intr_vect_defs.h.