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

Go to the source code of this file.

Data Structures

struct  reg_iop_scrc_in_rw_cfg
 
struct  reg_iop_scrc_in_rw_ctrl
 
struct  reg_iop_scrc_in_r_stat
 
struct  reg_iop_scrc_in_rw_wr1bit
 

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_iop_scrc_in_rw_cfg   0
 
#define REG_WR_ADDR_iop_scrc_in_rw_cfg   0
 
#define REG_RD_ADDR_iop_scrc_in_rw_ctrl   4
 
#define REG_WR_ADDR_iop_scrc_in_rw_ctrl   4
 
#define REG_RD_ADDR_iop_scrc_in_r_stat   8
 
#define REG_RD_ADDR_iop_scrc_in_rw_init_crc   12
 
#define REG_WR_ADDR_iop_scrc_in_rw_init_crc   12
 
#define REG_RD_ADDR_iop_scrc_in_rs_computed_crc   16
 
#define REG_RD_ADDR_iop_scrc_in_r_computed_crc   20
 
#define REG_RD_ADDR_iop_scrc_in_rw_crc   24
 
#define REG_WR_ADDR_iop_scrc_in_rw_crc   24
 
#define REG_RD_ADDR_iop_scrc_in_rw_correct_crc   28
 
#define REG_WR_ADDR_iop_scrc_in_rw_correct_crc   28
 
#define REG_RD_ADDR_iop_scrc_in_rw_wr1bit   32
 
#define REG_WR_ADDR_iop_scrc_in_rw_wr1bit   32
 

Typedefs

typedef unsigned int reg_iop_scrc_in_rw_init_crc
 
typedef unsigned int reg_iop_scrc_in_rs_computed_crc
 
typedef unsigned int reg_iop_scrc_in_r_computed_crc
 
typedef unsigned int reg_iop_scrc_in_rw_crc
 
typedef unsigned int reg_iop_scrc_in_rw_correct_crc
 

Enumerations

enum  {
  regk_iop_scrc_in_dif_in = 0x00000002, regk_iop_scrc_in_hi = 0x00000000, regk_iop_scrc_in_neg = 0x00000002, regk_iop_scrc_in_no = 0x00000000,
  regk_iop_scrc_in_pos = 0x00000001, regk_iop_scrc_in_pos_neg = 0x00000003, regk_iop_scrc_in_r_computed_crc_default = 0x00000000, regk_iop_scrc_in_rs_computed_crc_default = 0x00000000,
  regk_iop_scrc_in_rw_cfg_default = 0x00000000, regk_iop_scrc_in_rw_ctrl_default = 0x00000000, regk_iop_scrc_in_rw_init_crc_default = 0x00000000, regk_iop_scrc_in_set0 = 0x00000000,
  regk_iop_scrc_in_set1 = 0x00000001, regk_iop_scrc_in_yes = 0x00000001
}
 

Macro Definition Documentation

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

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

#define reg_page_size   8192

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

#define REG_RD_ADDR_iop_scrc_in_r_computed_crc   20

Definition at line 121 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_r_stat   8

Definition at line 108 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rs_computed_crc   16

Definition at line 117 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rw_cfg   0

Definition at line 92 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rw_correct_crc   28

Definition at line 130 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rw_crc   24

Definition at line 125 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rw_ctrl   4

Definition at line 100 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rw_init_crc   12

Definition at line 112 of file iop_scrc_in_defs.h.

#define REG_RD_ADDR_iop_scrc_in_rw_wr1bit   32

Definition at line 139 of file iop_scrc_in_defs.h.

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

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

#define REG_WR_ADDR_iop_scrc_in_rw_cfg   0

Definition at line 93 of file iop_scrc_in_defs.h.

#define REG_WR_ADDR_iop_scrc_in_rw_correct_crc   28

Definition at line 131 of file iop_scrc_in_defs.h.

#define REG_WR_ADDR_iop_scrc_in_rw_crc   24

Definition at line 126 of file iop_scrc_in_defs.h.

#define REG_WR_ADDR_iop_scrc_in_rw_ctrl   4

Definition at line 101 of file iop_scrc_in_defs.h.

#define REG_WR_ADDR_iop_scrc_in_rw_init_crc   12

Definition at line 113 of file iop_scrc_in_defs.h.

#define REG_WR_ADDR_iop_scrc_in_rw_wr1bit   32

Definition at line 140 of file iop_scrc_in_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 iop_scrc_in_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 iop_scrc_in_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 iop_scrc_in_defs.h.

Typedef Documentation

Definition at line 120 of file iop_scrc_in_defs.h.

Definition at line 116 of file iop_scrc_in_defs.h.

Definition at line 129 of file iop_scrc_in_defs.h.

typedef unsigned int reg_iop_scrc_in_rw_crc

Definition at line 124 of file iop_scrc_in_defs.h.

typedef unsigned int reg_iop_scrc_in_rw_init_crc

Definition at line 111 of file iop_scrc_in_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_iop_scrc_in_dif_in 
regk_iop_scrc_in_hi 
regk_iop_scrc_in_neg 
regk_iop_scrc_in_no 
regk_iop_scrc_in_pos 
regk_iop_scrc_in_pos_neg 
regk_iop_scrc_in_r_computed_crc_default 
regk_iop_scrc_in_rs_computed_crc_default 
regk_iop_scrc_in_rw_cfg_default 
regk_iop_scrc_in_rw_ctrl_default 
regk_iop_scrc_in_rw_init_crc_default 
regk_iop_scrc_in_set0 
regk_iop_scrc_in_set1 
regk_iop_scrc_in_yes 

Definition at line 144 of file iop_scrc_in_defs.h.