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

Go to the source code of this file.

Data Structures

struct  reg_iop_timer_grp_rw_cfg
 
struct  reg_iop_timer_grp_rw_half_period
 
struct  reg_iop_timer_grp_rw_tmr_cfg
 
struct  reg_iop_timer_grp_rw_tmr_len
 
struct  reg_iop_timer_grp_rw_cmd
 
struct  reg_iop_timer_grp_rs_tmr_cnt
 
struct  reg_iop_timer_grp_r_tmr_cnt
 
struct  reg_iop_timer_grp_rw_intr_mask
 
struct  reg_iop_timer_grp_rw_ack_intr
 
struct  reg_iop_timer_grp_r_intr
 
struct  reg_iop_timer_grp_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_timer_grp_rw_cfg   0
 
#define REG_WR_ADDR_iop_timer_grp_rw_cfg   0
 
#define REG_RD_ADDR_iop_timer_grp_rw_half_period   4
 
#define REG_WR_ADDR_iop_timer_grp_rw_half_period   4
 
#define REG_RD_ADDR_iop_timer_grp_rw_half_period_len   8
 
#define REG_WR_ADDR_iop_timer_grp_rw_half_period_len   8
 
#define STRIDE_iop_timer_grp_rw_tmr_cfg   4
 
#define REG_RD_ADDR_iop_timer_grp_rw_tmr_cfg   12
 
#define REG_WR_ADDR_iop_timer_grp_rw_tmr_cfg   12
 
#define STRIDE_iop_timer_grp_rw_tmr_len   4
 
#define REG_RD_ADDR_iop_timer_grp_rw_tmr_len   44
 
#define REG_WR_ADDR_iop_timer_grp_rw_tmr_len   44
 
#define REG_RD_ADDR_iop_timer_grp_rw_cmd   60
 
#define REG_WR_ADDR_iop_timer_grp_rw_cmd   60
 
#define REG_RD_ADDR_iop_timer_grp_r_clk_gen_cnt   64
 
#define STRIDE_iop_timer_grp_rs_tmr_cnt   8
 
#define REG_RD_ADDR_iop_timer_grp_rs_tmr_cnt   68
 
#define STRIDE_iop_timer_grp_r_tmr_cnt   8
 
#define REG_RD_ADDR_iop_timer_grp_r_tmr_cnt   72
 
#define REG_RD_ADDR_iop_timer_grp_rw_intr_mask   100
 
#define REG_WR_ADDR_iop_timer_grp_rw_intr_mask   100
 
#define REG_RD_ADDR_iop_timer_grp_rw_ack_intr   104
 
#define REG_WR_ADDR_iop_timer_grp_rw_ack_intr   104
 
#define REG_RD_ADDR_iop_timer_grp_r_intr   108
 
#define REG_RD_ADDR_iop_timer_grp_r_masked_intr   112
 

Typedefs

typedef unsigned int reg_iop_timer_grp_rw_half_period_len
 
typedef unsigned int reg_iop_timer_grp_r_clk_gen_cnt
 

Enumerations

enum  {
  regk_iop_timer_grp_clk200 = 0x00000000, regk_iop_timer_grp_clk_gen = 0x00000002, regk_iop_timer_grp_complete = 0x00000002, regk_iop_timer_grp_div_clk200 = 0x00000001,
  regk_iop_timer_grp_div_clk_gen = 0x00000003, regk_iop_timer_grp_ext = 0x00000001, regk_iop_timer_grp_hi = 0x00000000, regk_iop_timer_grp_long_period = 0x00000001,
  regk_iop_timer_grp_neg = 0x00000002, regk_iop_timer_grp_no = 0x00000000, regk_iop_timer_grp_once = 0x00000003, regk_iop_timer_grp_pause = 0x00000001,
  regk_iop_timer_grp_pos = 0x00000001, regk_iop_timer_grp_pos_neg = 0x00000003, regk_iop_timer_grp_pulse = 0x00000000, regk_iop_timer_grp_r_tmr_cnt_size = 0x00000004,
  regk_iop_timer_grp_rs_tmr_cnt_size = 0x00000004, regk_iop_timer_grp_rw_cfg_default = 0x00000002, regk_iop_timer_grp_rw_intr_mask_default = 0x00000000, regk_iop_timer_grp_rw_tmr_cfg_default0 = 0x00018000,
  regk_iop_timer_grp_rw_tmr_cfg_default1 = 0x0001a900, regk_iop_timer_grp_rw_tmr_cfg_default2 = 0x0001d200, regk_iop_timer_grp_rw_tmr_cfg_default3 = 0x0001fb00, regk_iop_timer_grp_rw_tmr_cfg_size = 0x00000004,
  regk_iop_timer_grp_rw_tmr_len_default = 0x00000000, regk_iop_timer_grp_rw_tmr_len_size = 0x00000004, regk_iop_timer_grp_short_period = 0x00000000, regk_iop_timer_grp_stop = 0x00000000,
  regk_iop_timer_grp_tmr = 0x00000004, regk_iop_timer_grp_toggle = 0x00000001, regk_iop_timer_grp_yes = 0x00000001
}
 

Macro Definition Documentation

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

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

#define reg_page_size   8192

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

#define REG_RD_ADDR_iop_timer_grp_r_clk_gen_cnt   64

Definition at line 154 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_r_intr   108

Definition at line 202 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_r_masked_intr   112

Definition at line 212 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_r_tmr_cnt   72

Definition at line 170 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rs_tmr_cnt   68

Definition at line 162 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_ack_intr   104

Definition at line 191 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_cfg   0

Definition at line 95 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_cmd   60

Definition at line 149 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_half_period   4

Definition at line 105 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_half_period_len   8

Definition at line 110 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_intr_mask   100

Definition at line 180 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_tmr_cfg   12

Definition at line 129 of file iop_timer_grp_defs.h.

#define REG_RD_ADDR_iop_timer_grp_rw_tmr_len   44

Definition at line 138 of file iop_timer_grp_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_timer_grp_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_timer_grp_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_timer_grp_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_timer_grp_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_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_ack_intr   104

Definition at line 192 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_cfg   0

Definition at line 96 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_cmd   60

Definition at line 150 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_half_period   4

Definition at line 106 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_half_period_len   8

Definition at line 111 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_intr_mask   100

Definition at line 181 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_tmr_cfg   12

Definition at line 130 of file iop_timer_grp_defs.h.

#define REG_WR_ADDR_iop_timer_grp_rw_tmr_len   44

Definition at line 139 of file iop_timer_grp_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_timer_grp_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_timer_grp_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_timer_grp_defs.h.

#define STRIDE_iop_timer_grp_r_tmr_cnt   8

Definition at line 164 of file iop_timer_grp_defs.h.

#define STRIDE_iop_timer_grp_rs_tmr_cnt   8

Definition at line 156 of file iop_timer_grp_defs.h.

#define STRIDE_iop_timer_grp_rw_tmr_cfg   4

Definition at line 113 of file iop_timer_grp_defs.h.

#define STRIDE_iop_timer_grp_rw_tmr_len   4

Definition at line 132 of file iop_timer_grp_defs.h.

Typedef Documentation

Definition at line 153 of file iop_timer_grp_defs.h.

Definition at line 109 of file iop_timer_grp_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_iop_timer_grp_clk200 
regk_iop_timer_grp_clk_gen 
regk_iop_timer_grp_complete 
regk_iop_timer_grp_div_clk200 
regk_iop_timer_grp_div_clk_gen 
regk_iop_timer_grp_ext 
regk_iop_timer_grp_hi 
regk_iop_timer_grp_long_period 
regk_iop_timer_grp_neg 
regk_iop_timer_grp_no 
regk_iop_timer_grp_once 
regk_iop_timer_grp_pause 
regk_iop_timer_grp_pos 
regk_iop_timer_grp_pos_neg 
regk_iop_timer_grp_pulse 
regk_iop_timer_grp_r_tmr_cnt_size 
regk_iop_timer_grp_rs_tmr_cnt_size 
regk_iop_timer_grp_rw_cfg_default 
regk_iop_timer_grp_rw_intr_mask_default 
regk_iop_timer_grp_rw_tmr_cfg_default0 
regk_iop_timer_grp_rw_tmr_cfg_default1 
regk_iop_timer_grp_rw_tmr_cfg_default2 
regk_iop_timer_grp_rw_tmr_cfg_default3 
regk_iop_timer_grp_rw_tmr_cfg_size 
regk_iop_timer_grp_rw_tmr_len_default 
regk_iop_timer_grp_rw_tmr_len_size 
regk_iop_timer_grp_short_period 
regk_iop_timer_grp_stop 
regk_iop_timer_grp_tmr 
regk_iop_timer_grp_toggle 
regk_iop_timer_grp_yes 

Definition at line 216 of file iop_timer_grp_defs.h.