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

Go to the source code of this file.

Macros

#define REG_FIELD(scope, reg, field, value)   REG_FIELD_X_( value, reg_##scope##_##reg##___##field##___lsb )
 
#define REG_FIELD_X_(value, shift)   ((value) << shift)
 
#define REG_STATE(scope, reg, field, symbolic_value)   REG_STATE_X_( regk_##scope##_##symbolic_value, reg_##scope##_##reg##___##field##___lsb )
 
#define REG_STATE_X_(k, shift)   (k << shift)
 
#define REG_MASK(scope, reg, field)   REG_MASK_X_( reg_##scope##_##reg##___##field##___width, reg_##scope##_##reg##___##field##___lsb )
 
#define REG_MASK_X_(width, lsb)   (((1 << width)-1) << lsb)
 
#define REG_LSB(scope, reg, field)   reg_##scope##_##reg##___##field##___lsb
 
#define REG_BIT(scope, reg, field)   reg_##scope##_##reg##___##field##___bit
 
#define REG_ADDR(scope, inst, reg)   REG_ADDR_X_(inst, reg_##scope##_##reg##_offset)
 
#define REG_ADDR_X_(inst, offs)   ((inst) + offs)
 
#define REG_ADDR_VECT(scope, inst, reg, index)
 
#define REG_ADDR_VECT_X_(inst, offs, index, stride)   ((inst) + offs + (index) * stride)
 
#define reg_iop_fifo_in_extra_rw_wr_data_offset   0
 
#define reg_iop_fifo_in_extra_r_stat___avail_bytes___lsb   0
 
#define reg_iop_fifo_in_extra_r_stat___avail_bytes___width   4
 
#define reg_iop_fifo_in_extra_r_stat___last___lsb   4
 
#define reg_iop_fifo_in_extra_r_stat___last___width   8
 
#define reg_iop_fifo_in_extra_r_stat___dif_in_en___lsb   12
 
#define reg_iop_fifo_in_extra_r_stat___dif_in_en___width   1
 
#define reg_iop_fifo_in_extra_r_stat___dif_in_en___bit   12
 
#define reg_iop_fifo_in_extra_r_stat___dif_out_en___lsb   13
 
#define reg_iop_fifo_in_extra_r_stat___dif_out_en___width   1
 
#define reg_iop_fifo_in_extra_r_stat___dif_out_en___bit   13
 
#define reg_iop_fifo_in_extra_r_stat_offset   4
 
#define reg_iop_fifo_in_extra_rw_strb_dif_in___last___lsb   0
 
#define reg_iop_fifo_in_extra_rw_strb_dif_in___last___width   2
 
#define reg_iop_fifo_in_extra_rw_strb_dif_in_offset   8
 
#define reg_iop_fifo_in_extra_rw_intr_mask___urun___lsb   0
 
#define reg_iop_fifo_in_extra_rw_intr_mask___urun___width   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___urun___bit   0
 
#define reg_iop_fifo_in_extra_rw_intr_mask___last_data___lsb   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___last_data___width   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___last_data___bit   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___dav___lsb   2
 
#define reg_iop_fifo_in_extra_rw_intr_mask___dav___width   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___dav___bit   2
 
#define reg_iop_fifo_in_extra_rw_intr_mask___avail___lsb   3
 
#define reg_iop_fifo_in_extra_rw_intr_mask___avail___width   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___avail___bit   3
 
#define reg_iop_fifo_in_extra_rw_intr_mask___orun___lsb   4
 
#define reg_iop_fifo_in_extra_rw_intr_mask___orun___width   1
 
#define reg_iop_fifo_in_extra_rw_intr_mask___orun___bit   4
 
#define reg_iop_fifo_in_extra_rw_intr_mask_offset   12
 
#define reg_iop_fifo_in_extra_rw_ack_intr___urun___lsb   0
 
#define reg_iop_fifo_in_extra_rw_ack_intr___urun___width   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___urun___bit   0
 
#define reg_iop_fifo_in_extra_rw_ack_intr___last_data___lsb   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___last_data___width   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___last_data___bit   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___dav___lsb   2
 
#define reg_iop_fifo_in_extra_rw_ack_intr___dav___width   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___dav___bit   2
 
#define reg_iop_fifo_in_extra_rw_ack_intr___avail___lsb   3
 
#define reg_iop_fifo_in_extra_rw_ack_intr___avail___width   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___avail___bit   3
 
#define reg_iop_fifo_in_extra_rw_ack_intr___orun___lsb   4
 
#define reg_iop_fifo_in_extra_rw_ack_intr___orun___width   1
 
#define reg_iop_fifo_in_extra_rw_ack_intr___orun___bit   4
 
#define reg_iop_fifo_in_extra_rw_ack_intr_offset   16
 
#define reg_iop_fifo_in_extra_r_intr___urun___lsb   0
 
#define reg_iop_fifo_in_extra_r_intr___urun___width   1
 
#define reg_iop_fifo_in_extra_r_intr___urun___bit   0
 
#define reg_iop_fifo_in_extra_r_intr___last_data___lsb   1
 
#define reg_iop_fifo_in_extra_r_intr___last_data___width   1
 
#define reg_iop_fifo_in_extra_r_intr___last_data___bit   1
 
#define reg_iop_fifo_in_extra_r_intr___dav___lsb   2
 
#define reg_iop_fifo_in_extra_r_intr___dav___width   1
 
#define reg_iop_fifo_in_extra_r_intr___dav___bit   2
 
#define reg_iop_fifo_in_extra_r_intr___avail___lsb   3
 
#define reg_iop_fifo_in_extra_r_intr___avail___width   1
 
#define reg_iop_fifo_in_extra_r_intr___avail___bit   3
 
#define reg_iop_fifo_in_extra_r_intr___orun___lsb   4
 
#define reg_iop_fifo_in_extra_r_intr___orun___width   1
 
#define reg_iop_fifo_in_extra_r_intr___orun___bit   4
 
#define reg_iop_fifo_in_extra_r_intr_offset   20
 
#define reg_iop_fifo_in_extra_r_masked_intr___urun___lsb   0
 
#define reg_iop_fifo_in_extra_r_masked_intr___urun___width   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___urun___bit   0
 
#define reg_iop_fifo_in_extra_r_masked_intr___last_data___lsb   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___last_data___width   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___last_data___bit   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___dav___lsb   2
 
#define reg_iop_fifo_in_extra_r_masked_intr___dav___width   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___dav___bit   2
 
#define reg_iop_fifo_in_extra_r_masked_intr___avail___lsb   3
 
#define reg_iop_fifo_in_extra_r_masked_intr___avail___width   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___avail___bit   3
 
#define reg_iop_fifo_in_extra_r_masked_intr___orun___lsb   4
 
#define reg_iop_fifo_in_extra_r_masked_intr___orun___width   1
 
#define reg_iop_fifo_in_extra_r_masked_intr___orun___bit   4
 
#define reg_iop_fifo_in_extra_r_masked_intr_offset   24
 
#define regk_iop_fifo_in_extra_fifo_in   0x00000002
 
#define regk_iop_fifo_in_extra_no   0x00000000
 
#define regk_iop_fifo_in_extra_rw_intr_mask_default   0x00000000
 
#define regk_iop_fifo_in_extra_yes   0x00000001
 

Macro Definition Documentation

#define REG_ADDR (   scope,
  inst,
  reg 
)    REG_ADDR_X_(inst, reg_##scope##_##reg##_offset)

Definition at line 44 of file iop_fifo_in_extra_defs_asm.h.

#define REG_ADDR_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \
STRIDE_##scope##_##reg )

Definition at line 49 of file iop_fifo_in_extra_defs_asm.h.

#define REG_ADDR_VECT_X_ (   inst,
  offs,
  index,
  stride 
)    ((inst) + offs + (index) * stride)

Definition at line 52 of file iop_fifo_in_extra_defs_asm.h.

#define REG_ADDR_X_ (   inst,
  offs 
)    ((inst) + offs)

Definition at line 45 of file iop_fifo_in_extra_defs_asm.h.

#define REG_BIT (   scope,
  reg,
  field 
)    reg_##scope##_##reg##___##field##___bit

Definition at line 40 of file iop_fifo_in_extra_defs_asm.h.

#define REG_FIELD (   scope,
  reg,
  field,
  value 
)    REG_FIELD_X_( value, reg_##scope##_##reg##___##field##___lsb )

Definition at line 18 of file iop_fifo_in_extra_defs_asm.h.

#define REG_FIELD_X_ (   value,
  shift 
)    ((value) << shift)

Definition at line 20 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___avail___bit   3

Definition at line 125 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___avail___lsb   3

Definition at line 123 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___avail___width   1

Definition at line 124 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___dav___bit   2

Definition at line 122 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___dav___lsb   2

Definition at line 120 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___dav___width   1

Definition at line 121 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___last_data___bit   1

Definition at line 119 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___last_data___lsb   1

Definition at line 117 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___last_data___width   1

Definition at line 118 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___orun___bit   4

Definition at line 128 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___orun___lsb   4

Definition at line 126 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___orun___width   1

Definition at line 127 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___urun___bit   0

Definition at line 116 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___urun___lsb   0

Definition at line 114 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr___urun___width   1

Definition at line 115 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_intr_offset   20

Definition at line 129 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___avail___bit   3

Definition at line 143 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___avail___lsb   3

Definition at line 141 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___avail___width   1

Definition at line 142 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___dav___bit   2

Definition at line 140 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___dav___lsb   2

Definition at line 138 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___dav___width   1

Definition at line 139 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___last_data___bit   1

Definition at line 137 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___last_data___lsb   1

Definition at line 135 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___last_data___width   1

Definition at line 136 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___orun___bit   4

Definition at line 146 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___orun___lsb   4

Definition at line 144 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___orun___width   1

Definition at line 145 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___urun___bit   0

Definition at line 134 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___urun___lsb   0

Definition at line 132 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr___urun___width   1

Definition at line 133 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_masked_intr_offset   24

Definition at line 147 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___avail_bytes___lsb   0

Definition at line 60 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___avail_bytes___width   4

Definition at line 61 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___dif_in_en___bit   12

Definition at line 66 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___dif_in_en___lsb   12

Definition at line 64 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___dif_in_en___width   1

Definition at line 65 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___dif_out_en___bit   13

Definition at line 69 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___dif_out_en___lsb   13

Definition at line 67 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___dif_out_en___width   1

Definition at line 68 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___last___lsb   4

Definition at line 62 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat___last___width   8

Definition at line 63 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_r_stat_offset   4

Definition at line 70 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___avail___bit   3

Definition at line 107 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___avail___lsb   3

Definition at line 105 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___avail___width   1

Definition at line 106 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___dav___bit   2

Definition at line 104 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___dav___lsb   2

Definition at line 102 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___dav___width   1

Definition at line 103 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___last_data___bit   1

Definition at line 101 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___last_data___lsb   1

Definition at line 99 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___last_data___width   1

Definition at line 100 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___orun___bit   4

Definition at line 110 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___orun___lsb   4

Definition at line 108 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___orun___width   1

Definition at line 109 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___urun___bit   0

Definition at line 98 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___urun___lsb   0

Definition at line 96 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr___urun___width   1

Definition at line 97 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_ack_intr_offset   16

Definition at line 111 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___avail___bit   3

Definition at line 89 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___avail___lsb   3

Definition at line 87 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___avail___width   1

Definition at line 88 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___dav___bit   2

Definition at line 86 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___dav___lsb   2

Definition at line 84 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___dav___width   1

Definition at line 85 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___last_data___bit   1

Definition at line 83 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___last_data___lsb   1

Definition at line 81 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___last_data___width   1

Definition at line 82 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___orun___bit   4

Definition at line 92 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___orun___lsb   4

Definition at line 90 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___orun___width   1

Definition at line 91 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___urun___bit   0

Definition at line 80 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___urun___lsb   0

Definition at line 78 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask___urun___width   1

Definition at line 79 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_intr_mask_offset   12

Definition at line 93 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_strb_dif_in___last___lsb   0

Definition at line 73 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_strb_dif_in___last___width   2

Definition at line 74 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_strb_dif_in_offset   8

Definition at line 75 of file iop_fifo_in_extra_defs_asm.h.

#define reg_iop_fifo_in_extra_rw_wr_data_offset   0

Definition at line 57 of file iop_fifo_in_extra_defs_asm.h.

#define REG_LSB (   scope,
  reg,
  field 
)    reg_##scope##_##reg##___##field##___lsb

Definition at line 36 of file iop_fifo_in_extra_defs_asm.h.

#define REG_MASK (   scope,
  reg,
  field 
)    REG_MASK_X_( reg_##scope##_##reg##___##field##___width, reg_##scope##_##reg##___##field##___lsb )

Definition at line 30 of file iop_fifo_in_extra_defs_asm.h.

#define REG_MASK_X_ (   width,
  lsb 
)    (((1 << width)-1) << lsb)

Definition at line 32 of file iop_fifo_in_extra_defs_asm.h.

#define REG_STATE (   scope,
  reg,
  field,
  symbolic_value 
)    REG_STATE_X_( regk_##scope##_##symbolic_value, reg_##scope##_##reg##___##field##___lsb )

Definition at line 24 of file iop_fifo_in_extra_defs_asm.h.

#define REG_STATE_X_ (   k,
  shift 
)    (k << shift)

Definition at line 26 of file iop_fifo_in_extra_defs_asm.h.

#define regk_iop_fifo_in_extra_fifo_in   0x00000002

Definition at line 151 of file iop_fifo_in_extra_defs_asm.h.

#define regk_iop_fifo_in_extra_no   0x00000000

Definition at line 152 of file iop_fifo_in_extra_defs_asm.h.

#define regk_iop_fifo_in_extra_rw_intr_mask_default   0x00000000

Definition at line 153 of file iop_fifo_in_extra_defs_asm.h.

#define regk_iop_fifo_in_extra_yes   0x00000001

Definition at line 154 of file iop_fifo_in_extra_defs_asm.h.