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

Go to the source code of this file.

Data Structures

struct  reg_bif_slave_rw_slave_cfg
 
struct  reg_bif_slave_r_slave_mode
 
struct  reg_bif_slave_rw_ch0_cfg
 
struct  reg_bif_slave_rw_ch1_cfg
 
struct  reg_bif_slave_rw_ch2_cfg
 
struct  reg_bif_slave_rw_ch3_cfg
 
struct  reg_bif_slave_rw_arb_cfg
 
struct  reg_bif_slave_r_arb_stat
 
struct  reg_bif_slave_rw_intr_mask
 
struct  reg_bif_slave_rw_ack_intr
 
struct  reg_bif_slave_r_intr
 
struct  reg_bif_slave_r_masked_intr
 

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 REG_RD_ADDR_bif_slave_rw_slave_cfg   0
 
#define REG_WR_ADDR_bif_slave_rw_slave_cfg   0
 
#define REG_RD_ADDR_bif_slave_r_slave_mode   4
 
#define REG_RD_ADDR_bif_slave_rw_ch0_cfg   16
 
#define REG_WR_ADDR_bif_slave_rw_ch0_cfg   16
 
#define REG_RD_ADDR_bif_slave_rw_ch1_cfg   20
 
#define REG_WR_ADDR_bif_slave_rw_ch1_cfg   20
 
#define REG_RD_ADDR_bif_slave_rw_ch2_cfg   24
 
#define REG_WR_ADDR_bif_slave_rw_ch2_cfg   24
 
#define REG_RD_ADDR_bif_slave_rw_ch3_cfg   28
 
#define REG_WR_ADDR_bif_slave_rw_ch3_cfg   28
 
#define REG_RD_ADDR_bif_slave_rw_arb_cfg   32
 
#define REG_WR_ADDR_bif_slave_rw_arb_cfg   32
 
#define REG_RD_ADDR_bif_slave_r_arb_stat   36
 
#define REG_RD_ADDR_bif_slave_rw_intr_mask   64
 
#define REG_WR_ADDR_bif_slave_rw_intr_mask   64
 
#define REG_RD_ADDR_bif_slave_rw_ack_intr   68
 
#define REG_WR_ADDR_bif_slave_rw_ack_intr   68
 
#define REG_RD_ADDR_bif_slave_r_intr   72
 
#define REG_RD_ADDR_bif_slave_r_masked_intr   76
 

Enumerations

enum  {
  regk_bif_slave_active_hi = 0x00000003, regk_bif_slave_active_lo = 0x00000002, regk_bif_slave_addr = 0x00000000, regk_bif_slave_always = 0x00000001,
  regk_bif_slave_at_idle = 0x00000002, regk_bif_slave_burst_end = 0x00000003, regk_bif_slave_dma = 0x00000001, regk_bif_slave_hi = 0x00000003,
  regk_bif_slave_inv = 0x00000001, regk_bif_slave_lo = 0x00000002, regk_bif_slave_local = 0x00000001, regk_bif_slave_master = 0x00000000,
  regk_bif_slave_mode_reg = 0x00000001, regk_bif_slave_no = 0x00000000, regk_bif_slave_norm = 0x00000000, regk_bif_slave_on_access = 0x00000000,
  regk_bif_slave_rw_arb_cfg_default = 0x00000000, regk_bif_slave_rw_ch0_cfg_default = 0x00000000, regk_bif_slave_rw_ch1_cfg_default = 0x00000000, regk_bif_slave_rw_ch2_cfg_default = 0x00000000,
  regk_bif_slave_rw_ch3_cfg_default = 0x00000000, regk_bif_slave_rw_intr_mask_default = 0x00000000, regk_bif_slave_rw_slave_cfg_default = 0x00000000, regk_bif_slave_shared = 0x00000000,
  regk_bif_slave_slave = 0x00000001, regk_bif_slave_t0ns = 0x00000003, regk_bif_slave_t10ns = 0x00000002, regk_bif_slave_t20ns = 0x00000003,
  regk_bif_slave_t30ns = 0x00000002, regk_bif_slave_t40ns = 0x00000001, regk_bif_slave_t50ns = 0x00000000, regk_bif_slave_yes = 0x00000001,
  regk_bif_slave_z = 0x00000004
}
 

Macro Definition Documentation

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

Definition at line 75 of file bif_slave_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 bif_slave_defs.h.

#define reg_page_size   8192

Definition at line 71 of file bif_slave_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 bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_r_arb_stat   36

Definition at line 176 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_r_intr   72

Definition at line 202 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_r_masked_intr   76

Definition at line 210 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_r_slave_mode   4

Definition at line 107 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_ack_intr   68

Definition at line 193 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_arb_cfg   32

Definition at line 164 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_ch0_cfg   16

Definition at line 117 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_ch1_cfg   20

Definition at line 128 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_ch2_cfg   24

Definition at line 139 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_ch3_cfg   28

Definition at line 150 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_intr_mask   64

Definition at line 184 of file bif_slave_defs.h.

#define REG_RD_ADDR_bif_slave_rw_slave_cfg   0

Definition at line 96 of file bif_slave_defs.h.

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

Definition at line 44 of file bif_slave_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 bif_slave_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 bif_slave_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 bif_slave_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 bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_ack_intr   68

Definition at line 194 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_arb_cfg   32

Definition at line 165 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_ch0_cfg   16

Definition at line 118 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_ch1_cfg   20

Definition at line 129 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_ch2_cfg   24

Definition at line 140 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_ch3_cfg   28

Definition at line 151 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_intr_mask   64

Definition at line 185 of file bif_slave_defs.h.

#define REG_WR_ADDR_bif_slave_rw_slave_cfg   0

Definition at line 97 of file bif_slave_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 bif_slave_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 bif_slave_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 bif_slave_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_bif_slave_active_hi 
regk_bif_slave_active_lo 
regk_bif_slave_addr 
regk_bif_slave_always 
regk_bif_slave_at_idle 
regk_bif_slave_burst_end 
regk_bif_slave_dma 
regk_bif_slave_hi 
regk_bif_slave_inv 
regk_bif_slave_lo 
regk_bif_slave_local 
regk_bif_slave_master 
regk_bif_slave_mode_reg 
regk_bif_slave_no 
regk_bif_slave_norm 
regk_bif_slave_on_access 
regk_bif_slave_rw_arb_cfg_default 
regk_bif_slave_rw_ch0_cfg_default 
regk_bif_slave_rw_ch1_cfg_default 
regk_bif_slave_rw_ch2_cfg_default 
regk_bif_slave_rw_ch3_cfg_default 
regk_bif_slave_rw_intr_mask_default 
regk_bif_slave_rw_slave_cfg_default 
regk_bif_slave_shared 
regk_bif_slave_slave 
regk_bif_slave_t0ns 
regk_bif_slave_t10ns 
regk_bif_slave_t20ns 
regk_bif_slave_t30ns 
regk_bif_slave_t40ns 
regk_bif_slave_t50ns 
regk_bif_slave_yes 
regk_bif_slave_z 

Definition at line 214 of file bif_slave_defs.h.