Lines Matching defs:pi

37 #define VALID_RADIO(pi, radioid)        ( \  argument
131 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phyreg_enter() local
137 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phyreg_exit() local
143 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_radioreg_enter() local
151 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_radioreg_exit() local
158 u16 read_radio_reg(struct brcms_phy *pi, u16 addr) in read_radio_reg()
199 void write_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in write_radio_reg()
218 static u32 read_radio_id(struct brcms_phy *pi) in read_radio_id()
244 void and_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_radio_reg()
252 void or_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_radio_reg()
260 void xor_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask) in xor_radio_reg()
268 void mod_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val) in mod_radio_reg()
276 void write_phy_channel_reg(struct brcms_phy *pi, uint val) in write_phy_channel_reg()
281 u16 read_phy_reg(struct brcms_phy *pi, u16 addr) in read_phy_reg()
289 void write_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in write_phy_reg()
305 void and_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_phy_reg()
312 void or_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_phy_reg()
319 void mod_phy_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val) in mod_phy_reg()
327 static void wlc_set_phy_uninitted(struct brcms_phy *pi) in wlc_set_phy_uninitted()
396 static void wlc_phy_timercb_phycal(struct brcms_phy *pi) in wlc_phy_timercb_phycal()
418 static u32 wlc_phy_get_radio_ver(struct brcms_phy *pi) in wlc_phy_get_radio_ver()
431 struct brcms_phy *pi; in wlc_phy_attach() local
588 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_detach() local
615 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_get_phyversion() local
626 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_get_encore() local
632 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_get_coreflags() local
638 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_anacore() local
675 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_clk_bwbits() local
700 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_por_inform() local
707 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_edcrs_lock() local
719 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_initcal_enable() local
726 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_hw_clk_state_upd() local
736 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_hw_state_upd() local
748 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_init() local
800 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_cal_init() local
818 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_down() local
832 wlc_phy_table_addr(struct brcms_phy *pi, uint tbl_id, uint tbl_offset, in wlc_phy_table_addr()
848 void wlc_phy_table_data_write(struct brcms_phy *pi, uint width, u32 val) in wlc_phy_table_data_write()
869 wlc_phy_write_table(struct brcms_phy *pi, const struct phytbl_info *ptbl_info, in wlc_phy_write_table()
906 wlc_phy_read_table(struct brcms_phy *pi, const struct phytbl_info *ptbl_info, in wlc_phy_read_table()
941 wlc_phy_init_radio_regs_allbands(struct brcms_phy *pi, in wlc_phy_init_radio_regs_allbands()
958 wlc_phy_init_radio_regs(struct brcms_phy *pi, in wlc_phy_init_radio_regs()
992 void wlc_phy_do_dummy_tx(struct brcms_phy *pi, bool ofdm, bool pa_on) in wlc_phy_do_dummy_tx()
1072 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_hold_upd() local
1084 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_mute_upd() local
1098 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_clear_tssi() local
1110 static bool wlc_phy_cal_txpower_recalc_sw(struct brcms_phy *pi) in wlc_phy_cal_txpower_recalc_sw()
1117 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_switch_radio() local
1151 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_bw_state_get() local
1158 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_bw_state_set() local
1165 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_radio_set() local
1172 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_get() local
1179 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_set() local
1211 int wlc_phy_chanspec_bandrange_get(struct brcms_phy *pi, u16 chanspec) in wlc_phy_chanspec_bandrange_get()
1228 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_ch14_widefilter_set() local
1248 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_band_validch() local
1269 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_band_firstch() local
1313 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get() local
1325 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_target_set() local
1373 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_set() local
1409 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_sromlimit() local
1458 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_sromlimit_max_get() local
1495 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get_target_min() local
1502 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get_target_max() local
1507 static s8 wlc_phy_env_measure_vbat(struct brcms_phy *pi) in wlc_phy_env_measure_vbat()
1515 static s8 wlc_phy_env_measure_temperature(struct brcms_phy *pi) in wlc_phy_env_measure_temperature()
1523 static void wlc_phy_upd_env_txpwr_rate_limits(struct brcms_phy *pi, u32 band) in wlc_phy_upd_env_txpwr_rate_limits()
1537 wlc_user_txpwr_antport_to_rfport(struct brcms_phy *pi, uint chan, u32 band, in wlc_user_txpwr_antport_to_rfport()
1547 void wlc_phy_txpower_recalc_target(struct brcms_phy *pi) in wlc_phy_txpower_recalc_target()
1660 wlc_phy_txpower_reg_limit_calc(struct brcms_phy *pi, struct txpwr_limits *txpwr, in wlc_phy_txpower_reg_limit_calc()
1818 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpwr_percent_set() local
1825 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_machwcap_set() local
1832 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_runbist_config() local
1863 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_limit_set() local
1887 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_ofdm_rateset_war() local
1894 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_bf_preempt_enable() local
1899 void wlc_phy_txpower_update_shm(struct brcms_phy *pi) in wlc_phy_txpower_update_shm()
1951 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_hw_ctrl_get() local
1961 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_hw_ctrl_set() local
1990 void wlc_phy_txpower_ipa_upd(struct brcms_phy *pi) in wlc_phy_txpower_ipa_upd()
2002 static u32 wlc_phy_txpower_est_power_nphy(struct brcms_phy *pi) in wlc_phy_txpower_est_power_nphy()
2044 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get_current() local
2142 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_antsel_type_set() local
2149 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_test_ison() local
2156 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_ant_rxdiv_set() local
2200 wlc_phy_noise_calc_phy(struct brcms_phy *pi, u32 *cmplx_pwr, s8 *pwr_ant) in wlc_phy_noise_calc_phy()
2225 static void wlc_phy_noise_cb(struct brcms_phy *pi, u8 channel, s8 noise_dbm) in wlc_phy_noise_cb()
2245 static s8 wlc_phy_noise_read_shmem(struct brcms_phy *pi) in wlc_phy_noise_read_shmem()
2289 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_noise_sample_intr() local
2345 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_noise_sample_request() local
2537 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_rssi_compute() local
2586 struct brcms_phy *pi; in wlc_phy_set_deaf() local
2597 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_watchdog() local
2657 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_BSSinit() local
2689 void wlc_phy_cal_perical_mphase_reset(struct brcms_phy *pi) in wlc_phy_cal_perical_mphase_reset()
2699 wlc_phy_cal_perical_mphase_schedule(struct brcms_phy *pi, uint delay) in wlc_phy_cal_perical_mphase_schedule()
2717 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_cal_perical() local
2790 void wlc_phy_cal_perical_mphase_restart(struct brcms_phy *pi) in wlc_phy_cal_perical_mphase_restart()
2810 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_init() local
2821 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_set() local
2833 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_get() local
2843 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_active_get() local
2873 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_ssmode_get() local
2895 void wlc_lcnphy_epa_switch(struct brcms_phy *pi, bool mode) in wlc_lcnphy_epa_switch()
2941 wlc_phy_get_pwrdet_offsets(struct brcms_phy *pi, s8 *cckoffset, s8 *ofdmoffset) in wlc_phy_get_pwrdet_offsets()
2947 s8 wlc_phy_upd_rssi_offset(struct brcms_phy *pi, s8 rssi, u16 chanspec) in wlc_phy_upd_rssi_offset()
2955 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_ipa_ison() local