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()
219 static u32 read_radio_id(struct brcms_phy *pi) in read_radio_id()
245 void and_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_radio_reg()
253 void or_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_radio_reg()
261 void xor_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask) in xor_radio_reg()
269 void mod_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val) in mod_radio_reg()
277 void write_phy_channel_reg(struct brcms_phy *pi, uint val) in write_phy_channel_reg()
282 u16 read_phy_reg(struct brcms_phy *pi, u16 addr) in read_phy_reg()
290 void write_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in write_phy_reg()
307 void and_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_phy_reg()
314 void or_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_phy_reg()
321 void mod_phy_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val) in mod_phy_reg()
329 static void wlc_set_phy_uninitted(struct brcms_phy *pi) in wlc_set_phy_uninitted()
397 static void wlc_phy_timercb_phycal(struct brcms_phy *pi) in wlc_phy_timercb_phycal()
419 static u32 wlc_phy_get_radio_ver(struct brcms_phy *pi) in wlc_phy_get_radio_ver()
432 struct brcms_phy *pi; in wlc_phy_attach() local
589 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_detach() local
616 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_get_phyversion() local
627 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_get_encore() local
633 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_get_coreflags() local
639 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_anacore() local
676 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_clk_bwbits() local
701 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_por_inform() local
708 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_edcrs_lock() local
720 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_initcal_enable() local
727 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_hw_clk_state_upd() local
737 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_hw_state_upd() local
749 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_init() local
801 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_cal_init() local
819 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_down() local
833 wlc_phy_table_addr(struct brcms_phy *pi, uint tbl_id, uint tbl_offset, in wlc_phy_table_addr()
849 void wlc_phy_table_data_write(struct brcms_phy *pi, uint width, u32 val) in wlc_phy_table_data_write()
870 wlc_phy_write_table(struct brcms_phy *pi, const struct phytbl_info *ptbl_info, in wlc_phy_write_table()
907 wlc_phy_read_table(struct brcms_phy *pi, const struct phytbl_info *ptbl_info, in wlc_phy_read_table()
942 wlc_phy_init_radio_regs_allbands(struct brcms_phy *pi, in wlc_phy_init_radio_regs_allbands()
959 wlc_phy_init_radio_regs(struct brcms_phy *pi, in wlc_phy_init_radio_regs()
993 void wlc_phy_do_dummy_tx(struct brcms_phy *pi, bool ofdm, bool pa_on) in wlc_phy_do_dummy_tx()
1073 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_hold_upd() local
1085 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_mute_upd() local
1099 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_clear_tssi() local
1111 static bool wlc_phy_cal_txpower_recalc_sw(struct brcms_phy *pi) in wlc_phy_cal_txpower_recalc_sw()
1118 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_switch_radio() local
1152 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_bw_state_get() local
1159 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_bw_state_set() local
1166 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_radio_set() local
1173 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_get() local
1180 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_set() local
1212 int wlc_phy_chanspec_bandrange_get(struct brcms_phy *pi, u16 chanspec) in wlc_phy_chanspec_bandrange_get()
1229 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_ch14_widefilter_set() local
1249 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_band_validch() local
1270 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_chanspec_band_firstch() local
1314 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get() local
1326 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_target_set() local
1374 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_set() local
1410 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_sromlimit() local
1459 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_sromlimit_max_get() local
1496 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get_target_min() local
1503 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get_target_max() local
1508 static s8 wlc_phy_env_measure_vbat(struct brcms_phy *pi) in wlc_phy_env_measure_vbat()
1516 static s8 wlc_phy_env_measure_temperature(struct brcms_phy *pi) in wlc_phy_env_measure_temperature()
1524 static void wlc_phy_upd_env_txpwr_rate_limits(struct brcms_phy *pi, u32 band) in wlc_phy_upd_env_txpwr_rate_limits()
1538 wlc_user_txpwr_antport_to_rfport(struct brcms_phy *pi, uint chan, u32 band, in wlc_user_txpwr_antport_to_rfport()
1548 void wlc_phy_txpower_recalc_target(struct brcms_phy *pi) in wlc_phy_txpower_recalc_target()
1661 wlc_phy_txpower_reg_limit_calc(struct brcms_phy *pi, struct txpwr_limits *txpwr, in wlc_phy_txpower_reg_limit_calc()
1819 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpwr_percent_set() local
1826 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_machwcap_set() local
1833 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_runbist_config() local
1864 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_limit_set() local
1888 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_ofdm_rateset_war() local
1895 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_bf_preempt_enable() local
1900 void wlc_phy_txpower_update_shm(struct brcms_phy *pi) in wlc_phy_txpower_update_shm()
1952 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_hw_ctrl_get() local
1962 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_hw_ctrl_set() local
1991 void wlc_phy_txpower_ipa_upd(struct brcms_phy *pi) in wlc_phy_txpower_ipa_upd()
2003 static u32 wlc_phy_txpower_est_power_nphy(struct brcms_phy *pi) in wlc_phy_txpower_est_power_nphy()
2045 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_get_current() local
2143 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_antsel_type_set() local
2150 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_test_ison() local
2157 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_ant_rxdiv_set() local
2201 wlc_phy_noise_calc_phy(struct brcms_phy *pi, u32 *cmplx_pwr, s8 *pwr_ant) in wlc_phy_noise_calc_phy()
2226 static void wlc_phy_noise_cb(struct brcms_phy *pi, u8 channel, s8 noise_dbm) in wlc_phy_noise_cb()
2246 static s8 wlc_phy_noise_read_shmem(struct brcms_phy *pi) in wlc_phy_noise_read_shmem()
2290 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_noise_sample_intr() local
2346 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_noise_sample_request() local
2538 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_rssi_compute() local
2587 struct brcms_phy *pi; in wlc_phy_set_deaf() local
2598 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_watchdog() local
2658 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_BSSinit() local
2690 void wlc_phy_cal_perical_mphase_reset(struct brcms_phy *pi) in wlc_phy_cal_perical_mphase_reset()
2700 wlc_phy_cal_perical_mphase_schedule(struct brcms_phy *pi, uint delay) in wlc_phy_cal_perical_mphase_schedule()
2718 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_cal_perical() local
2791 void wlc_phy_cal_perical_mphase_restart(struct brcms_phy *pi) in wlc_phy_cal_perical_mphase_restart()
2811 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_init() local
2822 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_set() local
2834 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_get() local
2844 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_chain_active_get() local
2874 struct brcms_phy *pi = (struct brcms_phy *) pih; in wlc_phy_stf_ssmode_get() local
2896 void wlc_lcnphy_epa_switch(struct brcms_phy *pi, bool mode) in wlc_lcnphy_epa_switch()
2937 wlc_phy_get_pwrdet_offsets(struct brcms_phy *pi, s8 *cckoffset, s8 *ofdmoffset) in wlc_phy_get_pwrdet_offsets()
2943 s8 wlc_phy_upd_rssi_offset(struct brcms_phy *pi, s8 rssi, u16 chanspec) in wlc_phy_upd_rssi_offset()
2951 struct brcms_phy *pi = (struct brcms_phy *) ppi; in wlc_phy_txpower_ipa_ison() local