Lines Matching refs:pubpi
97 #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
14116 if (NREV_GE(pi->pubpi.phy_rev, 16)) in wlc_phy_bist_check_phy()
14182 if (NREV_GE(pi->pubpi.phy_rev, 16)) { in wlc_phy_static_table_download_nphy()
14186 } else if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_static_table_download_nphy()
14190 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_static_table_download_nphy()
14209 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_tbl_init_nphy()
14277 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_tbl_init_nphy()
14357 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_config_nphy()
14367 NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4)) in wlc_phy_txpwrctrl_config_nphy()
14604 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6)) in wlc_phy_attach_nphy()
14607 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_attach_nphy()
14612 if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_attach_nphy()
14618 if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4)) in wlc_phy_attach_nphy()
14634 for (i = 0; i < pi->pubpi.phy_corenum; i++) in wlc_phy_attach_nphy()
14654 if ((pi->pubpi.radiorev == 3) || in get_rf_pwr_offset()
14655 (pi->pubpi.radiorev == 4) || in get_rf_pwr_offset()
14656 (pi->pubpi.radiorev == 6)) in get_rf_pwr_offset()
14660 else if (pi->pubpi.radiorev == 5) in get_rf_pwr_offset()
14664 else if ((pi->pubpi.radiorev == 7) in get_rf_pwr_offset()
14665 || (pi->pubpi.radiorev == in get_rf_pwr_offset()
14671 if ((pi->pubpi.radiorev == 3) || in get_rf_pwr_offset()
14672 (pi->pubpi.radiorev == 4) || in get_rf_pwr_offset()
14673 (pi->pubpi.radiorev == 6)) in get_rf_pwr_offset()
14677 else if ((pi->pubpi.radiorev == 7) in get_rf_pwr_offset()
14678 || (pi->pubpi.radiorev == in get_rf_pwr_offset()
14757 NREV_GE(pi->pubpi.phy_rev, in wlc_phy_set_rfseq_nphy()
14812 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrl_override_nphy_rev7()
15112 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_adjust_lnagaintbl_nphy()
15365 pi->pubpi.phy_corenum, 0x106, 16, in wlc_phy_workarounds_nphy_gainctrl_2057_rev6()
15583 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_workarounds_nphy_gainctrl()
15584 if (pi->pubpi.radiorev == 5) { in wlc_phy_workarounds_nphy_gainctrl()
15586 } else if (pi->pubpi.radiorev == 7) { in wlc_phy_workarounds_nphy_gainctrl()
15592 } else if ((pi->pubpi.radiorev == 3) in wlc_phy_workarounds_nphy_gainctrl()
15593 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_gainctrl()
15596 if (pi->pubpi.radiorev == 8) { in wlc_phy_workarounds_nphy_gainctrl()
15605 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_workarounds_nphy_gainctrl()
15615 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_gainctrl()
15616 if (pi->pubpi.radiorev == 11) { in wlc_phy_workarounds_nphy_gainctrl()
15701 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_workarounds_nphy_gainctrl()
15760 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_gainctrl()
15791 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_gainctrl()
15803 if ((pi->pubpi.radiorev == 11) && in wlc_phy_workarounds_nphy_gainctrl()
15811 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_workarounds_nphy_gainctrl()
15826 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_gainctrl()
15935 pi->pubpi.phy_corenum, 0x106, 16, in wlc_phy_workarounds_nphy_gainctrl()
16021 if (NREV_IS(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_gainctrl()
16101 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_workarounds_nphy_rev7()
16122 if (NREV_LE(pi->pubpi.phy_rev, 8)) { in wlc_phy_workarounds_nphy_rev7()
16127 if (NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_workarounds_nphy_rev7()
16162 if (((pi->pubpi.radiorev == 5) in wlc_phy_workarounds_nphy_rev7()
16164 || (pi->pubpi.radiorev == 7) in wlc_phy_workarounds_nphy_rev7()
16165 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16175 if ((pi->pubpi.radiorev == 5) && in wlc_phy_workarounds_nphy_rev7()
16185 } else if ((pi->pubpi.radiorev == 7) in wlc_phy_workarounds_nphy_rev7()
16186 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16209 if (pi->pubpi.radiorev == 5) { in wlc_phy_workarounds_nphy_rev7()
16276 if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6)) in wlc_phy_workarounds_nphy_rev7()
16280 if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) || in wlc_phy_workarounds_nphy_rev7()
16281 (pi->pubpi.radiorev == 6)) { in wlc_phy_workarounds_nphy_rev7()
16325 if ((pi->pubpi.radiorev == 3) in wlc_phy_workarounds_nphy_rev7()
16326 || (pi->pubpi.radiorev == 4) in wlc_phy_workarounds_nphy_rev7()
16327 || (pi->pubpi.radiorev == 6)) in wlc_phy_workarounds_nphy_rev7()
16338 if (pi->pubpi.radiorev == 5) { in wlc_phy_workarounds_nphy_rev7()
16361 } else if ((pi->pubpi.radiorev == 7) || in wlc_phy_workarounds_nphy_rev7()
16362 (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16391 if (pi->pubpi.radiorev != 5) { in wlc_phy_workarounds_nphy_rev7()
16401 if (pi->pubpi.radiorev == 4) { in wlc_phy_workarounds_nphy_rev7()
16502 if (pi->pubpi.radioid == BCM2057_ID) { in wlc_phy_workarounds_nphy_rev7()
16503 if ((pi->pubpi.radiorev == 5) in wlc_phy_workarounds_nphy_rev7()
16504 || (pi->pubpi.radiorev == 7) in wlc_phy_workarounds_nphy_rev7()
16505 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16689 if (NREV_GE(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_rev3()
16737 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_rev3()
16747 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_workarounds_nphy_rev3()
16762 if ((NREV_GE(pi->pubpi.phy_rev, 4)) && in wlc_phy_workarounds_nphy_rev3()
16856 if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_rev3()
16882 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_rev3()
16937 if (NREV_LT(pi->pubpi.phy_rev, 3)) { in wlc_phy_workarounds_nphy_rev1()
16943 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_rev1()
16972 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_rev1()
16979 } else if (NREV_IS(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_rev1()
16984 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_workarounds_nphy_rev1()
17000 if (NREV_LT(pi->pubpi.phy_rev, 3)) { in wlc_phy_workarounds_nphy_rev1()
17008 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_workarounds_nphy_rev1()
17026 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_workarounds_nphy()
17028 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_workarounds_nphy()
17063 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17064 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17071 if (pi->pubpi.radiorev != 5) in wlc_phy_ipa_internal_tssi_setup_nphy()
17075 if (!NREV_IS(pi->pubpi.phy_rev, 7)) in wlc_phy_ipa_internal_tssi_setup_nphy()
17089 if (pi->pubpi.radiorev != 5) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17090 if (!NREV_IS(pi->pubpi.phy_rev, 7)) in wlc_phy_ipa_internal_tssi_setup_nphy()
17116 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17136 if (pi->pubpi.radiorev != 5) in wlc_phy_ipa_internal_tssi_setup_nphy()
17139 if (NREV_GE(pi->pubpi.phy_rev, 5)) in wlc_phy_ipa_internal_tssi_setup_nphy()
17170 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrl_override_nphy()
17417 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17421 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17435 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17439 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17442 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_idle_tssi_nphy()
17584 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17662 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_pwr_setup_nphy()
17666 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txpwrctrl_pwr_setup_nphy()
17711 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17718 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17721 else if (NREV_GT(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17747 if (NREV_LT(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_pwr_setup_nphy()
17776 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_get_ipa_gaintbl_nphy()
17777 if ((pi->pubpi.radiorev == 4) in wlc_phy_get_ipa_gaintbl_nphy()
17778 || (pi->pubpi.radiorev == 6)) in wlc_phy_get_ipa_gaintbl_nphy()
17781 else if (pi->pubpi.radiorev == 3) in wlc_phy_get_ipa_gaintbl_nphy()
17784 else if (pi->pubpi.radiorev == 5) in wlc_phy_get_ipa_gaintbl_nphy()
17787 else if ((pi->pubpi.radiorev == 7) in wlc_phy_get_ipa_gaintbl_nphy()
17788 || (pi->pubpi.radiorev == 8)) in wlc_phy_get_ipa_gaintbl_nphy()
17791 } else if (NREV_IS(pi->pubpi.phy_rev, 6)) { in wlc_phy_get_ipa_gaintbl_nphy()
17795 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_get_ipa_gaintbl_nphy()
17802 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_get_ipa_gaintbl_nphy()
17803 if ((pi->pubpi.radiorev == 3) || in wlc_phy_get_ipa_gaintbl_nphy()
17804 (pi->pubpi.radiorev == 4) || in wlc_phy_get_ipa_gaintbl_nphy()
17805 (pi->pubpi.radiorev == 6)) in wlc_phy_get_ipa_gaintbl_nphy()
17807 else if ((pi->pubpi.radiorev == 7) in wlc_phy_get_ipa_gaintbl_nphy()
17808 || (pi->pubpi.radiorev == 8)) in wlc_phy_get_ipa_gaintbl_nphy()
17825 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restore_rssical_nphy()
17876 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restore_rssical_nphy()
17956 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_precal_txgain_nphy()
17957 if ((pi->pubpi.radiorev == 3) || in wlc_phy_precal_txgain_nphy()
17958 (pi->pubpi.radiorev == 4) || in wlc_phy_precal_txgain_nphy()
17959 (pi->pubpi.radiorev == 6)) { in wlc_phy_precal_txgain_nphy()
17982 } else if (NREV_LT(pi->pubpi.phy_rev, 5)) { in wlc_phy_precal_txgain_nphy()
17994 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_precal_txgain_nphy()
18011 } else if (NREV_IS(pi->pubpi.phy_rev, 6)) { in wlc_phy_precal_txgain_nphy()
18042 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rfctrlintc_override_nphy()
18043 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rfctrlintc_override_nphy()
18051 if (NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18068 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18125 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18159 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18212 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18285 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_txgainctrl_nphy()
18333 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_cal_txgainctrl_nphy()
18366 if (NREV_IS(pi->pubpi.phy_rev, 4) && in wlc_phy_cal_txgainctrl_nphy()
18372 if (NREV_GE(pi->pubpi.phy_rev, 5) && in wlc_phy_cal_txgainctrl_nphy()
18444 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_savecal_nphy()
18447 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_savecal_nphy()
18501 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_savecal_nphy()
18504 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_savecal_nphy()
18553 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_savecal_nphy()
18614 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_restorecal_nphy()
18633 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_restorecal_nphy()
18637 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restorecal_nphy()
18640 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_restorecal_nphy()
18702 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restorecal_nphy()
18705 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_restorecal_nphy()
18768 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restorecal_nphy()
18829 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_coeff_setup_nphy()
18849 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_txpwrctrl_coeff_setup_nphy()
18863 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_txlpfbw_nphy()
18899 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_adjust_rx_analpfbw_nphy()
18977 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_adjust_crsminpwr_nphy()
19032 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_spurwar_nphy()
19212 if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) && in wlc_phy_init_nphy()
19239 (NREV_GE(pi->pubpi.phy_rev, 7) || in wlc_phy_init_nphy()
19240 (NREV_GE(pi->pubpi.phy_rev, 5) in wlc_phy_init_nphy()
19252 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19255 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_init_nphy()
19269 if (NREV_LT(pi->pubpi.phy_rev, 6)) { in wlc_phy_init_nphy()
19276 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19283 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_init_nphy()
19285 else if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_init_nphy()
19302 if (NREV_LT(pi->pubpi.phy_rev, 8)) in wlc_phy_init_nphy()
19307 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_init_nphy()
19313 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_init_nphy()
19325 } else if (NREV_GE(pi->pubpi.phy_rev, 5)) { in wlc_phy_init_nphy()
19360 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19371 if (NREV_IS(pi->pubpi.phy_rev, 3)) in wlc_phy_init_nphy()
19374 else if (NREV_IS(pi->pubpi.phy_rev, 4)) in wlc_phy_init_nphy()
19384 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_init_nphy()
19385 if (pi->pubpi.radiorev == 5) in wlc_phy_init_nphy()
19388 else if (pi->pubpi.radiorev == 3) in wlc_phy_init_nphy()
19392 if (NREV_GE(pi->pubpi.phy_rev, 5) && in wlc_phy_init_nphy()
19410 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_init_nphy()
19469 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19501 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19540 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6)) in wlc_phy_init_nphy()
19575 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_pa_override_nphy()
19577 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_pa_override_nphy()
19604 if (NREV_LE(pi->pubpi.phy_rev, 2)) in wlc_phy_stf_chain_upd_nphy()
19610 if (NREV_LE(pi->pubpi.phy_rev, 2)) in wlc_phy_stf_chain_upd_nphy()
19656 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rxcore_setstate_nphy()
19685 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rxcore_setstate_nphy()
19740 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_radio_init_2057()
19742 } else if (NREV_IS(pi->pubpi.phy_rev, 8) in wlc_phy_radio_init_2057()
19743 || NREV_IS(pi->pubpi.phy_rev, 9)) { in wlc_phy_radio_init_2057()
19744 switch (pi->pubpi.radiorev) { in wlc_phy_radio_init_2057()
19747 if (NREV_IS(pi->pubpi.phy_rev, 8)) in wlc_phy_radio_init_2057()
19749 else if (NREV_IS(pi->pubpi.phy_rev, 9)) in wlc_phy_radio_init_2057()
19776 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_radio205x_rcal()
19778 if (pi->pubpi.radiorev == 5) { in wlc_phy_radio205x_rcal()
19811 if (pi->pubpi.radiorev == 5) { in wlc_phy_radio205x_rcal()
19818 if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) { in wlc_phy_radio205x_rcal()
19826 } else if (NREV_IS(pi->pubpi.phy_rev, 3)) { in wlc_phy_radio205x_rcal()
19885 chip43226_6362A0 = ((pi->pubpi.radiorev == 3) in wlc_phy_radio2057_rccal()
19886 || (pi->pubpi.radiorev == 4) in wlc_phy_radio2057_rccal()
19887 || (pi->pubpi.radiorev == 6)); in wlc_phy_radio2057_rccal()
19987 if (NREV_IS(pi->pubpi.phy_rev, 3)) { in wlc_phy_radio_init_2056()
19991 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_radio_init_2056()
19996 switch (pi->pubpi.radiorev) { in wlc_phy_radio_init_2056()
20147 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_switch_radio_nphy()
20156 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_switch_radio_nphy()
20173 if (NREV_GE(pi->pubpi.phy_rev, 3) in wlc_phy_switch_radio_nphy()
20174 && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_switch_radio_nphy()
20219 if (NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_switch_radio_nphy()
20242 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chan2freq_nphy()
20244 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_chan2freq_nphy()
20249 } else if (NREV_IS(pi->pubpi.phy_rev, 8) in wlc_phy_chan2freq_nphy()
20250 || NREV_IS(pi->pubpi.phy_rev, 9)) { in wlc_phy_chan2freq_nphy()
20251 switch (pi->pubpi.radiorev) { in wlc_phy_chan2freq_nphy()
20255 if (pi->pubpi.radiover == 0x0) { in wlc_phy_chan2freq_nphy()
20262 } else if (pi->pubpi.radiover == 0x1) { in wlc_phy_chan2freq_nphy()
20289 } else if (NREV_IS(pi->pubpi.phy_rev, 16)) { in wlc_phy_chan2freq_nphy()
20298 if (pi->pubpi.radiorev == 5) { in wlc_phy_chan2freq_nphy()
20312 if (pi->pubpi.radiorev == 5) { in wlc_phy_chan2freq_nphy()
20320 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_chan2freq_nphy()
20321 if (NREV_IS(pi->pubpi.phy_rev, 3)) { in wlc_phy_chan2freq_nphy()
20324 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_chan2freq_nphy()
20327 } else if (NREV_IS(pi->pubpi.phy_rev, 5) in wlc_phy_chan2freq_nphy()
20328 || NREV_IS(pi->pubpi.phy_rev, 6)) { in wlc_phy_chan2freq_nphy()
20329 switch (pi->pubpi.radiorev) { in wlc_phy_chan2freq_nphy()
20562 if (NREV_IS(pi->pubpi.phy_rev, 3)) in wlc_phy_chanspec_radio2056_setup()
20564 else if (NREV_IS(pi->pubpi.phy_rev, 4)) in wlc_phy_chanspec_radio2056_setup()
20567 switch (pi->pubpi.radiorev) { in wlc_phy_chanspec_radio2056_setup()
20657 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_chanspec_radio2056_setup()
20659 if (NREV_GE(pi->pubpi.phy_rev, 5)) { in wlc_phy_chanspec_radio2056_setup()
20725 if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6) in wlc_phy_chanspec_radio2056_setup()
20766 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_chanspec_radio2056_setup()
20809 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_radio205x_vcocal_nphy()
20815 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_radio205x_vcocal_nphy()
20837 if (pi->pubpi.radiorev == 5) { in wlc_phy_chanspec_radio2057_setup()
20946 if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) { in wlc_phy_chanspec_radio2057_setup()
20965 } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) || in wlc_phy_chanspec_radio2057_setup()
20966 (pi->pubpi.radiorev == 8)) { in wlc_phy_chanspec_radio2057_setup()
20990 if (pi->pubpi.radiorev == 3) in wlc_phy_chanspec_radio2057_setup()
20993 if (pi->pubpi.radiorev == 5) in wlc_phy_chanspec_radio2057_setup()
20997 if (pi->pubpi.radiorev != 5) { in wlc_phy_chanspec_radio2057_setup()
21079 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_chanspec_nphy_setup()
21084 if (NREV_GE(pi->pubpi.phy_rev, 3) in wlc_phy_chanspec_nphy_setup()
21090 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chanspec_nphy_setup()
21097 } else if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chanspec_nphy_setup()
21153 if (NREV_LT(pi->pubpi.phy_rev, 7)) in wlc_phy_chanspec_nphy_setup()
21179 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_chanspec_set_nphy()
21183 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_chanspec_set_nphy()
21189 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_chanspec_set_nphy()
21190 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chanspec_set_nphy()
21192 if ((pi->pubpi.radiorev <= 4) in wlc_phy_chanspec_set_nphy()
21193 || (pi->pubpi.radiorev == 6)) { in wlc_phy_chanspec_set_nphy()
21206 (pi->pubpi.radiorev == 5) ? in wlc_phy_chanspec_set_nphy()
21242 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_antsel_init()
21245 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_antsel_init()
21372 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrl_override_1tomany_nphy()
21600 if (NREV_GE(pi->pubpi.phy_rev, 7)) in brcms_phy_wr_tx_mux()
21615 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in brcms_phy_wr_tx_mux()
21622 if (pi->pubpi.radioid == BCM2057_ID) in brcms_phy_wr_tx_mux()
21647 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rssisel_nphy()
21664 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rssisel_nphy()
21880 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_poll_rssi_nphy()
21898 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_poll_rssi_nphy()
21905 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_poll_rssi_nphy()
21929 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_poll_rssi_nphy()
21934 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_poll_rssi_nphy()
21969 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_tempsense_nphy()
22118 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_tempsense_nphy()
22131 if (NREV_LT(pi->pubpi.phy_rev, 7)) in wlc_phy_tempsense_nphy()
22135 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_tempsense_nphy()
22234 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_set_rssi_2055_vcm()
22346 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22357 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22371 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22379 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22387 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22399 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22414 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22434 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rssi_cal_nphy_rev3()
22453 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22503 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22561 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rssi_cal_nphy_rev3()
22659 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22670 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22680 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22723 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22965 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rssi_cal_nphy()
23100 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_runsamples_nphy()
23209 if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_stopplayback_nphy()
23227 uint phyrev = pi->pubpi.phy_rev; in brcms_phy_get_tx_pwrctrl_tbl()
23245 if (pi->pubpi.radiorev == 3) in brcms_phy_get_tx_pwrctrl_tbl()
23248 else if (pi->pubpi.radiorev == 5) in brcms_phy_get_tx_pwrctrl_tbl()
23283 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_get_tx_gain_nphy()
23294 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_get_tx_gain_nphy()
23315 uint phyrev = pi->pubpi.phy_rev; in wlc_phy_get_tx_gain_nphy()
23391 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_iqcal_gainparams_nphy()
23392 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_iqcal_gainparams_nphy()
23399 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_iqcal_gainparams_nphy()
23442 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_radio_setup_nphy()
23468 if (pi->pubpi.radiorev != 5) in wlc_phy_txcal_radio_setup_nphy()
23517 if (pi->pubpi.radiorev != 5) in wlc_phy_txcal_radio_setup_nphy()
23538 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_radio_setup_nphy()
23672 if (NREV_LT(pi->pubpi.phy_rev, 5)) in wlc_phy_txcal_radio_setup_nphy()
23737 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_txcal_radio_setup_nphy()
23753 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_radio_cleanup_nphy()
23782 if (pi->pubpi.radiorev != 5) in wlc_phy_txcal_radio_cleanup_nphy()
23798 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_radio_cleanup_nphy()
23887 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_physetup_nphy()
23959 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_txcal_physetup_nphy()
23960 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_txcal_physetup_nphy()
23971 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_physetup_nphy()
23995 } else if (NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_txcal_physetup_nphy()
24044 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_phycleanup_nphy()
24062 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_txcal_phycleanup_nphy()
24063 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_txcal_phycleanup_nphy()
24074 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_phycleanup_nphy()
24097 } else if (NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_txcal_phycleanup_nphy()
24224 if (NREV_GT(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwr_idx_cur_set_nphy()
24254 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_papd_cal_setup_nphy()
24256 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_papd_cal_setup_nphy()
24257 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_papd_cal_setup_nphy()
24266 if (pi->pubpi.radiorev == 5) in wlc_phy_papd_cal_setup_nphy()
24268 else if ((pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24269 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24271 else if ((pi->pubpi.radiorev <= 4) in wlc_phy_papd_cal_setup_nphy()
24272 || (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_setup_nphy()
24275 if ((pi->pubpi.radiorev == 4) || in wlc_phy_papd_cal_setup_nphy()
24276 (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_setup_nphy()
24278 else if ((pi->pubpi.radiorev == 3) in wlc_phy_papd_cal_setup_nphy()
24279 || (pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24280 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24365 if ((pi->pubpi.radiorev == 3) || in wlc_phy_papd_cal_setup_nphy()
24366 (pi->pubpi.radiorev == 4) || in wlc_phy_papd_cal_setup_nphy()
24367 (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_setup_nphy()
24370 else if (pi->pubpi.radiorev == 5) in wlc_phy_papd_cal_setup_nphy()
24374 else if ((pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24375 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24400 if ((pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24401 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24507 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_papd_cal_cleanup_nphy()
24509 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_papd_cal_cleanup_nphy()
24526 if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_cleanup_nphy()
24571 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_papd_cal_cleanup_nphy()
24582 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_papd_cal_cleanup_nphy()
24583 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_papd_cal_cleanup_nphy()
24596 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_papd_cal_cleanup_nphy()
24689 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_a2_nphy()
24694 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a2_nphy()
24716 if ((pi->pubpi.radiorev <= 4) in wlc_phy_a2_nphy()
24717 || (pi->pubpi.radiorev == 6)) in wlc_phy_a2_nphy()
24733 if ((pi->pubpi.radiorev == 4) in wlc_phy_a2_nphy()
24734 || (pi->pubpi.radiorev == 6)) { in wlc_phy_a2_nphy()
24742 if ((pi->pubpi.radiorev == 5) in wlc_phy_a2_nphy()
24743 || (pi->pubpi.radiorev == 7) in wlc_phy_a2_nphy()
24744 || (pi->pubpi.radiorev == 8)) { in wlc_phy_a2_nphy()
24754 if ((pi->pubpi.radiorev == 5) in wlc_phy_a2_nphy()
24757 else if (((pi->pubpi.radiorev == 7) && in wlc_phy_a2_nphy()
24759 ((pi->pubpi.radiorev == 8) && in wlc_phy_a2_nphy()
24839 if (NREV_GE(pi->pubpi.phy_rev, 6) && in wlc_phy_a2_nphy()
24842 } else if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_a2_nphy()
24844 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_a2_nphy()
24895 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_a2_nphy()
24981 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a3_nphy()
24987 if (pi->pubpi.radiorev == 5) { in wlc_phy_a3_nphy()
24993 } else if ((pi->pubpi.radiorev == 7) in wlc_phy_a3_nphy()
24994 || (pi->pubpi.radiorev == 8)) { in wlc_phy_a3_nphy()
25104 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_a3_nphy()
25140 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) in wlc_phy_a4()
25158 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) { in wlc_phy_a4()
25172 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) { in wlc_phy_a4()
25175 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a4()
25177 if ((pi->pubpi.radiorev == 3) in wlc_phy_a4()
25178 || (pi->pubpi.radiorev == 4) in wlc_phy_a4()
25179 || (pi->pubpi.radiorev == 6)) { in wlc_phy_a4()
25182 } else if (pi->pubpi.radiorev == 5) { in wlc_phy_a4()
25193 } else if ((pi->pubpi.radiorev == 7) in wlc_phy_a4()
25194 || (pi->pubpi.radiorev == 8)) { in wlc_phy_a4()
25242 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_a4()
25246 if (NREV_LT(pi->pubpi.phy_rev, 7)) in wlc_phy_a4()
25249 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) { in wlc_phy_a4()
25252 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a4()
25254 if (pi->pubpi.radiorev == 3) in wlc_phy_a4()
25256 else if (pi->pubpi.radiorev == 5) in wlc_phy_a4()
25267 if ((pi->pubpi.radiorev == 3) || in wlc_phy_a4()
25268 (pi->pubpi.radiorev == 4) || in wlc_phy_a4()
25269 (pi->pubpi.radiorev == 6)) { in wlc_phy_a4()
25274 } else if (pi->pubpi.radiorev == 5) { in wlc_phy_a4()
25278 } else if ((pi->pubpi.radiorev == 7) || in wlc_phy_a4()
25279 (pi->pubpi.radiorev == 8)) { in wlc_phy_a4()
25286 if ((pi->pubpi.radiorev == 3) || in wlc_phy_a4()
25287 (pi->pubpi.radiorev == 4) || in wlc_phy_a4()
25288 (pi->pubpi.radiorev == 6)) in wlc_phy_a4()
25293 else if ((pi->pubpi.radiorev == 7) in wlc_phy_a4()
25294 || (pi->pubpi.radiorev == 8)) in wlc_phy_a4()
25316 if (NREV_LT(pi->pubpi.phy_rev, 5)) in wlc_phy_a4()
25352 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_a4()
25448 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_cal_perical_nphy_run()
25489 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_perical_nphy_run()
25497 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_perical_nphy_run()
25521 if (NREV_LE(pi->pubpi.phy_rev, 2) && in wlc_phy_cal_perical_nphy_run()
25558 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_perical_nphy_run()
25589 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_cal_perical_nphy_run()
25711 if (NREV_GE(pi->pubpi.phy_rev, 4)) { in wlc_phy_cal_txiqlo_nphy()
25736 if (!(NREV_GE(pi->pubpi.phy_rev, 6) || in wlc_phy_cal_txiqlo_nphy()
25737 (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi) in wlc_phy_cal_txiqlo_nphy()
25761 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_txiqlo_nphy()
25783 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25790 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25796 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_cal_txiqlo_nphy()
25812 max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25817 max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25837 cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25842 cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25851 if (NREV_GE(pi->pubpi.phy_rev, 6) || in wlc_phy_cal_txiqlo_nphy()
25852 (NREV_IS(pi->pubpi.phy_rev, 5) && in wlc_phy_cal_txiqlo_nphy()
25913 (NREV_LE(pi->pubpi.phy_rev, 2)) ? in wlc_phy_cal_txiqlo_nphy()
25924 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_cal_txiqlo_nphy()
25944 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25955 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25976 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_cal_txiqlo_nphy()
25982 if (NREV_GE(pi->pubpi.phy_rev, 4)) in wlc_phy_cal_txiqlo_nphy()
26062 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rx_iq_est_nphy()
26104 for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) { in wlc_phy_calc_rx_iq_comp_nphy()
26167 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_calc_rx_iq_comp_nphy()
26177 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_calc_rx_iq_comp_nphy()
26208 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_radio_setup_nphy()
26289 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26302 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26345 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26407 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26420 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26470 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26526 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_radio_cleanup_nphy()
26592 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_cleanup_nphy()
26607 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26624 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26653 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_cleanup_nphy()
26668 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26685 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26711 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_physetup_nphy()
26727 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26742 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26759 if (NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26771 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26809 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26848 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_phycleanup_nphy()
26882 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26895 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26897 else if (NREV_GE(pi->pubpi.phy_rev, 4)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26901 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26906 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26914 hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ? in wlc_phy_rxcal_gainctrl_nphy_rev5()
26922 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
27023 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_gainctrl_nphy_rev5()
27104 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rc_sweep_nphy()
27330 if (NREV_GE(pi->pubpi.phy_rev, 4)) { in wlc_phy_cal_rxiq_nphy_rev3()
27348 for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) { in wlc_phy_cal_rxiq_nphy_rev3()
27377 && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_cal_rxiq_nphy_rev3()
27412 for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) { in wlc_phy_cal_rxiq_nphy_rev3()
27449 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_rxiq_nphy_rev3()
27462 if (NREV_GE(pi->pubpi.phy_rev, 4)) in wlc_phy_cal_rxiq_nphy_rev3()
27497 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_cal_rxiq_nphy_rev2()
27691 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_rxiq_nphy()
27694 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_rxiq_nphy()
27731 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwr_fixpower_nphy()
27733 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_fixpower_nphy()
27736 if (NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_txpwr_fixpower_nphy()
27748 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_txpwr_fixpower_nphy()
27749 uint phyrev = pi->pubpi.phy_rev; in wlc_phy_txpwr_fixpower_nphy()
28002 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_apply_nphy()
28017 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_apply_nphy()
28082 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_apply_nphy()
28177 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28180 for (core = 0; core < pi->pubpi.phy_corenum; in wlc_phy_txpwrctrl_enable_nphy()
28199 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_enable_nphy()
28208 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28215 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28217 else if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28220 if (NREV_LT(pi->pubpi.phy_rev, 2) && in wlc_phy_txpwrctrl_enable_nphy()
28236 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28244 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txpwrctrl_enable_nphy()
28249 if (NREV_GT(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwrctrl_enable_nphy()
28255 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28267 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28274 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28276 else if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28279 if (NREV_LT(pi->pubpi.phy_rev, 2) && in wlc_phy_txpwrctrl_enable_nphy()
28324 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_txpwr_index_nphy()
28335 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwr_index_nphy()
28385 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwr_index_nphy()
28435 if (NREV_IS(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwr_index_nphy()
28442 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_index_nphy()
28452 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_index_nphy()
28492 if (NREV_IS(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwr_index_nphy()