Lines Matching defs:pi

25 #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name)	\  argument
31 #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \ argument
37 #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \ argument
40 #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \ argument
45 #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \ argument
51 #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \ argument
56 #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \ argument
256 #define wlc_phy_get_papd_nphy(pi) \ argument
14113 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_bist_check_phy() local
14132 static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi) in wlc_phy_bphy_init_nphy()
14150 wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset, in wlc_phy_table_write_nphy()
14164 wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset, in wlc_phy_table_read_nphy()
14178 wlc_phy_static_table_download_nphy(struct brcms_phy *pi) in wlc_phy_static_table_download_nphy()
14201 static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi) in wlc_phy_tbl_init_nphy()
14328 wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay) in wlc_phy_write_txmacreg_nphy()
14334 void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs) in wlc_phy_nphy_tkip_rifs_war()
14354 static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_config_nphy()
14374 static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_srom_read_ppr_nphy()
14549 static void wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_srom_read_nphy()
14600 void wlc_phy_attach_nphy(struct brcms_phy *pi) in wlc_phy_attach_nphy()
14649 static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn) in get_rf_pwr_offset()
14687 static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble) in wlc_phy_update_mimoconfig_nphy()
14705 static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi) in wlc_phy_ipa_set_tx_digi_filts_nphy()
14735 static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi) in wlc_phy_ipa_restore_tx_digi_filts_nphy()
14751 wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, const u8 *events, in wlc_phy_set_rfseq_nphy()
14782 static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset) in wlc_phy_read_lpf_bw_ctl_nphy()
14805 wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value, in wlc_phy_rfctrl_override_nphy_rev7()
15075 static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi) in wlc_phy_adjust_lnagaintbl_nphy()
15139 wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core) in wlc_phy_war_force_trsw_to_R_cliplo_nphy()
15156 static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain) in wlc_phy_war_txchain_upd_nphy()
15169 static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_gainctrl_2057_rev5()
15224 static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_gainctrl_2057_rev6()
15425 static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_gainctrl()
16047 static void wlc_phy_workarounds_nphy_rev7(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_rev7()
16549 static void wlc_phy_workarounds_nphy_rev3(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_rev3()
16891 static void wlc_phy_workarounds_nphy_rev1(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_rev1()
17014 static void wlc_phy_workarounds_nphy(struct brcms_phy *pi) in wlc_phy_workarounds_nphy()
17037 static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi) in wlc_phy_extpa_set_tx_digi_filts_nphy()
17047 static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals) in wlc_phy_clip_det_nphy()
17059 static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi) in wlc_phy_ipa_internal_tssi_setup_nphy()
17162 wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value, in wlc_phy_rfctrl_override_nphy()
17405 static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17468 static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_limit_to_tbl_nphy()
17561 static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17771 static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi) in wlc_phy_get_ipa_gaintbl_nphy()
17819 static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi) in wlc_phy_restore_rssical_nphy()
17925 static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi) in wlc_phy_internal_cal_txgain_nphy()
17949 static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi) in wlc_phy_precal_txgain_nphy()
18035 wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value, in wlc_phy_rfctrlintc_override_nphy()
18269 wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower, in wlc_phy_cal_txgainctrl_nphy()
18429 static void wlc_phy_savecal_nphy(struct brcms_phy *pi) in wlc_phy_savecal_nphy()
18578 static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi) in wlc_phy_tx_iq_war_nphy()
18590 static void wlc_phy_restorecal_nphy(struct brcms_phy *pi) in wlc_phy_restorecal_nphy()
18788 static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_coeff_setup_nphy()
18859 static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi) in wlc_phy_txlpfbw_nphy()
18897 wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr) in wlc_phy_adjust_rx_analpfbw_nphy()
18925 wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones, in wlc_phy_adjust_min_noisevar_nphy()
18973 static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr) in wlc_phy_adjust_crsminpwr_nphy()
19024 static void wlc_phy_spurwar_nphy(struct brcms_phy *pi) in wlc_phy_spurwar_nphy()
19196 void wlc_phy_init_nphy(struct brcms_phy *pi) in wlc_phy_init_nphy()
19550 static void wlc_phy_resetcca_nphy(struct brcms_phy *pi) in wlc_phy_resetcca_nphy()
19566 void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en) in wlc_phy_pa_override_nphy()
19593 void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi) in wlc_phy_stf_chain_upd_nphy()
19630 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_rxcore_setstate_nphy() local
19708 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_rxcore_getstate_nphy() local
19716 bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi) in wlc_phy_n_txpower_ipa_ison()
19721 void wlc_phy_cal_init_nphy(struct brcms_phy *pi) in wlc_phy_cal_init_nphy()
19725 static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi) in wlc_phy_radio_preinit_205x()
19736 static void wlc_phy_radio_init_2057(struct brcms_phy *pi) in wlc_phy_radio_init_2057()
19771 static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi) in wlc_phy_radio205x_rcal()
19879 static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi) in wlc_phy_radio2057_rccal()
19962 static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi) in wlc_phy_radio_postinit_2057()
19981 static void wlc_phy_radio_init_2056(struct brcms_phy *pi) in wlc_phy_radio_init_2056()
20044 static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi) in wlc_phy_radio_postinit_2056()
20065 static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi) in wlc_phy_radio_preinit_2055()
20074 static void wlc_phy_radio_init_2055(struct brcms_phy *pi) in wlc_phy_radio_init_2055()
20079 static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi) in wlc_phy_radio_postinit_2055()
20144 void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on) in wlc_phy_switch_radio_nphy()
20228 wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f, in wlc_phy_chan2freq_nphy()
20389 u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel) in wlc_phy_get_chan_freq_range_nphy()
20414 wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi, in wlc_phy_chanspec_radio2055_setup()
20477 wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi, in wlc_phy_chanspec_radio2056_setup()
20807 void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi) in wlc_phy_radio205x_vcocal_nphy()
20828 struct brcms_phy *pi, in wlc_phy_chanspec_radio2057_setup()
21024 wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec, in wlc_phy_chanspec_nphy_setup()
21159 void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec) in wlc_phy_chanspec_set_nphy()
21238 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_antsel_init() local
21297 u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val) in wlc_phy_classifier_nphy()
21321 void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd) in wlc_phy_force_rfseq_nphy()
21366 wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value, in wlc_phy_rfctrl_override_1tomany_nphy()
21469 wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset, in wlc_phy_scale_offset_rssi_nphy()
21597 static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core) in brcms_phy_wr_tx_mux()
21636 void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type) in wlc_phy_rssisel_nphy()
21857 wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf, in wlc_phy_poll_rssi_nphy()
21952 s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi) in wlc_phy_tempsense_nphy()
22230 wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf) in wlc_phy_set_rssi_2055_vcm()
22282 static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi) in wlc_phy_rssi_cal_nphy_rev3()
22771 static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type) in wlc_phy_rssi_cal_nphy_rev2()
22963 void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi) in wlc_phy_rssi_cal_nphy()
22975 wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh) in wlc_phy_rssi_compute_nphy()
23009 wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf, in wlc_phy_loadsampletable_nphy()
23035 wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_gen_load_samples_nphy()
23084 wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops, in wlc_phy_runsamples_nphy()
23165 wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_tx_tone_nphy()
23183 void wlc_phy_stopplayback_nphy(struct brcms_phy *pi) in wlc_phy_stopplayback_nphy()
23224 static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi) in brcms_phy_get_tx_pwrctrl_tbl()
23265 struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi) in wlc_phy_get_tx_gain_nphy()
23383 wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no, in wlc_phy_iqcal_gainparams_nphy()
23441 static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_radio_setup_nphy()
23752 static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_radio_cleanup_nphy()
23886 static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_physetup_nphy()
24043 static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_phycleanup_nphy()
24126 wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps) in wlc_phy_est_tonepwr_nphy()
24171 static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core) in wlc_phy_update_txcal_ladder_nphy()
24213 static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core) in wlc_phy_txpwr_idx_cur_get_nphy()
24223 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy()
24231 static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi) in wlc_phy_ipa_get_bbmult_nphy()
24240 static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1) in wlc_phy_ipa_set_bbmult_nphy()
24249 wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi, in wlc_phy_papd_cal_setup_nphy()
24503 wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi, in wlc_phy_papd_cal_cleanup_nphy()
24631 wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start, in wlc_phy_a1_nphy()
24683 wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains, in wlc_phy_a2_nphy()
24965 static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core) in wlc_phy_a3_nphy()
25114 static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal) in wlc_phy_a4()
25392 void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype) in wlc_phy_cal_perical_nphy_run()
25630 wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain, in wlc_phy_cal_txiqlo_nphy()
25993 static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi) in wlc_phy_reapply_txcal_coeffs_nphy()
26029 wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write, in wlc_phy_rx_iq_coeffs_nphy()
26046 wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est, in wlc_phy_rx_iq_est_nphy()
26083 static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask) in wlc_phy_calc_rx_iq_comp_nphy()
26205 static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_radio_setup_nphy()
26527 static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_radio_cleanup_nphy()
26709 static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_physetup_nphy()
26836 static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_phycleanup_nphy()
26863 wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core, in wlc_phy_rxcal_gainctrl_nphy_rev5()
27066 wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain, in wlc_phy_rxcal_gainctrl_nphy()
27073 wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type) in wlc_phy_rc_sweep_nphy()
27312 static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi, in wlc_phy_cal_rxiq_nphy_rev3()
27474 wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi, in wlc_phy_cal_rxiq_nphy_rev2()
27691 wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain, in wlc_phy_cal_rxiq_nphy()
27704 void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_fixpower_nphy()
27903 void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_apply_nphy()
28098 void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi) in wlc_phy_txpower_recalc_target_nphy()
28118 static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_ison_nphy()
28124 u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_idx_get_nphy()
28143 void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_papd_cal_nphy()
28158 void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type) in wlc_phy_txpwrctrl_enable_nphy()
28303 wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex, in wlc_phy_txpwr_index_nphy()
28526 wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr, in wlc_phy_txpower_sromlimit_get_nphy()
28553 void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable) in wlc_phy_stay_in_carriersearch_nphy()
28581 void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode) in wlc_nphy_deaf_mode()