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

Go to the source code of this file.

Data Structures

struct  reg_marb_bar_rw_ddr2_slots
 
struct  reg_marb_bar_rw_h264_rd_burst
 
struct  reg_marb_bar_rw_h264_wr_burst
 
struct  reg_marb_bar_rw_ccd_burst
 
struct  reg_marb_bar_rw_vin_wr_burst
 
struct  reg_marb_bar_rw_vin_rd_burst
 
struct  reg_marb_bar_rw_sclr_rd_burst
 
struct  reg_marb_bar_rw_vout_burst
 
struct  reg_marb_bar_rw_sclr_fifo_burst
 
struct  reg_marb_bar_rw_l2cache_burst
 
struct  reg_marb_bar_rw_intr_mask
 
struct  reg_marb_bar_rw_ack_intr
 
struct  reg_marb_bar_r_intr
 
struct  reg_marb_bar_r_masked_intr
 
struct  reg_marb_bar_rw_stop_mask
 
struct  reg_marb_bar_r_stopped
 
struct  reg_marb_bar_rw_no_snoop
 
struct  reg_marb_bar_bp_rw_op
 
struct  reg_marb_bar_bp_rw_clients
 
struct  reg_marb_bar_bp_rw_options
 
struct  reg_marb_bar_bp_r_brk_op
 
struct  reg_marb_bar_bp_r_brk_clients
 
struct  reg_marb_bar_bp_r_brk_first_client
 

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 STRIDE_marb_bar_rw_ddr2_slots   4
 
#define REG_RD_ADDR_marb_bar_rw_ddr2_slots   0
 
#define REG_WR_ADDR_marb_bar_rw_ddr2_slots   0
 
#define REG_RD_ADDR_marb_bar_rw_h264_rd_burst   256
 
#define REG_WR_ADDR_marb_bar_rw_h264_rd_burst   256
 
#define REG_RD_ADDR_marb_bar_rw_h264_wr_burst   260
 
#define REG_WR_ADDR_marb_bar_rw_h264_wr_burst   260
 
#define REG_RD_ADDR_marb_bar_rw_ccd_burst   264
 
#define REG_WR_ADDR_marb_bar_rw_ccd_burst   264
 
#define REG_RD_ADDR_marb_bar_rw_vin_wr_burst   268
 
#define REG_WR_ADDR_marb_bar_rw_vin_wr_burst   268
 
#define REG_RD_ADDR_marb_bar_rw_vin_rd_burst   272
 
#define REG_WR_ADDR_marb_bar_rw_vin_rd_burst   272
 
#define REG_RD_ADDR_marb_bar_rw_sclr_rd_burst   276
 
#define REG_WR_ADDR_marb_bar_rw_sclr_rd_burst   276
 
#define REG_RD_ADDR_marb_bar_rw_vout_burst   280
 
#define REG_WR_ADDR_marb_bar_rw_vout_burst   280
 
#define REG_RD_ADDR_marb_bar_rw_sclr_fifo_burst   284
 
#define REG_WR_ADDR_marb_bar_rw_sclr_fifo_burst   284
 
#define REG_RD_ADDR_marb_bar_rw_l2cache_burst   288
 
#define REG_WR_ADDR_marb_bar_rw_l2cache_burst   288
 
#define REG_RD_ADDR_marb_bar_rw_intr_mask   292
 
#define REG_WR_ADDR_marb_bar_rw_intr_mask   292
 
#define REG_RD_ADDR_marb_bar_rw_ack_intr   296
 
#define REG_WR_ADDR_marb_bar_rw_ack_intr   296
 
#define REG_RD_ADDR_marb_bar_r_intr   300
 
#define REG_RD_ADDR_marb_bar_r_masked_intr   304
 
#define REG_RD_ADDR_marb_bar_rw_stop_mask   308
 
#define REG_WR_ADDR_marb_bar_rw_stop_mask   308
 
#define REG_RD_ADDR_marb_bar_r_stopped   312
 
#define REG_RD_ADDR_marb_bar_rw_no_snoop   576
 
#define REG_WR_ADDR_marb_bar_rw_no_snoop   576
 
#define __marb_bar_bp_defs_h
 
#define REG_RD_ADDR_marb_bar_bp_rw_first_addr   0
 
#define REG_WR_ADDR_marb_bar_bp_rw_first_addr   0
 
#define REG_RD_ADDR_marb_bar_bp_rw_last_addr   4
 
#define REG_WR_ADDR_marb_bar_bp_rw_last_addr   4
 
#define REG_RD_ADDR_marb_bar_bp_rw_op   8
 
#define REG_WR_ADDR_marb_bar_bp_rw_op   8
 
#define REG_RD_ADDR_marb_bar_bp_rw_clients   12
 
#define REG_WR_ADDR_marb_bar_bp_rw_clients   12
 
#define REG_RD_ADDR_marb_bar_bp_rw_options   16
 
#define REG_WR_ADDR_marb_bar_bp_rw_options   16
 
#define REG_RD_ADDR_marb_bar_bp_r_brk_addr   20
 
#define REG_RD_ADDR_marb_bar_bp_r_brk_op   24
 
#define REG_RD_ADDR_marb_bar_bp_r_brk_clients   28
 
#define REG_RD_ADDR_marb_bar_bp_r_brk_first_client   32
 
#define REG_RD_ADDR_marb_bar_bp_r_brk_size   36
 
#define REG_RD_ADDR_marb_bar_bp_rw_ack   40
 
#define REG_WR_ADDR_marb_bar_bp_rw_ack   40
 

Typedefs

typedef unsigned int reg_marb_bar_bp_rw_first_addr
 
typedef unsigned int reg_marb_bar_bp_rw_last_addr
 
typedef unsigned int reg_marb_bar_bp_r_brk_addr
 
typedef unsigned int reg_marb_bar_bp_r_brk_size
 
typedef unsigned int reg_marb_bar_bp_rw_ack
 

Enumerations

enum  {
  regk_marb_bar_ccd = 0x00000002, regk_marb_bar_h264_rd = 0x00000000, regk_marb_bar_h264_wr = 0x00000001, regk_marb_bar_l2cache = 0x00000008,
  regk_marb_bar_no = 0x00000000, regk_marb_bar_r_stopped_default = 0x00000000, regk_marb_bar_rw_ccd_burst_default = 0x00000000, regk_marb_bar_rw_ddr2_slots_default = 0x00000000,
  regk_marb_bar_rw_ddr2_slots_size = 0x00000040, regk_marb_bar_rw_h264_rd_burst_default = 0x00000000, regk_marb_bar_rw_h264_wr_burst_default = 0x00000000, regk_marb_bar_rw_intr_mask_default = 0x00000000,
  regk_marb_bar_rw_l2cache_burst_default = 0x00000000, regk_marb_bar_rw_no_snoop_default = 0x00000000, regk_marb_bar_rw_sclr_fifo_burst_default = 0x00000000, regk_marb_bar_rw_sclr_rd_burst_default = 0x00000000,
  regk_marb_bar_rw_stop_mask_default = 0x00000000, regk_marb_bar_rw_vin_rd_burst_default = 0x00000000, regk_marb_bar_rw_vin_wr_burst_default = 0x00000000, regk_marb_bar_rw_vout_burst_default = 0x00000000,
  regk_marb_bar_sclr_fifo = 0x00000007, regk_marb_bar_sclr_rd = 0x00000005, regk_marb_bar_vin_rd = 0x00000004, regk_marb_bar_vin_wr = 0x00000003,
  regk_marb_bar_vout = 0x00000006, regk_marb_bar_yes = 0x00000001
}
 
enum  { regk_marb_bar_bp_no = 0x00000000, regk_marb_bar_bp_rw_op_default = 0x00000000, regk_marb_bar_bp_rw_options_default = 0x00000000, regk_marb_bar_bp_yes = 0x00000001 }
 

Macro Definition Documentation

#define __marb_bar_bp_defs_h

Definition at line 286 of file marb_bar_defs.h.

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

Definition at line 72 of file marb_bar_defs.h.

#define REG_ADDR_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
( (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 77 of file marb_bar_defs.h.

#define reg_page_size   8192

Definition at line 68 of file marb_bar_defs.h.

#define REG_RD (   scope,
  inst,
  reg 
)
Value:
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 15 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_r_brk_addr   20

Definition at line 419 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_r_brk_clients   28

Definition at line 448 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_r_brk_first_client   32

Definition at line 463 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_r_brk_op   24

Definition at line 433 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_r_brk_size   36

Definition at line 467 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_rw_ack   40

Definition at line 471 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_rw_clients   12

Definition at line 406 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_rw_first_addr   0

Definition at line 370 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_rw_last_addr   4

Definition at line 375 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_rw_op   8

Definition at line 390 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_bp_rw_options   16

Definition at line 414 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_r_intr   300

Definition at line 195 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_r_masked_intr   304

Definition at line 205 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_r_stopped   312

Definition at line 236 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_ack_intr   296

Definition at line 184 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_ccd_burst   264

Definition at line 114 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_ddr2_slots   0

Definition at line 90 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_h264_rd_burst   256

Definition at line 98 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_h264_wr_burst   260

Definition at line 106 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_intr_mask   292

Definition at line 173 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_l2cache_burst   288

Definition at line 162 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_no_snoop   576

Definition at line 251 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_sclr_fifo_burst   284

Definition at line 154 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_sclr_rd_burst   276

Definition at line 138 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_stop_mask   308

Definition at line 220 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_vin_rd_burst   272

Definition at line 130 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_vin_wr_burst   268

Definition at line 122 of file marb_bar_defs.h.

#define REG_RD_ADDR_marb_bar_rw_vout_burst   280

Definition at line 146 of file marb_bar_defs.h.

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

Definition at line 41 of file marb_bar_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 51 of file marb_bar_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 27 of file marb_bar_defs.h.

#define REG_TYPE_CONV (   type,
  orgtype,
  val 
)    ( { union { orgtype o; type n; } r; r.o = val; r.n; } )

Definition at line 63 of file marb_bar_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 21 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_bp_rw_ack   40

Definition at line 472 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_bp_rw_clients   12

Definition at line 407 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_bp_rw_first_addr   0

Definition at line 371 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_bp_rw_last_addr   4

Definition at line 376 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_bp_rw_op   8

Definition at line 391 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_bp_rw_options   16

Definition at line 415 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_ack_intr   296

Definition at line 185 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_ccd_burst   264

Definition at line 115 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_ddr2_slots   0

Definition at line 91 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_h264_rd_burst   256

Definition at line 99 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_h264_wr_burst   260

Definition at line 107 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_intr_mask   292

Definition at line 174 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_l2cache_burst   288

Definition at line 163 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_no_snoop   576

Definition at line 252 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_sclr_fifo_burst   284

Definition at line 155 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_sclr_rd_burst   276

Definition at line 139 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_stop_mask   308

Definition at line 221 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_vin_rd_burst   272

Definition at line 131 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_vin_wr_burst   268

Definition at line 123 of file marb_bar_defs.h.

#define REG_WR_ADDR_marb_bar_rw_vout_burst   280

Definition at line 147 of file marb_bar_defs.h.

#define REG_WR_INT (   scope,
  inst,
  reg,
  val 
)    REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )

Definition at line 46 of file marb_bar_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 57 of file marb_bar_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 34 of file marb_bar_defs.h.

#define STRIDE_marb_bar_rw_ddr2_slots   4

Definition at line 84 of file marb_bar_defs.h.

Typedef Documentation

typedef unsigned int reg_marb_bar_bp_r_brk_addr

Definition at line 418 of file marb_bar_defs.h.

typedef unsigned int reg_marb_bar_bp_r_brk_size

Definition at line 466 of file marb_bar_defs.h.

typedef unsigned int reg_marb_bar_bp_rw_ack

Definition at line 470 of file marb_bar_defs.h.

Definition at line 369 of file marb_bar_defs.h.

Definition at line 374 of file marb_bar_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_marb_bar_ccd 
regk_marb_bar_h264_rd 
regk_marb_bar_h264_wr 
regk_marb_bar_l2cache 
regk_marb_bar_no 
regk_marb_bar_r_stopped_default 
regk_marb_bar_rw_ccd_burst_default 
regk_marb_bar_rw_ddr2_slots_default 
regk_marb_bar_rw_ddr2_slots_size 
regk_marb_bar_rw_h264_rd_burst_default 
regk_marb_bar_rw_h264_wr_burst_default 
regk_marb_bar_rw_intr_mask_default 
regk_marb_bar_rw_l2cache_burst_default 
regk_marb_bar_rw_no_snoop_default 
regk_marb_bar_rw_sclr_fifo_burst_default 
regk_marb_bar_rw_sclr_rd_burst_default 
regk_marb_bar_rw_stop_mask_default 
regk_marb_bar_rw_vin_rd_burst_default 
regk_marb_bar_rw_vin_wr_burst_default 
regk_marb_bar_rw_vout_burst_default 
regk_marb_bar_sclr_fifo 
regk_marb_bar_sclr_rd 
regk_marb_bar_vin_rd 
regk_marb_bar_vin_wr 
regk_marb_bar_vout 
regk_marb_bar_yes 

Definition at line 256 of file marb_bar_defs.h.

anonymous enum
Enumerator:
regk_marb_bar_bp_no 
regk_marb_bar_bp_rw_op_default 
regk_marb_bar_bp_rw_options_default 
regk_marb_bar_bp_yes 

Definition at line 476 of file marb_bar_defs.h.