Lines Matching defs:pi

36 #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name)	\  argument
42 #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \ argument
48 #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \ argument
51 #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \ argument
56 #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \ argument
62 #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \ argument
67 #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \ argument
267 #define wlc_phy_get_papd_nphy(pi) \ argument
14124 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_bist_check_phy() local
14143 static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi) in wlc_phy_bphy_init_nphy()
14161 wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset, in wlc_phy_table_write_nphy()
14175 wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset, in wlc_phy_table_read_nphy()
14189 wlc_phy_static_table_download_nphy(struct brcms_phy *pi) in wlc_phy_static_table_download_nphy()
14212 static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi) in wlc_phy_tbl_init_nphy()
14339 wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay) in wlc_phy_write_txmacreg_nphy()
14345 void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs) in wlc_phy_nphy_tkip_rifs_war()
14365 static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_config_nphy()
14385 static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_srom_read_ppr_nphy()
14560 static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_srom_read_nphy()
14613 bool wlc_phy_attach_nphy(struct brcms_phy *pi) in wlc_phy_attach_nphy()
14665 static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn) in get_rf_pwr_offset()
14703 static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble) in wlc_phy_update_mimoconfig_nphy()
14721 static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi) in wlc_phy_ipa_set_tx_digi_filts_nphy()
14751 static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi) in wlc_phy_ipa_restore_tx_digi_filts_nphy()
14767 wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, u8 *events, u8 *dlys, in wlc_phy_set_rfseq_nphy()
14798 static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset) in wlc_phy_read_lpf_bw_ctl_nphy()
14821 wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value, in wlc_phy_rfctrl_override_nphy_rev7()
15091 static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi) in wlc_phy_adjust_lnagaintbl_nphy()
15155 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()
15172 static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain) in wlc_phy_war_txchain_upd_nphy()
15185 static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_gainctrl_2057_rev5()
15240 static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_gainctrl_2057_rev6()
15444 static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi) in wlc_phy_workarounds_nphy_gainctrl()
16067 static void wlc_phy_workarounds_nphy(struct brcms_phy *pi) in wlc_phy_workarounds_nphy()
17140 static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi) in wlc_phy_extpa_set_tx_digi_filts_nphy()
17150 static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals) in wlc_phy_clip_det_nphy()
17162 static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi) in wlc_phy_ipa_internal_tssi_setup_nphy()
17265 wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value, in wlc_phy_rfctrl_override_nphy()
17508 static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17571 static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_limit_to_tbl_nphy()
17664 static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17874 static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi) in wlc_phy_get_ipa_gaintbl_nphy()
17922 static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi) in wlc_phy_restore_rssical_nphy()
18028 static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi) in wlc_phy_internal_cal_txgain_nphy()
18052 static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi) in wlc_phy_precal_txgain_nphy()
18138 wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value, in wlc_phy_rfctrlintc_override_nphy()
18372 wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower, in wlc_phy_cal_txgainctrl_nphy()
18532 static void wlc_phy_savecal_nphy(struct brcms_phy *pi) in wlc_phy_savecal_nphy()
18681 static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi) in wlc_phy_tx_iq_war_nphy()
18693 static void wlc_phy_restorecal_nphy(struct brcms_phy *pi) in wlc_phy_restorecal_nphy()
18891 static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi) in wlc_phy_txpwrctrl_coeff_setup_nphy()
18962 static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi) in wlc_phy_txlpfbw_nphy()
19000 wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr) in wlc_phy_adjust_rx_analpfbw_nphy()
19028 wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones, in wlc_phy_adjust_min_noisevar_nphy()
19076 static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr) in wlc_phy_adjust_crsminpwr_nphy()
19127 static void wlc_phy_spurwar_nphy(struct brcms_phy *pi) in wlc_phy_spurwar_nphy()
19303 void wlc_phy_init_nphy(struct brcms_phy *pi) in wlc_phy_init_nphy()
19657 static void wlc_phy_resetcca_nphy(struct brcms_phy *pi) in wlc_phy_resetcca_nphy()
19673 void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en) in wlc_phy_pa_override_nphy()
19700 void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi) in wlc_phy_stf_chain_upd_nphy()
19737 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_rxcore_setstate_nphy() local
19815 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_rxcore_getstate_nphy() local
19823 bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi) in wlc_phy_n_txpower_ipa_ison()
19828 void wlc_phy_cal_init_nphy(struct brcms_phy *pi) in wlc_phy_cal_init_nphy()
19832 static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi) in wlc_phy_radio_preinit_205x()
19843 static void wlc_phy_radio_init_2057(struct brcms_phy *pi) in wlc_phy_radio_init_2057()
19878 static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi) in wlc_phy_radio205x_rcal()
19986 static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi) in wlc_phy_radio2057_rccal()
20069 static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi) in wlc_phy_radio_postinit_2057()
20088 static void wlc_phy_radio_init_2056(struct brcms_phy *pi) in wlc_phy_radio_init_2056()
20151 static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi) in wlc_phy_radio_postinit_2056()
20172 static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi) in wlc_phy_radio_preinit_2055()
20181 static void wlc_phy_radio_init_2055(struct brcms_phy *pi) in wlc_phy_radio_init_2055()
20186 static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi) in wlc_phy_radio_postinit_2055()
20251 void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on) in wlc_phy_switch_radio_nphy()
20335 wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f, in wlc_phy_chan2freq_nphy()
20496 u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel) in wlc_phy_get_chan_freq_range_nphy()
20521 wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi, in wlc_phy_chanspec_radio2055_setup()
20584 wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi, in wlc_phy_chanspec_radio2056_setup()
20914 void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi) in wlc_phy_radio205x_vcocal_nphy()
20935 struct brcms_phy *pi, in wlc_phy_chanspec_radio2057_setup()
21131 wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec, in wlc_phy_chanspec_nphy_setup()
21266 void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec) in wlc_phy_chanspec_set_nphy()
21345 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_antsel_init() local
21403 u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val) in wlc_phy_classifier_nphy()
21427 void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd) in wlc_phy_force_rfseq_nphy()
21472 wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value, in wlc_phy_rfctrl_override_1tomany_nphy()
21575 wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset, in wlc_phy_scale_offset_rssi_nphy()
21703 static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core) in brcms_phy_wr_tx_mux()
21742 void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type) in wlc_phy_rssisel_nphy()
21963 wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf, in wlc_phy_poll_rssi_nphy()
22058 s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi) in wlc_phy_tempsense_nphy()
22336 wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf) in wlc_phy_set_rssi_2055_vcm()
22388 static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi) in wlc_phy_rssi_cal_nphy_rev3()
22877 static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type) in wlc_phy_rssi_cal_nphy_rev2()
23069 void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi) in wlc_phy_rssi_cal_nphy()
23081 wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh) in wlc_phy_rssi_compute_nphy()
23116 wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf, in wlc_phy_loadsampletable_nphy()
23142 wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_gen_load_samples_nphy()
23190 wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops, in wlc_phy_runsamples_nphy()
23280 wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_tx_tone_nphy()
23298 void wlc_phy_stopplayback_nphy(struct brcms_phy *pi) in wlc_phy_stopplayback_nphy()
23339 static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi) in brcms_phy_get_tx_pwrctrl_tbl()
23380 struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi) in wlc_phy_get_tx_gain_nphy()
23498 wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no, in wlc_phy_iqcal_gainparams_nphy()
23557 static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_radio_setup_nphy()
23868 static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_radio_cleanup_nphy()
24002 static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_physetup_nphy()
24159 static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi) in wlc_phy_txcal_phycleanup_nphy()
24242 wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps) in wlc_phy_est_tonepwr_nphy()
24287 static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core) in wlc_phy_update_txcal_ladder_nphy()
24329 static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core) in wlc_phy_txpwr_idx_cur_get_nphy()
24339 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy()
24347 static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi) in wlc_phy_ipa_get_bbmult_nphy()
24356 static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1) in wlc_phy_ipa_set_bbmult_nphy()
24365 wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi, in wlc_phy_papd_cal_setup_nphy()
24619 wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi, in wlc_phy_papd_cal_cleanup_nphy()
24747 wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start, in wlc_phy_a1_nphy()
24799 wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains, in wlc_phy_a2_nphy()
25085 static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core) in wlc_phy_a3_nphy()
25243 static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal) in wlc_phy_a4()
25521 void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype) in wlc_phy_cal_perical_nphy_run()
25759 wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain, in wlc_phy_cal_txiqlo_nphy()
26122 static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi) in wlc_phy_reapply_txcal_coeffs_nphy()
26158 wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write, in wlc_phy_rx_iq_coeffs_nphy()
26175 wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est, in wlc_phy_rx_iq_est_nphy()
26212 static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask) in wlc_phy_calc_rx_iq_comp_nphy()
26334 static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_radio_setup_nphy()
26656 static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_radio_cleanup_nphy()
26838 static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_physetup_nphy()
26965 static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core) in wlc_phy_rxcal_phycleanup_nphy()
26992 wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core, in wlc_phy_rxcal_gainctrl_nphy_rev5()
27195 wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain, in wlc_phy_rxcal_gainctrl_nphy()
27202 wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type) in wlc_phy_rc_sweep_nphy()
27441 static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi, in wlc_phy_cal_rxiq_nphy_rev3()
27603 wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi, in wlc_phy_cal_rxiq_nphy_rev2()
27820 wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain, in wlc_phy_cal_rxiq_nphy()
27833 void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_fixpower_nphy()
28032 void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_apply_nphy()
28227 void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi) in wlc_phy_txpower_recalc_target_nphy()
28247 static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_ison_nphy()
28253 u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_idx_get_nphy()
28272 void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi) in wlc_phy_txpwr_papd_cal_nphy()
28287 void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type) in wlc_phy_txpwrctrl_enable_nphy()
28431 wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex, in wlc_phy_txpwr_index_nphy()
28654 wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr, in wlc_phy_txpower_sromlimit_get_nphy()
28681 void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable) in wlc_phy_stay_in_carriersearch_nphy()
28709 void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode) in wlc_nphy_deaf_mode()