Lines Matching defs:pi
26 #define VALID_RADIO(pi, radioid) ( \ argument
120 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_enter() local
126 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_exit() local
132 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_enter() local
140 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_exit() local
147 u16 read_radio_reg(struct brcms_phy *pi, u16 addr) in read_radio_reg()
188 void write_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in write_radio_reg()
208 static u32 read_radio_id(struct brcms_phy *pi) in read_radio_id()
234 void and_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_radio_reg()
242 void or_radio_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_radio_reg()
250 void xor_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask) in xor_radio_reg()
258 void mod_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val) in mod_radio_reg()
266 void write_phy_channel_reg(struct brcms_phy *pi, uint val) in write_phy_channel_reg()
271 u16 read_phy_reg(struct brcms_phy *pi, u16 addr) in read_phy_reg()
279 void write_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in write_phy_reg()
296 void and_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in and_phy_reg()
303 void or_phy_reg(struct brcms_phy *pi, u16 addr, u16 val) in or_phy_reg()
310 void mod_phy_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val) in mod_phy_reg()
318 static void wlc_set_phy_uninitted(struct brcms_phy *pi) in wlc_set_phy_uninitted()
386 static void wlc_phy_timercb_phycal(struct brcms_phy *pi) in wlc_phy_timercb_phycal()
408 static u32 wlc_phy_get_radio_ver(struct brcms_phy *pi) in wlc_phy_get_radio_ver()
421 struct brcms_phy *pi; in wlc_phy_attach() local
578 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_detach() local
605 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_phyversion() local
616 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_encore() local
622 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_coreflags() local
628 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_anacore() local
665 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_clk_bwbits() local
690 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_por_inform() local
697 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_edcrs_lock() local
709 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_initcal_enable() local
716 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_hw_clk_state_upd() local
726 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_hw_state_upd() local
738 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_init() local
790 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_cal_init() local
808 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_down() local
822 wlc_phy_table_addr(struct brcms_phy *pi, uint tbl_id, uint tbl_offset, in wlc_phy_table_addr()
838 void wlc_phy_table_data_write(struct brcms_phy *pi, uint width, u32 val) in wlc_phy_table_data_write()
859 wlc_phy_write_table(struct brcms_phy *pi, const struct phytbl_info *ptbl_info, in wlc_phy_write_table()
896 wlc_phy_read_table(struct brcms_phy *pi, const struct phytbl_info *ptbl_info, in wlc_phy_read_table()
931 wlc_phy_init_radio_regs_allbands(struct brcms_phy *pi, in wlc_phy_init_radio_regs_allbands()
948 wlc_phy_init_radio_regs(struct brcms_phy *pi, in wlc_phy_init_radio_regs()
982 void wlc_phy_do_dummy_tx(struct brcms_phy *pi, bool ofdm, bool pa_on) in wlc_phy_do_dummy_tx()
1062 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_hold_upd() local
1074 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_mute_upd() local
1088 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_clear_tssi() local
1100 static bool wlc_phy_cal_txpower_recalc_sw(struct brcms_phy *pi) in wlc_phy_cal_txpower_recalc_sw()
1107 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_switch_radio() local
1141 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_bw_state_get() local
1148 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_bw_state_set() local
1155 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_chanspec_radio_set() local
1162 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_chanspec_get() local
1169 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_chanspec_set() local
1201 int wlc_phy_chanspec_bandrange_get(struct brcms_phy *pi, u16 chanspec) in wlc_phy_chanspec_bandrange_get()
1218 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_chanspec_ch14_widefilter_set() local
1238 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_chanspec_band_validch() local
1259 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_chanspec_band_firstch() local
1303 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_get() local
1315 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_target_set() local
1363 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_set() local
1399 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_sromlimit() local
1448 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_sromlimit_max_get() local
1485 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_get_target_min() local
1492 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_get_target_max() local
1497 static s8 wlc_phy_env_measure_vbat(struct brcms_phy *pi) in wlc_phy_env_measure_vbat()
1505 static s8 wlc_phy_env_measure_temperature(struct brcms_phy *pi) in wlc_phy_env_measure_temperature()
1513 static void wlc_phy_upd_env_txpwr_rate_limits(struct brcms_phy *pi, u32 band) in wlc_phy_upd_env_txpwr_rate_limits()
1525 wlc_user_txpwr_antport_to_rfport(struct brcms_phy *pi, uint chan, u32 band, in wlc_user_txpwr_antport_to_rfport()
1531 void wlc_phy_txpower_recalc_target(struct brcms_phy *pi) in wlc_phy_txpower_recalc_target()
1644 wlc_phy_txpower_reg_limit_calc(struct brcms_phy *pi, struct txpwr_limits *txpwr, in wlc_phy_txpower_reg_limit_calc()
1802 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpwr_percent_set() local
1809 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_machwcap_set() local
1816 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_runbist_config() local
1847 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_limit_set() local
1871 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_ofdm_rateset_war() local
1878 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_bf_preempt_enable() local
1883 void wlc_phy_txpower_update_shm(struct brcms_phy *pi) in wlc_phy_txpower_update_shm()
1935 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_hw_ctrl_get() local
1945 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_hw_ctrl_set() local
1974 void wlc_phy_txpower_ipa_upd(struct brcms_phy *pi) in wlc_phy_txpower_ipa_upd()
1986 static u32 wlc_phy_txpower_est_power_nphy(struct brcms_phy *pi) in wlc_phy_txpower_est_power_nphy()
2028 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_get_current() local
2126 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_antsel_type_set() local
2133 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_test_ison() local
2140 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_ant_rxdiv_set() local
2184 wlc_phy_noise_calc_phy(struct brcms_phy *pi, u32 *cmplx_pwr, s8 *pwr_ant) in wlc_phy_noise_calc_phy()
2209 static void wlc_phy_noise_cb(struct brcms_phy *pi, u8 channel, s8 noise_dbm) in wlc_phy_noise_cb()
2229 static s8 wlc_phy_noise_read_shmem(struct brcms_phy *pi) in wlc_phy_noise_read_shmem()
2273 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_noise_sample_intr() local
2329 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_noise_sample_request() local
2521 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_rssi_compute() local
2570 struct brcms_phy *pi; in wlc_phy_set_deaf() local
2581 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_watchdog() local
2641 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_BSSinit() local
2673 void wlc_phy_cal_perical_mphase_reset(struct brcms_phy *pi) in wlc_phy_cal_perical_mphase_reset()
2683 wlc_phy_cal_perical_mphase_schedule(struct brcms_phy *pi, uint delay) in wlc_phy_cal_perical_mphase_schedule()
2701 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_cal_perical() local
2774 void wlc_phy_cal_perical_mphase_restart(struct brcms_phy *pi) in wlc_phy_cal_perical_mphase_restart()
2794 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_init() local
2805 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_set() local
2817 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_get() local
2827 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_active_get() local
2857 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_ssmode_get() local
2879 void wlc_lcnphy_epa_switch(struct brcms_phy *pi, bool mode) in wlc_lcnphy_epa_switch()
2920 wlc_phy_get_pwrdet_offsets(struct brcms_phy *pi, s8 *cckoffset, s8 *ofdmoffset) in wlc_phy_get_pwrdet_offsets()
2926 s8 wlc_phy_upd_rssi_offset(struct brcms_phy *pi, s8 rssi, u16 chanspec) in wlc_phy_upd_rssi_offset()
2934 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); in wlc_phy_txpower_ipa_ison() local