Home
last modified time | relevance | path

Searched full:pi (Results 1 – 25 of 583) sorted by relevance

12345678910>>...24

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c26 #define VALID_RADIO(pi, radioid) ( \ argument
27 (ISNPHY(pi) ? VALID_N_RADIO(radioid) : false) || \
28 (ISLCNPHY(pi) ? VALID_LCN_RADIO(radioid) : false))
120 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_enter() local
121 wlapi_bmac_ucode_wake_override_phyreg_set(pi->sh->physhim); in wlc_phyreg_enter()
126 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_exit() local
127 wlapi_bmac_ucode_wake_override_phyreg_clear(pi->sh->physhim); in wlc_phyreg_exit()
130 u16 read_radio_reg(struct brcms_phy *pi, u16 addr) in read_radio_reg() argument
137 switch (pi->pubpi.phy_type) { in read_radio_reg()
141 if (NREV_GE(pi->pubpi.phy_rev, 7)) in read_radio_reg()
[all …]
H A Dphy_int.h32 #define ISNPHY(pi) PHYTYPE_IS((pi)->pubpi.phy_type, PHY_TYPE_N) argument
33 #define ISLCNPHY(pi) PHYTYPE_IS((pi)->pubpi.phy_type, PHY_TYPE_LCN) argument
169 #define PHY_PERICAL_MPHASE_PENDING(pi) \ argument
170 (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_IDLE)
215 #define SCAN_INPROG_PHY(pi) \ argument
216 (mboolisset(pi->measure_hold, PHY_HOLD_FOR_SCAN))
218 #define PLT_INPROG_PHY(pi) (mboolisset(pi->measure_hold, PHY_HOLD_FOR_PLT)) argument
220 #define ASSOC_INPROG_PHY(pi) \ argument
221 (mboolisset(pi->measure_hold, PHY_HOLD_FOR_ASSOC))
223 #define SCAN_RM_IN_PROGRESS(pi) \ argument
[all …]
H A Dphy_n.c25 #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \ argument
26 read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
31 #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \ argument
32 write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
37 #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \ argument
38 write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
40 #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \ argument
41 read_radio_reg(pi, ((core == PHY_CORE_0) ? \
45 #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \ argument
46 write_radio_reg(pi, ((cor
51 READ_RADIO_REG4(pi,radio_type,jspace,core,reg_name) global() argument
56 WRITE_RADIO_REG4(pi,radio_type,jspace,core,reg_name,value) global() argument
256 wlc_phy_get_papd_nphy(pi) global() argument
14113 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_bist_check_phy() local
14132 wlc_phy_bphy_init_nphy(struct brcms_phy * pi) wlc_phy_bphy_init_nphy() argument
14150 wlc_phy_table_write_nphy(struct brcms_phy * pi,u32 id,u32 len,u32 offset,u32 width,const void * data) wlc_phy_table_write_nphy() argument
14164 wlc_phy_table_read_nphy(struct brcms_phy * pi,u32 id,u32 len,u32 offset,u32 width,void * data) wlc_phy_table_read_nphy() argument
14178 wlc_phy_static_table_download_nphy(struct brcms_phy * pi) wlc_phy_static_table_download_nphy() argument
14201 wlc_phy_tbl_init_nphy(struct brcms_phy * pi) wlc_phy_tbl_init_nphy() argument
14328 wlc_phy_write_txmacreg_nphy(struct brcms_phy * pi,u16 holdoff,u16 delay) wlc_phy_write_txmacreg_nphy() argument
14334 wlc_phy_nphy_tkip_rifs_war(struct brcms_phy * pi,u8 rifs) wlc_phy_nphy_tkip_rifs_war() argument
14354 wlc_phy_txpwrctrl_config_nphy(struct brcms_phy * pi) wlc_phy_txpwrctrl_config_nphy() argument
14374 wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy * pi) wlc_phy_txpwr_srom_read_ppr_nphy() argument
14549 wlc_phy_txpwr_srom_read_nphy(struct brcms_phy * pi) wlc_phy_txpwr_srom_read_nphy() argument
14600 wlc_phy_attach_nphy(struct brcms_phy * pi) wlc_phy_attach_nphy() argument
14649 get_rf_pwr_offset(struct brcms_phy * pi,s16 pga_gn,s16 pad_gn) get_rf_pwr_offset() argument
14687 wlc_phy_update_mimoconfig_nphy(struct brcms_phy * pi,s32 preamble) wlc_phy_update_mimoconfig_nphy() argument
14705 wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy * pi) wlc_phy_ipa_set_tx_digi_filts_nphy() argument
14735 wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy * pi) wlc_phy_ipa_restore_tx_digi_filts_nphy() argument
14751 wlc_phy_set_rfseq_nphy(struct brcms_phy * pi,u8 cmd,const u8 * events,const u8 * dlys,u8 len) wlc_phy_set_rfseq_nphy() argument
14782 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy * pi,u16 offset) wlc_phy_read_lpf_bw_ctl_nphy() argument
14805 wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy * pi,u16 field,u16 value,u8 core_mask,u8 off,u8 override_id) wlc_phy_rfctrl_override_nphy_rev7() argument
15075 wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy * pi) wlc_phy_adjust_lnagaintbl_nphy() argument
15139 wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy * pi,u8 core) wlc_phy_war_force_trsw_to_R_cliplo_nphy() argument
15156 wlc_phy_war_txchain_upd_nphy(struct brcms_phy * pi,u8 txchain) wlc_phy_war_txchain_upd_nphy() argument
15169 wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy * pi) wlc_phy_workarounds_nphy_gainctrl_2057_rev5() argument
15224 wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy * pi) wlc_phy_workarounds_nphy_gainctrl_2057_rev6() argument
15425 wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy * pi) wlc_phy_workarounds_nphy_gainctrl() argument
16047 wlc_phy_workarounds_nphy_rev7(struct brcms_phy * pi) wlc_phy_workarounds_nphy_rev7() argument
16549 wlc_phy_workarounds_nphy_rev3(struct brcms_phy * pi) wlc_phy_workarounds_nphy_rev3() argument
16891 wlc_phy_workarounds_nphy_rev1(struct brcms_phy * pi) wlc_phy_workarounds_nphy_rev1() argument
17014 wlc_phy_workarounds_nphy(struct brcms_phy * pi) wlc_phy_workarounds_nphy() argument
17037 wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy * pi) wlc_phy_extpa_set_tx_digi_filts_nphy() argument
17047 wlc_phy_clip_det_nphy(struct brcms_phy * pi,u8 write,u16 * vals) wlc_phy_clip_det_nphy() argument
17059 wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy * pi) wlc_phy_ipa_internal_tssi_setup_nphy() argument
17162 wlc_phy_rfctrl_override_nphy(struct brcms_phy * pi,u16 field,u16 value,u8 core_mask,u8 off) wlc_phy_rfctrl_override_nphy() argument
17405 wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy * pi) wlc_phy_txpwrctrl_idle_tssi_nphy() argument
17468 wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy * pi) wlc_phy_txpwr_limit_to_tbl_nphy() argument
17561 wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy * pi) wlc_phy_txpwrctrl_pwr_setup_nphy() argument
17771 wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy * pi) wlc_phy_get_ipa_gaintbl_nphy() argument
17819 wlc_phy_restore_rssical_nphy(struct brcms_phy * pi) wlc_phy_restore_rssical_nphy() argument
17925 wlc_phy_internal_cal_txgain_nphy(struct brcms_phy * pi) wlc_phy_internal_cal_txgain_nphy() argument
17949 wlc_phy_precal_txgain_nphy(struct brcms_phy * pi) wlc_phy_precal_txgain_nphy() argument
18035 wlc_phy_rfctrlintc_override_nphy(struct brcms_phy * pi,u8 field,u16 value,u8 core_code) wlc_phy_rfctrlintc_override_nphy() argument
18269 wlc_phy_cal_txgainctrl_nphy(struct brcms_phy * pi,s32 dBm_targetpower,bool debug) wlc_phy_cal_txgainctrl_nphy() argument
18429 wlc_phy_savecal_nphy(struct brcms_phy * pi) wlc_phy_savecal_nphy() argument
18578 wlc_phy_tx_iq_war_nphy(struct brcms_phy * pi) wlc_phy_tx_iq_war_nphy() argument
18590 wlc_phy_restorecal_nphy(struct brcms_phy * pi) wlc_phy_restorecal_nphy() argument
18788 wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy * pi) wlc_phy_txpwrctrl_coeff_setup_nphy() argument
18859 wlc_phy_txlpfbw_nphy(struct brcms_phy * pi) wlc_phy_txlpfbw_nphy() argument
18897 wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy * pi,u16 reduction_factr) wlc_phy_adjust_rx_analpfbw_nphy() argument
18925 wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy * pi,int ntones,int * tone_id_buf,u32 * noise_var_buf) wlc_phy_adjust_min_noisevar_nphy() argument
18973 wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy * pi,u8 minpwr) wlc_phy_adjust_crsminpwr_nphy() argument
19024 wlc_phy_spurwar_nphy(struct brcms_phy * pi) wlc_phy_spurwar_nphy() argument
19196 wlc_phy_init_nphy(struct brcms_phy * pi) wlc_phy_init_nphy() argument
19550 wlc_phy_resetcca_nphy(struct brcms_phy * pi) wlc_phy_resetcca_nphy() argument
19566 wlc_phy_pa_override_nphy(struct brcms_phy * pi,bool en) wlc_phy_pa_override_nphy() argument
19593 wlc_phy_stf_chain_upd_nphy(struct brcms_phy * pi) wlc_phy_stf_chain_upd_nphy() argument
19630 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_rxcore_setstate_nphy() local
19708 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_rxcore_getstate_nphy() local
19716 wlc_phy_cal_init_nphy(struct brcms_phy * pi) wlc_phy_cal_init_nphy() argument
19720 wlc_phy_radio_preinit_205x(struct brcms_phy * pi) wlc_phy_radio_preinit_205x() argument
19731 wlc_phy_radio_init_2057(struct brcms_phy * pi) wlc_phy_radio_init_2057() argument
19766 wlc_phy_radio205x_rcal(struct brcms_phy * pi) wlc_phy_radio205x_rcal() argument
19874 wlc_phy_radio2057_rccal(struct brcms_phy * pi) wlc_phy_radio2057_rccal() argument
19957 wlc_phy_radio_postinit_2057(struct brcms_phy * pi) wlc_phy_radio_postinit_2057() argument
19976 wlc_phy_radio_init_2056(struct brcms_phy * pi) wlc_phy_radio_init_2056() argument
20039 wlc_phy_radio_postinit_2056(struct brcms_phy * pi) wlc_phy_radio_postinit_2056() argument
20060 wlc_phy_radio_preinit_2055(struct brcms_phy * pi) wlc_phy_radio_preinit_2055() argument
20069 wlc_phy_radio_init_2055(struct brcms_phy * pi) wlc_phy_radio_init_2055() argument
20074 wlc_phy_radio_postinit_2055(struct brcms_phy * pi) wlc_phy_radio_postinit_2055() argument
20139 wlc_phy_switch_radio_nphy(struct brcms_phy * pi,bool on) wlc_phy_switch_radio_nphy() argument
20223 wlc_phy_chan2freq_nphy(struct brcms_phy * pi,uint channel,int * f,const struct chan_info_nphy_radio2057 ** t0,const struct chan_info_nphy_radio205x ** t1,const struct chan_info_nphy_radio2057_rev5 ** t2,const struct chan_info_nphy_2055 ** t3) wlc_phy_chan2freq_nphy() argument
20384 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy * pi,uint channel) wlc_phy_get_chan_freq_range_nphy() argument
20409 wlc_phy_chanspec_radio2055_setup(struct brcms_phy * pi,const struct chan_info_nphy_2055 * ci) wlc_phy_chanspec_radio2055_setup() argument
20472 wlc_phy_chanspec_radio2056_setup(struct brcms_phy * pi,const struct chan_info_nphy_radio205x * ci) wlc_phy_chanspec_radio2056_setup() argument
20802 wlc_phy_radio205x_vcocal_nphy(struct brcms_phy * pi) wlc_phy_radio205x_vcocal_nphy() argument
20823 wlc_phy_chanspec_radio2057_setup(struct brcms_phy * pi,const struct chan_info_nphy_radio2057 * ci,const struct chan_info_nphy_radio2057_rev5 * ci2) wlc_phy_chanspec_radio2057_setup() argument
21019 wlc_phy_chanspec_nphy_setup(struct brcms_phy * pi,u16 chanspec,const struct nphy_sfo_cfg * ci) wlc_phy_chanspec_nphy_setup() argument
21154 wlc_phy_chanspec_set_nphy(struct brcms_phy * pi,u16 chanspec) wlc_phy_chanspec_set_nphy() argument
21233 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_antsel_init() local
21292 wlc_phy_classifier_nphy(struct brcms_phy * pi,u16 mask,u16 val) wlc_phy_classifier_nphy() argument
21316 wlc_phy_force_rfseq_nphy(struct brcms_phy * pi,u8 cmd) wlc_phy_force_rfseq_nphy() argument
21361 wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy * pi,u16 cmd,u16 value,u8 core_mask,u8 off) wlc_phy_rfctrl_override_1tomany_nphy() argument
21464 wlc_phy_scale_offset_rssi_nphy(struct brcms_phy * pi,u16 scale,s8 offset,u8 coresel,u8 rail,u8 rssi_type) wlc_phy_scale_offset_rssi_nphy() argument
21592 brcms_phy_wr_tx_mux(struct brcms_phy * pi,u8 core) brcms_phy_wr_tx_mux() argument
21631 wlc_phy_rssisel_nphy(struct brcms_phy * pi,u8 core_code,u8 rssi_type) wlc_phy_rssisel_nphy() argument
21852 wlc_phy_poll_rssi_nphy(struct brcms_phy * pi,u8 rssi_type,s32 * rssi_buf,u8 nsamps) wlc_phy_poll_rssi_nphy() argument
21947 wlc_phy_tempsense_nphy(struct brcms_phy * pi) wlc_phy_tempsense_nphy() argument
22225 wlc_phy_set_rssi_2055_vcm(struct brcms_phy * pi,u8 rssi_type,u8 * vcm_buf) wlc_phy_set_rssi_2055_vcm() argument
22277 wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy * pi) wlc_phy_rssi_cal_nphy_rev3() argument
22766 wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy * pi,u8 rssi_type) wlc_phy_rssi_cal_nphy_rev2() argument
22958 wlc_phy_rssi_cal_nphy(struct brcms_phy * pi) wlc_phy_rssi_cal_nphy() argument
22970 wlc_phy_rssi_compute_nphy(struct brcms_phy * pi,struct d11rxhdr * rxh) wlc_phy_rssi_compute_nphy() argument
23004 wlc_phy_loadsampletable_nphy(struct brcms_phy * pi,struct cordic_iq * tone_buf,u16 num_samps) wlc_phy_loadsampletable_nphy() argument
23030 wlc_phy_gen_load_samples_nphy(struct brcms_phy * pi,u32 f_kHz,u16 max_val,u8 dac_test_mode) wlc_phy_gen_load_samples_nphy() argument
23078 wlc_phy_runsamples_nphy(struct brcms_phy * pi,u16 num_samps,u16 loops,u16 wait,u8 iqmode,u8 dac_test_mode,bool modify_bbmult) wlc_phy_runsamples_nphy() argument
23159 wlc_phy_tx_tone_nphy(struct brcms_phy * pi,u32 f_kHz,u16 max_val,u8 iqmode,u8 dac_test_mode,bool modify_bbmult) wlc_phy_tx_tone_nphy() argument
23177 wlc_phy_stopplayback_nphy(struct brcms_phy * pi) wlc_phy_stopplayback_nphy() argument
23218 brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy * pi) brcms_phy_get_tx_pwrctrl_tbl() argument
23259 wlc_phy_get_tx_gain_nphy(struct brcms_phy * pi) wlc_phy_get_tx_gain_nphy() argument
23377 wlc_phy_iqcal_gainparams_nphy(struct brcms_phy * pi,u16 core_no,struct nphy_txgains target_gain,struct nphy_iqcal_params * params) wlc_phy_iqcal_gainparams_nphy() argument
23435 wlc_phy_txcal_radio_setup_nphy(struct brcms_phy * pi) wlc_phy_txcal_radio_setup_nphy() argument
23746 wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy * pi) wlc_phy_txcal_radio_cleanup_nphy() argument
23880 wlc_phy_txcal_physetup_nphy(struct brcms_phy * pi) wlc_phy_txcal_physetup_nphy() argument
24037 wlc_phy_txcal_phycleanup_nphy(struct brcms_phy * pi) wlc_phy_txcal_phycleanup_nphy() argument
24120 wlc_phy_est_tonepwr_nphy(struct brcms_phy * pi,s32 * qdBm_pwrbuf,u8 num_samps) wlc_phy_est_tonepwr_nphy() argument
24165 wlc_phy_update_txcal_ladder_nphy(struct brcms_phy * pi,u16 core) wlc_phy_update_txcal_ladder_nphy() argument
24207 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy * pi,u8 core) wlc_phy_txpwr_idx_cur_get_nphy() argument
24217 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy * pi,u8 idx0,u8 idx1) wlc_phy_txpwr_idx_cur_set_nphy() argument
24225 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy * pi) wlc_phy_ipa_get_bbmult_nphy() argument
24234 wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy * pi,u8 m0,u8 m1) wlc_phy_ipa_set_bbmult_nphy() argument
24243 wlc_phy_papd_cal_setup_nphy(struct brcms_phy * pi,struct nphy_papd_restore_state * state,u8 core) wlc_phy_papd_cal_setup_nphy() argument
24497 wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy * pi,struct nphy_papd_restore_state * state) wlc_phy_papd_cal_cleanup_nphy() argument
24625 wlc_phy_a1_nphy(struct brcms_phy * pi,u8 core,u32 winsz,u32 start,u32 end) wlc_phy_a1_nphy() argument
24677 wlc_phy_a2_nphy(struct brcms_phy * pi,struct nphy_ipa_txcalgains * txgains,enum phy_cal_mode cal_mode,u8 core) wlc_phy_a2_nphy() argument
24959 wlc_phy_a3_nphy(struct brcms_phy * pi,u8 start_gain,u8 core) wlc_phy_a3_nphy() argument
25108 wlc_phy_a4(struct brcms_phy * pi,bool full_cal) wlc_phy_a4() argument
25386 wlc_phy_cal_perical_nphy_run(struct brcms_phy * pi,u8 caltype) wlc_phy_cal_perical_nphy_run() argument
25624 wlc_phy_cal_txiqlo_nphy(struct brcms_phy * pi,struct nphy_txgains target_gain,bool fullcal,bool mphase) wlc_phy_cal_txiqlo_nphy() argument
25985 wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy * pi) wlc_phy_reapply_txcal_coeffs_nphy() argument
26021 wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy * pi,u8 write,struct nphy_iq_comp * pcomp) wlc_phy_rx_iq_coeffs_nphy() argument
26038 wlc_phy_rx_iq_est_nphy(struct brcms_phy * pi,struct phy_iq_est * est,u16 num_samps,u8 wait_time,u8 wait_for_crs) wlc_phy_rx_iq_est_nphy() argument
26075 wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy * pi,u8 core_mask) wlc_phy_calc_rx_iq_comp_nphy() argument
26197 wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy * pi,u8 rx_core) wlc_phy_rxcal_radio_setup_nphy() argument
26519 wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy * pi,u8 rx_core) wlc_phy_rxcal_radio_cleanup_nphy() argument
26701 wlc_phy_rxcal_physetup_nphy(struct brcms_phy * pi,u8 rx_core) wlc_phy_rxcal_physetup_nphy() argument
26828 wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy * pi,u8 rx_core) wlc_phy_rxcal_phycleanup_nphy() argument
26855 wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy * pi,u8 rx_core,u16 * rxgain,u8 cal_type) wlc_phy_rxcal_gainctrl_nphy_rev5() argument
27058 wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy * pi,u8 rx_core,u16 * rxgain,u8 cal_type) wlc_phy_rxcal_gainctrl_nphy() argument
27065 wlc_phy_rc_sweep_nphy(struct brcms_phy * pi,u8 core_idx,u8 loopback_type) wlc_phy_rc_sweep_nphy() argument
27304 wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy * pi,struct nphy_txgains target_gain,u8 cal_type,bool debug) wlc_phy_cal_rxiq_nphy_rev3() argument
27466 wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy * pi,struct nphy_txgains target_gain,bool debug) wlc_phy_cal_rxiq_nphy_rev2() argument
27683 wlc_phy_cal_rxiq_nphy(struct brcms_phy * pi,struct nphy_txgains target_gain,u8 cal_type,bool debug) wlc_phy_cal_rxiq_nphy() argument
27696 wlc_phy_txpwr_fixpower_nphy(struct brcms_phy * pi) wlc_phy_txpwr_fixpower_nphy() argument
27895 wlc_phy_txpwr_apply_nphy(struct brcms_phy * pi) wlc_phy_txpwr_apply_nphy() argument
28090 wlc_phy_txpower_recalc_target_nphy(struct brcms_phy * pi) wlc_phy_txpower_recalc_target_nphy() argument
28110 wlc_phy_txpwr_ison_nphy(struct brcms_phy * pi) wlc_phy_txpwr_ison_nphy() argument
28116 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy * pi) wlc_phy_txpwr_idx_get_nphy() argument
28135 wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy * pi) wlc_phy_txpwr_papd_cal_nphy() argument
28150 wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy * pi,u8 ctrl_type) wlc_phy_txpwrctrl_enable_nphy() argument
28295 wlc_phy_txpwr_index_nphy(struct brcms_phy * pi,u8 core_mask,s8 txpwrindex,bool restore_cals) wlc_phy_txpwr_index_nphy() argument
28518 wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy * pi,uint chan,u8 * max_pwr,u8 txp_rate_idx) wlc_phy_txpower_sromlimit_get_nphy() argument
28545 wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy * pi,bool enable) wlc_phy_stay_in_carriersearch_nphy() argument
[all...]
/linux/drivers/ata/pata_parport/
H A Dbpck6.c63 static void bpck6_send_cmd(struct pi_adapter *pi, u8 cmd) in bpck6_send_cmd() argument
65 switch (mode_map[pi->mode]) { in bpck6_send_cmd()
70 parport_write_data(pi->pardev->port, cmd); in bpck6_send_cmd()
71 parport_frob_control(pi->pardev->port, 0, PARPORT_CONTROL_AUTOFD); in bpck6_send_cmd()
76 pi->pardev->port->ops->epp_write_addr(pi->pardev->port, &cmd, 1, 0); in bpck6_send_cmd()
81 static u8 bpck6_rd_data_byte(struct pi_adapter *pi) in bpck6_rd_data_byte() argument
85 switch (mode_map[pi->mode]) { in bpck6_rd_data_byte()
88 parport_frob_control(pi->pardev->port, PARPORT_CONTROL_STROBE, in bpck6_rd_data_byte()
90 data = parport_read_status(pi->pardev->port); in bpck6_rd_data_byte()
92 parport_frob_control(pi->pardev->port, PARPORT_CONTROL_STROBE, in bpck6_rd_data_byte()
[all …]
H A Dpata_parport.c28 static void pi_connect(struct pi_adapter *pi) in pi_connect() argument
30 parport_claim_or_block(pi->pardev); in pi_connect()
31 pi->proto->connect(pi); in pi_connect()
34 static void pi_disconnect(struct pi_adapter *pi) in pi_disconnect() argument
36 pi->proto->disconnect(pi); in pi_disconnect()
37 parport_release(pi->pardev); in pi_disconnect()
42 struct pi_adapter *pi = ap->host->private_data; in pata_parport_dev_select() local
50 pi->proto->write_regr(pi, 0, ATA_REG_DEVICE, tmp); in pata_parport_dev_select()
56 struct pi_adapter *pi = ap->host->private_data; in pata_parport_set_devctl() local
58 pi->proto->write_regr(pi, 1, 6, ctl); in pata_parport_set_devctl()
[all …]
H A Dfrpw.c32 static int frpw_read_regr(struct pi_adapter *pi, int cont, int regr) in frpw_read_regr() argument
47 static void frpw_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in frpw_write_regr() argument
56 static void frpw_read_block_int(struct pi_adapter *pi, char *buf, int count, in frpw_read_block_int() argument
61 switch (pi->mode) { in frpw_read_block_int()
126 static void frpw_read_block(struct pi_adapter *pi, char *buf, int count) in frpw_read_block() argument
128 frpw_read_block_int(pi, buf, count, 0x08); in frpw_read_block()
131 static void frpw_write_block(struct pi_adapter *pi, char *buf, int count) in frpw_write_block() argument
135 switch (pi->mode) { in frpw_write_block()
170 static void frpw_connect(struct pi_adapter *pi) in frpw_connect() argument
172 pi->saved_r0 = r0(); in frpw_connect()
[all …]
H A Dbpck.c22 #define PC pi->private
38 static int bpck_read_regr(struct pi_adapter *pi, int cont, int regr) in bpck_read_regr() argument
44 switch (pi->mode) { in bpck_read_regr()
69 static void bpck_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in bpck_write_regr() argument
75 switch (pi->mode) { in bpck_write_regr()
93 #define WR(r,v) bpck_write_regr(pi,2,r,v)
94 #define RR(r) (bpck_read_regr(pi,2,r))
96 static void bpck_write_block(struct pi_adapter *pi, char *buf, int count) in bpck_write_block() argument
100 switch (pi->mode) { in bpck_write_block()
151 static void bpck_read_block(struct pi_adapter *pi, char *buf, int count) in bpck_read_block() argument
[all …]
H A Dfriq.c46 static int friq_read_regr(struct pi_adapter *pi, int cont, int regr) in friq_read_regr() argument
60 static void friq_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in friq_write_regr() argument
69 static void friq_read_block_int(struct pi_adapter *pi, char *buf, int count, int regr) in friq_read_block_int() argument
73 switch (pi->mode) { in friq_read_block_int()
126 static void friq_read_block(struct pi_adapter *pi, char *buf, int count) in friq_read_block() argument
128 friq_read_block_int(pi, buf, count, 0x08); in friq_read_block()
131 static void friq_write_block(struct pi_adapter *pi, char *buf, int count) in friq_write_block() argument
135 switch (pi->mode) { in friq_write_block()
166 static void friq_connect(struct pi_adapter *pi) in friq_connect() argument
168 pi->saved_r0 = r0(); in friq_connect()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dkv_dpm.c152 struct kv_power_info *pi = rdev->pm.dpm.priv; in kv_get_pi() local
154 return pi; in kv_get_pi()
208 struct kv_power_info *pi = kv_get_pi(rdev); in kv_do_enable_didt() local
211 if (pi->caps_sq_ramping) { in kv_do_enable_didt()
220 if (pi->caps_db_ramping) { in kv_do_enable_didt()
229 if (pi->caps_td_ramping) { in kv_do_enable_didt()
238 if (pi->caps_tcp_ramping) { in kv_do_enable_didt()
250 struct kv_power_info *pi = kv_get_pi(rdev); in kv_enable_didt() local
253 if (pi->caps_sq_ramping || in kv_enable_didt()
254 pi->caps_db_ramping || in kv_enable_didt()
[all …]
H A Dci_dpm.c169 struct ci_power_info *pi = rdev->pm.dpm.priv; in ci_get_pi() local
171 return pi; in ci_get_pi()
183 struct ci_power_info *pi = ci_get_pi(rdev); in ci_initialize_powertune_defaults() local
193 pi->powertune_defaults = &defaults_bonaire_xt; in ci_initialize_powertune_defaults()
199 pi->powertune_defaults = &defaults_saturn_xt; in ci_initialize_powertune_defaults()
203 pi->powertune_defaults = &defaults_hawaii_xt; in ci_initialize_powertune_defaults()
207 pi->powertune_defaults = &defaults_hawaii_pro; in ci_initialize_powertune_defaults()
217 pi->powertune_defaults = &defaults_bonaire_xt; in ci_initialize_powertune_defaults()
221 pi->dte_tj_offset = 0; in ci_initialize_powertune_defaults()
223 pi->caps_power_containment = true; in ci_initialize_powertune_defaults()
[all …]
H A Drv770_dpm.c58 struct rv7xx_power_info *pi = rdev->pm.dpm.priv; in rv770_get_pi() local
60 return pi; in rv770_get_pi()
65 struct evergreen_power_info *pi = rdev->pm.dpm.priv; in evergreen_get_pi() local
67 return pi; in evergreen_get_pi()
73 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_enable_bif_dynamic_pcie_gen2() local
82 if (!pi->boot_in_gen2) { in rv770_enable_bif_dynamic_pcie_gen2()
147 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv770_mg_clock_gating_enable() local
160 if (pi->mgcgtssm) in rv770_mg_clock_gating_enable()
239 struct rv7xx_power_info *pi = rv770_get_pi(rdev);
242 pi->soft_regs_start + reg_offset,
[all …]
H A Drv6xx_dpm.c45 struct rv6xx_power_info *pi = rdev->pm.dpm.priv; in rv6xx_get_pi() local
47 return pi; in rv6xx_get_pi()
162 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_output_stepping() local
167 pi->spll_ref_div, in rv6xx_output_stepping()
183 fb_divider = ((step->vco_frequency * pi->spll_ref_div) / ref_clk) >> in rv6xx_output_stepping()
184 pi->fb_div_scale; in rv6xx_output_stepping()
187 pi->spll_ref_div - 1); in rv6xx_output_stepping()
436 struct rv6xx_power_info *pi = rv6xx_get_pi(rdev); in rv6xx_calculate_engine_speed_stepping_parameters() local
438 pi->hw.sclks[R600_POWER_LEVEL_LOW] = in rv6xx_calculate_engine_speed_stepping_parameters()
440 pi->hw.sclks[R600_POWER_LEVEL_MEDIUM] = in rv6xx_calculate_engine_speed_stepping_parameters()
[all …]
H A Dsumo_dpm.c81 struct sumo_power_info *pi = rdev->pm.dpm.priv; in sumo_get_pi() local
83 return pi; in sumo_get_pi()
284 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_enable_clock_power_gating() local
286 if (pi->enable_gfx_clock_gating) in sumo_enable_clock_power_gating()
288 if (pi->enable_gfx_power_gating) in sumo_enable_clock_power_gating()
290 if (pi->enable_mg_clock_gating) in sumo_enable_clock_power_gating()
292 if (pi->enable_gfx_clock_gating) in sumo_enable_clock_power_gating()
294 if (pi->enable_gfx_power_gating) in sumo_enable_clock_power_gating()
302 struct sumo_power_info *pi = sumo_get_pi(rdev); in sumo_disable_clock_power_gating() local
304 if (pi->enable_gfx_clock_gating) in sumo_disable_clock_power_gating()
[all …]
H A Drv730_dpm.c41 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv730_populate_sclk_value() local
43 u32 spll_func_cntl = pi->clk_regs.rv730.cg_spll_func_cntl; in rv730_populate_sclk_value()
44 u32 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_sclk_value()
45 u32 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_sclk_value()
46 u32 cg_spll_spread_spectrum = pi->clk_regs.rv730.cg_spll_spread_spectrum; in rv730_populate_sclk_value()
47 u32 cg_spll_spread_spectrum_2 = pi->clk_regs.rv730.cg_spll_spread_spectrum_2; in rv730_populate_sclk_value()
88 if (pi->sclk_ss) { in rv730_populate_sclk_value()
120 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv730_populate_mclk_value() local
121 u32 mclk_pwrmgt_cntl = pi->clk_regs.rv730.mclk_pwrmgt_cntl; in rv730_populate_mclk_value()
122 u32 dll_cntl = pi->clk_regs.rv730.dll_cntl; in rv730_populate_mclk_value()
[all …]
H A Dtrinity_dpm.c309 struct trinity_power_info *pi = rdev->pm.dpm.priv; in trinity_get_pi() local
311 return pi; in trinity_get_pi()
316 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_gfx_powergating_initialize() local
344 if (pi->override_dynamic_mgpg && (hw_rev == 0)) in trinity_gfx_powergating_initialize()
499 struct trinity_power_info *pi = trinity_get_pi(rdev); in trinity_enable_clock_power_gating() local
501 if (pi->enable_gfx_clock_gating) in trinity_enable_clock_power_gating()
503 if (pi->enable_mg_clock_gating) in trinity_enable_clock_power_gating()
505 if (pi->enable_gfx_power_gating) in trinity_enable_clock_power_gating()
507 if (pi->enable_mg_clock_gating) { in trinity_enable_clock_power_gating()
511 if (pi->enable_gfx_clock_gating) in trinity_enable_clock_power_gating()
[all …]
H A Drs780_dpm.c44 struct igp_power_info *pi = rdev->pm.dpm.priv; in rs780_get_pi() local
46 return pi; in rs780_get_pi()
51 struct igp_power_info *pi = rs780_get_pi(rdev); in rs780_get_pm_mode_parameters() local
58 pi->crtc_id = 0; in rs780_get_pm_mode_parameters()
59 pi->refresh_rate = 60; in rs780_get_pm_mode_parameters()
65 pi->crtc_id = radeon_crtc->crtc_id; in rs780_get_pm_mode_parameters()
67 pi->refresh_rate = drm_mode_vrefresh(&crtc->mode); in rs780_get_pm_mode_parameters()
225 struct igp_power_info *pi = rs780_get_pi(rdev); in rs780_voltage_scaling_init() local
244 if (pi->pwm_voltage_control) { in rs780_voltage_scaling_init()
245 fv_throt_pwm_range[0] = pi->min_voltage; in rs780_voltage_scaling_init()
[all …]
H A Drv740_dpm.c122 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv740_populate_sclk_value() local
124 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_sclk_value()
125 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_sclk_value()
126 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_sclk_value()
127 u32 cg_spll_spread_spectrum = pi->clk_regs.rv770.cg_spll_spread_spectrum; in rv740_populate_sclk_value()
128 u32 cg_spll_spread_spectrum_2 = pi->clk_regs.rv770.cg_spll_spread_spectrum_2; in rv740_populate_sclk_value()
157 if (pi->sclk_ss) { in rv740_populate_sclk_value()
189 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv740_populate_mclk_value() local
190 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_mclk_value()
191 u32 mpll_ad_func_cntl_2 = pi->clk_regs.rv770.mpll_ad_func_cntl_2; in rv740_populate_mclk_value()
[all …]
H A Dcypress_dpm.c51 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in cypress_enable_bif_dynamic_pcie_gen2() local
58 if (!pi->boot_in_gen2) { in cypress_enable_bif_dynamic_pcie_gen2()
75 if (!pi->boot_in_gen2) { in cypress_enable_bif_dynamic_pcie_gen2()
99 struct rv7xx_power_info *pi = rv770_get_pi(rdev);
101 if (pi->gfx_clock_gating) {
173 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in cypress_mg_clock_gating_enable() local
193 if (pi->mgcgtssm) in cypress_mg_clock_gating_enable()
214 if (pi->mgcgtssm) in cypress_mg_clock_gating_enable()
222 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in cypress_enable_spread_spectrum() local
225 if (pi->sclk_ss) in cypress_enable_spread_spectrum()
[all …]
/linux/drivers/md/
H A Ddm-ps-io-affinity.c29 struct path_info *pi = s->path_map[cpu]; in ioa_free_path() local
31 if (!pi) in ioa_free_path()
34 if (refcount_dec_and_test(&pi->refcount)) { in ioa_free_path()
36 free_cpumask_var(pi->cpumask); in ioa_free_path()
37 kfree(pi); in ioa_free_path()
47 struct path_info *pi = NULL; in ioa_add_path() local
56 pi = kzalloc_obj(*pi); in ioa_add_path()
57 if (!pi) { in ioa_add_path()
62 pi->path = path; in ioa_add_path()
63 path->pscontext = pi; in ioa_add_path()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpno.c40 static int brcmf_pno_store_request(struct brcmf_pno_info *pi, in brcmf_pno_store_request() argument
43 if (WARN(pi->n_reqs == BRCMF_PNO_MAX_BUCKETS, in brcmf_pno_store_request()
48 mutex_lock(&pi->req_lock); in brcmf_pno_store_request()
49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request()
50 mutex_unlock(&pi->req_lock); in brcmf_pno_store_request()
54 static int brcmf_pno_remove_request(struct brcmf_pno_info *pi, u64 reqid) in brcmf_pno_remove_request() argument
58 mutex_lock(&pi->req_lock); in brcmf_pno_remove_request()
61 if (pi->n_reqs == 0) in brcmf_pno_remove_request()
65 for (i = 0; i < pi->n_reqs; i++) { in brcmf_pno_remove_request()
66 if (pi->reqs[i]->reqid == reqid) in brcmf_pno_remove_request()
[all …]
/linux/drivers/misc/pvpanic/
H A Dpvpanic.c89 static void pvpanic_synchronize_sys_off_handler(struct device *dev, struct pvpanic_instance *pi) in pvpanic_synchronize_sys_off_handler() argument
99 if (!(pi->events & PVPANIC_SHUTDOWN) == !pi->sys_off) in pvpanic_synchronize_sys_off_handler()
102 if (!pi->sys_off) { in pvpanic_synchronize_sys_off_handler()
108 pi->sys_off = sys_off; in pvpanic_synchronize_sys_off_handler()
110 unregister_sys_off_handler(pi->sys_off); in pvpanic_synchronize_sys_off_handler()
111 pi->sys_off = NULL; in pvpanic_synchronize_sys_off_handler()
118 struct pvpanic_instance *pi = param; in pvpanic_remove() local
122 if (pi_cur == pi) { in pvpanic_remove()
129 unregister_sys_off_handler(pi->sys_off); in pvpanic_remove()
134 struct pvpanic_instance *pi = dev_get_drvdata(dev); in capability_show() local
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsched.c41 static int t4_sched_class_fw_cmd(struct port_info *pi, in t4_sched_class_fw_cmd() argument
45 struct adapter *adap = pi->adapter; in t4_sched_class_fw_cmd()
46 struct sched_table *s = pi->sched_tbl; in t4_sched_class_fw_cmd()
71 static int t4_sched_bind_unbind_op(struct port_info *pi, void *arg, in t4_sched_bind_unbind_op() argument
74 struct adapter *adap = pi->adapter; in t4_sched_bind_unbind_op()
108 err = cxgb4_ethofld_send_flowc(adap->port[pi->port_id], in t4_sched_bind_unbind_op()
120 static void *t4_sched_entry_lookup(struct port_info *pi, in t4_sched_entry_lookup() argument
124 struct sched_table *s = pi->sched_tbl; in t4_sched_entry_lookup()
172 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_queue_lookup() local
174 struct adapter *adap = pi->adapter; in cxgb4_sched_queue_lookup()
[all …]
/linux/drivers/net/pse-pd/
H A Dpse_core.c30 * @ps: PSE PI supply of the PSE control
61 struct pse_pi *pi, in of_load_single_pse_pi_pairset() argument
74 pi->pairset[pairset_num].pinout = ALTERNATIVE_A; in of_load_single_pse_pi_pairset()
76 pi->pairset[pairset_num].pinout = ALTERNATIVE_B; in of_load_single_pse_pi_pairset()
87 pi->pairset[pairset_num].np = pairset_np; in of_load_single_pse_pi_pairset()
93 * of_load_pse_pi_pairsets - load PSE PI pairsets pinout and polarity
95 * @pi: a pointer of the PSE PI to fill
96 * @npairsets: the number of pairsets (1 or 2) used by the PI
101 struct pse_pi *pi, in of_load_pse_pi_pairsets() argument
114 ret = of_load_single_pse_pi_pairset(node, pi, i); in of_load_pse_pi_pairsets()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c9 * @pi: port information structure
16 ice_sched_add_root_node(struct ice_port_info *pi, in ice_sched_add_root_node() argument
22 if (!pi) in ice_sched_add_root_node()
25 hw = pi->hw; in ice_sched_add_root_node()
39 pi->root = root; in ice_sched_add_root_node()
163 * @pi: port information structure
171 ice_sched_add_node(struct ice_port_info *pi, u8 layer, in ice_sched_add_node() argument
181 if (!pi) in ice_sched_add_node()
184 hw = pi->hw; in ice_sched_add_node()
187 parent = ice_sched_find_node_by_teid(pi->root, in ice_sched_add_node()
[all …]
/linux/sound/aoa/soundbus/i2sbus/
H A Dpcm.c19 struct pcm_info **pi, struct pcm_info **other) in get_pcm_info() argument
22 if (pi) in get_pcm_info()
23 *pi = &i2sdev->in; in get_pcm_info()
27 if (pi) in get_pcm_info()
28 *pi = &i2sdev->out; in get_pcm_info()
74 struct pcm_info *pi, *other; in i2sbus_pcm_open() local
87 get_pcm_info(i2sdev, in, &pi, &other); in i2sbus_pcm_open()
89 hw = &pi->substream->runtime->hw; in i2sbus_pcm_open()
92 if (pi->active) { in i2sbus_pcm_open()
190 err = snd_pcm_hw_constraint_integer(pi in i2sbus_pcm_open()
223 struct pcm_info *pi; i2sbus_pcm_close() local
244 i2sbus_wait_for_stop(struct i2sbus_dev * i2sdev,struct pcm_info * pi) i2sbus_wait_for_stop() argument
277 struct pcm_info *pi; i2sbus_wait_for_stop_both() local
289 struct pcm_info *pi; i2sbus_hw_free() local
321 struct pcm_info *pi, *other; i2sbus_pcm_prepare() local
507 struct pcm_info *pi; i2sbus_pcm_trigger() local
578 struct pcm_info *pi; i2sbus_pcm_pointer() local
593 struct pcm_info *pi; handle_interrupt() local
[all...]

12345678910>>...24