brcms_phy_pub
struct brcms_phy_pub *pih = wlc_hw->band->pi;
struct brcms_phy_pub *pi; /* pointer to phy specific information */
struct brcms_phy_pub *pi; /* pointer to phy specific information */
void wlc_phy_hold_upd(struct brcms_phy_pub *pih, u32 id, bool set)
void wlc_phy_mute_upd(struct brcms_phy_pub *pih, bool mute, u32 flags)
void wlc_phy_switch_radio(struct brcms_phy_pub *pih, bool on)
void wlc_phy_bw_state_set(struct brcms_phy_pub *ppi, u16 bw)
void wlc_phy_chanspec_radio_set(struct brcms_phy_pub *ppi, u16 newch)
u16 wlc_phy_chanspec_get(struct brcms_phy_pub *ppi)
void wlc_phy_chanspec_set(struct brcms_phy_pub *ppi, u16 chanspec)
void wlc_phy_chanspec_ch14_widefilter_set(struct brcms_phy_pub *ppi,
wlc_phy_chanspec_band_validch(struct brcms_phy_pub *ppi, uint band,
int wlc_phy_txpower_get(struct brcms_phy_pub *ppi, uint *qdbm, bool *override)
void wlc_phyreg_enter(struct brcms_phy_pub *pih)
int wlc_phy_txpower_set(struct brcms_phy_pub *ppi, uint qdbm, bool override)
wlc_phy_txpower_sromlimit(struct brcms_phy_pub *ppi, uint channel, u8 *min_pwr,
void wlc_phyreg_exit(struct brcms_phy_pub *pih)
wlc_phy_txpower_sromlimit((struct brcms_phy_pub *) pi,
void wlc_phy_machwcap_set(struct brcms_phy_pub *ppi, u32 machwcap)
wlc_phy_txpower_limit_set(struct brcms_phy_pub *ppi, struct txpwr_limits *txpwr,
void wlc_phy_ofdm_rateset_war(struct brcms_phy_pub *pih, bool war)
void wlc_phy_bf_preempt_enable(struct brcms_phy_pub *pih, bool bf_preempt)
bool wlc_phy_txpower_hw_ctrl_get(struct brcms_phy_pub *ppi)
wlc_phy_txpower_get_current(struct brcms_phy_pub *ppi, struct tx_power *power,
wlc_phyreg_enter((struct brcms_phy_pub *) pi);
wlc_phyreg_exit((struct brcms_phy_pub *) pi);
void wlc_phy_antsel_type_set(struct brcms_phy_pub *ppi, u8 antsel_type)
void wlc_phy_ant_rxdiv_set(struct brcms_phy_pub *ppi, u8 val)
void wlc_phy_noise_sample_intr(struct brcms_phy_pub *pih)
wlc_phy_noise_sample_request(struct brcms_phy_pub *pih, u8 reason, u8 ch)
int wlc_phy_rssi_compute(struct brcms_phy_pub *pih,
void wlc_phy_watchdog(struct brcms_phy_pub *pih)
wlc_phy_noise_sample_request((struct brcms_phy_pub *) pi,
wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
void wlc_phy_cal_perical(struct brcms_phy_pub *pih, u8 reason)
void wlc_phy_stf_chain_init(struct brcms_phy_pub *pih, u8 txchain, u8 rxchain)
void wlc_phy_stf_chain_set(struct brcms_phy_pub *pih, u8 txchain, u8 rxchain)
u8 wlc_phy_stf_chain_active_get(struct brcms_phy_pub *pih)
void wlc_phy_ldpc_override_set(struct brcms_phy_pub *ppi, bool ldpc)
struct brcms_phy_pub *
wlc_phy_anacore((struct brcms_phy_pub *) pi, ON);
wlc_phy_switch_radio((struct brcms_phy_pub *) pi, OFF);
memcpy(&pi->pubpi_ro, &pi->pubpi, sizeof(struct brcms_phy_pub));
void wlc_phy_detach(struct brcms_phy_pub *pih)
wlc_phy_get_phyversion(struct brcms_phy_pub *pih, u16 *phytype, u16 *phyrev,
bool wlc_phy_get_encore(struct brcms_phy_pub *pih)
u32 wlc_phy_get_coreflags(struct brcms_phy_pub *pih)
void wlc_phy_anacore(struct brcms_phy_pub *pih, bool on)
u32 wlc_phy_clk_bwbits(struct brcms_phy_pub *pih)
void wlc_phy_por_inform(struct brcms_phy_pub *ppi)
void wlc_phy_initcal_enable(struct brcms_phy_pub *pih, bool initcal)
void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *pih, bool newstate)
void wlc_phy_hw_state_upd(struct brcms_phy_pub *pih, bool newstate)
void wlc_phy_init(struct brcms_phy_pub *pih, u16 chanspec)
wlc_phy_switch_radio((struct brcms_phy_pub *) pi, ON);
wlc_phy_ant_rxdiv_set((struct brcms_phy_pub *) pi, pi->sh->rx_antdiv);
void wlc_phy_cal_init(struct brcms_phy_pub *pih)
int wlc_phy_down(struct brcms_phy_pub *pih)
struct brcms_phy_pub *wlc_phy_attach(struct shared_phy *sh,
void wlc_phy_detach(struct brcms_phy_pub *ppi);
bool wlc_phy_get_phyversion(struct brcms_phy_pub *pih, u16 *phytype,
bool wlc_phy_get_encore(struct brcms_phy_pub *pih);
u32 wlc_phy_get_coreflags(struct brcms_phy_pub *pih);
void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *ppi, bool newstate);
void wlc_phy_hw_state_upd(struct brcms_phy_pub *ppi, bool newstate);
void wlc_phy_init(struct brcms_phy_pub *ppi, u16 chanspec);
void wlc_phy_watchdog(struct brcms_phy_pub *ppi);
int wlc_phy_down(struct brcms_phy_pub *ppi);
u32 wlc_phy_clk_bwbits(struct brcms_phy_pub *pih);
void wlc_phy_cal_init(struct brcms_phy_pub *ppi);
void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init);
void wlc_phy_chanspec_set(struct brcms_phy_pub *ppi, u16 chanspec);
u16 wlc_phy_chanspec_get(struct brcms_phy_pub *ppi);
void wlc_phy_chanspec_radio_set(struct brcms_phy_pub *ppi, u16 newch);
void wlc_phy_bw_state_set(struct brcms_phy_pub *ppi, u16 bw);
int wlc_phy_rssi_compute(struct brcms_phy_pub *pih, struct d11rxhdr *rxh);
void wlc_phy_por_inform(struct brcms_phy_pub *ppi);
void wlc_phy_noise_sample_intr(struct brcms_phy_pub *ppi);
bool wlc_phy_bist_check_phy(struct brcms_phy_pub *ppi);
void wlc_phy_switch_radio(struct brcms_phy_pub *ppi, bool on);
void wlc_phy_anacore(struct brcms_phy_pub *ppi, bool on);
void wlc_phy_chanspec_ch14_widefilter_set(struct brcms_phy_pub *ppi,
void wlc_phy_chanspec_band_validch(struct brcms_phy_pub *ppi, uint band,
void wlc_phy_txpower_sromlimit(struct brcms_phy_pub *ppi, uint chan, u8 *_min_,
void wlc_phy_txpower_limit_set(struct brcms_phy_pub *ppi, struct txpwr_limits *,
int wlc_phy_txpower_get(struct brcms_phy_pub *ppi, uint *qdbm, bool *override);
int wlc_phy_txpower_set(struct brcms_phy_pub *ppi, uint qdbm, bool override);
void wlc_phy_txpower_target_set(struct brcms_phy_pub *ppi,
bool wlc_phy_txpower_hw_ctrl_get(struct brcms_phy_pub *ppi);
void wlc_phy_stf_chain_init(struct brcms_phy_pub *pih, u8 txchain, u8 rxchain);
void wlc_phy_stf_chain_set(struct brcms_phy_pub *pih, u8 txchain, u8 rxchain);
u8 wlc_phy_stf_chain_active_get(struct brcms_phy_pub *pih);
void wlc_phy_ldpc_override_set(struct brcms_phy_pub *ppi, bool val);
void wlc_phy_cal_perical(struct brcms_phy_pub *ppi, u8 reason);
void wlc_phy_cal_papd_recal(struct brcms_phy_pub *ppi);
void wlc_phy_ant_rxdiv_set(struct brcms_phy_pub *ppi, u8 val);
void wlc_phy_hold_upd(struct brcms_phy_pub *ppi, u32 id, bool val);
void wlc_phy_mute_upd(struct brcms_phy_pub *ppi, bool val, u32 flags);
void wlc_phy_antsel_type_set(struct brcms_phy_pub *ppi, u8 antsel_type);
void wlc_phy_txpower_get_current(struct brcms_phy_pub *ppi,
void wlc_phy_initcal_enable(struct brcms_phy_pub *pih, bool initcal);
void wlc_phy_ofdm_rateset_war(struct brcms_phy_pub *pih, bool war);
void wlc_phy_bf_preempt_enable(struct brcms_phy_pub *pih, bool bf_preempt);
void wlc_phy_machwcap_set(struct brcms_phy_pub *ppi, u32 machwcap);
s8 wlc_phy_get_tx_power_offset_by_mcs(struct brcms_phy_pub *ppi,
s8 wlc_phy_get_tx_power_offset(struct brcms_phy_pub *ppi, u8 tbl_offset);
void wlc_lcnphy_tx_power_adjustment(struct brcms_phy_pub *ppi);
void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask);
u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih);
struct brcms_phy_pub pubpi_ro;
struct brcms_phy_pub pubpi;
void wlc_phyreg_enter(struct brcms_phy_pub *pih);
void wlc_phyreg_exit(struct brcms_phy_pub *pih);
static void wlc_lcnphy_idle_tssi_est(struct brcms_phy_pub *ppi)
static void wlc_lcnphy_tx_pwr_ctrl_init(struct brcms_phy_pub *ppi)
wlc_lcnphy_idle_tssi_est((struct brcms_phy_pub *) pi);
(struct brcms_phy_pub *) pi);
void wlc_lcnphy_tx_power_adjustment(struct brcms_phy_pub *ppi)
wlc_lcnphy_tx_pwr_ctrl_init((struct brcms_phy_pub *) pi);
wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
wlc_phy_ant_rxdiv_set((struct brcms_phy_pub *) pi,
wlc_phy_chanspec_radio_set((struct brcms_phy_pub *)pi, chanspec);
bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
(struct brcms_phy_pub *) pi);
wlc_phyreg_enter((struct brcms_phy_pub *) pi);
wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
wlc_phyreg_exit((struct brcms_phy_pub *) pi);
wlc_phyreg_enter((struct brcms_phy_pub *) pi);
wlc_phyreg_exit((struct brcms_phy_pub *) pi);
(struct brcms_phy_pub *) pi);
(struct brcms_phy_pub *) pi, 3);
(struct brcms_phy_pub *) pi,
struct brcms_phy_pub *pi = wlc->band->pi;