linux/drivers/net/wireless/broadcom/b43/phy_lp.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_B43_PHY_LP_H_
#define LINUX_B43_PHY_LP_H_

/* Definitions for the LP-PHY */


/* The CCK PHY register range. */
#define B43_LPPHY_B_VERSION
#define B43_LPPHY_B_BBCONFIG
#define B43_LPPHY_B_RX_STAT0
#define B43_LPPHY_B_RX_STAT1
#define B43_LPPHY_B_CRS_THRESH
#define B43_LPPHY_B_TXERROR
#define B43_LPPHY_B_CHANNEL
#define B43_LPPHY_B_WORKAROUND
#define B43_LPPHY_B_TEST
#define B43_LPPHY_B_FOURWIRE_ADDR
#define B43_LPPHY_B_FOURWIRE_DATA_HI
#define B43_LPPHY_B_FOURWIRE_DATA_LO
#define B43_LPPHY_B_BIST_STAT
#define B43_LPPHY_PA_RAMP_TX_TO
#define B43_LPPHY_RF_SYNTH_DC_TIMER
#define B43_LPPHY_PA_RAMP_TX_TIME_IN
#define B43_LPPHY_RX_FILTER_TIME_IN
#define B43_LPPHY_PLL_COEFF_S
#define B43_LPPHY_PLL_OUT
#define B43_LPPHY_RSSI_THRES
#define B43_LPPHY_IQ_THRES_HH
#define B43_LPPHY_IQ_THRES_H
#define B43_LPPHY_IQ_THRES_L
#define B43_LPPHY_IQ_THRES_LL
#define B43_LPPHY_AGC_GAIN
#define B43_LPPHY_LNA_GAIN_RANGE
#define B43_LPPHY_JSSI
#define B43_LPPHY_TSSI_CTL
#define B43_LPPHY_TSSI
#define B43_LPPHY_TR_LOSS
#define B43_LPPHY_LO_LEAKAGE
#define B43_LPPHY_LO_RSSIACC
#define B43_LPPHY_LO_IQ_MAG_ACC
#define B43_LPPHY_TX_DCOFFSET1
#define B43_LPPHY_TX_DCOFFSET2
#define B43_LPPHY_SYNCPEAKCNT
#define B43_LPPHY_SYNCFREQ
#define B43_LPPHY_SYNCDIVERSITYCTL
#define B43_LPPHY_PEAKENERGYL
#define B43_LPPHY_PEAKENERGYH
#define B43_LPPHY_SYNCCTL
#define B43_LPPHY_DSSSSTEP
#define B43_LPPHY_DSSSWARMUP
#define B43_LPPHY_DSSSSIGPOW
#define B43_LPPHY_SFDDETECTBLOCKTIME
#define B43_LPPHY_SFDTO
#define B43_LPPHY_SFDCTL
#define B43_LPPHY_RXDBG
#define B43_LPPHY_RX_DELAYCOMP
#define B43_LPPHY_CRSDROPOUTTO
#define B43_LPPHY_PSEUDOSHORTTO
#define B43_LPPHY_PR3931
#define B43_LPPHY_DSSSCOEFF1
#define B43_LPPHY_DSSSCOEFF2
#define B43_LPPHY_CCKCOEFF1
#define B43_LPPHY_CCKCOEFF2
#define B43_LPPHY_TRCORR
#define B43_LPPHY_ANGLESCALE
#define B43_LPPHY_OPTIONALMODES2
#define B43_LPPHY_CCKLMSSTEPSIZE
#define B43_LPPHY_DFEBYPASS
#define B43_LPPHY_CCKSTARTDELAYLONG
#define B43_LPPHY_CCKSTARTDELAYSHORT
#define B43_LPPHY_PPROCCHDELAY
#define B43_LPPHY_PPROCONOFF
#define B43_LPPHY_LNAGAINTWOBIT10
#define B43_LPPHY_LNAGAINTWOBIT32
#define B43_LPPHY_OPTIONALMODES
#define B43_LPPHY_B_RX_STAT2
#define B43_LPPHY_B_RX_STAT3
#define B43_LPPHY_PWDNDACDELAY
#define B43_LPPHY_FINEDIGIGAIN_CTL
#define B43_LPPHY_LG2GAINTBLLNA8
#define B43_LPPHY_LG2GAINTBLLNA28
#define B43_LPPHY_GAINTBLLNATRSW
#define B43_LPPHY_PEAKENERGY
#define B43_LPPHY_LG2INITGAIN
#define B43_LPPHY_BLANKCOUNTLNAPGA
#define B43_LPPHY_LNAGAINTWOBIT54
#define B43_LPPHY_LNAGAINTWOBIT76
#define B43_LPPHY_JSSICTL
#define B43_LPPHY_LG2GAINTBLLNA44
#define B43_LPPHY_LG2GAINTBLLNA62

/* The OFDM PHY register range. */
#define B43_LPPHY_VERSION
#define B43_LPPHY_BBCONFIG
#define B43_LPPHY_RX_STAT0
#define B43_LPPHY_RX_STAT1
#define B43_LPPHY_TX_ERROR
#define B43_LPPHY_CHANNEL
#define B43_LPPHY_WORKAROUND
#define B43_LPPHY_FOURWIRE_ADDR
#define B43_LPPHY_FOURWIREDATAHI
#define B43_LPPHY_FOURWIREDATALO
#define B43_LPPHY_BISTSTAT0
#define B43_LPPHY_BISTSTAT1
#define B43_LPPHY_CRSGAIN_CTL
#define B43_LPPHY_OFDMPWR_THRESH0
#define B43_LPPHY_OFDMPWR_THRESH1
#define B43_LPPHY_OFDMPWR_THRESH2
#define B43_LPPHY_DSSSPWR_THRESH0
#define B43_LPPHY_DSSSPWR_THRESH1
#define B43_LPPHY_MINPWR_LEVEL
#define B43_LPPHY_OFDMSYNCTHRESH0
#define B43_LPPHY_OFDMSYNCTHRESH1
#define B43_LPPHY_FINEFREQEST
#define B43_LPPHY_IDLEAFTERPKTRXTO
#define B43_LPPHY_LTRN_CTL
#define B43_LPPHY_DCOFFSETTRANSIENT
#define B43_LPPHY_PREAMBLEINTO
#define B43_LPPHY_PREAMBLECONFIRMTO
#define B43_LPPHY_CLIPTHRESH
#define B43_LPPHY_CLIPCTRTHRESH
#define B43_LPPHY_OFDMSYNCTIMER_CTL
#define B43_LPPHY_WAITFORPHYSELTO
#define B43_LPPHY_HIGAINDB
#define B43_LPPHY_LOWGAINDB
#define B43_LPPHY_VERYLOWGAINDB
#define B43_LPPHY_GAINMISMATCH
#define B43_LPPHY_GAINDIRECTMISMATCH
#define B43_LPPHY_PWR_THRESH0
#define B43_LPPHY_PWR_THRESH1
#define B43_LPPHY_DETECTOR_DELAY_ADJUST
#define B43_LPPHY_REDUCED_DETECTOR_DELAY
#define B43_LPPHY_DATA_TO
#define B43_LPPHY_CORRELATOR_DIS_DELAY
#define B43_LPPHY_DIVERSITY_GAINBACK
#define B43_LPPHY_DSSS_CONFIRM_CNT
#define B43_LPPHY_DC_BLANK_INT
#define B43_LPPHY_GAIN_MISMATCH_LIMIT
#define B43_LPPHY_CRS_ED_THRESH
#define B43_LPPHY_PHASE_SHIFT_CTL
#define B43_LPPHY_INPUT_PWRDB
#define B43_LPPHY_OFDM_SYNC_CTL
#define B43_LPPHY_AFE_ADC_CTL_0
#define B43_LPPHY_AFE_ADC_CTL_1
#define B43_LPPHY_AFE_ADC_CTL_2
#define B43_LPPHY_AFE_DAC_CTL
#define B43_LPPHY_AFE_CTL
#define B43_LPPHY_AFE_CTL_OVR
#define B43_LPPHY_AFE_CTL_OVRVAL
#define B43_LPPHY_AFE_RSSI_CTL_0
#define B43_LPPHY_AFE_RSSI_CTL_1
#define B43_LPPHY_AFE_RSSI_SEL
#define B43_LPPHY_RADAR_THRESH
#define B43_LPPHY_RADAR_BLANK_INT
#define B43_LPPHY_RADAR_MIN_FM_INT
#define B43_LPPHY_RADAR_GAIN_TO
#define B43_LPPHY_RADAR_PULSE_TO
#define B43_LPPHY_RADAR_DETECT_FM_CTL
#define B43_LPPHY_RADAR_DETECT_EN
#define B43_LPPHY_RADAR_RD_DATA_REG
#define B43_LPPHY_LP_PHY_CTL
#define B43_LPPHY_CLASSIFIER_CTL
#define B43_LPPHY_RESET_CTL
#define B43_LPPHY_CLKEN_CTL
#define B43_LPPHY_RF_OVERRIDE_0
#define B43_LPPHY_RF_OVERRIDE_VAL_0
#define B43_LPPHY_TR_LOOKUP_1
#define B43_LPPHY_TR_LOOKUP_2
#define B43_LPPHY_RSSISELLOOKUP1
#define B43_LPPHY_IQLO_CAL_CMD
#define B43_LPPHY_IQLO_CAL_CMD_N_NUM
#define B43_LPPHY_IQLO_CAL_CMD_G_CTL
#define B43_LPPHY_MACINT_DBG_REGISTER
#define B43_LPPHY_TABLE_ADDR
#define B43_LPPHY_TABLEDATALO
#define B43_LPPHY_TABLEDATAHI
#define B43_LPPHY_PHY_CRS_ENABLE_ADDR
#define B43_LPPHY_IDLETIME_CTL
#define B43_LPPHY_IDLETIME_CRS_ON_LO
#define B43_LPPHY_IDLETIME_CRS_ON_HI
#define B43_LPPHY_IDLETIME_MEAS_TIME_LO
#define B43_LPPHY_IDLETIME_MEAS_TIME_HI
#define B43_LPPHY_RESET_LEN_OFDM_TX_ADDR
#define B43_LPPHY_RESET_LEN_OFDM_RX_ADDR
#define B43_LPPHY_REG_CRS_ENABLE
#define B43_LPPHY_PLCP_TMT_STR0_CTR_MIN
#define B43_LPPHY_PKT_FSM_RESET_LEN_VAL
#define B43_LPPHY_READSYM2RESET_CTL
#define B43_LPPHY_DC_FILTER_DELAY1
#define B43_LPPHY_PACKET_RX_ACTIVE_TO
#define B43_LPPHY_ED_TOVAL
#define B43_LPPHY_HOLD_CRS_ON_VAL
#define B43_LPPHY_OFDM_TX_PHY_CRS_DELAY_VAL
#define B43_LPPHY_CCK_TX_PHY_CRS_DELAY_VAL
#define B43_LPPHY_ED_ON_CONFIRM_TIMER_VAL
#define B43_LPPHY_ED_OFFSET_CONFIRM_TIMER_VAL
#define B43_LPPHY_PHY_CRS_OFFSET_TIMER_VAL
#define B43_LPPHY_ADC_COMPENSATION_CTL
#define B43_LPPHY_LOG2_RBPSK_ADDR
#define B43_LPPHY_LOG2_RQPSK_ADDR
#define B43_LPPHY_LOG2_R16QAM_ADDR
#define B43_LPPHY_LOG2_R64QAM_ADDR
#define B43_LPPHY_OFFSET_BPSK_ADDR
#define B43_LPPHY_OFFSET_QPSK_ADDR
#define B43_LPPHY_OFFSET_16QAM_ADDR
#define B43_LPPHY_OFFSET_64QAM_ADDR
#define B43_LPPHY_ALPHA1
#define B43_LPPHY_ALPHA2
#define B43_LPPHY_BETA1
#define B43_LPPHY_BETA2
#define B43_LPPHY_LOOP_NUM_ADDR
#define B43_LPPHY_STR_COLLMAX_SMPL_ADDR
#define B43_LPPHY_MAX_SMPL_COARSE_FINE_ADDR
#define B43_LPPHY_MAX_SMPL_COARSE_STR0CTR_ADDR
#define B43_LPPHY_IQ_ENABLE_WAIT_TIME_ADDR
#define B43_LPPHY_IQ_NUM_SMPLS_ADDR
#define B43_LPPHY_IQ_ACC_HI_ADDR
#define B43_LPPHY_IQ_ACC_LO_ADDR
#define B43_LPPHY_IQ_I_PWR_ACC_HI_ADDR
#define B43_LPPHY_IQ_I_PWR_ACC_LO_ADDR
#define B43_LPPHY_IQ_Q_PWR_ACC_HI_ADDR
#define B43_LPPHY_IQ_Q_PWR_ACC_LO_ADDR
#define B43_LPPHY_MAXNUMSTEPS
#define B43_LPPHY_ROTORPHASE_ADDR
#define B43_LPPHY_ADVANCEDRETARDROTOR_ADDR
#define B43_LPPHY_RSSIADCDELAY_CTL_ADDR
#define B43_LPPHY_TSSISTAT_ADDR
#define B43_LPPHY_TEMPSENSESTAT_ADDR
#define B43_LPPHY_TEMPSENSE_CTL_ADDR
#define B43_LPPHY_WRSSISTAT_ADDR
#define B43_LPPHY_MUFACTORADDR
#define B43_LPPHY_SCRAMSTATE_ADDR
#define B43_LPPHY_TXHOLDOFFADDR
#define B43_LPPHY_PKTGAINVAL_ADDR
#define B43_LPPHY_COARSEESTIM_ADDR
#define B43_LPPHY_STATE_TRANSITION_ADDR
#define B43_LPPHY_TRN_OFFSET_ADDR
#define B43_LPPHY_NUM_ROTOR_ADDR
#define B43_LPPHY_VITERBI_OFFSET_ADDR
#define B43_LPPHY_SMPL_COLLECT_WAIT_ADDR
#define B43_LPPHY_A_PHY_CTL_ADDR
#define B43_LPPHY_NUM_PASS_THROUGH_ADDR
#define B43_LPPHY_RX_COMP_COEFF_S
#define B43_LPPHY_CPAROTATEVAL
#define B43_LPPHY_SMPL_PLAY_COUNT
#define B43_LPPHY_SMPL_PLAY_BUFFER_CTL
#define B43_LPPHY_FOURWIRE_CTL
#define B43_LPPHY_CPA_TAILCOUNT_VAL
#define B43_LPPHY_TX_PWR_CTL_CMD
#define B43_LPPHY_TX_PWR_CTL_CMD_MODE
#define B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF
#define B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW
#define B43_LPPHY_TX_PWR_CTL_CMD_MODE_HW
#define B43_LPPHY_TX_PWR_CTL_NNUM
#define B43_LPPHY_TX_PWR_CTL_IDLETSSI
#define B43_LPPHY_TX_PWR_CTL_TARGETPWR
#define B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT
#define B43_LPPHY_TX_PWR_CTL_BASEINDEX
#define B43_LPPHY_TX_PWR_CTL_PWR_INDEX
#define B43_LPPHY_TX_PWR_CTL_STAT
#define B43_LPPHY_LP_RF_SIGNAL_LUT
#define B43_LPPHY_RX_RADIO_CTL_FILTER_STATE
#define B43_LPPHY_RX_RADIO_CTL
#define B43_LPPHY_NRSSI_STAT_ADDR
#define B43_LPPHY_RF_OVERRIDE_2
#define B43_LPPHY_RF_OVERRIDE_2_VAL
#define B43_LPPHY_PS_CTL_OVERRIDE_VAL0
#define B43_LPPHY_PS_CTL_OVERRIDE_VAL1
#define B43_LPPHY_PS_CTL_OVERRIDE_VAL2
#define B43_LPPHY_TX_GAIN_CTL_OVERRIDE_VAL
#define B43_LPPHY_RX_GAIN_CTL_OVERRIDE_VAL
#define B43_LPPHY_AFE_DDFS
#define B43_LPPHY_AFE_DDFS_POINTER_INIT
#define B43_LPPHY_AFE_DDFS_INCR_INIT
#define B43_LPPHY_MRCNOISEREDUCTION
#define B43_LPPHY_TR_LOOKUP_3
#define B43_LPPHY_TR_LOOKUP_4
#define B43_LPPHY_RADAR_FIFO_STAT
#define B43_LPPHY_GPIO_OUTEN
#define B43_LPPHY_GPIO_SELECT
#define B43_LPPHY_GPIO_OUT
#define B43_LPPHY_4C3
#define B43_LPPHY_4C4
#define B43_LPPHY_4C5
#define B43_LPPHY_TR_LOOKUP_5
#define B43_LPPHY_TR_LOOKUP_6
#define B43_LPPHY_TR_LOOKUP_7
#define B43_LPPHY_TR_LOOKUP_8
#define B43_LPPHY_RF_PWR_OVERRIDE



/* Radio register access decorators. */
#define B43_LP_RADIO(radio_reg)
#define B43_LP_NORTH(radio_reg)
#define B43_LP_SOUTH(radio_reg)


/*** Broadcom 2062 NORTH radio registers ***/
#define B2062_N_COMM1
#define B2062_N_COMM2
#define B2062_N_COMM3
#define B2062_N_COMM4
#define B2062_N_COMM5
#define B2062_N_COMM6
#define B2062_N_COMM7
#define B2062_N_COMM8
#define B2062_N_COMM9
#define B2062_N_COMM10
#define B2062_N_COMM11
#define B2062_N_COMM12
#define B2062_N_COMM13
#define B2062_N_COMM14
#define B2062_N_COMM15
#define B2062_N_PDN_CTL0
#define B2062_N_PDN_CTL1
#define B2062_N_PDN_CTL2
#define B2062_N_PDN_CTL3
#define B2062_N_PDN_CTL4
#define B2062_N_GEN_CTL0
#define B2062_N_IQ_CALIB
#define B2062_N_LGENC
#define B2062_N_LGENA_LPF
#define B2062_N_LGENA_BIAS0
#define B2062_N_LGNEA_BIAS1
#define B2062_N_LGENA_CTL0
#define B2062_N_LGENA_CTL1
#define B2062_N_LGENA_CTL2
#define B2062_N_LGENA_TUNE0
#define B2062_N_LGENA_TUNE1
#define B2062_N_LGENA_TUNE2
#define B2062_N_LGENA_TUNE3
#define B2062_N_LGENA_CTL3
#define B2062_N_LGENA_CTL4
#define B2062_N_LGENA_CTL5
#define B2062_N_LGENA_CTL6
#define B2062_N_LGENA_CTL7
#define B2062_N_RXA_CTL0
#define B2062_N_RXA_CTL1
#define B2062_N_RXA_CTL2
#define B2062_N_RXA_CTL3
#define B2062_N_RXA_CTL4
#define B2062_N_RXA_CTL5
#define B2062_N_RXA_CTL6
#define B2062_N_RXA_CTL7
#define B2062_N_RXBB_CTL0
#define B2062_N_RXBB_CTL1
#define B2062_N_RXBB_CTL2
#define B2062_N_RXBB_GAIN0
#define B2062_N_RXBB_GAIN1
#define B2062_N_RXBB_GAIN2
#define B2062_N_RXBB_GAIN3
#define B2062_N_RXBB_RSSI0
#define B2062_N_RXBB_RSSI1
#define B2062_N_RXBB_CALIB0
#define B2062_N_RXBB_CALIB1
#define B2062_N_RXBB_CALIB2
#define B2062_N_RXBB_BIAS0
#define B2062_N_RXBB_BIAS1
#define B2062_N_RXBB_BIAS2
#define B2062_N_RXBB_BIAS3
#define B2062_N_RXBB_BIAS4
#define B2062_N_RXBB_BIAS5
#define B2062_N_RXBB_RSSI2
#define B2062_N_RXBB_RSSI3
#define B2062_N_RXBB_RSSI4
#define B2062_N_RXBB_RSSI5
#define B2062_N_TX_CTL0
#define B2062_N_TX_CTL1
#define B2062_N_TX_CTL2
#define B2062_N_TX_CTL3
#define B2062_N_TX_CTL4
#define B2062_N_TX_CTL5
#define B2062_N_TX_CTL6
#define B2062_N_TX_CTL7
#define B2062_N_TX_CTL8
#define B2062_N_TX_CTL9
#define B2062_N_TX_CTL_A
#define B2062_N_TX_GC2G
#define B2062_N_TX_GC5G
#define B2062_N_TX_TUNE
#define B2062_N_TX_PAD
#define B2062_N_TX_PGA
#define B2062_N_TX_PADAUX
#define B2062_N_TX_PGAAUX
#define B2062_N_TSSI_CTL0
#define B2062_N_TSSI_CTL1
#define B2062_N_TSSI_CTL2
#define B2062_N_IQ_CALIB_CTL0
#define B2062_N_IQ_CALIB_CTL1
#define B2062_N_IQ_CALIB_CTL2
#define B2062_N_CALIB_TS
#define B2062_N_CALIB_CTL0
#define B2062_N_CALIB_CTL1
#define B2062_N_CALIB_CTL2
#define B2062_N_CALIB_CTL3
#define B2062_N_CALIB_CTL4
#define B2062_N_CALIB_DBG0
#define B2062_N_CALIB_DBG1
#define B2062_N_CALIB_DBG2
#define B2062_N_CALIB_DBG3
#define B2062_N_PSENSE_CTL0
#define B2062_N_PSENSE_CTL1
#define B2062_N_PSENSE_CTL2
#define B2062_N_TEST_BUF0

/*** Broadcom 2062 SOUTH radio registers ***/
#define B2062_S_COMM1
#define B2062_S_RADIO_ID_CODE
#define B2062_S_COMM2
#define B2062_S_COMM3
#define B2062_S_COMM4
#define B2062_S_COMM5
#define B2062_S_COMM6
#define B2062_S_COMM7
#define B2062_S_COMM8
#define B2062_S_COMM9
#define B2062_S_COMM10
#define B2062_S_COMM11
#define B2062_S_COMM12
#define B2062_S_COMM13
#define B2062_S_COMM14
#define B2062_S_COMM15
#define B2062_S_PDS_CTL0
#define B2062_S_PDS_CTL1
#define B2062_S_PDS_CTL2
#define B2062_S_PDS_CTL3
#define B2062_S_BG_CTL0
#define B2062_S_BG_CTL1
#define B2062_S_BG_CTL2
#define B2062_S_LGENG_CTL0
#define B2062_S_LGENG_CTL1
#define B2062_S_LGENG_CTL2
#define B2062_S_LGENG_CTL3
#define B2062_S_LGENG_CTL4
#define B2062_S_LGENG_CTL5
#define B2062_S_LGENG_CTL6
#define B2062_S_LGENG_CTL7
#define B2062_S_LGENG_CTL8
#define B2062_S_LGENG_CTL9
#define B2062_S_LGENG_CTL10
#define B2062_S_LGENG_CTL11
#define B2062_S_REFPLL_CTL0
#define B2062_S_REFPLL_CTL1
#define B2062_S_REFPLL_CTL2
#define B2062_S_REFPLL_CTL3
#define B2062_S_REFPLL_CTL4
#define B2062_S_REFPLL_CTL5
#define B2062_S_REFPLL_CTL6
#define B2062_S_REFPLL_CTL7
#define B2062_S_REFPLL_CTL8
#define B2062_S_REFPLL_CTL9
#define B2062_S_REFPLL_CTL10
#define B2062_S_REFPLL_CTL11
#define B2062_S_REFPLL_CTL12
#define B2062_S_REFPLL_CTL13
#define B2062_S_REFPLL_CTL14
#define B2062_S_REFPLL_CTL15
#define B2062_S_REFPLL_CTL16
#define B2062_S_RFPLL_CTL0
#define B2062_S_RFPLL_CTL1
#define B2062_S_RFPLL_CTL2
#define B2062_S_RFPLL_CTL3
#define B2062_S_RFPLL_CTL4
#define B2062_S_RFPLL_CTL5
#define B2062_S_RFPLL_CTL6
#define B2062_S_RFPLL_CTL7
#define B2062_S_RFPLL_CTL8
#define B2062_S_RFPLL_CTL9
#define B2062_S_RFPLL_CTL10
#define B2062_S_RFPLL_CTL11
#define B2062_S_RFPLL_CTL12
#define B2062_S_RFPLL_CTL13
#define B2062_S_RFPLL_CTL14
#define B2062_S_RFPLL_CTL15
#define B2062_S_RFPLL_CTL16
#define B2062_S_RFPLL_CTL17
#define B2062_S_RFPLL_CTL18
#define B2062_S_RFPLL_CTL19
#define B2062_S_RFPLL_CTL20
#define B2062_S_RFPLL_CTL21
#define B2062_S_RFPLL_CTL22
#define B2062_S_RFPLL_CTL23
#define B2062_S_RFPLL_CTL24
#define B2062_S_RFPLL_CTL25
#define B2062_S_RFPLL_CTL26
#define B2062_S_RFPLL_CTL27
#define B2062_S_RFPLL_CTL28
#define B2062_S_RFPLL_CTL29
#define B2062_S_RFPLL_CTL30
#define B2062_S_RFPLL_CTL31
#define B2062_S_RFPLL_CTL32
#define B2062_S_RFPLL_CTL33
#define B2062_S_RFPLL_CTL34
#define B2062_S_RXG_CNT0
#define B2062_S_RXG_CNT1
#define B2062_S_RXG_CNT2
#define B2062_S_RXG_CNT3
#define B2062_S_RXG_CNT4
#define B2062_S_RXG_CNT5
#define B2062_S_RXG_CNT6
#define B2062_S_RXG_CNT7
#define B2062_S_RXG_CNT8
#define B2062_S_RXG_CNT9
#define B2062_S_RXG_CNT10
#define B2062_S_RXG_CNT11
#define B2062_S_RXG_CNT12
#define B2062_S_RXG_CNT13
#define B2062_S_RXG_CNT14
#define B2062_S_RXG_CNT15
#define B2062_S_RXG_CNT16
#define B2062_S_RXG_CNT17



/*** Broadcom 2063 radio registers ***/
#define B2063_RADIO_ID_CODE
#define B2063_COMM1
#define B2063_COMM2
#define B2063_COMM3
#define B2063_COMM4
#define B2063_COMM5
#define B2063_COMM6
#define B2063_COMM7
#define B2063_COMM8
#define B2063_COMM9
#define B2063_COMM10
#define B2063_COMM11
#define B2063_COMM12
#define B2063_COMM13
#define B2063_COMM14
#define B2063_COMM15
#define B2063_COMM16
#define B2063_COMM17
#define B2063_COMM18
#define B2063_COMM19
#define B2063_COMM20
#define B2063_COMM21
#define B2063_COMM22
#define B2063_COMM23
#define B2063_COMM24
#define B2063_PWR_SWITCH_CTL
#define B2063_PLL_SP1
#define B2063_PLL_SP2
#define B2063_LOGEN_SP1
#define B2063_LOGEN_SP2
#define B2063_LOGEN_SP3
#define B2063_LOGEN_SP4
#define B2063_LOGEN_SP5
#define B2063_G_RX_SP1
#define B2063_G_RX_SP2
#define B2063_G_RX_SP3
#define B2063_G_RX_SP4
#define B2063_G_RX_SP5
#define B2063_G_RX_SP6
#define B2063_G_RX_SP7
#define B2063_G_RX_SP8
#define B2063_G_RX_SP9
#define B2063_G_RX_SP10
#define B2063_G_RX_SP11
#define B2063_A_RX_SP1
#define B2063_A_RX_SP2
#define B2063_A_RX_SP3
#define B2063_A_RX_SP4
#define B2063_A_RX_SP5
#define B2063_A_RX_SP6
#define B2063_A_RX_SP7
#define B2063_RX_BB_SP1
#define B2063_RX_BB_SP2
#define B2063_RX_BB_SP3
#define B2063_RX_BB_SP4
#define B2063_RX_BB_SP5
#define B2063_RX_BB_SP6
#define B2063_RX_BB_SP7
#define B2063_RX_BB_SP8
#define B2063_TX_RF_SP1
#define B2063_TX_RF_SP2
#define B2063_TX_RF_SP3
#define B2063_TX_RF_SP4
#define B2063_TX_RF_SP5
#define B2063_TX_RF_SP6
#define B2063_TX_RF_SP7
#define B2063_TX_RF_SP8
#define B2063_TX_RF_SP9
#define B2063_TX_RF_SP10
#define B2063_TX_RF_SP11
#define B2063_TX_RF_SP12
#define B2063_TX_RF_SP13
#define B2063_TX_RF_SP14
#define B2063_TX_RF_SP15
#define B2063_TX_RF_SP16
#define B2063_TX_RF_SP17
#define B2063_PA_SP1
#define B2063_PA_SP2
#define B2063_PA_SP3
#define B2063_PA_SP4
#define B2063_PA_SP5
#define B2063_PA_SP6
#define B2063_PA_SP7
#define B2063_TX_BB_SP1
#define B2063_TX_BB_SP2
#define B2063_TX_BB_SP3
#define B2063_REG_SP1
#define B2063_BANDGAP_CTL1
#define B2063_BANDGAP_CTL2
#define B2063_LPO_CTL1
#define B2063_RC_CALIB_CTL1
#define B2063_RC_CALIB_CTL2
#define B2063_RC_CALIB_CTL3
#define B2063_RC_CALIB_CTL4
#define B2063_RC_CALIB_CTL5
#define B2063_RC_CALIB_CTL6
#define B2063_RC_CALIB_CTL7
#define B2063_RC_CALIB_CTL8
#define B2063_RC_CALIB_CTL9
#define B2063_RC_CALIB_CTL10
#define B2063_PLL_JTAG_CALNRST
#define B2063_PLL_JTAG_IN_PLL1
#define B2063_PLL_JTAG_IN_PLL2
#define B2063_PLL_JTAG_PLL_CP1
#define B2063_PLL_JTAG_PLL_CP2
#define B2063_PLL_JTAG_PLL_CP3
#define B2063_PLL_JTAG_PLL_CP4
#define B2063_PLL_JTAG_PLL_CTL1
#define B2063_PLL_JTAG_PLL_LF1
#define B2063_PLL_JTAG_PLL_LF2
#define B2063_PLL_JTAG_PLL_LF3
#define B2063_PLL_JTAG_PLL_LF4
#define B2063_PLL_JTAG_PLL_SG1
#define B2063_PLL_JTAG_PLL_SG2
#define B2063_PLL_JTAG_PLL_SG3
#define B2063_PLL_JTAG_PLL_SG4
#define B2063_PLL_JTAG_PLL_SG5
#define B2063_PLL_JTAG_PLL_VCO1
#define B2063_PLL_JTAG_PLL_VCO2
#define B2063_PLL_JTAG_PLL_VCO_CALIB1
#define B2063_PLL_JTAG_PLL_VCO_CALIB2
#define B2063_PLL_JTAG_PLL_VCO_CALIB3
#define B2063_PLL_JTAG_PLL_VCO_CALIB4
#define B2063_PLL_JTAG_PLL_VCO_CALIB5
#define B2063_PLL_JTAG_PLL_VCO_CALIB6
#define B2063_PLL_JTAG_PLL_VCO_CALIB7
#define B2063_PLL_JTAG_PLL_VCO_CALIB8
#define B2063_PLL_JTAG_PLL_VCO_CALIB9
#define B2063_PLL_JTAG_PLL_VCO_CALIB10
#define B2063_PLL_JTAG_PLL_XTAL_12
#define B2063_PLL_JTAG_PLL_XTAL3
#define B2063_LOGEN_ACL1
#define B2063_LOGEN_ACL2
#define B2063_LOGEN_ACL3
#define B2063_LOGEN_ACL4
#define B2063_LOGEN_ACL5
#define B2063_LO_CALIB_INPUTS
#define B2063_LO_CALIB_CTL1
#define B2063_LO_CALIB_CTL2
#define B2063_LO_CALIB_CTL3
#define B2063_LO_CALIB_WAITCNT
#define B2063_LO_CALIB_OVR1
#define B2063_LO_CALIB_OVR2
#define B2063_LO_CALIB_OVAL1
#define B2063_LO_CALIB_OVAL2
#define B2063_LO_CALIB_OVAL3
#define B2063_LO_CALIB_OVAL4
#define B2063_LO_CALIB_OVAL5
#define B2063_LO_CALIB_OVAL6
#define B2063_LO_CALIB_OVAL7
#define B2063_LO_CALIB_CALVLD1
#define B2063_LO_CALIB_CALVLD2
#define B2063_LO_CALIB_CVAL1
#define B2063_LO_CALIB_CVAL2
#define B2063_LO_CALIB_CVAL3
#define B2063_LO_CALIB_CVAL4
#define B2063_LO_CALIB_CVAL5
#define B2063_LO_CALIB_CVAL6
#define B2063_LO_CALIB_CVAL7
#define B2063_LOGEN_CALIB_EN
#define B2063_LOGEN_PEAKDET1
#define B2063_LOGEN_RCCR1
#define B2063_LOGEN_VCOBUF1
#define B2063_LOGEN_MIXER1
#define B2063_LOGEN_MIXER2
#define B2063_LOGEN_BUF1
#define B2063_LOGEN_BUF2
#define B2063_LOGEN_DIV1
#define B2063_LOGEN_DIV2
#define B2063_LOGEN_DIV3
#define B2063_LOGEN_CBUFRX1
#define B2063_LOGEN_CBUFRX2
#define B2063_LOGEN_CBUFTX1
#define B2063_LOGEN_CBUFTX2
#define B2063_LOGEN_IDAC1
#define B2063_LOGEN_SPARE1
#define B2063_LOGEN_SPARE2
#define B2063_LOGEN_SPARE3
#define B2063_G_RX_1ST1
#define B2063_G_RX_1ST2
#define B2063_G_RX_1ST3
#define B2063_G_RX_2ND1
#define B2063_G_RX_2ND2
#define B2063_G_RX_2ND3
#define B2063_G_RX_2ND4
#define B2063_G_RX_2ND5
#define B2063_G_RX_2ND6
#define B2063_G_RX_2ND7
#define B2063_G_RX_2ND8
#define B2063_G_RX_PS1
#define B2063_G_RX_PS2
#define B2063_G_RX_PS3
#define B2063_G_RX_PS4
#define B2063_G_RX_PS5
#define B2063_G_RX_MIX1
#define B2063_G_RX_MIX2
#define B2063_G_RX_MIX3
#define B2063_G_RX_MIX4
#define B2063_G_RX_MIX5
#define B2063_G_RX_MIX6
#define B2063_G_RX_MIX7
#define B2063_G_RX_MIX8
#define B2063_G_RX_PDET1
#define B2063_G_RX_SPARES1
#define B2063_G_RX_SPARES2
#define B2063_G_RX_SPARES3
#define B2063_A_RX_1ST1
#define B2063_A_RX_1ST2
#define B2063_A_RX_1ST3
#define B2063_A_RX_1ST4
#define B2063_A_RX_1ST5
#define B2063_A_RX_2ND1
#define B2063_A_RX_2ND2
#define B2063_A_RX_2ND3
#define B2063_A_RX_2ND4
#define B2063_A_RX_2ND5
#define B2063_A_RX_2ND6
#define B2063_A_RX_2ND7
#define B2063_A_RX_PS1
#define B2063_A_RX_PS2
#define B2063_A_RX_PS3
#define B2063_A_RX_PS4
#define B2063_A_RX_PS5
#define B2063_A_RX_PS6
#define B2063_A_RX_MIX1
#define B2063_A_RX_MIX2
#define B2063_A_RX_MIX3
#define B2063_A_RX_MIX4
#define B2063_A_RX_MIX5
#define B2063_A_RX_MIX6
#define B2063_A_RX_MIX7
#define B2063_A_RX_MIX8
#define B2063_A_RX_PWRDET1
#define B2063_A_RX_SPARE1
#define B2063_A_RX_SPARE2
#define B2063_A_RX_SPARE3
#define B2063_RX_TIA_CTL1
#define B2063_RX_TIA_CTL2
#define B2063_RX_TIA_CTL3
#define B2063_RX_TIA_CTL4
#define B2063_RX_TIA_CTL5
#define B2063_RX_TIA_CTL6
#define B2063_RX_BB_CTL1
#define B2063_RX_BB_CTL2
#define B2063_RX_BB_CTL3
#define B2063_RX_BB_CTL4
#define B2063_RX_BB_CTL5
#define B2063_RX_BB_CTL6
#define B2063_RX_BB_CTL7
#define B2063_RX_BB_CTL8
#define B2063_RX_BB_CTL9
#define B2063_TX_RF_CTL1
#define B2063_TX_RF_IDAC_LO_RF_I
#define B2063_TX_RF_IDAC_LO_RF_Q
#define B2063_TX_RF_IDAC_LO_BB_I
#define B2063_TX_RF_IDAC_LO_BB_Q
#define B2063_TX_RF_CTL2
#define B2063_TX_RF_CTL3
#define B2063_TX_RF_CTL4
#define B2063_TX_RF_CTL5
#define B2063_TX_RF_CTL6
#define B2063_TX_RF_CTL7
#define B2063_TX_RF_CTL8
#define B2063_TX_RF_CTL9
#define B2063_TX_RF_CTL10
#define B2063_TX_RF_CTL14
#define B2063_TX_RF_CTL15
#define B2063_PA_CTL1
#define B2063_PA_CTL2
#define B2063_PA_CTL3
#define B2063_PA_CTL4
#define B2063_PA_CTL5
#define B2063_PA_CTL6
#define B2063_PA_CTL7
#define B2063_PA_CTL8
#define B2063_PA_CTL9
#define B2063_PA_CTL10
#define B2063_PA_CTL11
#define B2063_PA_CTL12
#define B2063_PA_CTL13
#define B2063_TX_BB_CTL1
#define B2063_TX_BB_CTL2
#define B2063_TX_BB_CTL3
#define B2063_TX_BB_CTL4
#define B2063_GPIO_CTL1
#define B2063_VREG_CTL1
#define B2063_AMUX_CTL1
#define B2063_IQ_CALIB_GVAR
#define B2063_IQ_CALIB_CTL1
#define B2063_IQ_CALIB_CTL2
#define B2063_TEMPSENSE_CTL1
#define B2063_TEMPSENSE_CTL2
#define B2063_TX_RX_LOOPBACK1
#define B2063_TX_RX_LOOPBACK2
#define B2063_EXT_TSSI_CTL1
#define B2063_EXT_TSSI_CTL2
#define B2063_AFE_CTL



enum b43_lpphy_txpctl_mode {};

struct b43_phy_lp {};

enum tssi_mux_mode {};

struct b43_phy_operations;
extern const struct b43_phy_operations b43_phyops_lp;

#endif /* LINUX_B43_PHY_LP_H_ */