Lines Matching refs:pih
118 void wlc_phyreg_enter(struct brcms_phy_pub *pih) in wlc_phyreg_enter() argument
120 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_enter()
124 void wlc_phyreg_exit(struct brcms_phy_pub *pih) in wlc_phyreg_exit() argument
126 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_exit()
130 void wlc_radioreg_enter(struct brcms_phy_pub *pih) in wlc_radioreg_enter() argument
132 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_enter()
138 void wlc_radioreg_exit(struct brcms_phy_pub *pih) in wlc_radioreg_exit() argument
140 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_exit()
576 void wlc_phy_detach(struct brcms_phy_pub *pih) in wlc_phy_detach() argument
578 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_detach()
580 if (pih) { in wlc_phy_detach()
602 wlc_phy_get_phyversion(struct brcms_phy_pub *pih, u16 *phytype, u16 *phyrev, in wlc_phy_get_phyversion() argument
605 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_phyversion()
614 bool wlc_phy_get_encore(struct brcms_phy_pub *pih) in wlc_phy_get_encore() argument
616 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_encore()
620 u32 wlc_phy_get_coreflags(struct brcms_phy_pub *pih) in wlc_phy_get_coreflags() argument
622 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_coreflags()
626 void wlc_phy_anacore(struct brcms_phy_pub *pih, bool on) in wlc_phy_anacore() argument
628 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_anacore()
663 u32 wlc_phy_clk_bwbits(struct brcms_phy_pub *pih) in wlc_phy_clk_bwbits() argument
665 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_clk_bwbits()
695 void wlc_phy_edcrs_lock(struct brcms_phy_pub *pih, bool lock) in wlc_phy_edcrs_lock() argument
697 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_edcrs_lock()
707 void wlc_phy_initcal_enable(struct brcms_phy_pub *pih, bool initcal) in wlc_phy_initcal_enable() argument
709 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_initcal_enable()
714 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_clk_state_upd() argument
716 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_hw_clk_state_upd()
724 void wlc_phy_hw_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_state_upd() argument
726 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_hw_state_upd()
734 void wlc_phy_init(struct brcms_phy_pub *pih, u16 chanspec) in wlc_phy_init() argument
738 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_init()
763 wlc_phy_anacore(pih, ON); in wlc_phy_init()
788 void wlc_phy_cal_init(struct brcms_phy_pub *pih) in wlc_phy_cal_init() argument
790 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_cal_init()
806 int wlc_phy_down(struct brcms_phy_pub *pih) in wlc_phy_down() argument
808 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_down()
1060 void wlc_phy_hold_upd(struct brcms_phy_pub *pih, u32 id, bool set) in wlc_phy_hold_upd() argument
1062 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_hold_upd()
1072 void wlc_phy_mute_upd(struct brcms_phy_pub *pih, bool mute, u32 flags) in wlc_phy_mute_upd() argument
1074 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_mute_upd()
1086 void wlc_phy_clear_tssi(struct brcms_phy_pub *pih) in wlc_phy_clear_tssi() argument
1088 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_clear_tssi()
1105 void wlc_phy_switch_radio(struct brcms_phy_pub *pih, bool on) in wlc_phy_switch_radio() argument
1107 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_switch_radio()
1869 void wlc_phy_ofdm_rateset_war(struct brcms_phy_pub *pih, bool war) in wlc_phy_ofdm_rateset_war() argument
1871 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_ofdm_rateset_war()
1876 void wlc_phy_bf_preempt_enable(struct brcms_phy_pub *pih, bool bf_preempt) in wlc_phy_bf_preempt_enable() argument
1878 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_bf_preempt_enable()
2271 void wlc_phy_noise_sample_intr(struct brcms_phy_pub *pih) in wlc_phy_noise_sample_intr() argument
2273 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_noise_sample_intr()
2327 wlc_phy_noise_sample_request(struct brcms_phy_pub *pih, u8 reason, u8 ch) in wlc_phy_noise_sample_request() argument
2329 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_noise_sample_request()
2451 void wlc_phy_noise_sample_request_external(struct brcms_phy_pub *pih) in wlc_phy_noise_sample_request_external() argument
2455 channel = CHSPEC_CHANNEL(wlc_phy_chanspec_get(pih)); in wlc_phy_noise_sample_request_external()
2457 wlc_phy_noise_sample_request(pih, PHY_NOISE_SAMPLE_EXTERNAL, channel); in wlc_phy_noise_sample_request_external()
2516 int wlc_phy_rssi_compute(struct brcms_phy_pub *pih, in wlc_phy_rssi_compute() argument
2520 uint radioid = pih->radioid; in wlc_phy_rssi_compute()
2521 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_rssi_compute()
2558 void wlc_phy_freqtrack_start(struct brcms_phy_pub *pih) in wlc_phy_freqtrack_start() argument
2563 void wlc_phy_freqtrack_end(struct brcms_phy_pub *pih) in wlc_phy_freqtrack_end() argument
2579 void wlc_phy_watchdog(struct brcms_phy_pub *pih) in wlc_phy_watchdog() argument
2581 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_watchdog()
2639 void wlc_phy_BSSinit(struct brcms_phy_pub *pih, bool bonlyap, int rssi) in wlc_phy_BSSinit() argument
2641 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_BSSinit()
2696 void wlc_phy_cal_perical(struct brcms_phy_pub *pih, u8 reason) in wlc_phy_cal_perical() argument
2701 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_cal_perical()
2792 void wlc_phy_stf_chain_init(struct brcms_phy_pub *pih, u8 txchain, u8 rxchain) in wlc_phy_stf_chain_init() argument
2794 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_init()
2803 void wlc_phy_stf_chain_set(struct brcms_phy_pub *pih, u8 txchain, u8 rxchain) in wlc_phy_stf_chain_set() argument
2805 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_set()
2810 wlc_phy_rxcore_setstate_nphy(pih, rxchain); in wlc_phy_stf_chain_set()
2815 void wlc_phy_stf_chain_get(struct brcms_phy_pub *pih, u8 *txchain, u8 *rxchain) in wlc_phy_stf_chain_get() argument
2817 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_get()
2823 u8 wlc_phy_stf_chain_active_get(struct brcms_phy_pub *pih) in wlc_phy_stf_chain_active_get() argument
2827 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_chain_active_get()
2855 s8 wlc_phy_stf_ssmode_get(struct brcms_phy_pub *pih, u16 chanspec) in wlc_phy_stf_ssmode_get() argument
2857 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_stf_ssmode_get()