Lines Matching defs:pi

90 #define wlc_lcnphy_enable_tx_gain_override(pi) \  argument
92 #define wlc_lcnphy_disable_tx_gain_override(pi) \ argument
95 #define wlc_lcnphy_iqcal_active(pi) \ argument
99 #define txpwrctrl_off(pi) (0x7 != ((read_phy_reg(pi, 0x4a4) & 0xE000) >> 13)) argument
100 #define wlc_lcnphy_tempsense_based_pwr_ctrl_enabled(pi) \ argument
102 #define wlc_lcnphy_tssi_based_pwr_ctrl_enabled(pi) \ argument
145 #define wlc_lcnphy_tx_gain_override_enabled(pi) \ argument
148 #define wlc_lcnphy_total_tx_frames(pi) \ argument
930 #define wlc_lcnphy_set_start_tx_pwr_idx(pi, idx) \ argument
935 #define wlc_lcnphy_set_tx_pwr_npt(pi, npt) \ argument
940 #define wlc_lcnphy_get_tx_pwr_ctrl(pi) \ argument
946 #define wlc_lcnphy_get_tx_pwr_npt(pi) \ argument
951 #define wlc_lcnphy_get_current_tx_pwr_idx_if_pwrctrl_on(pi) \ argument
954 #define wlc_lcnphy_get_target_tx_pwr(pi) \ argument
959 #define wlc_lcnphy_set_target_tx_pwr(pi, target) \ argument
964 #define wlc_radio_2064_rcal_done(pi) \ argument
967 #define tempsense_done(pi) \ argument
976 void wlc_lcnphy_write_table(struct brcms_phy *pi, const struct phytbl_info *pti) in wlc_lcnphy_write_table()
981 void wlc_lcnphy_read_table(struct brcms_phy *pi, struct phytbl_info *pti) in wlc_lcnphy_read_table()
987 wlc_lcnphy_common_read_table(struct brcms_phy *pi, u32 tbl_id, in wlc_lcnphy_common_read_table()
1001 wlc_lcnphy_common_write_table(struct brcms_phy *pi, u32 tbl_id, in wlc_lcnphy_common_write_table()
1062 wlc_lcnphy_get_tx_gain(struct brcms_phy *pi, struct lcnphy_txgains *gains) in wlc_lcnphy_get_tx_gain()
1078 static void wlc_lcnphy_set_dac_gain(struct brcms_phy *pi, u16 dac_gain) in wlc_lcnphy_set_dac_gain()
1089 static void wlc_lcnphy_set_tx_gain_override(struct brcms_phy *pi, bool bEnable) in wlc_lcnphy_set_tx_gain_override()
1101 wlc_lcnphy_rx_gain_override_enable(struct brcms_phy *pi, bool enable) in wlc_lcnphy_rx_gain_override_enable()
1127 wlc_lcnphy_set_rx_gain_by_distribution(struct brcms_phy *pi, in wlc_lcnphy_set_rx_gain_by_distribution()
1163 static void wlc_lcnphy_set_trsw_override(struct brcms_phy *pi, bool tx, bool rx) in wlc_lcnphy_set_trsw_override()
1173 static void wlc_lcnphy_clear_trsw_override(struct brcms_phy *pi) in wlc_lcnphy_clear_trsw_override()
1179 static void wlc_lcnphy_set_rx_iq_comp(struct brcms_phy *pi, u16 a, u16 b) in wlc_lcnphy_set_rx_iq_comp()
1196 wlc_lcnphy_rx_iq_est(struct brcms_phy *pi, in wlc_lcnphy_rx_iq_est()
1242 static bool wlc_lcnphy_calc_rx_iq_comp(struct brcms_phy *pi, u16 num_samps) in wlc_lcnphy_calc_rx_iq_comp()
1323 static u32 wlc_lcnphy_measure_digital_power(struct brcms_phy *pi, u16 nsamples) in wlc_lcnphy_measure_digital_power()
1332 static bool wlc_lcnphy_rx_iq_cal_gain(struct brcms_phy *pi, u16 biq1_gain, in wlc_lcnphy_rx_iq_cal_gain()
1370 wlc_lcnphy_rx_iq_cal(struct brcms_phy *pi, in wlc_lcnphy_rx_iq_cal()
1534 s8 wlc_lcnphy_get_current_tx_pwr_idx(struct brcms_phy *pi) in wlc_lcnphy_get_current_tx_pwr_idx()
1549 void wlc_lcnphy_crsuprs(struct brcms_phy *pi, int channel) in wlc_lcnphy_crsuprs()
1580 static void wlc_lcnphy_toggle_afe_pwdn(struct brcms_phy *pi) in wlc_lcnphy_toggle_afe_pwdn()
1598 wlc_lcnphy_txrx_spur_avoidance_mode(struct brcms_phy *pi, bool enable) in wlc_lcnphy_txrx_spur_avoidance_mode()
1618 wlc_lcnphy_set_chanspec_tweaks(struct brcms_phy *pi, u16 chanspec) in wlc_lcnphy_set_chanspec_tweaks()
1674 wlc_lcnphy_radio_2064_channel_tune_4313(struct brcms_phy *pi, u8 channel) in wlc_lcnphy_radio_2064_channel_tune_4313()
1845 wlc_lcnphy_load_tx_iir_filter(struct brcms_phy *pi, bool is_ofdm, s16 filt_type) in wlc_lcnphy_load_tx_iir_filter()
1921 static u16 wlc_lcnphy_get_pa_gain(struct brcms_phy *pi) in wlc_lcnphy_get_pa_gain()
1932 static void wlc_lcnphy_set_tx_gain(struct brcms_phy *pi, in wlc_lcnphy_set_tx_gain()
1962 static u8 wlc_lcnphy_get_bbmult(struct brcms_phy *pi) in wlc_lcnphy_get_bbmult()
1977 static void wlc_lcnphy_set_bbmult(struct brcms_phy *pi, u8 m0) in wlc_lcnphy_set_bbmult()
1990 static void wlc_lcnphy_clear_tx_power_offsets(struct brcms_phy *pi) in wlc_lcnphy_clear_tx_power_offsets()
2020 wlc_lcnphy_set_tssi_mux(struct brcms_phy *pi, enum lcnphy_tssi_mode pos) in wlc_lcnphy_set_tssi_mux()
2069 static u16 wlc_lcnphy_rfseq_tbl_adc_pwrup(struct brcms_phy *pi) in wlc_lcnphy_rfseq_tbl_adc_pwrup()
2090 static void wlc_lcnphy_pwrctrl_rssiparams(struct brcms_phy *pi) in wlc_lcnphy_pwrctrl_rssiparams()
2135 static void wlc_lcnphy_tssi_setup(struct brcms_phy *pi) in wlc_lcnphy_tssi_setup()
2262 void wlc_lcnphy_tx_pwr_update_npt(struct brcms_phy *pi) in wlc_lcnphy_tx_pwr_update_npt()
2292 static void wlc_lcnphy_txpower_reset_npt(struct brcms_phy *pi) in wlc_lcnphy_txpower_reset_npt()
2302 void wlc_lcnphy_txpower_recalc_target(struct brcms_phy *pi) in wlc_lcnphy_txpower_recalc_target()
2333 static void wlc_lcnphy_set_tx_pwr_soft_ctrl(struct brcms_phy *pi, s8 index) in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2386 static s8 wlc_lcnphy_tempcompensated_txpwrctrl(struct brcms_phy *pi) in wlc_lcnphy_tempcompensated_txpwrctrl()
2446 static u16 wlc_lcnphy_set_tx_pwr_ctrl_mode(struct brcms_phy *pi, u16 mode) in wlc_lcnphy_set_tx_pwr_ctrl_mode()
2459 void wlc_lcnphy_set_tx_pwr_ctrl(struct brcms_phy *pi, u16 mode) in wlc_lcnphy_set_tx_pwr_ctrl()
2513 wlc_lcnphy_tx_iqlo_loopback(struct brcms_phy *pi, u16 *values_to_save) in wlc_lcnphy_tx_iqlo_loopback()
2604 static bool wlc_lcnphy_iqcal_wait(struct brcms_phy *pi) in wlc_lcnphy_iqcal_wait()
2620 wlc_lcnphy_tx_iqlo_loopback_cleanup(struct brcms_phy *pi, u16 *values_to_save) in wlc_lcnphy_tx_iqlo_loopback_cleanup()
2634 wlc_lcnphy_tx_iqlo_cal(struct brcms_phy *pi, in wlc_lcnphy_tx_iqlo_cal()
2868 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_lcnphy_idle_tssi_est() local
2937 static void wlc_lcnphy_vbat_temp_sense_setup(struct brcms_phy *pi, u8 mode) in wlc_lcnphy_vbat_temp_sense_setup()
3087 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_lcnphy_tx_pwr_ctrl_init() local
3155 static void wlc_lcnphy_set_pa_gain(struct brcms_phy *pi, u16 gain) in wlc_lcnphy_set_pa_gain()
3166 wlc_lcnphy_get_radio_loft(struct brcms_phy *pi, in wlc_lcnphy_get_radio_loft()
3175 void wlc_lcnphy_set_tx_iqcc(struct brcms_phy *pi, u16 a, u16 b) in wlc_lcnphy_set_tx_iqcc()
3191 void wlc_lcnphy_set_tx_locc(struct brcms_phy *pi, u16 didq) in wlc_lcnphy_set_tx_locc()
3203 void wlc_lcnphy_set_tx_pwr_by_index(struct brcms_phy *pi, int index) in wlc_lcnphy_set_tx_pwr_by_index()
3262 static void wlc_lcnphy_clear_papd_comptable(struct brcms_phy *pi) in wlc_lcnphy_clear_papd_comptable()
3281 void wlc_lcnphy_tx_pu(struct brcms_phy *pi, bool bEnable) in wlc_lcnphy_tx_pu()
3359 wlc_lcnphy_run_samples(struct brcms_phy *pi, in wlc_lcnphy_run_samples()
3385 void wlc_lcnphy_deaf_mode(struct brcms_phy *pi, bool mode) in wlc_lcnphy_deaf_mode()
3411 wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, in wlc_lcnphy_start_tx_tone()
3474 void wlc_lcnphy_stop_tx_tone(struct brcms_phy *pi) in wlc_lcnphy_stop_tx_tone()
3506 wlc_lcnphy_set_cc(struct brcms_phy *pi, int cal_type, s16 coeff_x, s16 coeff_y) in wlc_lcnphy_set_cc()
3551 wlc_lcnphy_get_cc(struct brcms_phy *pi, int cal_type) in wlc_lcnphy_get_cc()
3586 wlc_lcnphy_samp_cap(struct brcms_phy *pi, int clip_detect_algo, u16 thresh, in wlc_lcnphy_samp_cap()
3667 wlc_lcnphy_a1(struct brcms_phy *pi, int cal_type, int num_levels, in wlc_lcnphy_a1()
3862 void wlc_lcnphy_get_tx_iqcc(struct brcms_phy *pi, u16 *a, u16 *b) in wlc_lcnphy_get_tx_iqcc()
3878 static void wlc_lcnphy_tx_iqlo_soft_cal_full(struct brcms_phy *pi) in wlc_lcnphy_tx_iqlo_soft_cal_full()
3900 u16 wlc_lcnphy_get_tx_locc(struct brcms_phy *pi) in wlc_lcnphy_get_tx_locc()
3915 static void wlc_lcnphy_txpwrtbl_iqlo_cal(struct brcms_phy *pi) in wlc_lcnphy_txpwrtbl_iqlo_cal()
4026 s16 wlc_lcnphy_tempsense_new(struct brcms_phy *pi, bool mode) in wlc_lcnphy_tempsense_new()
4068 u16 wlc_lcnphy_tempsense(struct brcms_phy *pi, bool mode) in wlc_lcnphy_tempsense()
4126 s8 wlc_lcnphy_tempsense_degree(struct brcms_phy *pi, bool mode) in wlc_lcnphy_tempsense_degree()
4136 s8 wlc_lcnphy_vbatsense(struct brcms_phy *pi, bool mode) in wlc_lcnphy_vbatsense()
4168 static void wlc_lcnphy_afe_clk_init(struct brcms_phy *pi, u8 mode) in wlc_lcnphy_afe_clk_init()
4182 static void wlc_lcnphy_temp_adj(struct brcms_phy *pi) in wlc_lcnphy_temp_adj()
4186 static void wlc_lcnphy_glacial_timer_based_cal(struct brcms_phy *pi) in wlc_lcnphy_glacial_timer_based_cal()
4211 static void wlc_lcnphy_periodic_cal(struct brcms_phy *pi) in wlc_lcnphy_periodic_cal()
4280 void wlc_lcnphy_calib_modes(struct brcms_phy *pi, uint mode) in wlc_lcnphy_calib_modes()
4319 void wlc_lcnphy_get_tssi(struct brcms_phy *pi, s8 *ofdm_pwr, s8 *cck_pwr) in wlc_lcnphy_get_tssi()
4341 void wlc_phy_cal_init_lcnphy(struct brcms_phy *pi) in wlc_phy_cal_init_lcnphy()
4351 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_lcnphy_tx_power_adjustment() local
4366 wlc_lcnphy_load_tx_gain_table(struct brcms_phy *pi, in wlc_lcnphy_load_tx_gain_table()
4402 static void wlc_lcnphy_load_rfpower(struct brcms_phy *pi) in wlc_lcnphy_load_rfpower()
4451 static void wlc_lcnphy_bu_tweaks(struct brcms_phy *pi) in wlc_lcnphy_bu_tweaks()
4503 static void wlc_lcnphy_rcal(struct brcms_phy *pi) in wlc_lcnphy_rcal()
4531 static void wlc_lcnphy_rc_cal(struct brcms_phy *pi) in wlc_lcnphy_rc_cal()
4551 static void wlc_radio_2064_init(struct brcms_phy *pi) in wlc_radio_2064_init()
4622 static void wlc_lcnphy_radio_init(struct brcms_phy *pi) in wlc_lcnphy_radio_init()
4627 static void wlc_lcnphy_tbl_init(struct brcms_phy *pi) in wlc_lcnphy_tbl_init()
4718 static void wlc_lcnphy_rev0_baseband_init(struct brcms_phy *pi) in wlc_lcnphy_rev0_baseband_init()
4764 static void wlc_lcnphy_rev2_baseband_init(struct brcms_phy *pi) in wlc_lcnphy_rev2_baseband_init()
4772 static void wlc_lcnphy_agc_temp_init(struct brcms_phy *pi) in wlc_lcnphy_agc_temp_init()
4827 static void wlc_lcnphy_baseband_init(struct brcms_phy *pi) in wlc_lcnphy_baseband_init()
4837 void wlc_phy_init_lcnphy(struct brcms_phy *pi) in wlc_phy_init_lcnphy()
4887 static bool wlc_phy_txpwr_srom_read_lcnphy(struct brcms_phy *pi) in wlc_phy_txpwr_srom_read_lcnphy()
4984 void wlc_2064_vco_cal(struct brcms_phy *pi) in wlc_2064_vco_cal()
4999 bool wlc_phy_tpc_isenabled_lcnphy(struct brcms_phy *pi) in wlc_phy_tpc_isenabled_lcnphy()
5008 void wlc_phy_txpower_recalc_target_lcnphy(struct brcms_phy *pi) in wlc_phy_txpower_recalc_target_lcnphy()
5021 void wlc_phy_chanspec_set_lcnphy(struct brcms_phy *pi, u16 chanspec) in wlc_phy_chanspec_set_lcnphy()
5060 void wlc_phy_detach_lcnphy(struct brcms_phy *pi) in wlc_phy_detach_lcnphy()
5065 bool wlc_phy_attach_lcnphy(struct brcms_phy *pi) in wlc_phy_attach_lcnphy()
5111 static void wlc_lcnphy_set_rx_gain(struct brcms_phy *pi, u32 gain) in wlc_lcnphy_set_rx_gain()
5141 static u32 wlc_lcnphy_get_receive_power(struct brcms_phy *pi, s32 *gain_index) in wlc_lcnphy_get_receive_power()
5178 s32 wlc_lcnphy_rx_signal_power(struct brcms_phy *pi, s32 gain_index) in wlc_lcnphy_rx_signal_power()