1043 lines
41 KiB
C
1043 lines
41 KiB
C
#ifndef __iop_sw_cfg_defs_h
|
|
#define __iop_sw_cfg_defs_h
|
|
|
|
/*
|
|
* This file is autogenerated from
|
|
* file: ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
|
|
* id: <not found>
|
|
* last modfied: Mon Apr 11 16:10:19 2005
|
|
*
|
|
* by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sw_cfg_defs.h ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
|
|
* id: $Id: iop_sw_cfg_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
|
|
* Any changes here will be lost.
|
|
*
|
|
* -*- buffer-read-only: t -*-
|
|
*/
|
|
/* Main access macros */
|
|
#ifndef REG_RD
|
|
#define REG_RD( scope, inst, reg ) \
|
|
REG_READ( reg_##scope##_##reg, \
|
|
(inst) + REG_RD_ADDR_##scope##_##reg )
|
|
#endif
|
|
|
|
#ifndef REG_WR
|
|
#define REG_WR( scope, inst, reg, val ) \
|
|
REG_WRITE( reg_##scope##_##reg, \
|
|
(inst) + REG_WR_ADDR_##scope##_##reg, (val) )
|
|
#endif
|
|
|
|
#ifndef REG_RD_VECT
|
|
#define REG_RD_VECT( scope, inst, reg, index ) \
|
|
REG_READ( reg_##scope##_##reg, \
|
|
(inst) + REG_RD_ADDR_##scope##_##reg + \
|
|
(index) * STRIDE_##scope##_##reg )
|
|
#endif
|
|
|
|
#ifndef REG_WR_VECT
|
|
#define REG_WR_VECT( scope, inst, reg, index, val ) \
|
|
REG_WRITE( reg_##scope##_##reg, \
|
|
(inst) + REG_WR_ADDR_##scope##_##reg + \
|
|
(index) * STRIDE_##scope##_##reg, (val) )
|
|
#endif
|
|
|
|
#ifndef REG_RD_INT
|
|
#define REG_RD_INT( scope, inst, reg ) \
|
|
REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )
|
|
#endif
|
|
|
|
#ifndef REG_WR_INT
|
|
#define REG_WR_INT( scope, inst, reg, val ) \
|
|
REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
|
|
#endif
|
|
|
|
#ifndef REG_RD_INT_VECT
|
|
#define REG_RD_INT_VECT( scope, inst, reg, index ) \
|
|
REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \
|
|
(index) * STRIDE_##scope##_##reg )
|
|
#endif
|
|
|
|
#ifndef REG_WR_INT_VECT
|
|
#define REG_WR_INT_VECT( scope, inst, reg, index, val ) \
|
|
REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \
|
|
(index) * STRIDE_##scope##_##reg, (val) )
|
|
#endif
|
|
|
|
#ifndef REG_TYPE_CONV
|
|
#define REG_TYPE_CONV( type, orgtype, val ) \
|
|
( { union { orgtype o; type n; } r; r.o = val; r.n; } )
|
|
#endif
|
|
|
|
#ifndef reg_page_size
|
|
#define reg_page_size 8192
|
|
#endif
|
|
|
|
#ifndef REG_ADDR
|
|
#define REG_ADDR( scope, inst, reg ) \
|
|
( (inst) + REG_RD_ADDR_##scope##_##reg )
|
|
#endif
|
|
|
|
#ifndef REG_ADDR_VECT
|
|
#define REG_ADDR_VECT( scope, inst, reg, index ) \
|
|
( (inst) + REG_RD_ADDR_##scope##_##reg + \
|
|
(index) * STRIDE_##scope##_##reg )
|
|
#endif
|
|
|
|
/* C-code for register scope iop_sw_cfg */
|
|
|
|
/* Register rw_crc_par0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_crc_par0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_crc_par0_owner 0
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_crc_par0_owner 0
|
|
|
|
/* Register rw_crc_par1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_crc_par1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_crc_par1_owner 4
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_crc_par1_owner 4
|
|
|
|
/* Register rw_dmc_in0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_dmc_in0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_in0_owner 8
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_in0_owner 8
|
|
|
|
/* Register rw_dmc_in1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_dmc_in1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_in1_owner 12
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_in1_owner 12
|
|
|
|
/* Register rw_dmc_out0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_dmc_out0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_out0_owner 16
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_out0_owner 16
|
|
|
|
/* Register rw_dmc_out1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_dmc_out1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_dmc_out1_owner 20
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_dmc_out1_owner 20
|
|
|
|
/* Register rw_fifo_in0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_in0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in0_owner 24
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in0_owner 24
|
|
|
|
/* Register rw_fifo_in0_extra_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_in0_extra_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in0_extra_owner 28
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in0_extra_owner 28
|
|
|
|
/* Register rw_fifo_in1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_in1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in1_owner 32
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in1_owner 32
|
|
|
|
/* Register rw_fifo_in1_extra_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_in1_extra_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_in1_extra_owner 36
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_in1_extra_owner 36
|
|
|
|
/* Register rw_fifo_out0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_out0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out0_owner 40
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out0_owner 40
|
|
|
|
/* Register rw_fifo_out0_extra_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_out0_extra_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out0_extra_owner 44
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out0_extra_owner 44
|
|
|
|
/* Register rw_fifo_out1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_out1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out1_owner 48
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out1_owner 48
|
|
|
|
/* Register rw_fifo_out1_extra_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_fifo_out1_extra_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_fifo_out1_extra_owner 52
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_fifo_out1_extra_owner 52
|
|
|
|
/* Register rw_sap_in_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_sap_in_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_sap_in_owner 56
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_sap_in_owner 56
|
|
|
|
/* Register rw_sap_out_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_sap_out_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_sap_out_owner 60
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_sap_out_owner 60
|
|
|
|
/* Register rw_scrc_in0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_scrc_in0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_in0_owner 64
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_in0_owner 64
|
|
|
|
/* Register rw_scrc_in1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_scrc_in1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_in1_owner 68
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_in1_owner 68
|
|
|
|
/* Register rw_scrc_out0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_scrc_out0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_out0_owner 72
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_out0_owner 72
|
|
|
|
/* Register rw_scrc_out1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_scrc_out1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_scrc_out1_owner 76
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_scrc_out1_owner 76
|
|
|
|
/* Register rw_spu0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_spu0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_spu0_owner 80
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_spu0_owner 80
|
|
|
|
/* Register rw_spu1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_spu1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_spu1_owner 84
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_spu1_owner 84
|
|
|
|
/* Register rw_timer_grp0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_timer_grp0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp0_owner 88
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp0_owner 88
|
|
|
|
/* Register rw_timer_grp1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_timer_grp1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp1_owner 92
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp1_owner 92
|
|
|
|
/* Register rw_timer_grp2_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_timer_grp2_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp2_owner 96
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp2_owner 96
|
|
|
|
/* Register rw_timer_grp3_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_timer_grp3_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp3_owner 100
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp3_owner 100
|
|
|
|
/* Register rw_trigger_grp0_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp0_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp0_owner 104
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp0_owner 104
|
|
|
|
/* Register rw_trigger_grp1_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp1_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp1_owner 108
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp1_owner 108
|
|
|
|
/* Register rw_trigger_grp2_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp2_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp2_owner 112
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp2_owner 112
|
|
|
|
/* Register rw_trigger_grp3_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp3_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp3_owner 116
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp3_owner 116
|
|
|
|
/* Register rw_trigger_grp4_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp4_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp4_owner 120
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp4_owner 120
|
|
|
|
/* Register rw_trigger_grp5_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp5_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp5_owner 124
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp5_owner 124
|
|
|
|
/* Register rw_trigger_grp6_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp6_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp6_owner 128
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp6_owner 128
|
|
|
|
/* Register rw_trigger_grp7_owner, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int cfg : 2;
|
|
unsigned int dummy1 : 30;
|
|
} reg_iop_sw_cfg_rw_trigger_grp7_owner;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grp7_owner 132
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grp7_owner 132
|
|
|
|
/* Register rw_bus0_mask, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int byte0 : 8;
|
|
unsigned int byte1 : 8;
|
|
unsigned int byte2 : 8;
|
|
unsigned int byte3 : 8;
|
|
} reg_iop_sw_cfg_rw_bus0_mask;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_bus0_mask 136
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_bus0_mask 136
|
|
|
|
/* Register rw_bus0_oe_mask, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int byte0 : 1;
|
|
unsigned int byte1 : 1;
|
|
unsigned int byte2 : 1;
|
|
unsigned int byte3 : 1;
|
|
unsigned int dummy1 : 28;
|
|
} reg_iop_sw_cfg_rw_bus0_oe_mask;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_bus0_oe_mask 140
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_bus0_oe_mask 140
|
|
|
|
/* Register rw_bus1_mask, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int byte0 : 8;
|
|
unsigned int byte1 : 8;
|
|
unsigned int byte2 : 8;
|
|
unsigned int byte3 : 8;
|
|
} reg_iop_sw_cfg_rw_bus1_mask;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_bus1_mask 144
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_bus1_mask 144
|
|
|
|
/* Register rw_bus1_oe_mask, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int byte0 : 1;
|
|
unsigned int byte1 : 1;
|
|
unsigned int byte2 : 1;
|
|
unsigned int byte3 : 1;
|
|
unsigned int dummy1 : 28;
|
|
} reg_iop_sw_cfg_rw_bus1_oe_mask;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_bus1_oe_mask 148
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_bus1_oe_mask 148
|
|
|
|
/* Register rw_gio_mask, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int val : 32;
|
|
} reg_iop_sw_cfg_rw_gio_mask;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_mask 152
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_mask 152
|
|
|
|
/* Register rw_gio_oe_mask, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int val : 32;
|
|
} reg_iop_sw_cfg_rw_gio_oe_mask;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_oe_mask 156
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_oe_mask 156
|
|
|
|
/* Register rw_pinmapping, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int bus0_byte0 : 2;
|
|
unsigned int bus0_byte1 : 2;
|
|
unsigned int bus0_byte2 : 2;
|
|
unsigned int bus0_byte3 : 2;
|
|
unsigned int bus1_byte0 : 2;
|
|
unsigned int bus1_byte1 : 2;
|
|
unsigned int bus1_byte2 : 2;
|
|
unsigned int bus1_byte3 : 2;
|
|
unsigned int gio3_0 : 2;
|
|
unsigned int gio7_4 : 2;
|
|
unsigned int gio11_8 : 2;
|
|
unsigned int gio15_12 : 2;
|
|
unsigned int gio19_16 : 2;
|
|
unsigned int gio23_20 : 2;
|
|
unsigned int gio27_24 : 2;
|
|
unsigned int gio31_28 : 2;
|
|
} reg_iop_sw_cfg_rw_pinmapping;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_pinmapping 160
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_pinmapping 160
|
|
|
|
/* Register rw_bus_out_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int bus0_lo : 3;
|
|
unsigned int bus0_hi : 3;
|
|
unsigned int bus0_lo_oe : 3;
|
|
unsigned int bus0_hi_oe : 3;
|
|
unsigned int bus1_lo : 3;
|
|
unsigned int bus1_hi : 3;
|
|
unsigned int bus1_lo_oe : 3;
|
|
unsigned int bus1_hi_oe : 3;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_bus_out_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_bus_out_cfg 164
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_bus_out_cfg 164
|
|
|
|
/* Register rw_gio_out_grp0_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio0 : 4;
|
|
unsigned int gio0_oe : 2;
|
|
unsigned int gio1 : 4;
|
|
unsigned int gio1_oe : 2;
|
|
unsigned int gio2 : 4;
|
|
unsigned int gio2_oe : 2;
|
|
unsigned int gio3 : 4;
|
|
unsigned int gio3_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp0_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp0_cfg 168
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp0_cfg 168
|
|
|
|
/* Register rw_gio_out_grp1_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio4 : 4;
|
|
unsigned int gio4_oe : 2;
|
|
unsigned int gio5 : 4;
|
|
unsigned int gio5_oe : 2;
|
|
unsigned int gio6 : 4;
|
|
unsigned int gio6_oe : 2;
|
|
unsigned int gio7 : 4;
|
|
unsigned int gio7_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp1_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp1_cfg 172
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp1_cfg 172
|
|
|
|
/* Register rw_gio_out_grp2_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio8 : 4;
|
|
unsigned int gio8_oe : 2;
|
|
unsigned int gio9 : 4;
|
|
unsigned int gio9_oe : 2;
|
|
unsigned int gio10 : 4;
|
|
unsigned int gio10_oe : 2;
|
|
unsigned int gio11 : 4;
|
|
unsigned int gio11_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp2_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp2_cfg 176
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp2_cfg 176
|
|
|
|
/* Register rw_gio_out_grp3_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio12 : 4;
|
|
unsigned int gio12_oe : 2;
|
|
unsigned int gio13 : 4;
|
|
unsigned int gio13_oe : 2;
|
|
unsigned int gio14 : 4;
|
|
unsigned int gio14_oe : 2;
|
|
unsigned int gio15 : 4;
|
|
unsigned int gio15_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp3_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp3_cfg 180
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp3_cfg 180
|
|
|
|
/* Register rw_gio_out_grp4_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio16 : 4;
|
|
unsigned int gio16_oe : 2;
|
|
unsigned int gio17 : 4;
|
|
unsigned int gio17_oe : 2;
|
|
unsigned int gio18 : 4;
|
|
unsigned int gio18_oe : 2;
|
|
unsigned int gio19 : 4;
|
|
unsigned int gio19_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp4_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp4_cfg 184
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp4_cfg 184
|
|
|
|
/* Register rw_gio_out_grp5_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio20 : 4;
|
|
unsigned int gio20_oe : 2;
|
|
unsigned int gio21 : 4;
|
|
unsigned int gio21_oe : 2;
|
|
unsigned int gio22 : 4;
|
|
unsigned int gio22_oe : 2;
|
|
unsigned int gio23 : 4;
|
|
unsigned int gio23_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp5_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp5_cfg 188
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp5_cfg 188
|
|
|
|
/* Register rw_gio_out_grp6_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio24 : 4;
|
|
unsigned int gio24_oe : 2;
|
|
unsigned int gio25 : 4;
|
|
unsigned int gio25_oe : 2;
|
|
unsigned int gio26 : 4;
|
|
unsigned int gio26_oe : 2;
|
|
unsigned int gio27 : 4;
|
|
unsigned int gio27_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp6_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp6_cfg 192
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp6_cfg 192
|
|
|
|
/* Register rw_gio_out_grp7_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int gio28 : 4;
|
|
unsigned int gio28_oe : 2;
|
|
unsigned int gio29 : 4;
|
|
unsigned int gio29_oe : 2;
|
|
unsigned int gio30 : 4;
|
|
unsigned int gio30_oe : 2;
|
|
unsigned int gio31 : 4;
|
|
unsigned int gio31_oe : 2;
|
|
unsigned int dummy1 : 8;
|
|
} reg_iop_sw_cfg_rw_gio_out_grp7_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_gio_out_grp7_cfg 196
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_gio_out_grp7_cfg 196
|
|
|
|
/* Register rw_spu0_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int bus0_in : 2;
|
|
unsigned int bus1_in : 2;
|
|
unsigned int dummy1 : 28;
|
|
} reg_iop_sw_cfg_rw_spu0_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_spu0_cfg 200
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_spu0_cfg 200
|
|
|
|
/* Register rw_spu1_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int bus0_in : 2;
|
|
unsigned int bus1_in : 2;
|
|
unsigned int dummy1 : 28;
|
|
} reg_iop_sw_cfg_rw_spu1_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_spu1_cfg 204
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_spu1_cfg 204
|
|
|
|
/* Register rw_timer_grp0_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int ext_clk : 3;
|
|
unsigned int tmr0_en : 1;
|
|
unsigned int tmr1_en : 1;
|
|
unsigned int tmr2_en : 1;
|
|
unsigned int tmr3_en : 1;
|
|
unsigned int tmr0_dis : 1;
|
|
unsigned int tmr1_dis : 1;
|
|
unsigned int tmr2_dis : 1;
|
|
unsigned int tmr3_dis : 1;
|
|
unsigned int dummy1 : 21;
|
|
} reg_iop_sw_cfg_rw_timer_grp0_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp0_cfg 208
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp0_cfg 208
|
|
|
|
/* Register rw_timer_grp1_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int ext_clk : 3;
|
|
unsigned int tmr0_en : 1;
|
|
unsigned int tmr1_en : 1;
|
|
unsigned int tmr2_en : 1;
|
|
unsigned int tmr3_en : 1;
|
|
unsigned int tmr0_dis : 1;
|
|
unsigned int tmr1_dis : 1;
|
|
unsigned int tmr2_dis : 1;
|
|
unsigned int tmr3_dis : 1;
|
|
unsigned int dummy1 : 21;
|
|
} reg_iop_sw_cfg_rw_timer_grp1_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp1_cfg 212
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp1_cfg 212
|
|
|
|
/* Register rw_timer_grp2_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int ext_clk : 3;
|
|
unsigned int tmr0_en : 1;
|
|
unsigned int tmr1_en : 1;
|
|
unsigned int tmr2_en : 1;
|
|
unsigned int tmr3_en : 1;
|
|
unsigned int tmr0_dis : 1;
|
|
unsigned int tmr1_dis : 1;
|
|
unsigned int tmr2_dis : 1;
|
|
unsigned int tmr3_dis : 1;
|
|
unsigned int dummy1 : 21;
|
|
} reg_iop_sw_cfg_rw_timer_grp2_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp2_cfg 216
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp2_cfg 216
|
|
|
|
/* Register rw_timer_grp3_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int ext_clk : 3;
|
|
unsigned int tmr0_en : 1;
|
|
unsigned int tmr1_en : 1;
|
|
unsigned int tmr2_en : 1;
|
|
unsigned int tmr3_en : 1;
|
|
unsigned int tmr0_dis : 1;
|
|
unsigned int tmr1_dis : 1;
|
|
unsigned int tmr2_dis : 1;
|
|
unsigned int tmr3_dis : 1;
|
|
unsigned int dummy1 : 21;
|
|
} reg_iop_sw_cfg_rw_timer_grp3_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_timer_grp3_cfg 220
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_timer_grp3_cfg 220
|
|
|
|
/* Register rw_trigger_grps_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int grp0_dis : 1;
|
|
unsigned int grp0_en : 1;
|
|
unsigned int grp1_dis : 1;
|
|
unsigned int grp1_en : 1;
|
|
unsigned int grp2_dis : 1;
|
|
unsigned int grp2_en : 1;
|
|
unsigned int grp3_dis : 1;
|
|
unsigned int grp3_en : 1;
|
|
unsigned int grp4_dis : 1;
|
|
unsigned int grp4_en : 1;
|
|
unsigned int grp5_dis : 1;
|
|
unsigned int grp5_en : 1;
|
|
unsigned int grp6_dis : 1;
|
|
unsigned int grp6_en : 1;
|
|
unsigned int grp7_dis : 1;
|
|
unsigned int grp7_en : 1;
|
|
unsigned int dummy1 : 16;
|
|
} reg_iop_sw_cfg_rw_trigger_grps_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_trigger_grps_cfg 224
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_trigger_grps_cfg 224
|
|
|
|
/* Register rw_pdp0_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int dmc0_usr : 1;
|
|
unsigned int out_strb : 5;
|
|
unsigned int in_src : 3;
|
|
unsigned int in_size : 3;
|
|
unsigned int in_last : 2;
|
|
unsigned int in_strb : 4;
|
|
unsigned int out_src : 1;
|
|
unsigned int dummy1 : 13;
|
|
} reg_iop_sw_cfg_rw_pdp0_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_pdp0_cfg 228
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_pdp0_cfg 228
|
|
|
|
/* Register rw_pdp1_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int dmc1_usr : 1;
|
|
unsigned int out_strb : 5;
|
|
unsigned int in_src : 3;
|
|
unsigned int in_size : 3;
|
|
unsigned int in_last : 2;
|
|
unsigned int in_strb : 4;
|
|
unsigned int out_src : 1;
|
|
unsigned int dummy1 : 13;
|
|
} reg_iop_sw_cfg_rw_pdp1_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_pdp1_cfg 232
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_pdp1_cfg 232
|
|
|
|
/* Register rw_sdp_cfg, scope iop_sw_cfg, type rw */
|
|
typedef struct {
|
|
unsigned int sdp_out0_strb : 3;
|
|
unsigned int sdp_out1_strb : 3;
|
|
unsigned int sdp_in0_data : 3;
|
|
unsigned int sdp_in0_last : 2;
|
|
unsigned int sdp_in0_strb : 3;
|
|
unsigned int sdp_in1_data : 3;
|
|
unsigned int sdp_in1_last : 2;
|
|
unsigned int sdp_in1_strb : 3;
|
|
unsigned int dummy1 : 10;
|
|
} reg_iop_sw_cfg_rw_sdp_cfg;
|
|
#define REG_RD_ADDR_iop_sw_cfg_rw_sdp_cfg 236
|
|
#define REG_WR_ADDR_iop_sw_cfg_rw_sdp_cfg 236
|
|
|
|
|
|
/* Constants */
|
|
enum {
|
|
regk_iop_sw_cfg_a = 0x00000001,
|
|
regk_iop_sw_cfg_b = 0x00000002,
|
|
regk_iop_sw_cfg_bus0 = 0x00000000,
|
|
regk_iop_sw_cfg_bus0_rot16 = 0x00000004,
|
|
regk_iop_sw_cfg_bus0_rot24 = 0x00000006,
|
|
regk_iop_sw_cfg_bus0_rot8 = 0x00000002,
|
|
regk_iop_sw_cfg_bus1 = 0x00000001,
|
|
regk_iop_sw_cfg_bus1_rot16 = 0x00000005,
|
|
regk_iop_sw_cfg_bus1_rot24 = 0x00000007,
|
|
regk_iop_sw_cfg_bus1_rot8 = 0x00000003,
|
|
regk_iop_sw_cfg_clk12 = 0x00000000,
|
|
regk_iop_sw_cfg_cpu = 0x00000000,
|
|
regk_iop_sw_cfg_dmc0 = 0x00000000,
|
|
regk_iop_sw_cfg_dmc1 = 0x00000001,
|
|
regk_iop_sw_cfg_gated_clk0 = 0x00000010,
|
|
regk_iop_sw_cfg_gated_clk1 = 0x00000011,
|
|
regk_iop_sw_cfg_gated_clk2 = 0x00000012,
|
|
regk_iop_sw_cfg_gated_clk3 = 0x00000013,
|
|
regk_iop_sw_cfg_gio0 = 0x00000004,
|
|
regk_iop_sw_cfg_gio1 = 0x00000001,
|
|
regk_iop_sw_cfg_gio2 = 0x00000005,
|
|
regk_iop_sw_cfg_gio3 = 0x00000002,
|
|
regk_iop_sw_cfg_gio4 = 0x00000006,
|
|
regk_iop_sw_cfg_gio5 = 0x00000003,
|
|
regk_iop_sw_cfg_gio6 = 0x00000007,
|
|
regk_iop_sw_cfg_gio7 = 0x00000004,
|
|
regk_iop_sw_cfg_gio_in0 = 0x00000000,
|
|
regk_iop_sw_cfg_gio_in1 = 0x00000001,
|
|
regk_iop_sw_cfg_gio_in10 = 0x00000002,
|
|
regk_iop_sw_cfg_gio_in11 = 0x00000003,
|
|
regk_iop_sw_cfg_gio_in14 = 0x00000004,
|
|
regk_iop_sw_cfg_gio_in15 = 0x00000005,
|
|
regk_iop_sw_cfg_gio_in18 = 0x00000002,
|
|
regk_iop_sw_cfg_gio_in19 = 0x00000003,
|
|
regk_iop_sw_cfg_gio_in20 = 0x00000004,
|
|
regk_iop_sw_cfg_gio_in21 = 0x00000005,
|
|
regk_iop_sw_cfg_gio_in26 = 0x00000006,
|
|
regk_iop_sw_cfg_gio_in27 = 0x00000007,
|
|
regk_iop_sw_cfg_gio_in28 = 0x00000006,
|
|
regk_iop_sw_cfg_gio_in29 = 0x00000007,
|
|
regk_iop_sw_cfg_gio_in4 = 0x00000000,
|
|
regk_iop_sw_cfg_gio_in5 = 0x00000001,
|
|
regk_iop_sw_cfg_last_timer_grp0_tmr2 = 0x00000001,
|
|
regk_iop_sw_cfg_last_timer_grp1_tmr2 = 0x00000001,
|
|
regk_iop_sw_cfg_last_timer_grp2_tmr2 = 0x00000002,
|
|
regk_iop_sw_cfg_last_timer_grp2_tmr3 = 0x00000003,
|
|
regk_iop_sw_cfg_last_timer_grp3_tmr2 = 0x00000002,
|
|
regk_iop_sw_cfg_last_timer_grp3_tmr3 = 0x00000003,
|
|
regk_iop_sw_cfg_mpu = 0x00000001,
|
|
regk_iop_sw_cfg_none = 0x00000000,
|
|
regk_iop_sw_cfg_par0 = 0x00000000,
|
|
regk_iop_sw_cfg_par1 = 0x00000001,
|
|
regk_iop_sw_cfg_pdp_out0 = 0x00000002,
|
|
regk_iop_sw_cfg_pdp_out0_hi = 0x00000001,
|
|
regk_iop_sw_cfg_pdp_out0_hi_rot8 = 0x00000005,
|
|
regk_iop_sw_cfg_pdp_out0_lo = 0x00000000,
|
|
regk_iop_sw_cfg_pdp_out0_lo_rot8 = 0x00000004,
|
|
regk_iop_sw_cfg_pdp_out1 = 0x00000003,
|
|
regk_iop_sw_cfg_pdp_out1_hi = 0x00000003,
|
|
regk_iop_sw_cfg_pdp_out1_hi_rot8 = 0x00000005,
|
|
regk_iop_sw_cfg_pdp_out1_lo = 0x00000002,
|
|
regk_iop_sw_cfg_pdp_out1_lo_rot8 = 0x00000004,
|
|
regk_iop_sw_cfg_rw_bus0_mask_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_bus0_oe_mask_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_bus1_mask_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_bus1_oe_mask_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_bus_out_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_crc_par0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_crc_par1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_dmc_in0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_dmc_in1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_dmc_out0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_dmc_out1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_in0_extra_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_in0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_in1_extra_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_in1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_out0_extra_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_out0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_out1_extra_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_fifo_out1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_mask_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_oe_mask_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp0_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp1_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp2_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp3_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp4_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp5_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp6_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_gio_out_grp7_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_pdp0_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_pdp1_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_pinmapping_default = 0x55555555,
|
|
regk_iop_sw_cfg_rw_sap_in_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_sap_out_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_scrc_in0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_scrc_in1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_scrc_out0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_scrc_out1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_sdp_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_spu0_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_spu0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_spu1_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_spu1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp0_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp1_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp2_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp2_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp3_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_timer_grp3_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp0_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp1_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp2_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp3_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp4_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp5_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp6_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grp7_owner_default = 0x00000000,
|
|
regk_iop_sw_cfg_rw_trigger_grps_cfg_default = 0x00000000,
|
|
regk_iop_sw_cfg_sdp_out0 = 0x00000008,
|
|
regk_iop_sw_cfg_sdp_out1 = 0x00000009,
|
|
regk_iop_sw_cfg_size16 = 0x00000002,
|
|
regk_iop_sw_cfg_size24 = 0x00000003,
|
|
regk_iop_sw_cfg_size32 = 0x00000004,
|
|
regk_iop_sw_cfg_size8 = 0x00000001,
|
|
regk_iop_sw_cfg_spu0 = 0x00000002,
|
|
regk_iop_sw_cfg_spu0_bus_out0_hi = 0x00000006,
|
|
regk_iop_sw_cfg_spu0_bus_out0_lo = 0x00000006,
|
|
regk_iop_sw_cfg_spu0_bus_out1_hi = 0x00000007,
|
|
regk_iop_sw_cfg_spu0_bus_out1_lo = 0x00000007,
|
|
regk_iop_sw_cfg_spu0_g0 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g1 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g2 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g3 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g4 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g5 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g6 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_g7 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gio0 = 0x00000000,
|
|
regk_iop_sw_cfg_spu0_gio1 = 0x00000001,
|
|
regk_iop_sw_cfg_spu0_gio2 = 0x00000000,
|
|
regk_iop_sw_cfg_spu0_gio5 = 0x00000005,
|
|
regk_iop_sw_cfg_spu0_gio6 = 0x00000006,
|
|
regk_iop_sw_cfg_spu0_gio7 = 0x00000007,
|
|
regk_iop_sw_cfg_spu0_gio_out0 = 0x00000008,
|
|
regk_iop_sw_cfg_spu0_gio_out1 = 0x00000009,
|
|
regk_iop_sw_cfg_spu0_gio_out2 = 0x0000000a,
|
|
regk_iop_sw_cfg_spu0_gio_out3 = 0x0000000b,
|
|
regk_iop_sw_cfg_spu0_gio_out4 = 0x0000000c,
|
|
regk_iop_sw_cfg_spu0_gio_out5 = 0x0000000d,
|
|
regk_iop_sw_cfg_spu0_gio_out6 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gio_out7 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu0_gioout0 = 0x00000000,
|
|
regk_iop_sw_cfg_spu0_gioout1 = 0x00000000,
|
|
regk_iop_sw_cfg_spu0_gioout10 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout11 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout12 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout13 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout14 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout15 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout16 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout17 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout18 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout19 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout2 = 0x00000002,
|
|
regk_iop_sw_cfg_spu0_gioout20 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout21 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout22 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout23 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout24 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout25 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout26 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout27 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout28 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout29 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout3 = 0x00000002,
|
|
regk_iop_sw_cfg_spu0_gioout30 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout31 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout4 = 0x00000004,
|
|
regk_iop_sw_cfg_spu0_gioout5 = 0x00000004,
|
|
regk_iop_sw_cfg_spu0_gioout6 = 0x00000006,
|
|
regk_iop_sw_cfg_spu0_gioout7 = 0x00000006,
|
|
regk_iop_sw_cfg_spu0_gioout8 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu0_gioout9 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu1 = 0x00000003,
|
|
regk_iop_sw_cfg_spu1_bus_out0_hi = 0x00000006,
|
|
regk_iop_sw_cfg_spu1_bus_out0_lo = 0x00000006,
|
|
regk_iop_sw_cfg_spu1_bus_out1_hi = 0x00000007,
|
|
regk_iop_sw_cfg_spu1_bus_out1_lo = 0x00000007,
|
|
regk_iop_sw_cfg_spu1_g0 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g1 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g2 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g3 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g4 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g5 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g6 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_g7 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gio0 = 0x00000002,
|
|
regk_iop_sw_cfg_spu1_gio1 = 0x00000003,
|
|
regk_iop_sw_cfg_spu1_gio2 = 0x00000002,
|
|
regk_iop_sw_cfg_spu1_gio5 = 0x00000005,
|
|
regk_iop_sw_cfg_spu1_gio6 = 0x00000006,
|
|
regk_iop_sw_cfg_spu1_gio7 = 0x00000007,
|
|
regk_iop_sw_cfg_spu1_gio_out0 = 0x00000008,
|
|
regk_iop_sw_cfg_spu1_gio_out1 = 0x00000009,
|
|
regk_iop_sw_cfg_spu1_gio_out2 = 0x0000000a,
|
|
regk_iop_sw_cfg_spu1_gio_out3 = 0x0000000b,
|
|
regk_iop_sw_cfg_spu1_gio_out4 = 0x0000000c,
|
|
regk_iop_sw_cfg_spu1_gio_out5 = 0x0000000d,
|
|
regk_iop_sw_cfg_spu1_gio_out6 = 0x0000000e,
|
|
regk_iop_sw_cfg_spu1_gio_out7 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout0 = 0x00000001,
|
|
regk_iop_sw_cfg_spu1_gioout1 = 0x00000001,
|
|
regk_iop_sw_cfg_spu1_gioout10 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout11 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout12 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout13 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout14 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout15 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout16 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout17 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout18 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout19 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout2 = 0x00000003,
|
|
regk_iop_sw_cfg_spu1_gioout20 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout21 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout22 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout23 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout24 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout25 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout26 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout27 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout28 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout29 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout3 = 0x00000003,
|
|
regk_iop_sw_cfg_spu1_gioout30 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout31 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout4 = 0x00000005,
|
|
regk_iop_sw_cfg_spu1_gioout5 = 0x00000005,
|
|
regk_iop_sw_cfg_spu1_gioout6 = 0x00000007,
|
|
regk_iop_sw_cfg_spu1_gioout7 = 0x00000007,
|
|
regk_iop_sw_cfg_spu1_gioout8 = 0x0000000f,
|
|
regk_iop_sw_cfg_spu1_gioout9 = 0x0000000f,
|
|
regk_iop_sw_cfg_strb_timer_grp0_tmr0 = 0x00000001,
|
|
regk_iop_sw_cfg_strb_timer_grp0_tmr1 = 0x00000002,
|
|
regk_iop_sw_cfg_strb_timer_grp1_tmr0 = 0x00000001,
|
|
regk_iop_sw_cfg_strb_timer_grp1_tmr1 = 0x00000002,
|
|
regk_iop_sw_cfg_strb_timer_grp2_tmr0 = 0x00000003,
|
|
regk_iop_sw_cfg_strb_timer_grp2_tmr1 = 0x00000002,
|
|
regk_iop_sw_cfg_strb_timer_grp3_tmr0 = 0x00000003,
|
|
regk_iop_sw_cfg_strb_timer_grp3_tmr1 = 0x00000002,
|
|
regk_iop_sw_cfg_timer_grp0 = 0x00000000,
|
|
regk_iop_sw_cfg_timer_grp0_rot = 0x00000001,
|
|
regk_iop_sw_cfg_timer_grp0_strb0 = 0x0000000a,
|
|
regk_iop_sw_cfg_timer_grp0_strb1 = 0x0000000a,
|
|
regk_iop_sw_cfg_timer_grp0_strb2 = 0x0000000a,
|
|
regk_iop_sw_cfg_timer_grp0_strb3 = 0x0000000a,
|
|
regk_iop_sw_cfg_timer_grp0_tmr0 = 0x00000004,
|
|
regk_iop_sw_cfg_timer_grp0_tmr1 = 0x00000004,
|
|
regk_iop_sw_cfg_timer_grp1 = 0x00000000,
|
|
regk_iop_sw_cfg_timer_grp1_rot = 0x00000001,
|
|
regk_iop_sw_cfg_timer_grp1_strb0 = 0x0000000b,
|
|
regk_iop_sw_cfg_timer_grp1_strb1 = 0x0000000b,
|
|
regk_iop_sw_cfg_timer_grp1_strb2 = 0x0000000b,
|
|
regk_iop_sw_cfg_timer_grp1_strb3 = 0x0000000b,
|
|
regk_iop_sw_cfg_timer_grp1_tmr0 = 0x00000005,
|
|
regk_iop_sw_cfg_timer_grp1_tmr1 = 0x00000005,
|
|
regk_iop_sw_cfg_timer_grp2 = 0x00000000,
|
|
regk_iop_sw_cfg_timer_grp2_rot = 0x00000001,
|
|
regk_iop_sw_cfg_timer_grp2_strb0 = 0x0000000c,
|
|
regk_iop_sw_cfg_timer_grp2_strb1 = 0x0000000c,
|
|
regk_iop_sw_cfg_timer_grp2_strb2 = 0x0000000c,
|
|
regk_iop_sw_cfg_timer_grp2_strb3 = 0x0000000c,
|
|
regk_iop_sw_cfg_timer_grp2_tmr0 = 0x00000006,
|
|
regk_iop_sw_cfg_timer_grp2_tmr1 = 0x00000006,
|
|
regk_iop_sw_cfg_timer_grp3 = 0x00000000,
|
|
regk_iop_sw_cfg_timer_grp3_rot = 0x00000001,
|
|
regk_iop_sw_cfg_timer_grp3_strb0 = 0x0000000d,
|
|
regk_iop_sw_cfg_timer_grp3_strb1 = 0x0000000d,
|
|
regk_iop_sw_cfg_timer_grp3_strb2 = 0x0000000d,
|
|
regk_iop_sw_cfg_timer_grp3_strb3 = 0x0000000d,
|
|
regk_iop_sw_cfg_timer_grp3_tmr0 = 0x00000007,
|
|
regk_iop_sw_cfg_timer_grp3_tmr1 = 0x00000007,
|
|
regk_iop_sw_cfg_trig0_0 = 0x00000000,
|
|
regk_iop_sw_cfg_trig0_1 = 0x00000000,
|
|
regk_iop_sw_cfg_trig0_2 = 0x00000000,
|
|
regk_iop_sw_cfg_trig0_3 = 0x00000000,
|
|
regk_iop_sw_cfg_trig1_0 = 0x00000000,
|
|
regk_iop_sw_cfg_trig1_1 = 0x00000000,
|
|
regk_iop_sw_cfg_trig1_2 = 0x00000000,
|
|
regk_iop_sw_cfg_trig1_3 = 0x00000000,
|
|
regk_iop_sw_cfg_trig2_0 = 0x00000000,
|
|
regk_iop_sw_cfg_trig2_1 = 0x00000000,
|
|
regk_iop_sw_cfg_trig2_2 = 0x00000000,
|
|
regk_iop_sw_cfg_trig2_3 = 0x00000000,
|
|
regk_iop_sw_cfg_trig3_0 = 0x00000000,
|
|
regk_iop_sw_cfg_trig3_1 = 0x00000000,
|
|
regk_iop_sw_cfg_trig3_2 = 0x00000000,
|
|
regk_iop_sw_cfg_trig3_3 = 0x00000000,
|
|
regk_iop_sw_cfg_trig4_0 = 0x00000001,
|
|
regk_iop_sw_cfg_trig4_1 = 0x00000001,
|
|
regk_iop_sw_cfg_trig4_2 = 0x00000001,
|
|
regk_iop_sw_cfg_trig4_3 = 0x00000001,
|
|
regk_iop_sw_cfg_trig5_0 = 0x00000001,
|
|
regk_iop_sw_cfg_trig5_1 = 0x00000001,
|
|
regk_iop_sw_cfg_trig5_2 = 0x00000001,
|
|
regk_iop_sw_cfg_trig5_3 = 0x00000001,
|
|
regk_iop_sw_cfg_trig6_0 = 0x00000001,
|
|
regk_iop_sw_cfg_trig6_1 = 0x00000001,
|
|
regk_iop_sw_cfg_trig6_2 = 0x00000001,
|
|
regk_iop_sw_cfg_trig6_3 = 0x00000001,
|
|
regk_iop_sw_cfg_trig7_0 = 0x00000001,
|
|
regk_iop_sw_cfg_trig7_1 = 0x00000001,
|
|
regk_iop_sw_cfg_trig7_2 = 0x00000001,
|
|
regk_iop_sw_cfg_trig7_3 = 0x00000001
|
|
};
|
|
#endif /* __iop_sw_cfg_defs_h */
|