linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phyreg_n.h

// SPDX-License-Identifier: ISC
/*
 * Copyright (c) 2010 Broadcom Corporation
 */

#define NPHY_TBL_ID_GAIN1
#define NPHY_TBL_ID_GAIN2
#define NPHY_TBL_ID_GAINBITS1
#define NPHY_TBL_ID_GAINBITS2
#define NPHY_TBL_ID_GAINLIMIT
#define NPHY_TBL_ID_WRSSIGainLimit
#define NPHY_TBL_ID_RFSEQ
#define NPHY_TBL_ID_AFECTRL
#define NPHY_TBL_ID_ANTSWCTRLLUT
#define NPHY_TBL_ID_IQLOCAL
#define NPHY_TBL_ID_NOISEVAR
#define NPHY_TBL_ID_SAMPLEPLAY
#define NPHY_TBL_ID_CORE1TXPWRCTL
#define NPHY_TBL_ID_CORE2TXPWRCTL
#define NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL

#define NPHY_TBL_ID_EPSILONTBL0
#define NPHY_TBL_ID_SCALARTBL0
#define NPHY_TBL_ID_EPSILONTBL1
#define NPHY_TBL_ID_SCALARTBL1

#define NPHY_TO_BPHY_OFF

#define NPHY_BandControl_currentBand
#define RFCC_CHIP0_PU
#define RFCC_POR_FORCE
#define RFCC_OE_POR_FORCE
#define NPHY_RfctrlIntc_override_OFF
#define NPHY_RfctrlIntc_override_TRSW
#define NPHY_RfctrlIntc_override_PA
#define NPHY_RfctrlIntc_override_EXT_LNA_PU
#define NPHY_RfctrlIntc_override_EXT_LNA_GAIN
#define RIFS_ENABLE
#define BPHY_BAND_SEL_UP20
#define NPHY_MLenable

#define NPHY_RfseqMode_CoreActv_override
#define NPHY_RfseqMode_Trigger_override
#define NPHY_RfseqCoreActv_TxRxChain0
#define NPHY_RfseqCoreActv_TxRxChain1

#define NPHY_RfseqTrigger_rx2tx
#define NPHY_RfseqTrigger_tx2rx
#define NPHY_RfseqTrigger_updategainh
#define NPHY_RfseqTrigger_updategainl
#define NPHY_RfseqTrigger_updategainu
#define NPHY_RfseqTrigger_reset2rx
#define NPHY_RfseqStatus_rx2tx
#define NPHY_RfseqStatus_tx2rx
#define NPHY_RfseqStatus_updategainh
#define NPHY_RfseqStatus_updategainl
#define NPHY_RfseqStatus_updategainu
#define NPHY_RfseqStatus_reset2rx
#define NPHY_ClassifierCtrl_cck_en
#define NPHY_ClassifierCtrl_ofdm_en
#define NPHY_ClassifierCtrl_waited_en
#define NPHY_IQFlip_ADC1
#define NPHY_IQFlip_ADC2
#define NPHY_sampleCmd_STOP

#define RX_GF_OR_MM
#define RX_GF_MM_AUTO

#define NPHY_iqloCalCmdGctl_IQLO_CAL_EN

#define NPHY_IqestCmd_iqstart
#define NPHY_IqestCmd_iqMode

#define NPHY_TxPwrCtrlCmd_pwrIndex_init
#define NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7

#define PRIM_SEL_UP20

#define NPHY_RFSEQ_RX2TX
#define NPHY_RFSEQ_TX2RX
#define NPHY_RFSEQ_RESET2RX
#define NPHY_RFSEQ_UPDATEGAINH
#define NPHY_RFSEQ_UPDATEGAINL
#define NPHY_RFSEQ_UPDATEGAINU

#define NPHY_RFSEQ_CMD_NOP
#define NPHY_RFSEQ_CMD_RXG_FBW
#define NPHY_RFSEQ_CMD_TR_SWITCH
#define NPHY_RFSEQ_CMD_EXT_PA
#define NPHY_RFSEQ_CMD_RXPD_TXPD
#define NPHY_RFSEQ_CMD_TX_GAIN
#define NPHY_RFSEQ_CMD_RX_GAIN
#define NPHY_RFSEQ_CMD_SET_HPF_BW
#define NPHY_RFSEQ_CMD_CLR_HIQ_DIS
#define NPHY_RFSEQ_CMD_END

#define NPHY_REV3_RFSEQ_CMD_NOP
#define NPHY_REV3_RFSEQ_CMD_RXG_FBW
#define NPHY_REV3_RFSEQ_CMD_TR_SWITCH
#define NPHY_REV3_RFSEQ_CMD_INT_PA_PU
#define NPHY_REV3_RFSEQ_CMD_EXT_PA
#define NPHY_REV3_RFSEQ_CMD_RXPD_TXPD
#define NPHY_REV3_RFSEQ_CMD_TX_GAIN
#define NPHY_REV3_RFSEQ_CMD_RX_GAIN
#define NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS
#define NPHY_REV3_RFSEQ_CMD_SET_HPF_H_HPC
#define NPHY_REV3_RFSEQ_CMD_SET_LPF_H_HPC
#define NPHY_REV3_RFSEQ_CMD_SET_HPF_M_HPC
#define NPHY_REV3_RFSEQ_CMD_SET_LPF_M_HPC
#define NPHY_REV3_RFSEQ_CMD_SET_HPF_L_HPC
#define NPHY_REV3_RFSEQ_CMD_SET_LPF_L_HPC
#define NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS
#define NPHY_REV3_RFSEQ_CMD_END

#define NPHY_RSSI_SEL_W1
#define NPHY_RSSI_SEL_W2
#define NPHY_RSSI_SEL_NB
#define NPHY_RSSI_SEL_IQ
#define NPHY_RSSI_SEL_TSSI_2G
#define NPHY_RSSI_SEL_TSSI_5G
#define NPHY_RSSI_SEL_TBD

#define NPHY_RAIL_I
#define NPHY_RAIL_Q

#define NPHY_FORCESIG_DECODEGATEDCLKS

#define NPHY_REV7_RfctrlOverride_cmd_rxrf_pu
#define NPHY_REV7_RfctrlOverride_cmd_rx_pu
#define NPHY_REV7_RfctrlOverride_cmd_tx_pu
#define NPHY_REV7_RfctrlOverride_cmd_rxgain
#define NPHY_REV7_RfctrlOverride_cmd_txgain

#define NPHY_REV7_RXGAINCODE_RFMXGAIN_MASK
#define NPHY_REV7_RXGAINCODE_LPFGAIN_MASK
#define NPHY_REV7_RXGAINCODE_DVGAGAIN_MASK

#define NPHY_REV7_TXGAINCODE_TGAIN_MASK
#define NPHY_REV7_TXGAINCODE_LPFGAIN_MASK
#define NPHY_REV7_TXGAINCODE_BIQ0GAIN_SHIFT

#define NPHY_REV7_RFCTRLOVERRIDE_ID0
#define NPHY_REV7_RFCTRLOVERRIDE_ID1
#define NPHY_REV7_RFCTRLOVERRIDE_ID2

#define NPHY_IqestIqAccLo(core)

#define NPHY_IqestIqAccHi(core)

#define NPHY_IqestipwrAccLo(core)

#define NPHY_IqestipwrAccHi(core)

#define NPHY_IqestqpwrAccLo(core)

#define NPHY_IqestqpwrAccHi(core)