1*76bd547bSAdrian Chadd /* 2*76bd547bSAdrian Chadd * Copyright (c) 2013 Qualcomm Atheros, Inc. 3*76bd547bSAdrian Chadd * 4*76bd547bSAdrian Chadd * Permission to use, copy, modify, and/or distribute this software for any 5*76bd547bSAdrian Chadd * purpose with or without fee is hereby granted, provided that the above 6*76bd547bSAdrian Chadd * copyright notice and this permission notice appear in all copies. 7*76bd547bSAdrian Chadd * 8*76bd547bSAdrian Chadd * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 9*76bd547bSAdrian Chadd * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10*76bd547bSAdrian Chadd * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 11*76bd547bSAdrian Chadd * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12*76bd547bSAdrian Chadd * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 13*76bd547bSAdrian Chadd * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14*76bd547bSAdrian Chadd * PERFORMANCE OF THIS SOFTWARE. 15*76bd547bSAdrian Chadd */ 16*76bd547bSAdrian Chadd /* */ 17*76bd547bSAdrian Chadd /* File: /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/top/scorpion_reg_map.h*/ 18*76bd547bSAdrian Chadd /* Creator: irshad */ 19*76bd547bSAdrian Chadd /* Time: Wednesday Feb 15, 2012 [5:06:37 pm] */ 20*76bd547bSAdrian Chadd /* */ 21*76bd547bSAdrian Chadd /* Path: /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/top*/ 22*76bd547bSAdrian Chadd /* Arguments: /cad/denali/blueprint/3.7.3//Linux-64bit/blueprint -dump */ 23*76bd547bSAdrian Chadd /* -codegen */ 24*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/flow/blueprint/ath_ansic.codegen*/ 25*76bd547bSAdrian Chadd /* -ath_ansic -Wdesc -I */ 26*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/top*/ 27*76bd547bSAdrian Chadd /* -I /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint */ 28*76bd547bSAdrian Chadd /* -I */ 29*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/flow/blueprint*/ 30*76bd547bSAdrian Chadd /* -I */ 31*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig*/ 32*76bd547bSAdrian Chadd /* -odir */ 33*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/top*/ 34*76bd547bSAdrian Chadd /* -eval {$INCLUDE_SYSCONFIG_FILES=1} -eval */ 35*76bd547bSAdrian Chadd /* $WAR_EV58615_for_ansic_codegen=1 scorpion_reg.rdl */ 36*76bd547bSAdrian Chadd /* */ 37*76bd547bSAdrian Chadd /* Sources: /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/mac_dcu_reg_sysconfig.rdl*/ 38*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/rtc/rtc_reg.rdl*/ 39*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/mac/rtl/mac_dma/blueprint/mac_dma_reg.rdl*/ 40*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/rtc_reg_sysconfig.rdl*/ 41*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/mac_pcu_reg_sysconfig.rdl*/ 42*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/mac/rtl/mac_dma/blueprint/mac_dcu_reg.rdl*/ 43*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/mac/rtl/mac_pcu/blueprint/mac_pcu_reg.rdl*/ 44*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/wmac_wrap/rtc_sync_reg.rdl*/ 45*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/mac/rtl/mac_dma/blueprint/mac_qcu_reg.rdl*/ 46*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/mac_dma_reg_sysconfig.rdl*/ 47*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/top/scorpion_reg.rdl*/ 48*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/bb_reg_map_sysconfig.rdl*/ 49*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/top/scorpion_radio_reg.rdl*/ 50*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/svd_reg_sysconfig.rdl*/ 51*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/radio_65_reg_sysconfig.rdl*/ 52*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/bb/blueprint/bb_reg_map.rdl*/ 53*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/rtc_sync_reg_sysconfig.rdl*/ 54*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/rtl/svd/svd_reg.rdl*/ 55*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/blueprint/sysconfig/mac_qcu_reg_sysconfig.rdl*/ 56*76bd547bSAdrian Chadd /* /trees/irshad/irshad-scorpion/chips/scorpion/1.0/flow/blueprint/ath_ansic.pm*/ 57*76bd547bSAdrian Chadd /* /cad/local/lib/perl/Pinfo.pm */ 58*76bd547bSAdrian Chadd /* */ 59*76bd547bSAdrian Chadd /* Blueprint: 3.7.3 (Fri Aug 29 12:39:16 PDT 2008) */ 60*76bd547bSAdrian Chadd /* Machine: rupavathi.users.atheros.com */ 61*76bd547bSAdrian Chadd /* OS: Linux 2.6.9-89.ELsmp */ 62*76bd547bSAdrian Chadd /* Description: */ 63*76bd547bSAdrian Chadd /* */ 64*76bd547bSAdrian Chadd /*This Register Map contains the complete register set for scorpion. */ 65*76bd547bSAdrian Chadd /* */ 66*76bd547bSAdrian Chadd /* Copyright (C) 2012 Denali Software Inc. All rights reserved */ 67*76bd547bSAdrian Chadd /* THIS FILE IS AUTOMATICALLY GENERATED BY DENALI BLUEPRINT, DO NOT EDIT */ 68*76bd547bSAdrian Chadd /* */ 69*76bd547bSAdrian Chadd 70*76bd547bSAdrian Chadd 71*76bd547bSAdrian Chadd #ifndef __REG_SCORPION_REG_MAP_H__ 72*76bd547bSAdrian Chadd #define __REG_SCORPION_REG_MAP_H__ 73*76bd547bSAdrian Chadd 74*76bd547bSAdrian Chadd #include "scorpion_reg_map_macro.h" 75*76bd547bSAdrian Chadd 76*76bd547bSAdrian Chadd struct mac_dma_reg { 77*76bd547bSAdrian Chadd volatile char pad__0[0x8]; /* 0x0 - 0x8 */ 78*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_CR; /* 0x8 - 0xc */ 79*76bd547bSAdrian Chadd volatile char pad__1[0x8]; /* 0xc - 0x14 */ 80*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_CFG; /* 0x14 - 0x18 */ 81*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RXBUFPTR_THRESH; /* 0x18 - 0x1c */ 82*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TXDPPTR_THRESH; /* 0x1c - 0x20 */ 83*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_MIRT; /* 0x20 - 0x24 */ 84*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_GLOBAL_IER; /* 0x24 - 0x28 */ 85*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT; /* 0x28 - 0x2c */ 86*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RIMT; /* 0x2c - 0x30 */ 87*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TXCFG; /* 0x30 - 0x34 */ 88*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RXCFG; /* 0x34 - 0x38 */ 89*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RXJLA; /* 0x38 - 0x3c */ 90*76bd547bSAdrian Chadd volatile char pad__2[0x4]; /* 0x3c - 0x40 */ 91*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_MIBC; /* 0x40 - 0x44 */ 92*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TOPS; /* 0x44 - 0x48 */ 93*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RXNPTO; /* 0x48 - 0x4c */ 94*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TXNPTO; /* 0x4c - 0x50 */ 95*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RPGTO; /* 0x50 - 0x54 */ 96*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0x54 - 0x58 */ 97*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_MACMISC; /* 0x58 - 0x5c */ 98*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_INTER; /* 0x5c - 0x60 */ 99*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DATABUF; /* 0x60 - 0x64 */ 100*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_GTT; /* 0x64 - 0x68 */ 101*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_GTTM; /* 0x68 - 0x6c */ 102*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_CST; /* 0x6c - 0x70 */ 103*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RXDP_SIZE; /* 0x70 - 0x74 */ 104*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RX_QUEUE_HP_RXDP; /* 0x74 - 0x78 */ 105*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_RX_QUEUE_LP_RXDP; /* 0x78 - 0x7c */ 106*76bd547bSAdrian Chadd volatile char pad__4[0x4]; /* 0x7c - 0x80 */ 107*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_P; /* 0x80 - 0x84 */ 108*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S0; /* 0x84 - 0x88 */ 109*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S1; /* 0x88 - 0x8c */ 110*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S2; /* 0x8c - 0x90 */ 111*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S3; /* 0x90 - 0x94 */ 112*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S4; /* 0x94 - 0x98 */ 113*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S5; /* 0x98 - 0x9c */ 114*76bd547bSAdrian Chadd volatile char pad__5[0x4]; /* 0x9c - 0xa0 */ 115*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_P; /* 0xa0 - 0xa4 */ 116*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_S0; /* 0xa4 - 0xa8 */ 117*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_S1; /* 0xa8 - 0xac */ 118*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_S2; /* 0xac - 0xb0 */ 119*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_S3; /* 0xb0 - 0xb4 */ 120*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_S4; /* 0xb4 - 0xb8 */ 121*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_IMR_S5; /* 0xb8 - 0xbc */ 122*76bd547bSAdrian Chadd volatile char pad__6[0x4]; /* 0xbc - 0xc0 */ 123*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_P_RAC; /* 0xc0 - 0xc4 */ 124*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S0_S; /* 0xc4 - 0xc8 */ 125*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S1_S; /* 0xc8 - 0xcc */ 126*76bd547bSAdrian Chadd volatile char pad__7[0x4]; /* 0xcc - 0xd0 */ 127*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S2_S; /* 0xd0 - 0xd4 */ 128*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S3_S; /* 0xd4 - 0xd8 */ 129*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S4_S; /* 0xd8 - 0xdc */ 130*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_ISR_S5_S; /* 0xdc - 0xe0 */ 131*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_0; /* 0xe0 - 0xe4 */ 132*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_1; /* 0xe4 - 0xe8 */ 133*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_2; /* 0xe8 - 0xec */ 134*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_3; /* 0xec - 0xf0 */ 135*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_4; /* 0xf0 - 0xf4 */ 136*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_5; /* 0xf4 - 0xf8 */ 137*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_6; /* 0xf8 - 0xfc */ 138*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_DMADBG_7; /* 0xfc - 0x100 */ 139*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_QCU_TXDP_REMAINING_QCU_7_0; 140*76bd547bSAdrian Chadd /* 0x100 - 0x104 */ 141*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_QCU_TXDP_REMAINING_QCU_9_8; 142*76bd547bSAdrian Chadd /* 0x104 - 0x108 */ 143*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_0; /* 0x108 - 0x10c */ 144*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_1; /* 0x10c - 0x110 */ 145*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_2; /* 0x110 - 0x114 */ 146*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_3; /* 0x114 - 0x118 */ 147*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_4; /* 0x118 - 0x11c */ 148*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_5; /* 0x11c - 0x120 */ 149*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_6; /* 0x120 - 0x124 */ 150*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_7; /* 0x124 - 0x128 */ 151*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_8; /* 0x128 - 0x12c */ 152*76bd547bSAdrian Chadd volatile u_int32_t MAC_DMA_TIMT_9; /* 0x12c - 0x130 */ 153*76bd547bSAdrian Chadd }; 154*76bd547bSAdrian Chadd 155*76bd547bSAdrian Chadd struct mac_qcu_reg { 156*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_TXDP[10]; /* 0x0 - 0x28 */ 157*76bd547bSAdrian Chadd volatile char pad__0[0x8]; /* 0x28 - 0x30 */ 158*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_STATUS_RING_START; /* 0x30 - 0x34 */ 159*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_STATUS_RING_END; /* 0x34 - 0x38 */ 160*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_STATUS_RING_CURRENT; /* 0x38 - 0x3c */ 161*76bd547bSAdrian Chadd volatile char pad__1[0x4]; /* 0x3c - 0x40 */ 162*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_TXE; /* 0x40 - 0x44 */ 163*76bd547bSAdrian Chadd volatile char pad__2[0x3c]; /* 0x44 - 0x80 */ 164*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_TXD; /* 0x80 - 0x84 */ 165*76bd547bSAdrian Chadd volatile char pad__3[0x3c]; /* 0x84 - 0xc0 */ 166*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_CBR[10]; /* 0xc0 - 0xe8 */ 167*76bd547bSAdrian Chadd volatile char pad__4[0x18]; /* 0xe8 - 0x100 */ 168*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_RDYTIME[10]; /* 0x100 - 0x128 */ 169*76bd547bSAdrian Chadd volatile char pad__5[0x18]; /* 0x128 - 0x140 */ 170*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_ONESHOT_ARM_SC; /* 0x140 - 0x144 */ 171*76bd547bSAdrian Chadd volatile char pad__6[0x3c]; /* 0x144 - 0x180 */ 172*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_ONESHOT_ARM_CC; /* 0x180 - 0x184 */ 173*76bd547bSAdrian Chadd volatile char pad__7[0x3c]; /* 0x184 - 0x1c0 */ 174*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_MISC[10]; /* 0x1c0 - 0x1e8 */ 175*76bd547bSAdrian Chadd volatile char pad__8[0x18]; /* 0x1e8 - 0x200 */ 176*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_CNT[10]; /* 0x200 - 0x228 */ 177*76bd547bSAdrian Chadd volatile char pad__9[0x18]; /* 0x228 - 0x240 */ 178*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_RDYTIME_SHDN; /* 0x240 - 0x244 */ 179*76bd547bSAdrian Chadd volatile u_int32_t MAC_QCU_DESC_CRC_CHK; /* 0x244 - 0x248 */ 180*76bd547bSAdrian Chadd }; 181*76bd547bSAdrian Chadd 182*76bd547bSAdrian Chadd struct mac_dcu_reg { 183*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_QCUMASK[10]; /* 0x0 - 0x28 */ 184*76bd547bSAdrian Chadd volatile char pad__0[0x8]; /* 0x28 - 0x30 */ 185*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_GBL_IFS_SIFS; /* 0x30 - 0x34 */ 186*76bd547bSAdrian Chadd volatile char pad__1[0x4]; /* 0x34 - 0x38 */ 187*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU0_31_0; /* 0x38 - 0x3c */ 188*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU8_31_0; /* 0x3c - 0x40 */ 189*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_LCL_IFS[10]; /* 0x40 - 0x68 */ 190*76bd547bSAdrian Chadd volatile char pad__2[0x8]; /* 0x68 - 0x70 */ 191*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_GBL_IFS_SLOT; /* 0x70 - 0x74 */ 192*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0x74 - 0x78 */ 193*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU0_63_32; /* 0x78 - 0x7c */ 194*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU8_63_32; /* 0x7c - 0x80 */ 195*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_RETRY_LIMIT[10]; /* 0x80 - 0xa8 */ 196*76bd547bSAdrian Chadd volatile char pad__4[0x8]; /* 0xa8 - 0xb0 */ 197*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_GBL_IFS_EIFS; /* 0xb0 - 0xb4 */ 198*76bd547bSAdrian Chadd volatile char pad__5[0x4]; /* 0xb4 - 0xb8 */ 199*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU0_95_64; /* 0xb8 - 0xbc */ 200*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU8_95_64; /* 0xbc - 0xc0 */ 201*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_CHANNEL_TIME[10]; /* 0xc0 - 0xe8 */ 202*76bd547bSAdrian Chadd volatile char pad__6[0x8]; /* 0xe8 - 0xf0 */ 203*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_GBL_IFS_MISC; /* 0xf0 - 0xf4 */ 204*76bd547bSAdrian Chadd volatile char pad__7[0x4]; /* 0xf4 - 0xf8 */ 205*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU0_127_96; 206*76bd547bSAdrian Chadd /* 0xf8 - 0xfc */ 207*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU8_127_96; 208*76bd547bSAdrian Chadd /* 0xfc - 0x100 */ 209*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_MISC[10]; /* 0x100 - 0x128 */ 210*76bd547bSAdrian Chadd volatile char pad__8[0x10]; /* 0x128 - 0x138 */ 211*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU1_31_0; /* 0x138 - 0x13c */ 212*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU9_31_0; /* 0x13c - 0x140 */ 213*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_SEQ; /* 0x140 - 0x144 */ 214*76bd547bSAdrian Chadd volatile char pad__9[0x34]; /* 0x144 - 0x178 */ 215*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU1_63_32; /* 0x178 - 0x17c */ 216*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU9_63_32; /* 0x17c - 0x180 */ 217*76bd547bSAdrian Chadd volatile char pad__10[0x38]; /* 0x180 - 0x1b8 */ 218*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU1_95_64; /* 0x1b8 - 0x1bc */ 219*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU9_95_64; /* 0x1bc - 0x1c0 */ 220*76bd547bSAdrian Chadd volatile char pad__11[0x38]; /* 0x1c0 - 0x1f8 */ 221*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU1_127_96; 222*76bd547bSAdrian Chadd /* 0x1f8 - 0x1fc */ 223*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU9_127_96; 224*76bd547bSAdrian Chadd /* 0x1fc - 0x200 */ 225*76bd547bSAdrian Chadd volatile char pad__12[0x38]; /* 0x200 - 0x238 */ 226*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU2_31_0; /* 0x238 - 0x23c */ 227*76bd547bSAdrian Chadd volatile char pad__13[0x34]; /* 0x23c - 0x270 */ 228*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_PAUSE; /* 0x270 - 0x274 */ 229*76bd547bSAdrian Chadd volatile char pad__14[0x4]; /* 0x274 - 0x278 */ 230*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU2_63_32; /* 0x278 - 0x27c */ 231*76bd547bSAdrian Chadd volatile char pad__15[0x34]; /* 0x27c - 0x2b0 */ 232*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_WOW_KACFG; /* 0x2b0 - 0x2b4 */ 233*76bd547bSAdrian Chadd volatile char pad__16[0x4]; /* 0x2b4 - 0x2b8 */ 234*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU2_95_64; /* 0x2b8 - 0x2bc */ 235*76bd547bSAdrian Chadd volatile char pad__17[0x34]; /* 0x2bc - 0x2f0 */ 236*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXSLOT; /* 0x2f0 - 0x2f4 */ 237*76bd547bSAdrian Chadd volatile char pad__18[0x4]; /* 0x2f4 - 0x2f8 */ 238*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU2_127_96; 239*76bd547bSAdrian Chadd /* 0x2f8 - 0x2fc */ 240*76bd547bSAdrian Chadd volatile char pad__19[0x3c]; /* 0x2fc - 0x338 */ 241*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU3_31_0; /* 0x338 - 0x33c */ 242*76bd547bSAdrian Chadd volatile char pad__20[0x3c]; /* 0x33c - 0x378 */ 243*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU3_63_32; /* 0x378 - 0x37c */ 244*76bd547bSAdrian Chadd volatile char pad__21[0x3c]; /* 0x37c - 0x3b8 */ 245*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU3_95_64; /* 0x3b8 - 0x3bc */ 246*76bd547bSAdrian Chadd volatile char pad__22[0x3c]; /* 0x3bc - 0x3f8 */ 247*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU3_127_96; 248*76bd547bSAdrian Chadd /* 0x3f8 - 0x3fc */ 249*76bd547bSAdrian Chadd volatile char pad__23[0x3c]; /* 0x3fc - 0x438 */ 250*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU4_31_0; /* 0x438 - 0x43c */ 251*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_CLEAR; /* 0x43c - 0x440 */ 252*76bd547bSAdrian Chadd volatile char pad__24[0x38]; /* 0x440 - 0x478 */ 253*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU4_63_32; /* 0x478 - 0x47c */ 254*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_SET; /* 0x47c - 0x480 */ 255*76bd547bSAdrian Chadd volatile char pad__25[0x38]; /* 0x480 - 0x4b8 */ 256*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU4_95_64; /* 0x4b8 - 0x4bc */ 257*76bd547bSAdrian Chadd volatile char pad__26[0x3c]; /* 0x4bc - 0x4f8 */ 258*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU4_127_96; 259*76bd547bSAdrian Chadd /* 0x4f8 - 0x4fc */ 260*76bd547bSAdrian Chadd volatile char pad__27[0x3c]; /* 0x4fc - 0x538 */ 261*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU5_31_0; /* 0x538 - 0x53c */ 262*76bd547bSAdrian Chadd volatile char pad__28[0x3c]; /* 0x53c - 0x578 */ 263*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU5_63_32; /* 0x578 - 0x57c */ 264*76bd547bSAdrian Chadd volatile char pad__29[0x3c]; /* 0x57c - 0x5b8 */ 265*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU5_95_64; /* 0x5b8 - 0x5bc */ 266*76bd547bSAdrian Chadd volatile char pad__30[0x3c]; /* 0x5bc - 0x5f8 */ 267*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU5_127_96; 268*76bd547bSAdrian Chadd /* 0x5f8 - 0x5fc */ 269*76bd547bSAdrian Chadd volatile char pad__31[0x3c]; /* 0x5fc - 0x638 */ 270*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU6_31_0; /* 0x638 - 0x63c */ 271*76bd547bSAdrian Chadd volatile char pad__32[0x3c]; /* 0x63c - 0x678 */ 272*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU6_63_32; /* 0x678 - 0x67c */ 273*76bd547bSAdrian Chadd volatile char pad__33[0x3c]; /* 0x67c - 0x6b8 */ 274*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU6_95_64; /* 0x6b8 - 0x6bc */ 275*76bd547bSAdrian Chadd volatile char pad__34[0x3c]; /* 0x6bc - 0x6f8 */ 276*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU6_127_96; 277*76bd547bSAdrian Chadd /* 0x6f8 - 0x6fc */ 278*76bd547bSAdrian Chadd volatile char pad__35[0x3c]; /* 0x6fc - 0x738 */ 279*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU7_31_0; /* 0x738 - 0x73c */ 280*76bd547bSAdrian Chadd volatile char pad__36[0x3c]; /* 0x73c - 0x778 */ 281*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU7_63_32; /* 0x778 - 0x77c */ 282*76bd547bSAdrian Chadd volatile char pad__37[0x3c]; /* 0x77c - 0x7b8 */ 283*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU7_95_64; /* 0x7b8 - 0x7bc */ 284*76bd547bSAdrian Chadd volatile char pad__38[0x3c]; /* 0x7bc - 0x7f8 */ 285*76bd547bSAdrian Chadd volatile u_int32_t MAC_DCU_TXFILTER_DCU7_127_96; 286*76bd547bSAdrian Chadd /* 0x7f8 - 0x7fc */ 287*76bd547bSAdrian Chadd volatile char pad__39[0x704]; /* 0x7fc - 0xf00 */ 288*76bd547bSAdrian Chadd volatile u_int32_t MAC_SLEEP_STATUS; /* 0xf00 - 0xf04 */ 289*76bd547bSAdrian Chadd volatile u_int32_t MAC_LED_CONFIG; /* 0xf04 - 0xf08 */ 290*76bd547bSAdrian Chadd }; 291*76bd547bSAdrian Chadd 292*76bd547bSAdrian Chadd struct rtc_reg { 293*76bd547bSAdrian Chadd volatile u_int32_t RESET_CONTROL; /* 0x0 - 0x4 */ 294*76bd547bSAdrian Chadd volatile u_int32_t XTAL_CONTROL; /* 0x4 - 0x8 */ 295*76bd547bSAdrian Chadd volatile u_int32_t REG_CONTROL0; /* 0x8 - 0xc */ 296*76bd547bSAdrian Chadd volatile u_int32_t REG_CONTROL1; /* 0xc - 0x10 */ 297*76bd547bSAdrian Chadd volatile u_int32_t QUADRATURE; /* 0x10 - 0x14 */ 298*76bd547bSAdrian Chadd volatile u_int32_t PLL_CONTROL; /* 0x14 - 0x18 */ 299*76bd547bSAdrian Chadd volatile u_int32_t PLL_SETTLE; /* 0x18 - 0x1c */ 300*76bd547bSAdrian Chadd volatile u_int32_t XTAL_SETTLE; /* 0x1c - 0x20 */ 301*76bd547bSAdrian Chadd volatile u_int32_t CLOCK_OUT; /* 0x20 - 0x24 */ 302*76bd547bSAdrian Chadd volatile u_int32_t BIAS_OVERRIDE; /* 0x24 - 0x28 */ 303*76bd547bSAdrian Chadd volatile u_int32_t RESET_CAUSE; /* 0x28 - 0x2c */ 304*76bd547bSAdrian Chadd volatile u_int32_t SYSTEM_SLEEP; /* 0x2c - 0x30 */ 305*76bd547bSAdrian Chadd volatile u_int32_t MAC_SLEEP_CONTROL; /* 0x30 - 0x34 */ 306*76bd547bSAdrian Chadd volatile u_int32_t KEEP_AWAKE; /* 0x34 - 0x38 */ 307*76bd547bSAdrian Chadd volatile u_int32_t DERIVED_RTC_CLK; /* 0x38 - 0x3c */ 308*76bd547bSAdrian Chadd volatile u_int32_t PLL_CONTROL2; /* 0x3c - 0x40 */ 309*76bd547bSAdrian Chadd }; 310*76bd547bSAdrian Chadd 311*76bd547bSAdrian Chadd struct rtc_sync_reg { 312*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_RESET; /* 0x0 - 0x4 */ 313*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_STATUS; /* 0x4 - 0x8 */ 314*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_DERIVED; /* 0x8 - 0xc */ 315*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_FORCE_WAKE; /* 0xc - 0x10 */ 316*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_INTR_CAUSE; /* 0x10 - 0x14 */ 317*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_INTR_ENABLE; /* 0x14 - 0x18 */ 318*76bd547bSAdrian Chadd volatile u_int32_t RTC_SYNC_INTR_MASK; /* 0x18 - 0x1c */ 319*76bd547bSAdrian Chadd }; 320*76bd547bSAdrian Chadd 321*76bd547bSAdrian Chadd struct mac_pcu_reg { 322*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_STA_ADDR_L32; /* 0x0 - 0x4 */ 323*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_STA_ADDR_U16; /* 0x4 - 0x8 */ 324*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BSSID_L32; /* 0x8 - 0xc */ 325*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BSSID_U16; /* 0xc - 0x10 */ 326*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BCN_RSSI_AVE; /* 0x10 - 0x14 */ 327*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_ACK_CTS_TIMEOUT; /* 0x14 - 0x18 */ 328*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BCN_RSSI_CTL; /* 0x18 - 0x1c */ 329*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_USEC_LATENCY; /* 0x1c - 0x20 */ 330*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RESET_TSF; /* 0x20 - 0x24 */ 331*76bd547bSAdrian Chadd volatile char pad__0[0x14]; /* 0x24 - 0x38 */ 332*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MAX_CFP_DUR; /* 0x38 - 0x3c */ 333*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RX_FILTER; /* 0x3c - 0x40 */ 334*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MCAST_FILTER_L32; /* 0x40 - 0x44 */ 335*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MCAST_FILTER_U32; /* 0x44 - 0x48 */ 336*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_DIAG_SW; /* 0x48 - 0x4c */ 337*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TSF_L32; /* 0x4c - 0x50 */ 338*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TSF_U32; /* 0x50 - 0x54 */ 339*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TST_ADDAC; /* 0x54 - 0x58 */ 340*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_DEF_ANTENNA; /* 0x58 - 0x5c */ 341*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AES_MUTE_MASK_0; /* 0x5c - 0x60 */ 342*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AES_MUTE_MASK_1; /* 0x60 - 0x64 */ 343*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_GATED_CLKS; /* 0x64 - 0x68 */ 344*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_OBS_BUS_2; /* 0x68 - 0x6c */ 345*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_OBS_BUS_1; /* 0x6c - 0x70 */ 346*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_DYM_MIMO_PWR_SAVE; /* 0x70 - 0x74 */ 347*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TDMA_TXFRAME_START_TIME_TRIGGER_LSB; 348*76bd547bSAdrian Chadd /* 0x74 - 0x78 */ 349*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TDMA_TXFRAME_START_TIME_TRIGGER_MSB; 350*76bd547bSAdrian Chadd /* 0x78 - 0x7c */ 351*76bd547bSAdrian Chadd volatile char pad__1[0x4]; /* 0x7c - 0x80 */ 352*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LAST_BEACON_TSF; /* 0x80 - 0x84 */ 353*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_NAV; /* 0x84 - 0x88 */ 354*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RTS_SUCCESS_CNT; /* 0x88 - 0x8c */ 355*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RTS_FAIL_CNT; /* 0x8c - 0x90 */ 356*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_ACK_FAIL_CNT; /* 0x90 - 0x94 */ 357*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_FCS_FAIL_CNT; /* 0x94 - 0x98 */ 358*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BEACON_CNT; /* 0x98 - 0x9c */ 359*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TDMA_SLOT_ALERT_CNTL; 360*76bd547bSAdrian Chadd /* 0x9c - 0xa0 */ 361*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BASIC_SET; /* 0xa0 - 0xa4 */ 362*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MGMT_SEQ; /* 0xa4 - 0xa8 */ 363*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BF_RPT1; /* 0xa8 - 0xac */ 364*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BF_RPT2; /* 0xac - 0xb0 */ 365*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TX_ANT_1; /* 0xb0 - 0xb4 */ 366*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TX_ANT_2; /* 0xb4 - 0xb8 */ 367*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TX_ANT_3; /* 0xb8 - 0xbc */ 368*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TX_ANT_4; /* 0xbc - 0xc0 */ 369*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_XRMODE; /* 0xc0 - 0xc4 */ 370*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_XRDEL; /* 0xc4 - 0xc8 */ 371*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_XRTO; /* 0xc8 - 0xcc */ 372*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_XRCRP; /* 0xcc - 0xd0 */ 373*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_XRSTMP; /* 0xd0 - 0xd4 */ 374*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP1; /* 0xd4 - 0xd8 */ 375*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP2; /* 0xd8 - 0xdc */ 376*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SELF_GEN_DEFAULT; /* 0xdc - 0xe0 */ 377*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_ADDR1_MASK_L32; /* 0xe0 - 0xe4 */ 378*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_ADDR1_MASK_U16; /* 0xe4 - 0xe8 */ 379*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TPC; /* 0xe8 - 0xec */ 380*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TX_FRAME_CNT; /* 0xec - 0xf0 */ 381*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RX_FRAME_CNT; /* 0xf0 - 0xf4 */ 382*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RX_CLEAR_CNT; /* 0xf4 - 0xf8 */ 383*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_CYCLE_CNT; /* 0xf8 - 0xfc */ 384*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_QUIET_TIME_1; /* 0xfc - 0x100 */ 385*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_QUIET_TIME_2; /* 0x100 - 0x104 */ 386*76bd547bSAdrian Chadd volatile char pad__2[0x4]; /* 0x104 - 0x108 */ 387*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_QOS_NO_ACK; /* 0x108 - 0x10c */ 388*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERROR_MASK; /* 0x10c - 0x110 */ 389*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_XRLAT; /* 0x110 - 0x114 */ 390*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RXBUF; /* 0x114 - 0x118 */ 391*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MIC_QOS_CONTROL; /* 0x118 - 0x11c */ 392*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MIC_QOS_SELECT; /* 0x11c - 0x120 */ 393*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MISC_MODE; /* 0x120 - 0x124 */ 394*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_FILTER_OFDM_CNT; /* 0x124 - 0x128 */ 395*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_FILTER_CCK_CNT; /* 0x128 - 0x12c */ 396*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_1; /* 0x12c - 0x130 */ 397*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_1_MASK; /* 0x130 - 0x134 */ 398*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_2; /* 0x134 - 0x138 */ 399*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_2_MASK; /* 0x138 - 0x13c */ 400*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TSF_THRESHOLD; /* 0x13c - 0x140 */ 401*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MISC_MODE4; /* 0x140 - 0x144 */ 402*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERROR_EIFS_MASK; /* 0x144 - 0x148 */ 403*76bd547bSAdrian Chadd volatile char pad__3[0x20]; /* 0x148 - 0x168 */ 404*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_3; /* 0x168 - 0x16c */ 405*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_3_MASK; /* 0x16c - 0x170 */ 406*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_MODE; /* 0x170 - 0x174 */ 407*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_WL_WEIGHTS0; 408*76bd547bSAdrian Chadd /* 0x174 - 0x178 */ 409*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_HCF_TIMEOUT; /* 0x178 - 0x17c */ 410*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_MODE2; /* 0x17c - 0x180 */ 411*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_GENERIC_TIMERS2[16]; /* 0x180 - 0x1c0 */ 412*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_GENERIC_TIMERS2_MODE; 413*76bd547bSAdrian Chadd /* 0x1c0 - 0x1c4 */ 414*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_WL_WEIGHTS1; 415*76bd547bSAdrian Chadd /* 0x1c4 - 0x1c8 */ 416*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_TSF_BT_ACTIVE; 417*76bd547bSAdrian Chadd /* 0x1c8 - 0x1cc */ 418*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_TSF_BT_PRIORITY; 419*76bd547bSAdrian Chadd /* 0x1cc - 0x1d0 */ 420*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXSIFS; /* 0x1d0 - 0x1d4 */ 421*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_MODE3; /* 0x1d4 - 0x1d8 */ 422*76bd547bSAdrian Chadd volatile char pad__4[0x14]; /* 0x1d8 - 0x1ec */ 423*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXOP_X; /* 0x1ec - 0x1f0 */ 424*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXOP_0_3; /* 0x1f0 - 0x1f4 */ 425*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXOP_4_7; /* 0x1f4 - 0x1f8 */ 426*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXOP_8_11; /* 0x1f8 - 0x1fc */ 427*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXOP_12_15; /* 0x1fc - 0x200 */ 428*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_GENERIC_TIMERS[16]; /* 0x200 - 0x240 */ 429*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_GENERIC_TIMERS_MODE; /* 0x240 - 0x244 */ 430*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP32_MODE; /* 0x244 - 0x248 */ 431*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP32_WAKE; /* 0x248 - 0x24c */ 432*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP32_INC; /* 0x24c - 0x250 */ 433*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP_MIB1; /* 0x250 - 0x254 */ 434*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP_MIB2; /* 0x254 - 0x258 */ 435*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SLP_MIB3; /* 0x258 - 0x25c */ 436*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW1; /* 0x25c - 0x260 */ 437*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW2; /* 0x260 - 0x264 */ 438*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LOGIC_ANALYZER; /* 0x264 - 0x268 */ 439*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LOGIC_ANALYZER_32L; /* 0x268 - 0x26c */ 440*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LOGIC_ANALYZER_16U; /* 0x26c - 0x270 */ 441*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW3_BEACON_FAIL; /* 0x270 - 0x274 */ 442*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW3_BEACON; /* 0x274 - 0x278 */ 443*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW3_KEEP_ALIVE; /* 0x278 - 0x27c */ 444*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW_KA; /* 0x27c - 0x280 */ 445*76bd547bSAdrian Chadd volatile char pad__5[0x4]; /* 0x280 - 0x284 */ 446*76bd547bSAdrian Chadd volatile u_int32_t PCU_1US; /* 0x284 - 0x288 */ 447*76bd547bSAdrian Chadd volatile u_int32_t PCU_KA; /* 0x288 - 0x28c */ 448*76bd547bSAdrian Chadd volatile u_int32_t WOW_EXACT; /* 0x28c - 0x290 */ 449*76bd547bSAdrian Chadd volatile char pad__6[0x4]; /* 0x290 - 0x294 */ 450*76bd547bSAdrian Chadd volatile u_int32_t PCU_WOW4; /* 0x294 - 0x298 */ 451*76bd547bSAdrian Chadd volatile u_int32_t PCU_WOW5; /* 0x298 - 0x29c */ 452*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERR_CNT_MASK_CONT; 453*76bd547bSAdrian Chadd /* 0x29c - 0x2a0 */ 454*76bd547bSAdrian Chadd volatile char pad__7[0x60]; /* 0x2a0 - 0x300 */ 455*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AZIMUTH_MODE; /* 0x300 - 0x304 */ 456*76bd547bSAdrian Chadd volatile char pad__8[0x10]; /* 0x304 - 0x314 */ 457*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AZIMUTH_TIME_STAMP; /* 0x314 - 0x318 */ 458*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_20_40_MODE; /* 0x318 - 0x31c */ 459*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_H_XFER_TIMEOUT; /* 0x31c - 0x320 */ 460*76bd547bSAdrian Chadd volatile char pad__9[0x8]; /* 0x320 - 0x328 */ 461*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_RX_CLEAR_DIFF_CNT; /* 0x328 - 0x32c */ 462*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_SELF_GEN_ANTENNA_MASK; 463*76bd547bSAdrian Chadd /* 0x32c - 0x330 */ 464*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BA_BAR_CONTROL; /* 0x330 - 0x334 */ 465*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LEGACY_PLCP_SPOOF; /* 0x334 - 0x338 */ 466*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERROR_MASK_CONT; /* 0x338 - 0x33c */ 467*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TX_TIMER; /* 0x33c - 0x340 */ 468*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXBUF_CTRL; /* 0x340 - 0x344 */ 469*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MISC_MODE2; /* 0x344 - 0x348 */ 470*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_ALT_AES_MUTE_MASK; /* 0x348 - 0x34c */ 471*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW6; /* 0x34c - 0x350 */ 472*76bd547bSAdrian Chadd volatile u_int32_t ASYNC_FIFO_REG1; /* 0x350 - 0x354 */ 473*76bd547bSAdrian Chadd volatile u_int32_t ASYNC_FIFO_REG2; /* 0x354 - 0x358 */ 474*76bd547bSAdrian Chadd volatile u_int32_t ASYNC_FIFO_REG3; /* 0x358 - 0x35c */ 475*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW5; /* 0x35c - 0x360 */ 476*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW_LENGTH1; /* 0x360 - 0x364 */ 477*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW_LENGTH2; /* 0x364 - 0x368 */ 478*76bd547bSAdrian Chadd volatile u_int32_t WOW_PATTERN_MATCH_LESS_THAN_256_BYTES; 479*76bd547bSAdrian Chadd /* 0x368 - 0x36c */ 480*76bd547bSAdrian Chadd volatile char pad__10[0x4]; /* 0x36c - 0x370 */ 481*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW4; /* 0x370 - 0x374 */ 482*76bd547bSAdrian Chadd volatile u_int32_t WOW2_EXACT; /* 0x374 - 0x378 */ 483*76bd547bSAdrian Chadd volatile u_int32_t PCU_WOW6; /* 0x378 - 0x37c */ 484*76bd547bSAdrian Chadd volatile u_int32_t PCU_WOW7; /* 0x37c - 0x380 */ 485*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW_LENGTH3; /* 0x380 - 0x384 */ 486*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_WOW_LENGTH4; /* 0x384 - 0x388 */ 487*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LOCATION_MODE_CONTROL; 488*76bd547bSAdrian Chadd /* 0x388 - 0x38c */ 489*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_LOCATION_MODE_TIMER; /* 0x38c - 0x390 */ 490*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TSF2_L32; /* 0x390 - 0x394 */ 491*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TSF2_U32; /* 0x394 - 0x398 */ 492*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BSSID2_L32; /* 0x398 - 0x39c */ 493*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BSSID2_U16; /* 0x39c - 0x3a0 */ 494*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_DIRECT_CONNECT; /* 0x3a0 - 0x3a4 */ 495*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TID_TO_AC; /* 0x3a4 - 0x3a8 */ 496*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_HP_QUEUE; /* 0x3a8 - 0x3ac */ 497*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_BT_WEIGHTS0; 498*76bd547bSAdrian Chadd /* 0x3ac - 0x3b0 */ 499*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_BT_WEIGHTS1; 500*76bd547bSAdrian Chadd /* 0x3b0 - 0x3b4 */ 501*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_BT_WEIGHTS2; 502*76bd547bSAdrian Chadd /* 0x3b4 - 0x3b8 */ 503*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BLUETOOTH_BT_WEIGHTS3; 504*76bd547bSAdrian Chadd /* 0x3b8 - 0x3bc */ 505*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AGC_SATURATION_CNT0; /* 0x3bc - 0x3c0 */ 506*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AGC_SATURATION_CNT1; /* 0x3c0 - 0x3c4 */ 507*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_AGC_SATURATION_CNT2; /* 0x3c4 - 0x3c8 */ 508*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_HW_BCN_PROC1; /* 0x3c8 - 0x3cc */ 509*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_HW_BCN_PROC2; /* 0x3cc - 0x3d0 */ 510*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_MISC_MODE3; /* 0x3d0 - 0x3d4 */ 511*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_FILTER_RSSI_AVE; /* 0x3d4 - 0x3d8 */ 512*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PHY_ERROR_AIFS_MASK; /* 0x3d8 - 0x3dc */ 513*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_PS_FILTER; /* 0x3dc - 0x3e0 */ 514*76bd547bSAdrian Chadd volatile char pad__11[0x20]; /* 0x3e0 - 0x400 */ 515*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_TXBUF_BA[64]; /* 0x400 - 0x500 */ 516*76bd547bSAdrian Chadd volatile char pad__12[0x300]; /* 0x500 - 0x800 */ 517*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_KEY_CACHE[1024]; /* 0x800 - 0x1800 */ 518*76bd547bSAdrian Chadd }; 519*76bd547bSAdrian Chadd 520*76bd547bSAdrian Chadd struct chn_reg_map { 521*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_controls_1; /* 0x0 - 0x4 */ 522*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_controls_2; /* 0x4 - 0x8 */ 523*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_controls_3; /* 0x8 - 0xc */ 524*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_control_4; /* 0xc - 0x10 */ 525*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_control_5; /* 0x10 - 0x14 */ 526*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_control_6; /* 0x14 - 0x18 */ 527*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_control_11; /* 0x18 - 0x1c */ 528*76bd547bSAdrian Chadd volatile u_int32_t BB_spur_mask_controls; /* 0x1c - 0x20 */ 529*76bd547bSAdrian Chadd volatile u_int32_t BB_find_signal_low; /* 0x20 - 0x24 */ 530*76bd547bSAdrian Chadd volatile u_int32_t BB_sfcorr; /* 0x24 - 0x28 */ 531*76bd547bSAdrian Chadd volatile u_int32_t BB_self_corr_low; /* 0x28 - 0x2c */ 532*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_chan_scorr_thr; /* 0x2c - 0x30 */ 533*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_chan_pwr_thr_2_b0; /* 0x30 - 0x34 */ 534*76bd547bSAdrian Chadd volatile u_int32_t BB_radar_detection; /* 0x34 - 0x38 */ 535*76bd547bSAdrian Chadd volatile u_int32_t BB_radar_detection_2; /* 0x38 - 0x3c */ 536*76bd547bSAdrian Chadd volatile u_int32_t BB_extension_radar; /* 0x3c - 0x40 */ 537*76bd547bSAdrian Chadd volatile char pad__0[0x40]; /* 0x40 - 0x80 */ 538*76bd547bSAdrian Chadd volatile u_int32_t BB_multichain_control; /* 0x80 - 0x84 */ 539*76bd547bSAdrian Chadd volatile u_int32_t BB_per_chain_csd; /* 0x84 - 0x88 */ 540*76bd547bSAdrian Chadd volatile char pad__1[0x18]; /* 0x88 - 0xa0 */ 541*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_crc; /* 0xa0 - 0xa4 */ 542*76bd547bSAdrian Chadd volatile u_int32_t BB_tstdac_constant; /* 0xa4 - 0xa8 */ 543*76bd547bSAdrian Chadd volatile u_int32_t BB_spur_report_b0; /* 0xa8 - 0xac */ 544*76bd547bSAdrian Chadd volatile char pad__2[0x4]; /* 0xac - 0xb0 */ 545*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_control_3; /* 0xb0 - 0xb4 */ 546*76bd547bSAdrian Chadd volatile char pad__3[0x8]; /* 0xb4 - 0xbc */ 547*76bd547bSAdrian Chadd volatile u_int32_t BB_green_tx_control_1; /* 0xbc - 0xc0 */ 548*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_0_b0; /* 0xc0 - 0xc4 */ 549*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_1_b0; /* 0xc4 - 0xc8 */ 550*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_2_b0; /* 0xc8 - 0xcc */ 551*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_3_b0; /* 0xcc - 0xd0 */ 552*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_phase_ramp_b0; /* 0xd0 - 0xd4 */ 553*76bd547bSAdrian Chadd volatile u_int32_t BB_adc_gain_dc_corr_b0; /* 0xd4 - 0xd8 */ 554*76bd547bSAdrian Chadd volatile char pad__4[0x4]; /* 0xd8 - 0xdc */ 555*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_iq_corr_b0; /* 0xdc - 0xe0 */ 556*76bd547bSAdrian Chadd volatile char pad__5[0x4]; /* 0xe0 - 0xe4 */ 557*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_am2am_mask; /* 0xe4 - 0xe8 */ 558*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_am2pm_mask; /* 0xe8 - 0xec */ 559*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ht40_mask; /* 0xec - 0xf0 */ 560*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ctrl0_b0; /* 0xf0 - 0xf4 */ 561*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ctrl1_b0; /* 0xf4 - 0xf8 */ 562*76bd547bSAdrian Chadd volatile u_int32_t BB_pa_gain123_b0; /* 0xf8 - 0xfc */ 563*76bd547bSAdrian Chadd volatile u_int32_t BB_pa_gain45_b0; /* 0xfc - 0x100 */ 564*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_0_b0; 565*76bd547bSAdrian Chadd /* 0x100 - 0x104 */ 566*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_1_b0; 567*76bd547bSAdrian Chadd /* 0x104 - 0x108 */ 568*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_2_b0; 569*76bd547bSAdrian Chadd /* 0x108 - 0x10c */ 570*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_3_b0; 571*76bd547bSAdrian Chadd /* 0x10c - 0x110 */ 572*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_4_b0; 573*76bd547bSAdrian Chadd /* 0x110 - 0x114 */ 574*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_5_b0; 575*76bd547bSAdrian Chadd /* 0x114 - 0x118 */ 576*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_6_b0; 577*76bd547bSAdrian Chadd /* 0x118 - 0x11c */ 578*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_7_b0; 579*76bd547bSAdrian Chadd /* 0x11c - 0x120 */ 580*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_mem_tab_b0[120]; /* 0x120 - 0x300 */ 581*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_chan_tab_b0[60]; 582*76bd547bSAdrian Chadd /* 0x300 - 0x3f0 */ 583*76bd547bSAdrian Chadd volatile u_int32_t BB_chn_tables_intf_addr; /* 0x3f0 - 0x3f4 */ 584*76bd547bSAdrian Chadd volatile u_int32_t BB_chn_tables_intf_data; /* 0x3f4 - 0x3f8 */ 585*76bd547bSAdrian Chadd }; 586*76bd547bSAdrian Chadd 587*76bd547bSAdrian Chadd struct mrc_reg_map { 588*76bd547bSAdrian Chadd volatile u_int32_t BB_timing_control_3a; /* 0x0 - 0x4 */ 589*76bd547bSAdrian Chadd volatile u_int32_t BB_ldpc_cntl1; /* 0x4 - 0x8 */ 590*76bd547bSAdrian Chadd volatile u_int32_t BB_ldpc_cntl2; /* 0x8 - 0xc */ 591*76bd547bSAdrian Chadd volatile u_int32_t BB_pilot_spur_mask; /* 0xc - 0x10 */ 592*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_spur_mask; /* 0x10 - 0x14 */ 593*76bd547bSAdrian Chadd volatile u_int32_t BB_short_gi_delta_slope; /* 0x14 - 0x18 */ 594*76bd547bSAdrian Chadd volatile u_int32_t BB_ml_cntl1; /* 0x18 - 0x1c */ 595*76bd547bSAdrian Chadd volatile u_int32_t BB_ml_cntl2; /* 0x1c - 0x20 */ 596*76bd547bSAdrian Chadd volatile u_int32_t BB_tstadc; /* 0x20 - 0x24 */ 597*76bd547bSAdrian Chadd }; 598*76bd547bSAdrian Chadd 599*76bd547bSAdrian Chadd struct bbb_reg_map { 600*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_rx_ctrl_1; /* 0x0 - 0x4 */ 601*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_rx_ctrl_2; /* 0x4 - 0x8 */ 602*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_rx_ctrl_3; /* 0x8 - 0xc */ 603*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_rx_ctrl_4; /* 0xc - 0x10 */ 604*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_rx_ctrl_5; /* 0x10 - 0x14 */ 605*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_rx_ctrl_6; /* 0x14 - 0x18 */ 606*76bd547bSAdrian Chadd volatile u_int32_t BB_force_clken_cck; /* 0x18 - 0x1c */ 607*76bd547bSAdrian Chadd }; 608*76bd547bSAdrian Chadd 609*76bd547bSAdrian Chadd struct agc_reg_map { 610*76bd547bSAdrian Chadd volatile u_int32_t BB_settling_time; /* 0x0 - 0x4 */ 611*76bd547bSAdrian Chadd volatile u_int32_t BB_gain_force_max_gains_b0; /* 0x4 - 0x8 */ 612*76bd547bSAdrian Chadd volatile u_int32_t BB_gains_min_offsets; /* 0x8 - 0xc */ 613*76bd547bSAdrian Chadd volatile u_int32_t BB_desired_sigsize; /* 0xc - 0x10 */ 614*76bd547bSAdrian Chadd volatile u_int32_t BB_find_signal; /* 0x10 - 0x14 */ 615*76bd547bSAdrian Chadd volatile u_int32_t BB_agc; /* 0x14 - 0x18 */ 616*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_atten_switch_ctl_b0; /* 0x18 - 0x1c */ 617*76bd547bSAdrian Chadd volatile u_int32_t BB_cca_b0; /* 0x1c - 0x20 */ 618*76bd547bSAdrian Chadd volatile u_int32_t BB_cca_ctrl_2_b0; /* 0x20 - 0x24 */ 619*76bd547bSAdrian Chadd volatile u_int32_t BB_restart; /* 0x24 - 0x28 */ 620*76bd547bSAdrian Chadd volatile u_int32_t BB_multichain_gain_ctrl; /* 0x28 - 0x2c */ 621*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_chan_pwr_thr_1; /* 0x2c - 0x30 */ 622*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_chan_detect_win; /* 0x30 - 0x34 */ 623*76bd547bSAdrian Chadd volatile u_int32_t BB_pwr_thr_20_40_det; /* 0x34 - 0x38 */ 624*76bd547bSAdrian Chadd volatile u_int32_t BB_rifs_srch; /* 0x38 - 0x3c */ 625*76bd547bSAdrian Chadd volatile u_int32_t BB_peak_det_ctrl_1; /* 0x3c - 0x40 */ 626*76bd547bSAdrian Chadd volatile u_int32_t BB_peak_det_ctrl_2; /* 0x40 - 0x44 */ 627*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_gain_bounds_1; /* 0x44 - 0x48 */ 628*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_gain_bounds_2; /* 0x48 - 0x4c */ 629*76bd547bSAdrian Chadd volatile u_int32_t BB_peak_det_cal_ctrl; /* 0x4c - 0x50 */ 630*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_ctrl; /* 0x50 - 0x54 */ 631*76bd547bSAdrian Chadd volatile u_int32_t BB_bt_coex_1; /* 0x54 - 0x58 */ 632*76bd547bSAdrian Chadd volatile u_int32_t BB_bt_coex_2; /* 0x58 - 0x5c */ 633*76bd547bSAdrian Chadd volatile u_int32_t BB_bt_coex_3; /* 0x5c - 0x60 */ 634*76bd547bSAdrian Chadd volatile u_int32_t BB_bt_coex_4; /* 0x60 - 0x64 */ 635*76bd547bSAdrian Chadd volatile u_int32_t BB_bt_coex_5; /* 0x64 - 0x68 */ 636*76bd547bSAdrian Chadd volatile u_int32_t BB_redpwr_ctrl_1; /* 0x68 - 0x6c */ 637*76bd547bSAdrian Chadd volatile u_int32_t BB_redpwr_ctrl_2; /* 0x6c - 0x70 */ 638*76bd547bSAdrian Chadd volatile char pad__0[0x110]; /* 0x70 - 0x180 */ 639*76bd547bSAdrian Chadd volatile u_int32_t BB_rssi_b0; /* 0x180 - 0x184 */ 640*76bd547bSAdrian Chadd volatile u_int32_t BB_spur_est_cck_report_b0; /* 0x184 - 0x188 */ 641*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_status_i_b0; /* 0x188 - 0x18c */ 642*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_status_q_b0; /* 0x18c - 0x190 */ 643*76bd547bSAdrian Chadd volatile u_int32_t BB_dc_cal_status_b0; /* 0x190 - 0x194 */ 644*76bd547bSAdrian Chadd volatile char pad__1[0x2c]; /* 0x194 - 0x1c0 */ 645*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_sig_detect; /* 0x1c0 - 0x1c4 */ 646*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_dagc_ctrl; /* 0x1c4 - 0x1c8 */ 647*76bd547bSAdrian Chadd volatile u_int32_t BB_iqcorr_ctrl_cck; /* 0x1c8 - 0x1cc */ 648*76bd547bSAdrian Chadd volatile u_int32_t BB_cck_spur_mit; /* 0x1cc - 0x1d0 */ 649*76bd547bSAdrian Chadd volatile u_int32_t BB_mrc_cck_ctrl; /* 0x1d0 - 0x1d4 */ 650*76bd547bSAdrian Chadd volatile u_int32_t BB_cck_blocker_det; /* 0x1d4 - 0x1d8 */ 651*76bd547bSAdrian Chadd volatile char pad__2[0x28]; /* 0x1d8 - 0x200 */ 652*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_ocgain[128]; /* 0x200 - 0x400 */ 653*76bd547bSAdrian Chadd }; 654*76bd547bSAdrian Chadd 655*76bd547bSAdrian Chadd struct sm_reg_map { 656*76bd547bSAdrian Chadd volatile u_int32_t BB_D2_chip_id; /* 0x0 - 0x4 */ 657*76bd547bSAdrian Chadd volatile u_int32_t BB_gen_controls; /* 0x4 - 0x8 */ 658*76bd547bSAdrian Chadd volatile u_int32_t BB_modes_select; /* 0x8 - 0xc */ 659*76bd547bSAdrian Chadd volatile u_int32_t BB_active; /* 0xc - 0x10 */ 660*76bd547bSAdrian Chadd volatile char pad__0[0x10]; /* 0x10 - 0x20 */ 661*76bd547bSAdrian Chadd volatile u_int32_t BB_vit_spur_mask_A; /* 0x20 - 0x24 */ 662*76bd547bSAdrian Chadd volatile u_int32_t BB_vit_spur_mask_B; /* 0x24 - 0x28 */ 663*76bd547bSAdrian Chadd volatile u_int32_t BB_spectral_scan; /* 0x28 - 0x2c */ 664*76bd547bSAdrian Chadd volatile u_int32_t BB_radar_bw_filter; /* 0x2c - 0x30 */ 665*76bd547bSAdrian Chadd volatile u_int32_t BB_search_start_delay; /* 0x30 - 0x34 */ 666*76bd547bSAdrian Chadd volatile u_int32_t BB_max_rx_length; /* 0x34 - 0x38 */ 667*76bd547bSAdrian Chadd volatile u_int32_t BB_frame_control; /* 0x38 - 0x3c */ 668*76bd547bSAdrian Chadd volatile u_int32_t BB_rfbus_request; /* 0x3c - 0x40 */ 669*76bd547bSAdrian Chadd volatile u_int32_t BB_rfbus_grant; /* 0x40 - 0x44 */ 670*76bd547bSAdrian Chadd volatile u_int32_t BB_rifs; /* 0x44 - 0x48 */ 671*76bd547bSAdrian Chadd volatile u_int32_t BB_spectral_scan_2; /* 0x48 - 0x4c */ 672*76bd547bSAdrian Chadd volatile char pad__1[0x4]; /* 0x4c - 0x50 */ 673*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_clear_delay; /* 0x50 - 0x54 */ 674*76bd547bSAdrian Chadd volatile u_int32_t BB_analog_power_on_time; /* 0x54 - 0x58 */ 675*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_timing_1; /* 0x58 - 0x5c */ 676*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_timing_2; /* 0x5c - 0x60 */ 677*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_timing_3; /* 0x60 - 0x64 */ 678*76bd547bSAdrian Chadd volatile u_int32_t BB_xpa_timing_control; /* 0x64 - 0x68 */ 679*76bd547bSAdrian Chadd volatile char pad__2[0x18]; /* 0x68 - 0x80 */ 680*76bd547bSAdrian Chadd volatile u_int32_t BB_misc_pa_control; /* 0x80 - 0x84 */ 681*76bd547bSAdrian Chadd volatile u_int32_t BB_switch_table_chn_b0; /* 0x84 - 0x88 */ 682*76bd547bSAdrian Chadd volatile u_int32_t BB_switch_table_com1; /* 0x88 - 0x8c */ 683*76bd547bSAdrian Chadd volatile u_int32_t BB_switch_table_com2; /* 0x8c - 0x90 */ 684*76bd547bSAdrian Chadd volatile char pad__3[0x10]; /* 0x90 - 0xa0 */ 685*76bd547bSAdrian Chadd volatile u_int32_t BB_multichain_enable; /* 0xa0 - 0xa4 */ 686*76bd547bSAdrian Chadd volatile char pad__4[0x1c]; /* 0xa4 - 0xc0 */ 687*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_chain_mask; /* 0xc0 - 0xc4 */ 688*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_control; /* 0xc4 - 0xc8 */ 689*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_cal_mode; /* 0xc8 - 0xcc */ 690*76bd547bSAdrian Chadd volatile u_int32_t BB_fcal_1; /* 0xcc - 0xd0 */ 691*76bd547bSAdrian Chadd volatile u_int32_t BB_fcal_2_b0; /* 0xd0 - 0xd4 */ 692*76bd547bSAdrian Chadd volatile u_int32_t BB_dft_tone_ctrl_b0; /* 0xd4 - 0xd8 */ 693*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_cal_ctrl; /* 0xd8 - 0xdc */ 694*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_0_b0; /* 0xdc - 0xe0 */ 695*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_1_b0; /* 0xe0 - 0xe4 */ 696*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_2_b0; /* 0xe4 - 0xe8 */ 697*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_3_b0; /* 0xe8 - 0xec */ 698*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_0_b0; /* 0xec - 0xf0 */ 699*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_1_b0; /* 0xf0 - 0xf4 */ 700*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_2_b0; /* 0xf4 - 0xf8 */ 701*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_3_b0; /* 0xf8 - 0xfc */ 702*76bd547bSAdrian Chadd volatile char pad__5[0x4]; /* 0xfc - 0x100 */ 703*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_tab_b0[16]; /* 0x100 - 0x140 */ 704*76bd547bSAdrian Chadd volatile u_int32_t BB_synth_control; /* 0x140 - 0x144 */ 705*76bd547bSAdrian Chadd volatile u_int32_t BB_addac_clk_select; /* 0x144 - 0x148 */ 706*76bd547bSAdrian Chadd volatile u_int32_t BB_pll_cntl; /* 0x148 - 0x14c */ 707*76bd547bSAdrian Chadd volatile u_int32_t BB_analog_swap; /* 0x14c - 0x150 */ 708*76bd547bSAdrian Chadd volatile u_int32_t BB_addac_parallel_control; /* 0x150 - 0x154 */ 709*76bd547bSAdrian Chadd volatile char pad__6[0x4]; /* 0x154 - 0x158 */ 710*76bd547bSAdrian Chadd volatile u_int32_t BB_force_analog; /* 0x158 - 0x15c */ 711*76bd547bSAdrian Chadd volatile char pad__7[0x4]; /* 0x15c - 0x160 */ 712*76bd547bSAdrian Chadd volatile u_int32_t BB_test_controls; /* 0x160 - 0x164 */ 713*76bd547bSAdrian Chadd volatile u_int32_t BB_test_controls_status; /* 0x164 - 0x168 */ 714*76bd547bSAdrian Chadd volatile u_int32_t BB_tstdac; /* 0x168 - 0x16c */ 715*76bd547bSAdrian Chadd volatile u_int32_t BB_channel_status; /* 0x16c - 0x170 */ 716*76bd547bSAdrian Chadd volatile u_int32_t BB_chaninfo_ctrl; /* 0x170 - 0x174 */ 717*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_noise_pwr; /* 0x174 - 0x178 */ 718*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_gain_diff; /* 0x178 - 0x17c */ 719*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_fine_timing; /* 0x17c - 0x180 */ 720*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_gain_b0; /* 0x180 - 0x184 */ 721*76bd547bSAdrian Chadd volatile char pad__8[0xc]; /* 0x184 - 0x190 */ 722*76bd547bSAdrian Chadd volatile u_int32_t BB_scrambler_seed; /* 0x190 - 0x194 */ 723*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_tx_ctrl; /* 0x194 - 0x198 */ 724*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_txfir_0; /* 0x198 - 0x19c */ 725*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_txfir_1; /* 0x19c - 0x1a0 */ 726*76bd547bSAdrian Chadd volatile u_int32_t BB_bbb_txfir_2; /* 0x1a0 - 0x1a4 */ 727*76bd547bSAdrian Chadd volatile u_int32_t BB_heavy_clip_ctrl; /* 0x1a4 - 0x1a8 */ 728*76bd547bSAdrian Chadd volatile u_int32_t BB_heavy_clip_20; /* 0x1a8 - 0x1ac */ 729*76bd547bSAdrian Chadd volatile u_int32_t BB_heavy_clip_40; /* 0x1ac - 0x1b0 */ 730*76bd547bSAdrian Chadd volatile u_int32_t BB_illegal_tx_rate; /* 0x1b0 - 0x1b4 */ 731*76bd547bSAdrian Chadd volatile char pad__9[0xc]; /* 0x1b4 - 0x1c0 */ 732*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate1; /* 0x1c0 - 0x1c4 */ 733*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate2; /* 0x1c4 - 0x1c8 */ 734*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate3; /* 0x1c8 - 0x1cc */ 735*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate4; /* 0x1cc - 0x1d0 */ 736*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate5; /* 0x1d0 - 0x1d4 */ 737*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate6; /* 0x1d4 - 0x1d8 */ 738*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate7; /* 0x1d8 - 0x1dc */ 739*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate8; /* 0x1dc - 0x1e0 */ 740*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate9; /* 0x1e0 - 0x1e4 */ 741*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate10; /* 0x1e4 - 0x1e8 */ 742*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate11; /* 0x1e8 - 0x1ec */ 743*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_rate12; /* 0x1ec - 0x1f0 */ 744*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_max; /* 0x1f0 - 0x1f4 */ 745*76bd547bSAdrian Chadd volatile u_int32_t BB_powertx_sub; /* 0x1f4 - 0x1f8 */ 746*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_1; /* 0x1f8 - 0x1fc */ 747*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_2; /* 0x1fc - 0x200 */ 748*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_3; /* 0x200 - 0x204 */ 749*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_4_b0; /* 0x204 - 0x208 */ 750*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_5_b0; /* 0x208 - 0x20c */ 751*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_6_b0; /* 0x20c - 0x210 */ 752*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_7; /* 0x210 - 0x214 */ 753*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_8; /* 0x214 - 0x218 */ 754*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_9; /* 0x218 - 0x21c */ 755*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_10; /* 0x21c - 0x220 */ 756*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_11_b0; /* 0x220 - 0x224 */ 757*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_12; /* 0x224 - 0x228 */ 758*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_13; /* 0x228 - 0x22c */ 759*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_14; /* 0x22c - 0x230 */ 760*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_15; /* 0x230 - 0x234 */ 761*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_16; /* 0x234 - 0x238 */ 762*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_17; /* 0x238 - 0x23c */ 763*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_18; /* 0x23c - 0x240 */ 764*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_19_b0; /* 0x240 - 0x244 */ 765*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_20; /* 0x244 - 0x248 */ 766*76bd547bSAdrian Chadd volatile u_int32_t BB_therm_adc_1; /* 0x248 - 0x24c */ 767*76bd547bSAdrian Chadd volatile u_int32_t BB_therm_adc_2; /* 0x24c - 0x250 */ 768*76bd547bSAdrian Chadd volatile u_int32_t BB_therm_adc_3; /* 0x250 - 0x254 */ 769*76bd547bSAdrian Chadd volatile u_int32_t BB_therm_adc_4; /* 0x254 - 0x258 */ 770*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_forced_gain; /* 0x258 - 0x25c */ 771*76bd547bSAdrian Chadd volatile char pad__10[0x24]; /* 0x25c - 0x280 */ 772*76bd547bSAdrian Chadd volatile u_int32_t BB_pdadc_tab_b0[32]; /* 0x280 - 0x300 */ 773*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_1; /* 0x300 - 0x304 */ 774*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_2; /* 0x304 - 0x308 */ 775*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_3; /* 0x308 - 0x30c */ 776*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_4; /* 0x30c - 0x310 */ 777*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_5; /* 0x310 - 0x314 */ 778*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_6; /* 0x314 - 0x318 */ 779*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_7; /* 0x318 - 0x31c */ 780*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_8; /* 0x31c - 0x320 */ 781*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_9; /* 0x320 - 0x324 */ 782*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_10; /* 0x324 - 0x328 */ 783*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_11; /* 0x328 - 0x32c */ 784*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_12; /* 0x32c - 0x330 */ 785*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_13; /* 0x330 - 0x334 */ 786*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_14; /* 0x334 - 0x338 */ 787*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_15; /* 0x338 - 0x33c */ 788*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_16; /* 0x33c - 0x340 */ 789*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_17; /* 0x340 - 0x344 */ 790*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_18; /* 0x344 - 0x348 */ 791*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_19; /* 0x348 - 0x34c */ 792*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_20; /* 0x34c - 0x350 */ 793*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_21; /* 0x350 - 0x354 */ 794*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_22; /* 0x354 - 0x358 */ 795*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_23; /* 0x358 - 0x35c */ 796*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_24; /* 0x35c - 0x360 */ 797*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_25; /* 0x360 - 0x364 */ 798*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_26; /* 0x364 - 0x368 */ 799*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_27; /* 0x368 - 0x36c */ 800*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_28; /* 0x36c - 0x370 */ 801*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_29; /* 0x370 - 0x374 */ 802*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_30; /* 0x374 - 0x378 */ 803*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_31; /* 0x378 - 0x37c */ 804*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_gain_tab_32; /* 0x37c - 0x380 */ 805*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_ctrl; /* 0x380 - 0x384 */ 806*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_table_sw_intf_b0; /* 0x384 - 0x388 */ 807*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_table_sw_intf_1_b0; /* 0x388 - 0x38c */ 808*76bd547bSAdrian Chadd volatile char pad__11[0x74]; /* 0x38c - 0x400 */ 809*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_0; /* 0x400 - 0x404 */ 810*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_2; /* 0x404 - 0x408 */ 811*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_4; /* 0x408 - 0x40c */ 812*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_6; /* 0x40c - 0x410 */ 813*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_8; /* 0x410 - 0x414 */ 814*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_10; /* 0x414 - 0x418 */ 815*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_12; /* 0x418 - 0x41c */ 816*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_14; /* 0x41c - 0x420 */ 817*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_16; /* 0x420 - 0x424 */ 818*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_18; /* 0x424 - 0x428 */ 819*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_20; /* 0x428 - 0x42c */ 820*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_22; /* 0x42c - 0x430 */ 821*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_24; /* 0x430 - 0x434 */ 822*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_26; /* 0x434 - 0x438 */ 823*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_28; /* 0x438 - 0x43c */ 824*76bd547bSAdrian Chadd volatile u_int32_t BB_caltx_gain_set_30; /* 0x43c - 0x440 */ 825*76bd547bSAdrian Chadd volatile char pad__12[0x4]; /* 0x440 - 0x444 */ 826*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_control_0; /* 0x444 - 0x448 */ 827*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_control_1; /* 0x448 - 0x44c */ 828*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_control_2; /* 0x44c - 0x450 */ 829*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_01_b0; /* 0x450 - 0x454 */ 830*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_23_b0; /* 0x454 - 0x458 */ 831*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_45_b0; /* 0x458 - 0x45c */ 832*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_67_b0; /* 0x45c - 0x460 */ 833*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_89_b0; /* 0x460 - 0x464 */ 834*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_ab_b0; /* 0x464 - 0x468 */ 835*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_cd_b0; /* 0x468 - 0x46c */ 836*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_ef_b0; /* 0x46c - 0x470 */ 837*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_0; /* 0x470 - 0x474 */ 838*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_4; /* 0x474 - 0x478 */ 839*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_8; /* 0x478 - 0x47c */ 840*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_12; /* 0x47c - 0x480 */ 841*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_16; /* 0x480 - 0x484 */ 842*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_20; /* 0x484 - 0x488 */ 843*76bd547bSAdrian Chadd volatile u_int32_t BB_cal_rxbb_gain_tbl_24; /* 0x488 - 0x48c */ 844*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_status_b0; /* 0x48c - 0x490 */ 845*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_cntl1; /* 0x490 - 0x494 */ 846*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_cntl2; /* 0x494 - 0x498 */ 847*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_cntl3; /* 0x498 - 0x49c */ 848*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_cntl4; /* 0x49c - 0x4a0 */ 849*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_stat1; /* 0x4a0 - 0x4a4 */ 850*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_stat2; /* 0x4a4 - 0x4a8 */ 851*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_trainer_stat3; /* 0x4a8 - 0x4ac */ 852*76bd547bSAdrian Chadd volatile char pad__13[0x114]; /* 0x4ac - 0x5c0 */ 853*76bd547bSAdrian Chadd volatile u_int32_t BB_watchdog_status; /* 0x5c0 - 0x5c4 */ 854*76bd547bSAdrian Chadd volatile u_int32_t BB_watchdog_ctrl_1; /* 0x5c4 - 0x5c8 */ 855*76bd547bSAdrian Chadd volatile u_int32_t BB_watchdog_ctrl_2; /* 0x5c8 - 0x5cc */ 856*76bd547bSAdrian Chadd volatile u_int32_t BB_bluetooth_cntl; /* 0x5cc - 0x5d0 */ 857*76bd547bSAdrian Chadd volatile u_int32_t BB_phyonly_warm_reset; /* 0x5d0 - 0x5d4 */ 858*76bd547bSAdrian Chadd volatile u_int32_t BB_phyonly_control; /* 0x5d4 - 0x5d8 */ 859*76bd547bSAdrian Chadd volatile char pad__14[0x4]; /* 0x5d8 - 0x5dc */ 860*76bd547bSAdrian Chadd volatile u_int32_t BB_eco_ctrl; /* 0x5dc - 0x5e0 */ 861*76bd547bSAdrian Chadd volatile char pad__15[0x10]; /* 0x5e0 - 0x5f0 */ 862*76bd547bSAdrian Chadd volatile u_int32_t BB_tables_intf_addr_b0; /* 0x5f0 - 0x5f4 */ 863*76bd547bSAdrian Chadd volatile u_int32_t BB_tables_intf_data_b0; /* 0x5f4 - 0x5f8 */ 864*76bd547bSAdrian Chadd }; 865*76bd547bSAdrian Chadd 866*76bd547bSAdrian Chadd struct chn1_reg_map { 867*76bd547bSAdrian Chadd volatile char pad__0[0x30]; /* 0x0 - 0x30 */ 868*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_chan_pwr_thr_2_b1; /* 0x30 - 0x34 */ 869*76bd547bSAdrian Chadd volatile char pad__1[0x74]; /* 0x34 - 0xa8 */ 870*76bd547bSAdrian Chadd volatile u_int32_t BB_spur_report_b1; /* 0xa8 - 0xac */ 871*76bd547bSAdrian Chadd volatile char pad__2[0x14]; /* 0xac - 0xc0 */ 872*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_0_b1; /* 0xc0 - 0xc4 */ 873*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_1_b1; /* 0xc4 - 0xc8 */ 874*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_2_b1; /* 0xc8 - 0xcc */ 875*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_3_b1; /* 0xcc - 0xd0 */ 876*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_phase_ramp_b1; /* 0xd0 - 0xd4 */ 877*76bd547bSAdrian Chadd volatile u_int32_t BB_adc_gain_dc_corr_b1; /* 0xd4 - 0xd8 */ 878*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0xd8 - 0xdc */ 879*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_iq_corr_b1; /* 0xdc - 0xe0 */ 880*76bd547bSAdrian Chadd volatile char pad__4[0x10]; /* 0xe0 - 0xf0 */ 881*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ctrl0_b1; /* 0xf0 - 0xf4 */ 882*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ctrl1_b1; /* 0xf4 - 0xf8 */ 883*76bd547bSAdrian Chadd volatile u_int32_t BB_pa_gain123_b1; /* 0xf8 - 0xfc */ 884*76bd547bSAdrian Chadd volatile u_int32_t BB_pa_gain45_b1; /* 0xfc - 0x100 */ 885*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_0_b1; 886*76bd547bSAdrian Chadd /* 0x100 - 0x104 */ 887*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_1_b1; 888*76bd547bSAdrian Chadd /* 0x104 - 0x108 */ 889*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_2_b1; 890*76bd547bSAdrian Chadd /* 0x108 - 0x10c */ 891*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_3_b1; 892*76bd547bSAdrian Chadd /* 0x10c - 0x110 */ 893*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_4_b1; 894*76bd547bSAdrian Chadd /* 0x110 - 0x114 */ 895*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_5_b1; 896*76bd547bSAdrian Chadd /* 0x114 - 0x118 */ 897*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_6_b1; 898*76bd547bSAdrian Chadd /* 0x118 - 0x11c */ 899*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_7_b1; 900*76bd547bSAdrian Chadd /* 0x11c - 0x120 */ 901*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_mem_tab_b1[120]; /* 0x120 - 0x300 */ 902*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_chan_tab_b1[60]; 903*76bd547bSAdrian Chadd /* 0x300 - 0x3f0 */ 904*76bd547bSAdrian Chadd volatile u_int32_t BB_chn1_tables_intf_addr; /* 0x3f0 - 0x3f4 */ 905*76bd547bSAdrian Chadd volatile u_int32_t BB_chn1_tables_intf_data; /* 0x3f4 - 0x3f8 */ 906*76bd547bSAdrian Chadd }; 907*76bd547bSAdrian Chadd 908*76bd547bSAdrian Chadd struct agc1_reg_map { 909*76bd547bSAdrian Chadd volatile char pad__0[0x4]; /* 0x0 - 0x4 */ 910*76bd547bSAdrian Chadd volatile u_int32_t BB_gain_force_max_gains_b1; /* 0x4 - 0x8 */ 911*76bd547bSAdrian Chadd volatile char pad__1[0x10]; /* 0x8 - 0x18 */ 912*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_atten_switch_ctl_b1; /* 0x18 - 0x1c */ 913*76bd547bSAdrian Chadd volatile u_int32_t BB_cca_b1; /* 0x1c - 0x20 */ 914*76bd547bSAdrian Chadd volatile u_int32_t BB_cca_ctrl_2_b1; /* 0x20 - 0x24 */ 915*76bd547bSAdrian Chadd volatile char pad__2[0x15c]; /* 0x24 - 0x180 */ 916*76bd547bSAdrian Chadd volatile u_int32_t BB_rssi_b1; /* 0x180 - 0x184 */ 917*76bd547bSAdrian Chadd volatile u_int32_t BB_spur_est_cck_report_b1; /* 0x184 - 0x188 */ 918*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_status_i_b1; /* 0x188 - 0x18c */ 919*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_status_q_b1; /* 0x18c - 0x190 */ 920*76bd547bSAdrian Chadd volatile u_int32_t BB_dc_cal_status_b1; /* 0x190 - 0x194 */ 921*76bd547bSAdrian Chadd volatile char pad__3[0x6c]; /* 0x194 - 0x200 */ 922*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_ocgain2[128]; /* 0x200 - 0x400 */ 923*76bd547bSAdrian Chadd }; 924*76bd547bSAdrian Chadd 925*76bd547bSAdrian Chadd struct sm1_reg_map { 926*76bd547bSAdrian Chadd volatile char pad__0[0x84]; /* 0x0 - 0x84 */ 927*76bd547bSAdrian Chadd volatile u_int32_t BB_switch_table_chn_b1; /* 0x84 - 0x88 */ 928*76bd547bSAdrian Chadd volatile char pad__1[0x48]; /* 0x88 - 0xd0 */ 929*76bd547bSAdrian Chadd volatile u_int32_t BB_fcal_2_b1; /* 0xd0 - 0xd4 */ 930*76bd547bSAdrian Chadd volatile u_int32_t BB_dft_tone_ctrl_b1; /* 0xd4 - 0xd8 */ 931*76bd547bSAdrian Chadd volatile char pad__2[0x4]; /* 0xd8 - 0xdc */ 932*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_0_b1; /* 0xdc - 0xe0 */ 933*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_1_b1; /* 0xe0 - 0xe4 */ 934*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_2_b1; /* 0xe4 - 0xe8 */ 935*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_3_b1; /* 0xe8 - 0xec */ 936*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_0_b1; /* 0xec - 0xf0 */ 937*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_1_b1; /* 0xf0 - 0xf4 */ 938*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_2_b1; /* 0xf4 - 0xf8 */ 939*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_3_b1; /* 0xf8 - 0xfc */ 940*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0xfc - 0x100 */ 941*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_tab_b1[16]; /* 0x100 - 0x140 */ 942*76bd547bSAdrian Chadd volatile char pad__4[0x40]; /* 0x140 - 0x180 */ 943*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_gain_b1; /* 0x180 - 0x184 */ 944*76bd547bSAdrian Chadd volatile char pad__5[0x80]; /* 0x184 - 0x204 */ 945*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_4_b1; /* 0x204 - 0x208 */ 946*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_5_b1; /* 0x208 - 0x20c */ 947*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_6_b1; /* 0x20c - 0x210 */ 948*76bd547bSAdrian Chadd volatile char pad__6[0x10]; /* 0x210 - 0x220 */ 949*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_11_b1; /* 0x220 - 0x224 */ 950*76bd547bSAdrian Chadd volatile char pad__7[0x1c]; /* 0x224 - 0x240 */ 951*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_19_b1; /* 0x240 - 0x244 */ 952*76bd547bSAdrian Chadd volatile char pad__8[0x3c]; /* 0x244 - 0x280 */ 953*76bd547bSAdrian Chadd volatile u_int32_t BB_pdadc_tab_b1[32]; /* 0x280 - 0x300 */ 954*76bd547bSAdrian Chadd volatile char pad__9[0x84]; /* 0x300 - 0x384 */ 955*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_table_sw_intf_b1; /* 0x384 - 0x388 */ 956*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_table_sw_intf_1_b1; /* 0x388 - 0x38c */ 957*76bd547bSAdrian Chadd volatile char pad__10[0xc4]; /* 0x38c - 0x450 */ 958*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_01_b1; /* 0x450 - 0x454 */ 959*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_23_b1; /* 0x454 - 0x458 */ 960*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_45_b1; /* 0x458 - 0x45c */ 961*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_67_b1; /* 0x45c - 0x460 */ 962*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_89_b1; /* 0x460 - 0x464 */ 963*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_ab_b1; /* 0x464 - 0x468 */ 964*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_cd_b1; /* 0x468 - 0x46c */ 965*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_ef_b1; /* 0x46c - 0x470 */ 966*76bd547bSAdrian Chadd volatile char pad__11[0x1c]; /* 0x470 - 0x48c */ 967*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_status_b1; /* 0x48c - 0x490 */ 968*76bd547bSAdrian Chadd volatile char pad__12[0x160]; /* 0x490 - 0x5f0 */ 969*76bd547bSAdrian Chadd volatile u_int32_t BB_tables_intf_addr_b1; /* 0x5f0 - 0x5f4 */ 970*76bd547bSAdrian Chadd volatile u_int32_t BB_tables_intf_data_b1; /* 0x5f4 - 0x5f8 */ 971*76bd547bSAdrian Chadd }; 972*76bd547bSAdrian Chadd 973*76bd547bSAdrian Chadd struct chn2_reg_map { 974*76bd547bSAdrian Chadd volatile char pad__0[0x30]; /* 0x0 - 0x30 */ 975*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_chan_pwr_thr_2_b2; /* 0x30 - 0x34 */ 976*76bd547bSAdrian Chadd volatile char pad__1[0x74]; /* 0x34 - 0xa8 */ 977*76bd547bSAdrian Chadd volatile u_int32_t BB_spur_report_b2; /* 0xa8 - 0xac */ 978*76bd547bSAdrian Chadd volatile char pad__2[0x14]; /* 0xac - 0xc0 */ 979*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_0_b2; /* 0xc0 - 0xc4 */ 980*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_1_b2; /* 0xc4 - 0xc8 */ 981*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_2_b2; /* 0xc8 - 0xcc */ 982*76bd547bSAdrian Chadd volatile u_int32_t BB_iq_adc_meas_3_b2; /* 0xcc - 0xd0 */ 983*76bd547bSAdrian Chadd volatile u_int32_t BB_tx_phase_ramp_b2; /* 0xd0 - 0xd4 */ 984*76bd547bSAdrian Chadd volatile u_int32_t BB_adc_gain_dc_corr_b2; /* 0xd4 - 0xd8 */ 985*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0xd8 - 0xdc */ 986*76bd547bSAdrian Chadd volatile u_int32_t BB_rx_iq_corr_b2; /* 0xdc - 0xe0 */ 987*76bd547bSAdrian Chadd volatile char pad__4[0x10]; /* 0xe0 - 0xf0 */ 988*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ctrl0_b2; /* 0xf0 - 0xf4 */ 989*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_ctrl1_b2; /* 0xf4 - 0xf8 */ 990*76bd547bSAdrian Chadd volatile u_int32_t BB_pa_gain123_b2; /* 0xf8 - 0xfc */ 991*76bd547bSAdrian Chadd volatile u_int32_t BB_pa_gain45_b2; /* 0xfc - 0x100 */ 992*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_0_b2; 993*76bd547bSAdrian Chadd /* 0x100 - 0x104 */ 994*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_1_b2; 995*76bd547bSAdrian Chadd /* 0x104 - 0x108 */ 996*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_2_b2; 997*76bd547bSAdrian Chadd /* 0x108 - 0x10c */ 998*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_3_b2; 999*76bd547bSAdrian Chadd /* 0x10c - 0x110 */ 1000*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_4_b2; 1001*76bd547bSAdrian Chadd /* 0x110 - 0x114 */ 1002*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_5_b2; 1003*76bd547bSAdrian Chadd /* 0x114 - 0x118 */ 1004*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_6_b2; 1005*76bd547bSAdrian Chadd /* 0x118 - 0x11c */ 1006*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_pre_post_scale_7_b2; 1007*76bd547bSAdrian Chadd /* 0x11c - 0x120 */ 1008*76bd547bSAdrian Chadd volatile u_int32_t BB_paprd_mem_tab_b2[120]; /* 0x120 - 0x300 */ 1009*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_chan_tab_b2[60]; 1010*76bd547bSAdrian Chadd /* 0x300 - 0x3f0 */ 1011*76bd547bSAdrian Chadd volatile u_int32_t BB_chn2_tables_intf_addr; /* 0x3f0 - 0x3f4 */ 1012*76bd547bSAdrian Chadd volatile u_int32_t BB_chn2_tables_intf_data; /* 0x3f4 - 0x3f8 */ 1013*76bd547bSAdrian Chadd }; 1014*76bd547bSAdrian Chadd 1015*76bd547bSAdrian Chadd struct agc2_reg_map { 1016*76bd547bSAdrian Chadd volatile char pad__0[0x4]; /* 0x0 - 0x4 */ 1017*76bd547bSAdrian Chadd volatile u_int32_t BB_gain_force_max_gains_b2; /* 0x4 - 0x8 */ 1018*76bd547bSAdrian Chadd volatile char pad__1[0x10]; /* 0x8 - 0x18 */ 1019*76bd547bSAdrian Chadd volatile u_int32_t BB_ext_atten_switch_ctl_b2; /* 0x18 - 0x1c */ 1020*76bd547bSAdrian Chadd volatile u_int32_t BB_cca_b2; /* 0x1c - 0x20 */ 1021*76bd547bSAdrian Chadd volatile u_int32_t BB_cca_ctrl_2_b2; /* 0x20 - 0x24 */ 1022*76bd547bSAdrian Chadd volatile char pad__2[0x15c]; /* 0x24 - 0x180 */ 1023*76bd547bSAdrian Chadd volatile u_int32_t BB_rssi_b2; /* 0x180 - 0x184 */ 1024*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0x184 - 0x188 */ 1025*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_status_i_b2; /* 0x188 - 0x18c */ 1026*76bd547bSAdrian Chadd volatile u_int32_t BB_agc_dig_dc_status_q_b2; /* 0x18c - 0x190 */ 1027*76bd547bSAdrian Chadd volatile u_int32_t BB_dc_cal_status_b2; /* 0x190 - 0x194 */ 1028*76bd547bSAdrian Chadd }; 1029*76bd547bSAdrian Chadd 1030*76bd547bSAdrian Chadd struct sm2_reg_map { 1031*76bd547bSAdrian Chadd volatile char pad__0[0x84]; /* 0x0 - 0x84 */ 1032*76bd547bSAdrian Chadd volatile u_int32_t BB_switch_table_chn_b2; /* 0x84 - 0x88 */ 1033*76bd547bSAdrian Chadd volatile char pad__1[0x48]; /* 0x88 - 0xd0 */ 1034*76bd547bSAdrian Chadd volatile u_int32_t BB_fcal_2_b2; /* 0xd0 - 0xd4 */ 1035*76bd547bSAdrian Chadd volatile u_int32_t BB_dft_tone_ctrl_b2; /* 0xd4 - 0xd8 */ 1036*76bd547bSAdrian Chadd volatile char pad__2[0x4]; /* 0xd8 - 0xdc */ 1037*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_0_b2; /* 0xdc - 0xe0 */ 1038*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_1_b2; /* 0xe0 - 0xe4 */ 1039*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_2_b2; /* 0xe4 - 0xe8 */ 1040*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_3_b2; /* 0xe8 - 0xec */ 1041*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_0_b2; /* 0xec - 0xf0 */ 1042*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_1_b2; /* 0xf0 - 0xf4 */ 1043*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_2_b2; /* 0xf4 - 0xf8 */ 1044*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_map_pal_3_b2; /* 0xf8 - 0xfc */ 1045*76bd547bSAdrian Chadd volatile char pad__3[0x4]; /* 0xfc - 0x100 */ 1046*76bd547bSAdrian Chadd volatile u_int32_t BB_cl_tab_b2[16]; /* 0x100 - 0x140 */ 1047*76bd547bSAdrian Chadd volatile char pad__4[0x40]; /* 0x140 - 0x180 */ 1048*76bd547bSAdrian Chadd volatile u_int32_t BB_chan_info_gain_b2; /* 0x180 - 0x184 */ 1049*76bd547bSAdrian Chadd volatile char pad__5[0x80]; /* 0x184 - 0x204 */ 1050*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_4_b2; /* 0x204 - 0x208 */ 1051*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_5_b2; /* 0x208 - 0x20c */ 1052*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_6_b2; /* 0x20c - 0x210 */ 1053*76bd547bSAdrian Chadd volatile char pad__6[0x10]; /* 0x210 - 0x220 */ 1054*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_11_b2; /* 0x220 - 0x224 */ 1055*76bd547bSAdrian Chadd volatile char pad__7[0x1c]; /* 0x224 - 0x240 */ 1056*76bd547bSAdrian Chadd volatile u_int32_t BB_tpc_19_b2; /* 0x240 - 0x244 */ 1057*76bd547bSAdrian Chadd volatile char pad__8[0x3c]; /* 0x244 - 0x280 */ 1058*76bd547bSAdrian Chadd volatile u_int32_t BB_pdadc_tab_b2[32]; /* 0x280 - 0x300 */ 1059*76bd547bSAdrian Chadd volatile char pad__9[0x84]; /* 0x300 - 0x384 */ 1060*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_table_sw_intf_b2; /* 0x384 - 0x388 */ 1061*76bd547bSAdrian Chadd volatile u_int32_t BB_rtt_table_sw_intf_1_b2; /* 0x388 - 0x38c */ 1062*76bd547bSAdrian Chadd volatile char pad__10[0xc4]; /* 0x38c - 0x450 */ 1063*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_01_b2; /* 0x450 - 0x454 */ 1064*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_23_b2; /* 0x454 - 0x458 */ 1065*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_45_b2; /* 0x458 - 0x45c */ 1066*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_67_b2; /* 0x45c - 0x460 */ 1067*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_89_b2; /* 0x460 - 0x464 */ 1068*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_ab_b2; /* 0x464 - 0x468 */ 1069*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_cd_b2; /* 0x468 - 0x46c */ 1070*76bd547bSAdrian Chadd volatile u_int32_t BB_txiq_corr_coeff_ef_b2; /* 0x46c - 0x470 */ 1071*76bd547bSAdrian Chadd volatile char pad__11[0x1c]; /* 0x470 - 0x48c */ 1072*76bd547bSAdrian Chadd volatile u_int32_t BB_txiqcal_status_b2; /* 0x48c - 0x490 */ 1073*76bd547bSAdrian Chadd volatile char pad__12[0x160]; /* 0x490 - 0x5f0 */ 1074*76bd547bSAdrian Chadd volatile u_int32_t BB_tables_intf_addr_b2; /* 0x5f0 - 0x5f4 */ 1075*76bd547bSAdrian Chadd volatile u_int32_t BB_tables_intf_data_b2; /* 0x5f4 - 0x5f8 */ 1076*76bd547bSAdrian Chadd }; 1077*76bd547bSAdrian Chadd 1078*76bd547bSAdrian Chadd struct chn3_reg_map { 1079*76bd547bSAdrian Chadd volatile u_int32_t BB_dummy1[256]; /* 0x0 - 0x400 */ 1080*76bd547bSAdrian Chadd }; 1081*76bd547bSAdrian Chadd 1082*76bd547bSAdrian Chadd struct agc3_reg_map { 1083*76bd547bSAdrian Chadd volatile u_int32_t BB_dummy; /* 0x0 - 0x4 */ 1084*76bd547bSAdrian Chadd volatile char pad__0[0x17c]; /* 0x4 - 0x180 */ 1085*76bd547bSAdrian Chadd volatile u_int32_t BB_rssi_b3; /* 0x180 - 0x184 */ 1086*76bd547bSAdrian Chadd }; 1087*76bd547bSAdrian Chadd 1088*76bd547bSAdrian Chadd struct sm3_reg_map { 1089*76bd547bSAdrian Chadd volatile u_int32_t BB_dummy2[384]; /* 0x0 - 0x600 */ 1090*76bd547bSAdrian Chadd }; 1091*76bd547bSAdrian Chadd 1092*76bd547bSAdrian Chadd struct bb_reg_map { 1093*76bd547bSAdrian Chadd struct chn_reg_map bb_chn_reg_map; /* 0x0 - 0x3f8 */ 1094*76bd547bSAdrian Chadd volatile char pad__0[0x8]; /* 0x3f8 - 0x400 */ 1095*76bd547bSAdrian Chadd struct mrc_reg_map bb_mrc_reg_map; /* 0x400 - 0x424 */ 1096*76bd547bSAdrian Chadd volatile char pad__1[0xdc]; /* 0x424 - 0x500 */ 1097*76bd547bSAdrian Chadd struct bbb_reg_map bb_bbb_reg_map; /* 0x500 - 0x51c */ 1098*76bd547bSAdrian Chadd volatile char pad__2[0xe4]; /* 0x51c - 0x600 */ 1099*76bd547bSAdrian Chadd struct agc_reg_map bb_agc_reg_map; /* 0x600 - 0xa00 */ 1100*76bd547bSAdrian Chadd struct sm_reg_map bb_sm_reg_map; /* 0xa00 - 0xff8 */ 1101*76bd547bSAdrian Chadd volatile char pad__3[0x8]; /* 0xff8 - 0x1000 */ 1102*76bd547bSAdrian Chadd struct chn1_reg_map bb_chn1_reg_map; /* 0x1000 - 0x13c8 */ 1103*76bd547bSAdrian Chadd volatile char pad__4[0x238]; /* 0x13c8 - 0x1600 */ 1104*76bd547bSAdrian Chadd struct agc1_reg_map bb_agc1_reg_map; /* 0x1600 - 0x19fc */ 1105*76bd547bSAdrian Chadd volatile char pad__5[0x4]; /* 0x19fc - 0x1a00 */ 1106*76bd547bSAdrian Chadd struct sm1_reg_map bb_sm1_reg_map; /* 0x1a00 - 0x1f74 */ 1107*76bd547bSAdrian Chadd volatile char pad__6[0x8c]; /* 0x1f74 - 0x2000 */ 1108*76bd547bSAdrian Chadd struct chn2_reg_map bb_chn2_reg_map; /* 0x2000 - 0x23c8 */ 1109*76bd547bSAdrian Chadd volatile char pad__7[0x238]; /* 0x23c8 - 0x2600 */ 1110*76bd547bSAdrian Chadd struct agc2_reg_map bb_agc2_reg_map; /* 0x2600 - 0x2790 */ 1111*76bd547bSAdrian Chadd volatile char pad__8[0x270]; /* 0x2790 - 0x2a00 */ 1112*76bd547bSAdrian Chadd struct sm2_reg_map bb_sm2_reg_map; /* 0x2a00 - 0x2f74 */ 1113*76bd547bSAdrian Chadd volatile char pad__9[0x8c]; /* 0x2f74 - 0x3000 */ 1114*76bd547bSAdrian Chadd struct chn3_reg_map bb_chn3_reg_map; /* 0x3000 - 0x3400 */ 1115*76bd547bSAdrian Chadd volatile char pad__10[0x200]; /* 0x3400 - 0x3600 */ 1116*76bd547bSAdrian Chadd struct agc3_reg_map bb_agc3_reg_map; /* 0x3600 - 0x3784 */ 1117*76bd547bSAdrian Chadd volatile char pad__11[0x27c]; /* 0x3784 - 0x3a00 */ 1118*76bd547bSAdrian Chadd struct sm3_reg_map bb_sm3_reg_map; /* 0x3a00 - 0x4000 */ 1119*76bd547bSAdrian Chadd }; 1120*76bd547bSAdrian Chadd 1121*76bd547bSAdrian Chadd struct mac_pcu_buf_reg { 1122*76bd547bSAdrian Chadd volatile u_int32_t MAC_PCU_BUF[2048]; /* 0x0 - 0x2000 */ 1123*76bd547bSAdrian Chadd }; 1124*76bd547bSAdrian Chadd 1125*76bd547bSAdrian Chadd struct svd_reg { 1126*76bd547bSAdrian Chadd volatile u_int32_t TXBF_DBG; /* 0x0 - 0x4 */ 1127*76bd547bSAdrian Chadd volatile u_int32_t TXBF; /* 0x4 - 0x8 */ 1128*76bd547bSAdrian Chadd volatile u_int32_t TXBF_TIMER; /* 0x8 - 0xc */ 1129*76bd547bSAdrian Chadd volatile u_int32_t TXBF_SW; /* 0xc - 0x10 */ 1130*76bd547bSAdrian Chadd volatile u_int32_t TXBF_SM; /* 0x10 - 0x14 */ 1131*76bd547bSAdrian Chadd volatile u_int32_t TXBF1_CNTL; /* 0x14 - 0x18 */ 1132*76bd547bSAdrian Chadd volatile u_int32_t TXBF2_CNTL; /* 0x18 - 0x1c */ 1133*76bd547bSAdrian Chadd volatile u_int32_t TXBF3_CNTL; /* 0x1c - 0x20 */ 1134*76bd547bSAdrian Chadd volatile u_int32_t TXBF4_CNTL; /* 0x20 - 0x24 */ 1135*76bd547bSAdrian Chadd volatile u_int32_t TXBF5_CNTL; /* 0x24 - 0x28 */ 1136*76bd547bSAdrian Chadd volatile u_int32_t TXBF6_CNTL; /* 0x28 - 0x2c */ 1137*76bd547bSAdrian Chadd volatile u_int32_t TXBF7_CNTL; /* 0x2c - 0x30 */ 1138*76bd547bSAdrian Chadd volatile u_int32_t TXBF8_CNTL; /* 0x30 - 0x34 */ 1139*76bd547bSAdrian Chadd volatile char pad__0[0xfcc]; /* 0x34 - 0x1000 */ 1140*76bd547bSAdrian Chadd volatile u_int32_t RC0[118]; /* 0x1000 - 0x11d8 */ 1141*76bd547bSAdrian Chadd volatile char pad__1[0x28]; /* 0x11d8 - 0x1200 */ 1142*76bd547bSAdrian Chadd volatile u_int32_t RC1[118]; /* 0x1200 - 0x13d8 */ 1143*76bd547bSAdrian Chadd volatile char pad__2[0x28]; /* 0x13d8 - 0x1400 */ 1144*76bd547bSAdrian Chadd volatile u_int32_t SVD_MEM0[114]; /* 0x1400 - 0x15c8 */ 1145*76bd547bSAdrian Chadd volatile char pad__3[0x38]; /* 0x15c8 - 0x1600 */ 1146*76bd547bSAdrian Chadd volatile u_int32_t SVD_MEM1[114]; /* 0x1600 - 0x17c8 */ 1147*76bd547bSAdrian Chadd volatile char pad__4[0x38]; /* 0x17c8 - 0x1800 */ 1148*76bd547bSAdrian Chadd volatile u_int32_t SVD_MEM2[114]; /* 0x1800 - 0x19c8 */ 1149*76bd547bSAdrian Chadd volatile char pad__5[0x38]; /* 0x19c8 - 0x1a00 */ 1150*76bd547bSAdrian Chadd volatile u_int32_t SVD_MEM3[114]; /* 0x1a00 - 0x1bc8 */ 1151*76bd547bSAdrian Chadd volatile char pad__6[0x38]; /* 0x1bc8 - 0x1c00 */ 1152*76bd547bSAdrian Chadd volatile u_int32_t SVD_MEM4[114]; /* 0x1c00 - 0x1dc8 */ 1153*76bd547bSAdrian Chadd volatile char pad__7[0x638]; /* 0x1dc8 - 0x2400 */ 1154*76bd547bSAdrian Chadd volatile u_int32_t CVCACHE[512]; /* 0x2400 - 0x2c00 */ 1155*76bd547bSAdrian Chadd }; 1156*76bd547bSAdrian Chadd 1157*76bd547bSAdrian Chadd struct radio65_reg { 1158*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXRF_BIAS1; /* 0x0 - 0x4 */ 1159*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXRF_BIAS2; /* 0x4 - 0x8 */ 1160*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXRF_GAINSTAGES; /* 0x8 - 0xc */ 1161*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXRF_AGC; /* 0xc - 0x10 */ 1162*76bd547bSAdrian Chadd volatile char pad__0[0x30]; /* 0x10 - 0x40 */ 1163*76bd547bSAdrian Chadd volatile u_int32_t ch0_TXRF1; /* 0x40 - 0x44 */ 1164*76bd547bSAdrian Chadd volatile u_int32_t ch0_TXRF2; /* 0x44 - 0x48 */ 1165*76bd547bSAdrian Chadd volatile u_int32_t ch0_TXRF3; /* 0x48 - 0x4c */ 1166*76bd547bSAdrian Chadd volatile u_int32_t ch0_TXRF4; /* 0x4c - 0x50 */ 1167*76bd547bSAdrian Chadd volatile u_int32_t ch0_TXRF5; /* 0x50 - 0x54 */ 1168*76bd547bSAdrian Chadd volatile u_int32_t ch0_TXRF6; /* 0x54 - 0x58 */ 1169*76bd547bSAdrian Chadd volatile char pad__1[0x28]; /* 0x58 - 0x80 */ 1170*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH1; /* 0x80 - 0x84 */ 1171*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH2; /* 0x84 - 0x88 */ 1172*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH3; /* 0x88 - 0x8c */ 1173*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH4; /* 0x8c - 0x90 */ 1174*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH5; /* 0x90 - 0x94 */ 1175*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH6; /* 0x94 - 0x98 */ 1176*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH7; /* 0x98 - 0x9c */ 1177*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH8; /* 0x9c - 0xa0 */ 1178*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH9; /* 0xa0 - 0xa4 */ 1179*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH10; /* 0xa4 - 0xa8 */ 1180*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH11; /* 0xa8 - 0xac */ 1181*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH12; /* 0xac - 0xb0 */ 1182*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH13; /* 0xb0 - 0xb4 */ 1183*76bd547bSAdrian Chadd volatile u_int32_t ch0_SYNTH14; /* 0xb4 - 0xb8 */ 1184*76bd547bSAdrian Chadd volatile char pad__2[0x8]; /* 0xb8 - 0xc0 */ 1185*76bd547bSAdrian Chadd volatile u_int32_t ch0_BIAS1; /* 0xc0 - 0xc4 */ 1186*76bd547bSAdrian Chadd volatile u_int32_t ch0_BIAS2; /* 0xc4 - 0xc8 */ 1187*76bd547bSAdrian Chadd volatile u_int32_t ch0_BIAS3; /* 0xc8 - 0xcc */ 1188*76bd547bSAdrian Chadd volatile u_int32_t ch0_BIAS4; /* 0xcc - 0xd0 */ 1189*76bd547bSAdrian Chadd volatile char pad__3[0x30]; /* 0xd0 - 0x100 */ 1190*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXTX1; /* 0x100 - 0x104 */ 1191*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXTX2; /* 0x104 - 0x108 */ 1192*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXTX3; /* 0x108 - 0x10c */ 1193*76bd547bSAdrian Chadd volatile u_int32_t ch0_RXTX4; /* 0x10c - 0x110 */ 1194*76bd547bSAdrian Chadd volatile char pad__4[0x30]; /* 0x110 - 0x140 */ 1195*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB1; /* 0x140 - 0x144 */ 1196*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB2; /* 0x144 - 0x148 */ 1197*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB3; /* 0x148 - 0x14c */ 1198*76bd547bSAdrian Chadd volatile char pad__5[0x34]; /* 0x14c - 0x180 */ 1199*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB_PLL; /* 0x180 - 0x184 */ 1200*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB_PLL2; /* 0x184 - 0x188 */ 1201*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB_PLL3; /* 0x188 - 0x18c */ 1202*76bd547bSAdrian Chadd volatile u_int32_t ch0_BB_PLL4; /* 0x18c - 0x190 */ 1203*76bd547bSAdrian Chadd volatile char pad__6[0x30]; /* 0x190 - 0x1c0 */ 1204*76bd547bSAdrian Chadd volatile u_int32_t ch0_CPU_PLL; /* 0x1c0 - 0x1c4 */ 1205*76bd547bSAdrian Chadd volatile u_int32_t ch0_CPU_PLL2; /* 0x1c4 - 0x1c8 */ 1206*76bd547bSAdrian Chadd volatile u_int32_t ch0_CPU_PLL3; /* 0x1c8 - 0x1cc */ 1207*76bd547bSAdrian Chadd volatile u_int32_t ch0_CPU_PLL4; /* 0x1cc - 0x1d0 */ 1208*76bd547bSAdrian Chadd volatile char pad__7[0x30]; /* 0x1d0 - 0x200 */ 1209*76bd547bSAdrian Chadd volatile u_int32_t ch0_AUDIO_PLL; /* 0x200 - 0x204 */ 1210*76bd547bSAdrian Chadd volatile u_int32_t ch0_AUDIO_PLL2; /* 0x204 - 0x208 */ 1211*76bd547bSAdrian Chadd volatile u_int32_t ch0_AUDIO_PLL3; /* 0x208 - 0x20c */ 1212*76bd547bSAdrian Chadd volatile u_int32_t ch0_AUDIO_PLL4; /* 0x20c - 0x210 */ 1213*76bd547bSAdrian Chadd volatile char pad__8[0x30]; /* 0x210 - 0x240 */ 1214*76bd547bSAdrian Chadd volatile u_int32_t ch0_DDR_PLL; /* 0x240 - 0x244 */ 1215*76bd547bSAdrian Chadd volatile u_int32_t ch0_DDR_PLL2; /* 0x244 - 0x248 */ 1216*76bd547bSAdrian Chadd volatile u_int32_t ch0_DDR_PLL3; /* 0x248 - 0x24c */ 1217*76bd547bSAdrian Chadd volatile u_int32_t ch0_DDR_PLL4; /* 0x24c - 0x250 */ 1218*76bd547bSAdrian Chadd volatile char pad__9[0x30]; /* 0x250 - 0x280 */ 1219*76bd547bSAdrian Chadd volatile u_int32_t ch0_TOP; /* 0x280 - 0x284 */ 1220*76bd547bSAdrian Chadd volatile u_int32_t ch0_TOP2; /* 0x284 - 0x288 */ 1221*76bd547bSAdrian Chadd volatile u_int32_t ch0_TOP3; /* 0x288 - 0x28c */ 1222*76bd547bSAdrian Chadd volatile u_int32_t ch0_THERM; /* 0x28c - 0x290 */ 1223*76bd547bSAdrian Chadd volatile u_int32_t ch0_XTAL; /* 0x290 - 0x294 */ 1224*76bd547bSAdrian Chadd volatile char pad__10[0xec]; /* 0x294 - 0x380 */ 1225*76bd547bSAdrian Chadd volatile u_int32_t ch0_rbist_cntrl; /* 0x380 - 0x384 */ 1226*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_dc_offset; /* 0x384 - 0x388 */ 1227*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_tonegen0; /* 0x388 - 0x38c */ 1228*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_tonegen1; /* 0x38c - 0x390 */ 1229*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_lftonegen0; /* 0x390 - 0x394 */ 1230*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_linear_ramp_i; /* 0x394 - 0x398 */ 1231*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_linear_ramp_q; /* 0x398 - 0x39c */ 1232*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_prbs_mag; /* 0x39c - 0x3a0 */ 1233*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_prbs_seed_i; /* 0x3a0 - 0x3a4 */ 1234*76bd547bSAdrian Chadd volatile u_int32_t ch0_tx_prbs_seed_q; /* 0x3a4 - 0x3a8 */ 1235*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_dc_cancel; /* 0x3a8 - 0x3ac */ 1236*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_dc_offset; /* 0x3ac - 0x3b0 */ 1237*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_corr; /* 0x3b0 - 0x3b4 */ 1238*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_power; /* 0x3b4 - 0x3b8 */ 1239*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_cross_corr; /* 0x3b8 - 0x3bc */ 1240*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_i2q2; /* 0x3bc - 0x3c0 */ 1241*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_power_hpf; /* 0x3c0 - 0x3c4 */ 1242*76bd547bSAdrian Chadd volatile u_int32_t ch0_rxdac_set1; /* 0x3c4 - 0x3c8 */ 1243*76bd547bSAdrian Chadd volatile u_int32_t ch0_rxdac_set2; /* 0x3c8 - 0x3cc */ 1244*76bd547bSAdrian Chadd volatile u_int32_t ch0_rxdac_long_shift; /* 0x3cc - 0x3d0 */ 1245*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_results_i; /* 0x3d0 - 0x3d4 */ 1246*76bd547bSAdrian Chadd volatile u_int32_t ch0_cmac_results_q; /* 0x3d4 - 0x3d8 */ 1247*76bd547bSAdrian Chadd volatile char pad__11[0x28]; /* 0x3d8 - 0x400 */ 1248*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXRF_BIAS1; /* 0x400 - 0x404 */ 1249*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXRF_BIAS2; /* 0x404 - 0x408 */ 1250*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXRF_GAINSTAGES; /* 0x408 - 0x40c */ 1251*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXRF_AGC; /* 0x40c - 0x410 */ 1252*76bd547bSAdrian Chadd volatile char pad__12[0x30]; /* 0x410 - 0x440 */ 1253*76bd547bSAdrian Chadd volatile u_int32_t ch1_TXRF1; /* 0x440 - 0x444 */ 1254*76bd547bSAdrian Chadd volatile u_int32_t ch1_TXRF2; /* 0x444 - 0x448 */ 1255*76bd547bSAdrian Chadd volatile u_int32_t ch1_TXRF3; /* 0x448 - 0x44c */ 1256*76bd547bSAdrian Chadd volatile u_int32_t ch1_TXRF4; /* 0x44c - 0x450 */ 1257*76bd547bSAdrian Chadd volatile u_int32_t ch1_TXRF5; /* 0x450 - 0x454 */ 1258*76bd547bSAdrian Chadd volatile u_int32_t ch1_TXRF6; /* 0x454 - 0x458 */ 1259*76bd547bSAdrian Chadd volatile char pad__13[0xa8]; /* 0x458 - 0x500 */ 1260*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXTX1; /* 0x500 - 0x504 */ 1261*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXTX2; /* 0x504 - 0x508 */ 1262*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXTX3; /* 0x508 - 0x50c */ 1263*76bd547bSAdrian Chadd volatile u_int32_t ch1_RXTX4; /* 0x50c - 0x510 */ 1264*76bd547bSAdrian Chadd volatile char pad__14[0x30]; /* 0x510 - 0x540 */ 1265*76bd547bSAdrian Chadd volatile u_int32_t ch1_BB1; /* 0x540 - 0x544 */ 1266*76bd547bSAdrian Chadd volatile u_int32_t ch1_BB2; /* 0x544 - 0x548 */ 1267*76bd547bSAdrian Chadd volatile u_int32_t ch1_BB3; /* 0x548 - 0x54c */ 1268*76bd547bSAdrian Chadd volatile char pad__15[0x234]; /* 0x54c - 0x780 */ 1269*76bd547bSAdrian Chadd volatile u_int32_t ch1_rbist_cntrl; /* 0x780 - 0x784 */ 1270*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_dc_offset; /* 0x784 - 0x788 */ 1271*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_tonegen0; /* 0x788 - 0x78c */ 1272*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_tonegen1; /* 0x78c - 0x790 */ 1273*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_lftonegen0; /* 0x790 - 0x794 */ 1274*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_linear_ramp_i; /* 0x794 - 0x798 */ 1275*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_linear_ramp_q; /* 0x798 - 0x79c */ 1276*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_prbs_mag; /* 0x79c - 0x7a0 */ 1277*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_prbs_seed_i; /* 0x7a0 - 0x7a4 */ 1278*76bd547bSAdrian Chadd volatile u_int32_t ch1_tx_prbs_seed_q; /* 0x7a4 - 0x7a8 */ 1279*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_dc_cancel; /* 0x7a8 - 0x7ac */ 1280*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_dc_offset; /* 0x7ac - 0x7b0 */ 1281*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_corr; /* 0x7b0 - 0x7b4 */ 1282*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_power; /* 0x7b4 - 0x7b8 */ 1283*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_cross_corr; /* 0x7b8 - 0x7bc */ 1284*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_i2q2; /* 0x7bc - 0x7c0 */ 1285*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_power_hpf; /* 0x7c0 - 0x7c4 */ 1286*76bd547bSAdrian Chadd volatile u_int32_t ch1_rxdac_set1; /* 0x7c4 - 0x7c8 */ 1287*76bd547bSAdrian Chadd volatile u_int32_t ch1_rxdac_set2; /* 0x7c8 - 0x7cc */ 1288*76bd547bSAdrian Chadd volatile u_int32_t ch1_rxdac_long_shift; /* 0x7cc - 0x7d0 */ 1289*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_results_i; /* 0x7d0 - 0x7d4 */ 1290*76bd547bSAdrian Chadd volatile u_int32_t ch1_cmac_results_q; /* 0x7d4 - 0x7d8 */ 1291*76bd547bSAdrian Chadd volatile char pad__16[0x28]; /* 0x7d8 - 0x800 */ 1292*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXRF_BIAS1; /* 0x800 - 0x804 */ 1293*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXRF_BIAS2; /* 0x804 - 0x808 */ 1294*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXRF_GAINSTAGES; /* 0x808 - 0x80c */ 1295*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXRF_AGC; /* 0x80c - 0x810 */ 1296*76bd547bSAdrian Chadd volatile char pad__17[0x30]; /* 0x810 - 0x840 */ 1297*76bd547bSAdrian Chadd volatile u_int32_t ch2_TXRF1; /* 0x840 - 0x844 */ 1298*76bd547bSAdrian Chadd volatile u_int32_t ch2_TXRF2; /* 0x844 - 0x848 */ 1299*76bd547bSAdrian Chadd volatile u_int32_t ch2_TXRF3; /* 0x848 - 0x84c */ 1300*76bd547bSAdrian Chadd volatile u_int32_t ch2_TXRF4; /* 0x84c - 0x850 */ 1301*76bd547bSAdrian Chadd volatile u_int32_t ch2_TXRF5; /* 0x850 - 0x854 */ 1302*76bd547bSAdrian Chadd volatile u_int32_t ch2_TXRF6; /* 0x854 - 0x858 */ 1303*76bd547bSAdrian Chadd volatile char pad__18[0xa8]; /* 0x858 - 0x900 */ 1304*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXTX1; /* 0x900 - 0x904 */ 1305*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXTX2; /* 0x904 - 0x908 */ 1306*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXTX3; /* 0x908 - 0x90c */ 1307*76bd547bSAdrian Chadd volatile u_int32_t ch2_RXTX4; /* 0x90c - 0x910 */ 1308*76bd547bSAdrian Chadd volatile char pad__19[0x30]; /* 0x910 - 0x940 */ 1309*76bd547bSAdrian Chadd volatile u_int32_t ch2_BB1; /* 0x940 - 0x944 */ 1310*76bd547bSAdrian Chadd volatile u_int32_t ch2_BB2; /* 0x944 - 0x948 */ 1311*76bd547bSAdrian Chadd volatile u_int32_t ch2_BB3; /* 0x948 - 0x94c */ 1312*76bd547bSAdrian Chadd volatile char pad__20[0x234]; /* 0x94c - 0xb80 */ 1313*76bd547bSAdrian Chadd volatile u_int32_t ch2_rbist_cntrl; /* 0xb80 - 0xb84 */ 1314*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_dc_offset; /* 0xb84 - 0xb88 */ 1315*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_tonegen0; /* 0xb88 - 0xb8c */ 1316*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_tonegen1; /* 0xb8c - 0xb90 */ 1317*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_lftonegen0; /* 0xb90 - 0xb94 */ 1318*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_linear_ramp_i; /* 0xb94 - 0xb98 */ 1319*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_linear_ramp_q; /* 0xb98 - 0xb9c */ 1320*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_prbs_mag; /* 0xb9c - 0xba0 */ 1321*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_prbs_seed_i; /* 0xba0 - 0xba4 */ 1322*76bd547bSAdrian Chadd volatile u_int32_t ch2_tx_prbs_seed_q; /* 0xba4 - 0xba8 */ 1323*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_dc_cancel; /* 0xba8 - 0xbac */ 1324*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_dc_offset; /* 0xbac - 0xbb0 */ 1325*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_corr; /* 0xbb0 - 0xbb4 */ 1326*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_power; /* 0xbb4 - 0xbb8 */ 1327*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_cross_corr; /* 0xbb8 - 0xbbc */ 1328*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_i2q2; /* 0xbbc - 0xbc0 */ 1329*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_power_hpf; /* 0xbc0 - 0xbc4 */ 1330*76bd547bSAdrian Chadd volatile u_int32_t ch2_rxdac_set1; /* 0xbc4 - 0xbc8 */ 1331*76bd547bSAdrian Chadd volatile u_int32_t ch2_rxdac_set2; /* 0xbc8 - 0xbcc */ 1332*76bd547bSAdrian Chadd volatile u_int32_t ch2_rxdac_long_shift; /* 0xbcc - 0xbd0 */ 1333*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_results_i; /* 0xbd0 - 0xbd4 */ 1334*76bd547bSAdrian Chadd volatile u_int32_t ch2_cmac_results_q; /* 0xbd4 - 0xbd8 */ 1335*76bd547bSAdrian Chadd }; 1336*76bd547bSAdrian Chadd 1337*76bd547bSAdrian Chadd struct scorpion_reg_map { 1338*76bd547bSAdrian Chadd struct mac_dma_reg mac_dma_reg_map; /* 0x0 - 0x128 */ 1339*76bd547bSAdrian Chadd volatile char pad__0[0x6d8]; /* 0x128 - 0x800 */ 1340*76bd547bSAdrian Chadd struct mac_qcu_reg mac_qcu_reg_map; /* 0x800 - 0xa48 */ 1341*76bd547bSAdrian Chadd volatile char pad__1[0x5b8]; /* 0xa48 - 0x1000 */ 1342*76bd547bSAdrian Chadd struct mac_dcu_reg mac_dcu_reg_map; /* 0x1000 - 0x1f08 */ 1343*76bd547bSAdrian Chadd volatile char pad__2[0x50f8]; /* 0x1f08 - 0x7000 */ 1344*76bd547bSAdrian Chadd struct rtc_reg rtc_reg_map; /* 0x7000 - 0x7040 */ 1345*76bd547bSAdrian Chadd struct rtc_sync_reg rtc_sync_reg_map; /* 0x7040 - 0x705c */ 1346*76bd547bSAdrian Chadd volatile char pad__3[0xfa4]; /* 0x705c - 0x8000 */ 1347*76bd547bSAdrian Chadd struct mac_pcu_reg mac_pcu_reg_map; /* 0x8000 - 0x9800 */ 1348*76bd547bSAdrian Chadd struct bb_reg_map bb_reg_map; /* 0x9800 - 0xd800 */ 1349*76bd547bSAdrian Chadd volatile char pad__4[0x800]; /* 0xd800 - 0xe000 */ 1350*76bd547bSAdrian Chadd struct mac_pcu_buf_reg mac_pcu_buf_reg_map; /* 0xe000 - 0x10000 */ 1351*76bd547bSAdrian Chadd struct svd_reg svd_reg_map; /* 0x10000 - 0x12c00 */ 1352*76bd547bSAdrian Chadd volatile char pad__5[0x3400]; /* 0x12c00 - 0x16000 */ 1353*76bd547bSAdrian Chadd struct radio65_reg radio65_reg_map; /* 0x16000 - 0x16bd8 */ 1354*76bd547bSAdrian Chadd }; 1355*76bd547bSAdrian Chadd 1356*76bd547bSAdrian Chadd #endif /* __REG_SCORPION_REG_MAP_H__ */ 1357