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

Go to the source code of this file.

Data Structures

struct  reg_marb_rw_int_slots
 
struct  reg_marb_rw_ext_slots
 
struct  reg_marb_rw_regs_slots
 
struct  reg_marb_rw_intr_mask
 
struct  reg_marb_rw_ack_intr
 
struct  reg_marb_r_intr
 
struct  reg_marb_r_masked_intr
 
struct  reg_marb_rw_stop_mask
 
struct  reg_marb_r_stopped
 
struct  reg_marb_rw_no_snoop
 
struct  reg_marb_rw_no_snoop_rq
 
struct  reg_marb_bp_rw_op
 
struct  reg_marb_bp_rw_clients
 
struct  reg_marb_bp_rw_options
 
struct  reg_marb_bp_r_brk_op
 
struct  reg_marb_bp_r_brk_clients
 
struct  reg_marb_bp_r_brk_first_client
 

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_marb_rw_int_slots   4
 
#define REG_RD_ADDR_marb_rw_int_slots   0
 
#define REG_WR_ADDR_marb_rw_int_slots   0
 
#define STRIDE_marb_rw_ext_slots   4
 
#define REG_RD_ADDR_marb_rw_ext_slots   256
 
#define REG_WR_ADDR_marb_rw_ext_slots   256
 
#define STRIDE_marb_rw_regs_slots   4
 
#define REG_RD_ADDR_marb_rw_regs_slots   512
 
#define REG_WR_ADDR_marb_rw_regs_slots   512
 
#define REG_RD_ADDR_marb_rw_intr_mask   528
 
#define REG_WR_ADDR_marb_rw_intr_mask   528
 
#define REG_RD_ADDR_marb_rw_ack_intr   532
 
#define REG_WR_ADDR_marb_rw_ack_intr   532
 
#define REG_RD_ADDR_marb_r_intr   536
 
#define REG_RD_ADDR_marb_r_masked_intr   540
 
#define REG_RD_ADDR_marb_rw_stop_mask   544
 
#define REG_WR_ADDR_marb_rw_stop_mask   544
 
#define REG_RD_ADDR_marb_r_stopped   548
 
#define REG_RD_ADDR_marb_rw_no_snoop   832
 
#define REG_WR_ADDR_marb_rw_no_snoop   832
 
#define REG_RD_ADDR_marb_rw_no_snoop_rq   836
 
#define REG_WR_ADDR_marb_rw_no_snoop_rq   836
 
#define __marb_bp_defs_h
 
#define REG_RD_ADDR_marb_bp_rw_first_addr   0
 
#define REG_WR_ADDR_marb_bp_rw_first_addr   0
 
#define REG_RD_ADDR_marb_bp_rw_last_addr   4
 
#define REG_WR_ADDR_marb_bp_rw_last_addr   4
 
#define REG_RD_ADDR_marb_bp_rw_op   8
 
#define REG_WR_ADDR_marb_bp_rw_op   8
 
#define REG_RD_ADDR_marb_bp_rw_clients   12
 
#define REG_WR_ADDR_marb_bp_rw_clients   12
 
#define REG_RD_ADDR_marb_bp_rw_options   16
 
#define REG_WR_ADDR_marb_bp_rw_options   16
 
#define REG_RD_ADDR_marb_bp_r_brk_addr   20
 
#define REG_RD_ADDR_marb_bp_r_brk_op   24
 
#define REG_RD_ADDR_marb_bp_r_brk_clients   28
 
#define REG_RD_ADDR_marb_bp_r_brk_first_client   32
 
#define REG_RD_ADDR_marb_bp_r_brk_size   36
 
#define REG_RD_ADDR_marb_bp_rw_ack   40
 
#define REG_WR_ADDR_marb_bp_rw_ack   40
 

Typedefs

typedef unsigned int reg_marb_bp_rw_first_addr
 
typedef unsigned int reg_marb_bp_rw_last_addr
 
typedef unsigned int reg_marb_bp_r_brk_addr
 
typedef unsigned int reg_marb_bp_r_brk_size
 
typedef unsigned int reg_marb_bp_rw_ack
 

Enumerations

enum  {
  regk_marb_cpud = 0x0000000b, regk_marb_cpui = 0x0000000a, regk_marb_dma0 = 0x00000000, regk_marb_dma1 = 0x00000001,
  regk_marb_dma2 = 0x00000002, regk_marb_dma3 = 0x00000003, regk_marb_dma4 = 0x00000004, regk_marb_dma5 = 0x00000005,
  regk_marb_dma6 = 0x00000006, regk_marb_dma7 = 0x00000007, regk_marb_dma8 = 0x00000008, regk_marb_dma9 = 0x00000009,
  regk_marb_iop = 0x0000000c, regk_marb_no = 0x00000000, regk_marb_r_stopped_default = 0x00000000, regk_marb_rw_ext_slots_default = 0x00000000,
  regk_marb_rw_ext_slots_size = 0x00000040, regk_marb_rw_int_slots_default = 0x00000000, regk_marb_rw_int_slots_size = 0x00000040, regk_marb_rw_intr_mask_default = 0x00000000,
  regk_marb_rw_no_snoop_default = 0x00000000, regk_marb_rw_no_snoop_rq_default = 0x00000000, regk_marb_rw_regs_slots_default = 0x00000000, regk_marb_rw_regs_slots_size = 0x00000004,
  regk_marb_rw_stop_mask_default = 0x00000000, regk_marb_slave = 0x0000000d, regk_marb_yes = 0x00000001
}
 
enum  { regk_marb_bp_no = 0x00000000, regk_marb_bp_rw_op_default = 0x00000000, regk_marb_bp_rw_options_default = 0x00000000, regk_marb_bp_yes = 0x00000001 }
 

Macro Definition Documentation

#define __marb_bp_defs_h

Definition at line 261 of file marb_defs.h.

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

Definition at line 75 of file marb_defs.h.

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

Definition at line 80 of file marb_defs.h.

#define reg_page_size   8192

Definition at line 71 of file marb_defs.h.

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

Definition at line 18 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_r_brk_addr   20

Definition at line 402 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_r_brk_clients   28

Definition at line 436 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_r_brk_first_client   32

Definition at line 456 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_r_brk_op   24

Definition at line 416 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_r_brk_size   36

Definition at line 460 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_rw_ack   40

Definition at line 464 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_rw_clients   12

Definition at line 389 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_rw_first_addr   0

Definition at line 348 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_rw_last_addr   4

Definition at line 353 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_rw_op   8

Definition at line 368 of file marb_defs.h.

#define REG_RD_ADDR_marb_bp_rw_options   16

Definition at line 397 of file marb_defs.h.

#define REG_RD_ADDR_marb_r_intr   536

Definition at line 144 of file marb_defs.h.

#define REG_RD_ADDR_marb_r_masked_intr   540

Definition at line 154 of file marb_defs.h.

#define REG_RD_ADDR_marb_r_stopped   548

Definition at line 195 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_ack_intr   532

Definition at line 133 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_ext_slots   256

Definition at line 102 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_int_slots   0

Definition at line 93 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_intr_mask   528

Definition at line 122 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_no_snoop   832

Definition at line 215 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_no_snoop_rq   836

Definition at line 225 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_regs_slots   512

Definition at line 111 of file marb_defs.h.

#define REG_RD_ADDR_marb_rw_stop_mask   544

Definition at line 174 of file marb_defs.h.

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

Definition at line 44 of file marb_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 54 of file marb_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 30 of file marb_defs.h.

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

Definition at line 66 of file marb_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 24 of file marb_defs.h.

#define REG_WR_ADDR_marb_bp_rw_ack   40

Definition at line 465 of file marb_defs.h.

#define REG_WR_ADDR_marb_bp_rw_clients   12

Definition at line 390 of file marb_defs.h.

#define REG_WR_ADDR_marb_bp_rw_first_addr   0

Definition at line 349 of file marb_defs.h.

#define REG_WR_ADDR_marb_bp_rw_last_addr   4

Definition at line 354 of file marb_defs.h.

#define REG_WR_ADDR_marb_bp_rw_op   8

Definition at line 369 of file marb_defs.h.

#define REG_WR_ADDR_marb_bp_rw_options   16

Definition at line 398 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_ack_intr   532

Definition at line 134 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_ext_slots   256

Definition at line 103 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_int_slots   0

Definition at line 94 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_intr_mask   528

Definition at line 123 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_no_snoop   832

Definition at line 216 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_no_snoop_rq   836

Definition at line 226 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_regs_slots   512

Definition at line 112 of file marb_defs.h.

#define REG_WR_ADDR_marb_rw_stop_mask   544

Definition at line 175 of file marb_defs.h.

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

Definition at line 49 of file marb_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 60 of file marb_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 37 of file marb_defs.h.

#define STRIDE_marb_rw_ext_slots   4

Definition at line 96 of file marb_defs.h.

#define STRIDE_marb_rw_int_slots   4

Definition at line 87 of file marb_defs.h.

#define STRIDE_marb_rw_regs_slots   4

Definition at line 105 of file marb_defs.h.

Typedef Documentation

typedef unsigned int reg_marb_bp_r_brk_addr

Definition at line 401 of file marb_defs.h.

typedef unsigned int reg_marb_bp_r_brk_size

Definition at line 459 of file marb_defs.h.

typedef unsigned int reg_marb_bp_rw_ack

Definition at line 463 of file marb_defs.h.

typedef unsigned int reg_marb_bp_rw_first_addr

Definition at line 347 of file marb_defs.h.

typedef unsigned int reg_marb_bp_rw_last_addr

Definition at line 352 of file marb_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_marb_cpud 
regk_marb_cpui 
regk_marb_dma0 
regk_marb_dma1 
regk_marb_dma2 
regk_marb_dma3 
regk_marb_dma4 
regk_marb_dma5 
regk_marb_dma6 
regk_marb_dma7 
regk_marb_dma8 
regk_marb_dma9 
regk_marb_iop 
regk_marb_no 
regk_marb_r_stopped_default 
regk_marb_rw_ext_slots_default 
regk_marb_rw_ext_slots_size 
regk_marb_rw_int_slots_default 
regk_marb_rw_int_slots_size 
regk_marb_rw_intr_mask_default 
regk_marb_rw_no_snoop_default 
regk_marb_rw_no_snoop_rq_default 
regk_marb_rw_regs_slots_default 
regk_marb_rw_regs_slots_size 
regk_marb_rw_stop_mask_default 
regk_marb_slave 
regk_marb_yes 

Definition at line 230 of file marb_defs.h.

anonymous enum
Enumerator:
regk_marb_bp_no 
regk_marb_bp_rw_op_default 
regk_marb_bp_rw_options_default 
regk_marb_bp_yes 

Definition at line 469 of file marb_defs.h.