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

Go to the source code of this file.

Data Structures

struct  reg_iop_dmc_out_rw_cfg
 
struct  reg_iop_dmc_out_rw_ctrl
 
struct  reg_iop_dmc_out_r_stat
 
struct  reg_iop_dmc_out_rw_stream_cmd
 
struct  reg_iop_dmc_out_r_stream_stat
 
struct  reg_iop_dmc_out_r_data_descr
 
struct  reg_iop_dmc_out_r_ctxt_descr
 
struct  reg_iop_dmc_out_r_group_descr
 
struct  reg_iop_dmc_out_rw_data_descr
 
struct  reg_iop_dmc_out_rw_ctxt_descr
 
struct  reg_iop_dmc_out_rw_group_descr
 
struct  reg_iop_dmc_out_rw_intr_mask
 
struct  reg_iop_dmc_out_rw_ack_intr
 
struct  reg_iop_dmc_out_r_intr
 
struct  reg_iop_dmc_out_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_iop_dmc_out_rw_cfg   0
 
#define REG_WR_ADDR_iop_dmc_out_rw_cfg   0
 
#define REG_RD_ADDR_iop_dmc_out_rw_ctrl   4
 
#define REG_WR_ADDR_iop_dmc_out_rw_ctrl   4
 
#define REG_RD_ADDR_iop_dmc_out_r_stat   8
 
#define REG_RD_ADDR_iop_dmc_out_rw_stream_cmd   12
 
#define REG_WR_ADDR_iop_dmc_out_rw_stream_cmd   12
 
#define REG_RD_ADDR_iop_dmc_out_rs_stream_data   16
 
#define REG_RD_ADDR_iop_dmc_out_r_stream_data   20
 
#define REG_RD_ADDR_iop_dmc_out_r_stream_stat   24
 
#define REG_RD_ADDR_iop_dmc_out_r_data_descr   28
 
#define REG_RD_ADDR_iop_dmc_out_r_ctxt_descr   32
 
#define REG_RD_ADDR_iop_dmc_out_r_ctxt_descr_md1   36
 
#define REG_RD_ADDR_iop_dmc_out_r_ctxt_descr_md2   40
 
#define REG_RD_ADDR_iop_dmc_out_r_group_descr   52
 
#define REG_RD_ADDR_iop_dmc_out_rw_data_descr   56
 
#define REG_WR_ADDR_iop_dmc_out_rw_data_descr   56
 
#define REG_RD_ADDR_iop_dmc_out_rw_ctxt_descr   60
 
#define REG_WR_ADDR_iop_dmc_out_rw_ctxt_descr   60
 
#define REG_RD_ADDR_iop_dmc_out_rw_ctxt_descr_md1   64
 
#define REG_WR_ADDR_iop_dmc_out_rw_ctxt_descr_md1   64
 
#define REG_RD_ADDR_iop_dmc_out_rw_ctxt_descr_md2   68
 
#define REG_WR_ADDR_iop_dmc_out_rw_ctxt_descr_md2   68
 
#define REG_RD_ADDR_iop_dmc_out_rw_group_descr   80
 
#define REG_WR_ADDR_iop_dmc_out_rw_group_descr   80
 
#define REG_RD_ADDR_iop_dmc_out_rw_intr_mask   84
 
#define REG_WR_ADDR_iop_dmc_out_rw_intr_mask   84
 
#define REG_RD_ADDR_iop_dmc_out_rw_ack_intr   88
 
#define REG_WR_ADDR_iop_dmc_out_rw_ack_intr   88
 
#define REG_RD_ADDR_iop_dmc_out_r_intr   92
 
#define REG_RD_ADDR_iop_dmc_out_r_masked_intr   96
 

Typedefs

typedef unsigned int reg_iop_dmc_out_rs_stream_data
 
typedef unsigned int reg_iop_dmc_out_r_stream_data
 
typedef unsigned int reg_iop_dmc_out_r_ctxt_descr_md1
 
typedef unsigned int reg_iop_dmc_out_r_ctxt_descr_md2
 
typedef unsigned int reg_iop_dmc_out_rw_ctxt_descr_md1
 
typedef unsigned int reg_iop_dmc_out_rw_ctxt_descr_md2
 

Enumerations

enum  {
  regk_iop_dmc_out_ack_pkt = 0x00000100, regk_iop_dmc_out_array = 0x00000008, regk_iop_dmc_out_burst = 0x00000020, regk_iop_dmc_out_copy_next = 0x00000010,
  regk_iop_dmc_out_copy_up = 0x00000020, regk_iop_dmc_out_dis_c = 0x00000010, regk_iop_dmc_out_dis_g = 0x00000020, regk_iop_dmc_out_lim1 = 0x00000000,
  regk_iop_dmc_out_lim16 = 0x00000004, regk_iop_dmc_out_lim2 = 0x00000001, regk_iop_dmc_out_lim32 = 0x00000005, regk_iop_dmc_out_lim4 = 0x00000002,
  regk_iop_dmc_out_lim64 = 0x00000006, regk_iop_dmc_out_lim8 = 0x00000003, regk_iop_dmc_out_load_c = 0x00000200, regk_iop_dmc_out_load_c_n = 0x00000280,
  regk_iop_dmc_out_load_c_next = 0x00000240, regk_iop_dmc_out_load_d = 0x00000140, regk_iop_dmc_out_load_g = 0x00000300, regk_iop_dmc_out_load_g_down = 0x000003c0,
  regk_iop_dmc_out_load_g_next = 0x00000340, regk_iop_dmc_out_load_g_up = 0x00000380, regk_iop_dmc_out_next_en = 0x00000010, regk_iop_dmc_out_next_pkt = 0x00000010,
  regk_iop_dmc_out_no = 0x00000000, regk_iop_dmc_out_restore = 0x00000020, regk_iop_dmc_out_rw_cfg_default = 0x00000000, regk_iop_dmc_out_rw_ctxt_descr_default = 0x00000000,
  regk_iop_dmc_out_rw_ctxt_descr_md1_default = 0x00000000, regk_iop_dmc_out_rw_ctxt_descr_md2_default = 0x00000000, regk_iop_dmc_out_rw_data_descr_default = 0x00000000, regk_iop_dmc_out_rw_group_descr_default = 0x00000000,
  regk_iop_dmc_out_rw_intr_mask_default = 0x00000000, regk_iop_dmc_out_save_down = 0x00000020, regk_iop_dmc_out_save_up = 0x00000020, regk_iop_dmc_out_set_reg = 0x00000050,
  regk_iop_dmc_out_set_w_size1 = 0x00000190, regk_iop_dmc_out_set_w_size2 = 0x000001a0, regk_iop_dmc_out_set_w_size4 = 0x000001c0, regk_iop_dmc_out_store_c = 0x00000002,
  regk_iop_dmc_out_store_descr = 0x00000000, regk_iop_dmc_out_store_g = 0x00000004, regk_iop_dmc_out_store_md = 0x00000001, regk_iop_dmc_out_update_down = 0x00000020,
  regk_iop_dmc_out_yes = 0x00000001
}
 

Macro Definition Documentation

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

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

#define reg_page_size   8192

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

#define REG_RD_ADDR_iop_dmc_out_r_ctxt_descr   32

Definition at line 163 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_ctxt_descr_md1   36

Definition at line 167 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_ctxt_descr_md2   40

Definition at line 171 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_data_descr   28

Definition at line 155 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_group_descr   52

Definition at line 179 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_intr   92

Definition at line 260 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_masked_intr   96

Definition at line 275 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_stat   8

Definition at line 111 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_stream_data   20

Definition at line 129 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_r_stream_stat   24

Definition at line 147 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rs_stream_data   16

Definition at line 125 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_ack_intr   88

Definition at line 244 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_cfg   0

Definition at line 94 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_ctrl   4

Definition at line 103 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_ctxt_descr   60

Definition at line 194 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_ctxt_descr_md1   64

Definition at line 199 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_ctxt_descr_md2   68

Definition at line 204 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_data_descr   56

Definition at line 186 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_group_descr   80

Definition at line 212 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_intr_mask   84

Definition at line 228 of file iop_dmc_out_defs.h.

#define REG_RD_ADDR_iop_dmc_out_rw_stream_cmd   12

Definition at line 120 of file iop_dmc_out_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_dmc_out_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_dmc_out_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_dmc_out_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_dmc_out_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_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_ack_intr   88

Definition at line 245 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_cfg   0

Definition at line 95 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_ctrl   4

Definition at line 104 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_ctxt_descr   60

Definition at line 195 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_ctxt_descr_md1   64

Definition at line 200 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_ctxt_descr_md2   68

Definition at line 205 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_data_descr   56

Definition at line 187 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_group_descr   80

Definition at line 213 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_intr_mask   84

Definition at line 229 of file iop_dmc_out_defs.h.

#define REG_WR_ADDR_iop_dmc_out_rw_stream_cmd   12

Definition at line 121 of file iop_dmc_out_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_dmc_out_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_dmc_out_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_dmc_out_defs.h.

Typedef Documentation

Definition at line 166 of file iop_dmc_out_defs.h.

Definition at line 170 of file iop_dmc_out_defs.h.

Definition at line 128 of file iop_dmc_out_defs.h.

Definition at line 124 of file iop_dmc_out_defs.h.

Definition at line 198 of file iop_dmc_out_defs.h.

Definition at line 203 of file iop_dmc_out_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_iop_dmc_out_ack_pkt 
regk_iop_dmc_out_array 
regk_iop_dmc_out_burst 
regk_iop_dmc_out_copy_next 
regk_iop_dmc_out_copy_up 
regk_iop_dmc_out_dis_c 
regk_iop_dmc_out_dis_g 
regk_iop_dmc_out_lim1 
regk_iop_dmc_out_lim16 
regk_iop_dmc_out_lim2 
regk_iop_dmc_out_lim32 
regk_iop_dmc_out_lim4 
regk_iop_dmc_out_lim64 
regk_iop_dmc_out_lim8 
regk_iop_dmc_out_load_c 
regk_iop_dmc_out_load_c_n 
regk_iop_dmc_out_load_c_next 
regk_iop_dmc_out_load_d 
regk_iop_dmc_out_load_g 
regk_iop_dmc_out_load_g_down 
regk_iop_dmc_out_load_g_next 
regk_iop_dmc_out_load_g_up 
regk_iop_dmc_out_next_en 
regk_iop_dmc_out_next_pkt 
regk_iop_dmc_out_no 
regk_iop_dmc_out_restore 
regk_iop_dmc_out_rw_cfg_default 
regk_iop_dmc_out_rw_ctxt_descr_default 
regk_iop_dmc_out_rw_ctxt_descr_md1_default 
regk_iop_dmc_out_rw_ctxt_descr_md2_default 
regk_iop_dmc_out_rw_data_descr_default 
regk_iop_dmc_out_rw_group_descr_default 
regk_iop_dmc_out_rw_intr_mask_default 
regk_iop_dmc_out_save_down 
regk_iop_dmc_out_save_up 
regk_iop_dmc_out_set_reg 
regk_iop_dmc_out_set_w_size1 
regk_iop_dmc_out_set_w_size2 
regk_iop_dmc_out_set_w_size4 
regk_iop_dmc_out_store_c 
regk_iop_dmc_out_store_descr 
regk_iop_dmc_out_store_g 
regk_iop_dmc_out_store_md 
regk_iop_dmc_out_update_down 
regk_iop_dmc_out_yes 

Definition at line 279 of file iop_dmc_out_defs.h.