• Home
  • Raw
  • Download

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()
14606 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6)) in wlc_phy_attach_nphy()
14609 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_attach_nphy()
14614 if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_attach_nphy()
14620 if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4)) in wlc_phy_attach_nphy()
14636 for (i = 0; i < pi->pubpi.phy_corenum; i++) in wlc_phy_attach_nphy()
14659 if ((pi->pubpi.radiorev == 3) || in get_rf_pwr_offset()
14660 (pi->pubpi.radiorev == 4) || in get_rf_pwr_offset()
14661 (pi->pubpi.radiorev == 6)) in get_rf_pwr_offset()
14665 else if (pi->pubpi.radiorev == 5) in get_rf_pwr_offset()
14669 else if ((pi->pubpi.radiorev == 7) in get_rf_pwr_offset()
14670 || (pi->pubpi.radiorev == in get_rf_pwr_offset()
14676 if ((pi->pubpi.radiorev == 3) || in get_rf_pwr_offset()
14677 (pi->pubpi.radiorev == 4) || in get_rf_pwr_offset()
14678 (pi->pubpi.radiorev == 6)) in get_rf_pwr_offset()
14682 else if ((pi->pubpi.radiorev == 7) in get_rf_pwr_offset()
14683 || (pi->pubpi.radiorev == in get_rf_pwr_offset()
14762 NREV_GE(pi->pubpi.phy_rev, in wlc_phy_set_rfseq_nphy()
14817 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrl_override_nphy_rev7()
15117 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_adjust_lnagaintbl_nphy()
15370 pi->pubpi.phy_corenum, 0x106, 16, in wlc_phy_workarounds_nphy_gainctrl_2057_rev6()
15588 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_workarounds_nphy_gainctrl()
15589 if (pi->pubpi.radiorev == 5) { in wlc_phy_workarounds_nphy_gainctrl()
15591 } else if (pi->pubpi.radiorev == 7) { in wlc_phy_workarounds_nphy_gainctrl()
15597 } else if ((pi->pubpi.radiorev == 3) in wlc_phy_workarounds_nphy_gainctrl()
15598 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_gainctrl()
15601 if (pi->pubpi.radiorev == 8) { in wlc_phy_workarounds_nphy_gainctrl()
15610 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_workarounds_nphy_gainctrl()
15620 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_gainctrl()
15621 if (pi->pubpi.radiorev == 11) { in wlc_phy_workarounds_nphy_gainctrl()
15706 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_workarounds_nphy_gainctrl()
15765 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_gainctrl()
15796 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_gainctrl()
15808 if ((pi->pubpi.radiorev == 11) && in wlc_phy_workarounds_nphy_gainctrl()
15816 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_workarounds_nphy_gainctrl()
15831 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_gainctrl()
15940 pi->pubpi.phy_corenum, 0x106, 16, in wlc_phy_workarounds_nphy_gainctrl()
16026 if (NREV_IS(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_gainctrl()
16106 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_workarounds_nphy_rev7()
16127 if (NREV_LE(pi->pubpi.phy_rev, 8)) { in wlc_phy_workarounds_nphy_rev7()
16132 if (NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_workarounds_nphy_rev7()
16167 if (((pi->pubpi.radiorev == 5) in wlc_phy_workarounds_nphy_rev7()
16169 || (pi->pubpi.radiorev == 7) in wlc_phy_workarounds_nphy_rev7()
16170 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16180 if ((pi->pubpi.radiorev == 5) && in wlc_phy_workarounds_nphy_rev7()
16190 } else if ((pi->pubpi.radiorev == 7) in wlc_phy_workarounds_nphy_rev7()
16191 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16214 if (pi->pubpi.radiorev == 5) { in wlc_phy_workarounds_nphy_rev7()
16281 if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6)) in wlc_phy_workarounds_nphy_rev7()
16285 if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) || in wlc_phy_workarounds_nphy_rev7()
16286 (pi->pubpi.radiorev == 6)) { in wlc_phy_workarounds_nphy_rev7()
16330 if ((pi->pubpi.radiorev == 3) in wlc_phy_workarounds_nphy_rev7()
16331 || (pi->pubpi.radiorev == 4) in wlc_phy_workarounds_nphy_rev7()
16332 || (pi->pubpi.radiorev == 6)) in wlc_phy_workarounds_nphy_rev7()
16343 if (pi->pubpi.radiorev == 5) { in wlc_phy_workarounds_nphy_rev7()
16366 } else if ((pi->pubpi.radiorev == 7) || in wlc_phy_workarounds_nphy_rev7()
16367 (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16396 if (pi->pubpi.radiorev != 5) { in wlc_phy_workarounds_nphy_rev7()
16406 if (pi->pubpi.radiorev == 4) { in wlc_phy_workarounds_nphy_rev7()
16507 if (pi->pubpi.radioid == BCM2057_ID) { in wlc_phy_workarounds_nphy_rev7()
16508 if ((pi->pubpi.radiorev == 5) in wlc_phy_workarounds_nphy_rev7()
16509 || (pi->pubpi.radiorev == 7) in wlc_phy_workarounds_nphy_rev7()
16510 || (pi->pubpi.radiorev == 8)) { in wlc_phy_workarounds_nphy_rev7()
16694 if (NREV_GE(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_rev3()
16742 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_rev3()
16752 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_workarounds_nphy_rev3()
16767 if ((NREV_GE(pi->pubpi.phy_rev, 4)) && in wlc_phy_workarounds_nphy_rev3()
16861 if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_workarounds_nphy_rev3()
16887 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_workarounds_nphy_rev3()
16942 if (NREV_LT(pi->pubpi.phy_rev, 3)) { in wlc_phy_workarounds_nphy_rev1()
16948 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_rev1()
16977 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_rev1()
16984 } else if (NREV_IS(pi->pubpi.phy_rev, 2)) { in wlc_phy_workarounds_nphy_rev1()
16989 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_workarounds_nphy_rev1()
17005 if (NREV_LT(pi->pubpi.phy_rev, 3)) { in wlc_phy_workarounds_nphy_rev1()
17013 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_workarounds_nphy_rev1()
17031 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_workarounds_nphy()
17033 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_workarounds_nphy()
17068 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17069 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17076 if (pi->pubpi.radiorev != 5) in wlc_phy_ipa_internal_tssi_setup_nphy()
17080 if (!NREV_IS(pi->pubpi.phy_rev, 7)) in wlc_phy_ipa_internal_tssi_setup_nphy()
17094 if (pi->pubpi.radiorev != 5) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17095 if (!NREV_IS(pi->pubpi.phy_rev, 7)) in wlc_phy_ipa_internal_tssi_setup_nphy()
17121 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_ipa_internal_tssi_setup_nphy()
17141 if (pi->pubpi.radiorev != 5) in wlc_phy_ipa_internal_tssi_setup_nphy()
17144 if (NREV_GE(pi->pubpi.phy_rev, 5)) in wlc_phy_ipa_internal_tssi_setup_nphy()
17175 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrl_override_nphy()
17422 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17426 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17440 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17444 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_idle_tssi_nphy()
17447 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_idle_tssi_nphy()
17589 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17667 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_pwr_setup_nphy()
17671 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txpwrctrl_pwr_setup_nphy()
17716 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17723 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17726 else if (NREV_GT(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwrctrl_pwr_setup_nphy()
17752 if (NREV_LT(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_pwr_setup_nphy()
17781 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_get_ipa_gaintbl_nphy()
17782 if ((pi->pubpi.radiorev == 4) in wlc_phy_get_ipa_gaintbl_nphy()
17783 || (pi->pubpi.radiorev == 6)) in wlc_phy_get_ipa_gaintbl_nphy()
17786 else if (pi->pubpi.radiorev == 3) in wlc_phy_get_ipa_gaintbl_nphy()
17789 else if (pi->pubpi.radiorev == 5) in wlc_phy_get_ipa_gaintbl_nphy()
17792 else if ((pi->pubpi.radiorev == 7) in wlc_phy_get_ipa_gaintbl_nphy()
17793 || (pi->pubpi.radiorev == 8)) in wlc_phy_get_ipa_gaintbl_nphy()
17796 } else if (NREV_IS(pi->pubpi.phy_rev, 6)) { in wlc_phy_get_ipa_gaintbl_nphy()
17800 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_get_ipa_gaintbl_nphy()
17807 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_get_ipa_gaintbl_nphy()
17808 if ((pi->pubpi.radiorev == 3) || in wlc_phy_get_ipa_gaintbl_nphy()
17809 (pi->pubpi.radiorev == 4) || in wlc_phy_get_ipa_gaintbl_nphy()
17810 (pi->pubpi.radiorev == 6)) in wlc_phy_get_ipa_gaintbl_nphy()
17812 else if ((pi->pubpi.radiorev == 7) in wlc_phy_get_ipa_gaintbl_nphy()
17813 || (pi->pubpi.radiorev == 8)) in wlc_phy_get_ipa_gaintbl_nphy()
17830 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restore_rssical_nphy()
17881 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restore_rssical_nphy()
17961 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_precal_txgain_nphy()
17962 if ((pi->pubpi.radiorev == 3) || in wlc_phy_precal_txgain_nphy()
17963 (pi->pubpi.radiorev == 4) || in wlc_phy_precal_txgain_nphy()
17964 (pi->pubpi.radiorev == 6)) { in wlc_phy_precal_txgain_nphy()
17987 } else if (NREV_LT(pi->pubpi.phy_rev, 5)) { in wlc_phy_precal_txgain_nphy()
17999 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_precal_txgain_nphy()
18016 } else if (NREV_IS(pi->pubpi.phy_rev, 6)) { in wlc_phy_precal_txgain_nphy()
18047 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rfctrlintc_override_nphy()
18048 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rfctrlintc_override_nphy()
18056 if (NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18073 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18130 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18164 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18217 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrlintc_override_nphy()
18290 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_txgainctrl_nphy()
18338 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_cal_txgainctrl_nphy()
18371 if (NREV_IS(pi->pubpi.phy_rev, 4) && in wlc_phy_cal_txgainctrl_nphy()
18377 if (NREV_GE(pi->pubpi.phy_rev, 5) && in wlc_phy_cal_txgainctrl_nphy()
18449 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_savecal_nphy()
18452 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_savecal_nphy()
18506 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_savecal_nphy()
18509 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_savecal_nphy()
18558 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_savecal_nphy()
18619 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_restorecal_nphy()
18638 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_restorecal_nphy()
18642 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restorecal_nphy()
18645 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_restorecal_nphy()
18707 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restorecal_nphy()
18710 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_restorecal_nphy()
18773 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_restorecal_nphy()
18834 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_coeff_setup_nphy()
18854 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_txpwrctrl_coeff_setup_nphy()
18868 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_txlpfbw_nphy()
18904 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_adjust_rx_analpfbw_nphy()
18982 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_adjust_crsminpwr_nphy()
19037 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_spurwar_nphy()
19217 if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) && in wlc_phy_init_nphy()
19244 (NREV_GE(pi->pubpi.phy_rev, 7) || in wlc_phy_init_nphy()
19245 (NREV_GE(pi->pubpi.phy_rev, 5) in wlc_phy_init_nphy()
19257 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19260 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_init_nphy()
19274 if (NREV_LT(pi->pubpi.phy_rev, 6)) { in wlc_phy_init_nphy()
19281 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19288 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_init_nphy()
19290 else if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_init_nphy()
19307 if (NREV_LT(pi->pubpi.phy_rev, 8)) in wlc_phy_init_nphy()
19312 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_init_nphy()
19318 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_init_nphy()
19330 } else if (NREV_GE(pi->pubpi.phy_rev, 5)) { in wlc_phy_init_nphy()
19365 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19376 if (NREV_IS(pi->pubpi.phy_rev, 3)) in wlc_phy_init_nphy()
19379 else if (NREV_IS(pi->pubpi.phy_rev, 4)) in wlc_phy_init_nphy()
19389 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_init_nphy()
19390 if (pi->pubpi.radiorev == 5) in wlc_phy_init_nphy()
19393 else if (pi->pubpi.radiorev == 3) in wlc_phy_init_nphy()
19397 if (NREV_GE(pi->pubpi.phy_rev, 5) && in wlc_phy_init_nphy()
19415 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_init_nphy()
19474 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19506 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_init_nphy()
19545 if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6)) in wlc_phy_init_nphy()
19580 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_pa_override_nphy()
19582 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_pa_override_nphy()
19609 if (NREV_LE(pi->pubpi.phy_rev, 2)) in wlc_phy_stf_chain_upd_nphy()
19615 if (NREV_LE(pi->pubpi.phy_rev, 2)) in wlc_phy_stf_chain_upd_nphy()
19661 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rxcore_setstate_nphy()
19690 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rxcore_setstate_nphy()
19745 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_radio_init_2057()
19747 } else if (NREV_IS(pi->pubpi.phy_rev, 8) in wlc_phy_radio_init_2057()
19748 || NREV_IS(pi->pubpi.phy_rev, 9)) { in wlc_phy_radio_init_2057()
19749 switch (pi->pubpi.radiorev) { in wlc_phy_radio_init_2057()
19752 if (NREV_IS(pi->pubpi.phy_rev, 8)) in wlc_phy_radio_init_2057()
19754 else if (NREV_IS(pi->pubpi.phy_rev, 9)) in wlc_phy_radio_init_2057()
19781 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_radio205x_rcal()
19783 if (pi->pubpi.radiorev == 5) { in wlc_phy_radio205x_rcal()
19816 if (pi->pubpi.radiorev == 5) { in wlc_phy_radio205x_rcal()
19823 if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) { in wlc_phy_radio205x_rcal()
19831 } else if (NREV_IS(pi->pubpi.phy_rev, 3)) { in wlc_phy_radio205x_rcal()
19890 chip43226_6362A0 = ((pi->pubpi.radiorev == 3) in wlc_phy_radio2057_rccal()
19891 || (pi->pubpi.radiorev == 4) in wlc_phy_radio2057_rccal()
19892 || (pi->pubpi.radiorev == 6)); in wlc_phy_radio2057_rccal()
19992 if (NREV_IS(pi->pubpi.phy_rev, 3)) { in wlc_phy_radio_init_2056()
19996 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_radio_init_2056()
20001 switch (pi->pubpi.radiorev) { in wlc_phy_radio_init_2056()
20152 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_switch_radio_nphy()
20161 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_switch_radio_nphy()
20178 if (NREV_GE(pi->pubpi.phy_rev, 3) in wlc_phy_switch_radio_nphy()
20179 && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_switch_radio_nphy()
20224 if (NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_switch_radio_nphy()
20247 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chan2freq_nphy()
20249 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_chan2freq_nphy()
20254 } else if (NREV_IS(pi->pubpi.phy_rev, 8) in wlc_phy_chan2freq_nphy()
20255 || NREV_IS(pi->pubpi.phy_rev, 9)) { in wlc_phy_chan2freq_nphy()
20256 switch (pi->pubpi.radiorev) { in wlc_phy_chan2freq_nphy()
20260 if (pi->pubpi.radiover == 0x0) { in wlc_phy_chan2freq_nphy()
20267 } else if (pi->pubpi.radiover == 0x1) { in wlc_phy_chan2freq_nphy()
20294 } else if (NREV_IS(pi->pubpi.phy_rev, 16)) { in wlc_phy_chan2freq_nphy()
20303 if (pi->pubpi.radiorev == 5) { in wlc_phy_chan2freq_nphy()
20317 if (pi->pubpi.radiorev == 5) { in wlc_phy_chan2freq_nphy()
20325 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_chan2freq_nphy()
20326 if (NREV_IS(pi->pubpi.phy_rev, 3)) { in wlc_phy_chan2freq_nphy()
20329 } else if (NREV_IS(pi->pubpi.phy_rev, 4)) { in wlc_phy_chan2freq_nphy()
20332 } else if (NREV_IS(pi->pubpi.phy_rev, 5) in wlc_phy_chan2freq_nphy()
20333 || NREV_IS(pi->pubpi.phy_rev, 6)) { in wlc_phy_chan2freq_nphy()
20334 switch (pi->pubpi.radiorev) { in wlc_phy_chan2freq_nphy()
20567 if (NREV_IS(pi->pubpi.phy_rev, 3)) in wlc_phy_chanspec_radio2056_setup()
20569 else if (NREV_IS(pi->pubpi.phy_rev, 4)) in wlc_phy_chanspec_radio2056_setup()
20572 switch (pi->pubpi.radiorev) { in wlc_phy_chanspec_radio2056_setup()
20662 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_chanspec_radio2056_setup()
20664 if (NREV_GE(pi->pubpi.phy_rev, 5)) { in wlc_phy_chanspec_radio2056_setup()
20730 if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6) in wlc_phy_chanspec_radio2056_setup()
20771 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_chanspec_radio2056_setup()
20814 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_radio205x_vcocal_nphy()
20820 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_radio205x_vcocal_nphy()
20842 if (pi->pubpi.radiorev == 5) { in wlc_phy_chanspec_radio2057_setup()
20951 if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) { in wlc_phy_chanspec_radio2057_setup()
20970 } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) || in wlc_phy_chanspec_radio2057_setup()
20971 (pi->pubpi.radiorev == 8)) { in wlc_phy_chanspec_radio2057_setup()
20995 if (pi->pubpi.radiorev == 3) in wlc_phy_chanspec_radio2057_setup()
20998 if (pi->pubpi.radiorev == 5) in wlc_phy_chanspec_radio2057_setup()
21002 if (pi->pubpi.radiorev != 5) { in wlc_phy_chanspec_radio2057_setup()
21084 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_chanspec_nphy_setup()
21089 if (NREV_GE(pi->pubpi.phy_rev, 3) in wlc_phy_chanspec_nphy_setup()
21095 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chanspec_nphy_setup()
21102 } else if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chanspec_nphy_setup()
21158 if (NREV_LT(pi->pubpi.phy_rev, 7)) in wlc_phy_chanspec_nphy_setup()
21184 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_chanspec_set_nphy()
21188 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_chanspec_set_nphy()
21194 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_chanspec_set_nphy()
21195 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_chanspec_set_nphy()
21197 if ((pi->pubpi.radiorev <= 4) in wlc_phy_chanspec_set_nphy()
21198 || (pi->pubpi.radiorev == 6)) { in wlc_phy_chanspec_set_nphy()
21211 (pi->pubpi.radiorev == 5) ? in wlc_phy_chanspec_set_nphy()
21247 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_antsel_init()
21250 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_antsel_init()
21376 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rfctrl_override_1tomany_nphy()
21604 if (NREV_GE(pi->pubpi.phy_rev, 7)) in brcms_phy_wr_tx_mux()
21619 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in brcms_phy_wr_tx_mux()
21626 if (pi->pubpi.radioid == BCM2057_ID) in brcms_phy_wr_tx_mux()
21651 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rssisel_nphy()
21668 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rssisel_nphy()
21884 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_poll_rssi_nphy()
21902 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_poll_rssi_nphy()
21909 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_poll_rssi_nphy()
21933 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_poll_rssi_nphy()
21938 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_poll_rssi_nphy()
21973 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_tempsense_nphy()
22122 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_tempsense_nphy()
22135 if (NREV_LT(pi->pubpi.phy_rev, 7)) in wlc_phy_tempsense_nphy()
22139 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_tempsense_nphy()
22238 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_set_rssi_2055_vcm()
22350 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22361 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22375 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22383 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22391 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22403 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22418 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22438 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rssi_cal_nphy_rev3()
22457 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22507 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rssi_cal_nphy_rev3()
22565 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rssi_cal_nphy_rev3()
22663 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22674 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22684 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22727 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rssi_cal_nphy_rev3()
22969 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_rssi_cal_nphy()
23104 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_runsamples_nphy()
23213 if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_stopplayback_nphy()
23231 uint phyrev = pi->pubpi.phy_rev; in brcms_phy_get_tx_pwrctrl_tbl()
23249 if (pi->pubpi.radiorev == 3) in brcms_phy_get_tx_pwrctrl_tbl()
23252 else if (pi->pubpi.radiorev == 5) in brcms_phy_get_tx_pwrctrl_tbl()
23287 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_get_tx_gain_nphy()
23298 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_get_tx_gain_nphy()
23319 uint phyrev = pi->pubpi.phy_rev; in wlc_phy_get_tx_gain_nphy()
23395 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_iqcal_gainparams_nphy()
23396 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_iqcal_gainparams_nphy()
23403 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_iqcal_gainparams_nphy()
23446 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_radio_setup_nphy()
23472 if (pi->pubpi.radiorev != 5) in wlc_phy_txcal_radio_setup_nphy()
23521 if (pi->pubpi.radiorev != 5) in wlc_phy_txcal_radio_setup_nphy()
23542 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_radio_setup_nphy()
23676 if (NREV_LT(pi->pubpi.phy_rev, 5)) in wlc_phy_txcal_radio_setup_nphy()
23741 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_txcal_radio_setup_nphy()
23757 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_radio_cleanup_nphy()
23786 if (pi->pubpi.radiorev != 5) in wlc_phy_txcal_radio_cleanup_nphy()
23802 } else if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_radio_cleanup_nphy()
23891 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_physetup_nphy()
23963 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_txcal_physetup_nphy()
23964 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_txcal_physetup_nphy()
23975 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_physetup_nphy()
23999 } else if (NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_txcal_physetup_nphy()
24048 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txcal_phycleanup_nphy()
24066 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_txcal_phycleanup_nphy()
24067 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_txcal_phycleanup_nphy()
24078 if (NREV_IS(pi->pubpi.phy_rev, 7)) { in wlc_phy_txcal_phycleanup_nphy()
24101 } else if (NREV_GE(pi->pubpi.phy_rev, 8)) { in wlc_phy_txcal_phycleanup_nphy()
24228 if (NREV_GT(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwr_idx_cur_set_nphy()
24258 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_papd_cal_setup_nphy()
24260 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_papd_cal_setup_nphy()
24261 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_papd_cal_setup_nphy()
24270 if (pi->pubpi.radiorev == 5) in wlc_phy_papd_cal_setup_nphy()
24272 else if ((pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24273 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24275 else if ((pi->pubpi.radiorev <= 4) in wlc_phy_papd_cal_setup_nphy()
24276 || (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_setup_nphy()
24279 if ((pi->pubpi.radiorev == 4) || in wlc_phy_papd_cal_setup_nphy()
24280 (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_setup_nphy()
24282 else if ((pi->pubpi.radiorev == 3) in wlc_phy_papd_cal_setup_nphy()
24283 || (pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24284 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24369 if ((pi->pubpi.radiorev == 3) || in wlc_phy_papd_cal_setup_nphy()
24370 (pi->pubpi.radiorev == 4) || in wlc_phy_papd_cal_setup_nphy()
24371 (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_setup_nphy()
24374 else if (pi->pubpi.radiorev == 5) in wlc_phy_papd_cal_setup_nphy()
24378 else if ((pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24379 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24404 if ((pi->pubpi.radiorev == 7) in wlc_phy_papd_cal_setup_nphy()
24405 || (pi->pubpi.radiorev == 8)) in wlc_phy_papd_cal_setup_nphy()
24511 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_papd_cal_cleanup_nphy()
24513 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_papd_cal_cleanup_nphy()
24530 if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6)) in wlc_phy_papd_cal_cleanup_nphy()
24575 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_papd_cal_cleanup_nphy()
24586 if (NREV_IS(pi->pubpi.phy_rev, 7) in wlc_phy_papd_cal_cleanup_nphy()
24587 || NREV_GE(pi->pubpi.phy_rev, 8)) in wlc_phy_papd_cal_cleanup_nphy()
24600 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_papd_cal_cleanup_nphy()
24693 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_a2_nphy()
24698 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a2_nphy()
24720 if ((pi->pubpi.radiorev <= 4) in wlc_phy_a2_nphy()
24721 || (pi->pubpi.radiorev == 6)) in wlc_phy_a2_nphy()
24737 if ((pi->pubpi.radiorev == 4) in wlc_phy_a2_nphy()
24738 || (pi->pubpi.radiorev == 6)) { in wlc_phy_a2_nphy()
24746 if ((pi->pubpi.radiorev == 5) in wlc_phy_a2_nphy()
24747 || (pi->pubpi.radiorev == 7) in wlc_phy_a2_nphy()
24748 || (pi->pubpi.radiorev == 8)) { in wlc_phy_a2_nphy()
24758 if ((pi->pubpi.radiorev == 5) in wlc_phy_a2_nphy()
24761 else if (((pi->pubpi.radiorev == 7) && in wlc_phy_a2_nphy()
24763 ((pi->pubpi.radiorev == 8) && in wlc_phy_a2_nphy()
24843 if (NREV_GE(pi->pubpi.phy_rev, 6) && in wlc_phy_a2_nphy()
24846 } else if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_a2_nphy()
24848 } else if (NREV_IS(pi->pubpi.phy_rev, 5)) { in wlc_phy_a2_nphy()
24899 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_a2_nphy()
24985 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a3_nphy()
24991 if (pi->pubpi.radiorev == 5) { in wlc_phy_a3_nphy()
24997 } else if ((pi->pubpi.radiorev == 7) in wlc_phy_a3_nphy()
24998 || (pi->pubpi.radiorev == 8)) { in wlc_phy_a3_nphy()
25108 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_a3_nphy()
25144 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) in wlc_phy_a4()
25162 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) { in wlc_phy_a4()
25176 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) { in wlc_phy_a4()
25179 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a4()
25181 if ((pi->pubpi.radiorev == 3) in wlc_phy_a4()
25182 || (pi->pubpi.radiorev == 4) in wlc_phy_a4()
25183 || (pi->pubpi.radiorev == 6)) { in wlc_phy_a4()
25186 } else if (pi->pubpi.radiorev == 5) { in wlc_phy_a4()
25197 } else if ((pi->pubpi.radiorev == 7) in wlc_phy_a4()
25198 || (pi->pubpi.radiorev == 8)) { in wlc_phy_a4()
25246 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_a4()
25250 if (NREV_LT(pi->pubpi.phy_rev, 7)) in wlc_phy_a4()
25253 for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) { in wlc_phy_a4()
25256 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_a4()
25258 if (pi->pubpi.radiorev == 3) in wlc_phy_a4()
25260 else if (pi->pubpi.radiorev == 5) in wlc_phy_a4()
25271 if ((pi->pubpi.radiorev == 3) || in wlc_phy_a4()
25272 (pi->pubpi.radiorev == 4) || in wlc_phy_a4()
25273 (pi->pubpi.radiorev == 6)) { in wlc_phy_a4()
25278 } else if (pi->pubpi.radiorev == 5) { in wlc_phy_a4()
25282 } else if ((pi->pubpi.radiorev == 7) || in wlc_phy_a4()
25283 (pi->pubpi.radiorev == 8)) { in wlc_phy_a4()
25290 if ((pi->pubpi.radiorev == 3) || in wlc_phy_a4()
25291 (pi->pubpi.radiorev == 4) || in wlc_phy_a4()
25292 (pi->pubpi.radiorev == 6)) in wlc_phy_a4()
25297 else if ((pi->pubpi.radiorev == 7) in wlc_phy_a4()
25298 || (pi->pubpi.radiorev == 8)) in wlc_phy_a4()
25320 if (NREV_LT(pi->pubpi.phy_rev, 5)) in wlc_phy_a4()
25356 if (NREV_GE(pi->pubpi.phy_rev, 6)) { in wlc_phy_a4()
25452 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_cal_perical_nphy_run()
25493 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_perical_nphy_run()
25501 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_perical_nphy_run()
25525 if (NREV_LE(pi->pubpi.phy_rev, 2) && in wlc_phy_cal_perical_nphy_run()
25562 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_perical_nphy_run()
25593 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_cal_perical_nphy_run()
25715 if (NREV_GE(pi->pubpi.phy_rev, 4)) { in wlc_phy_cal_txiqlo_nphy()
25740 if (!(NREV_GE(pi->pubpi.phy_rev, 6) || in wlc_phy_cal_txiqlo_nphy()
25741 (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi) in wlc_phy_cal_txiqlo_nphy()
25765 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_txiqlo_nphy()
25787 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25794 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25800 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_cal_txiqlo_nphy()
25816 max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25821 max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25841 cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25846 cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ? in wlc_phy_cal_txiqlo_nphy()
25855 if (NREV_GE(pi->pubpi.phy_rev, 6) || in wlc_phy_cal_txiqlo_nphy()
25856 (NREV_IS(pi->pubpi.phy_rev, 5) && in wlc_phy_cal_txiqlo_nphy()
25917 (NREV_LE(pi->pubpi.phy_rev, 2)) ? in wlc_phy_cal_txiqlo_nphy()
25928 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_cal_txiqlo_nphy()
25948 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25959 if (NREV_LT(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_txiqlo_nphy()
25980 if (NREV_LT(pi->pubpi.phy_rev, 2)) { in wlc_phy_cal_txiqlo_nphy()
25986 if (NREV_GE(pi->pubpi.phy_rev, 4)) in wlc_phy_cal_txiqlo_nphy()
26066 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_rx_iq_est_nphy()
26108 for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) { in wlc_phy_calc_rx_iq_comp_nphy()
26171 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_calc_rx_iq_comp_nphy()
26181 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_calc_rx_iq_comp_nphy()
26212 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_radio_setup_nphy()
26293 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26306 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26349 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26411 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26424 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26474 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_setup_nphy()
26530 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_radio_cleanup_nphy()
26596 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_cleanup_nphy()
26611 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26628 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26657 if (pi->pubpi.radiorev >= 5) { in wlc_phy_rxcal_radio_cleanup_nphy()
26672 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26689 if (pi->pubpi.radiorev >= 5) in wlc_phy_rxcal_radio_cleanup_nphy()
26715 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_physetup_nphy()
26731 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26746 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26763 if (NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26775 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26813 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_physetup_nphy()
26852 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_phycleanup_nphy()
26886 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26899 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26901 else if (NREV_GE(pi->pubpi.phy_rev, 4)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26905 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26910 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
26918 hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ? in wlc_phy_rxcal_gainctrl_nphy_rev5()
26926 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rxcal_gainctrl_nphy_rev5()
27027 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_rxcal_gainctrl_nphy_rev5()
27108 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_rc_sweep_nphy()
27334 if (NREV_GE(pi->pubpi.phy_rev, 4)) { in wlc_phy_cal_rxiq_nphy_rev3()
27352 for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) { in wlc_phy_cal_rxiq_nphy_rev3()
27381 && NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_cal_rxiq_nphy_rev3()
27416 for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) { in wlc_phy_cal_rxiq_nphy_rev3()
27453 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_rxiq_nphy_rev3()
27466 if (NREV_GE(pi->pubpi.phy_rev, 4)) in wlc_phy_cal_rxiq_nphy_rev3()
27501 if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_cal_rxiq_nphy_rev2()
27695 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_cal_rxiq_nphy()
27698 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_cal_rxiq_nphy()
27735 if (NREV_GE(pi->pubpi.phy_rev, 7)) in wlc_phy_txpwr_fixpower_nphy()
27737 else if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_fixpower_nphy()
27740 if (NREV_LT(pi->pubpi.phy_rev, 7)) { in wlc_phy_txpwr_fixpower_nphy()
27752 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_txpwr_fixpower_nphy()
27753 uint phyrev = pi->pubpi.phy_rev; in wlc_phy_txpwr_fixpower_nphy()
28006 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_apply_nphy()
28021 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_apply_nphy()
28086 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_apply_nphy()
28181 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28184 for (core = 0; core < pi->pubpi.phy_corenum; in wlc_phy_txpwrctrl_enable_nphy()
28203 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwrctrl_enable_nphy()
28211 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28218 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28220 else if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28223 if (NREV_LT(pi->pubpi.phy_rev, 2) && in wlc_phy_txpwrctrl_enable_nphy()
28239 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28247 if (NREV_GE(pi->pubpi.phy_rev, 7)) { in wlc_phy_txpwrctrl_enable_nphy()
28252 if (NREV_GT(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwrctrl_enable_nphy()
28258 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28270 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwrctrl_enable_nphy()
28277 if (NREV_IS(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28279 else if (NREV_LT(pi->pubpi.phy_rev, 2)) in wlc_phy_txpwrctrl_enable_nphy()
28282 if (NREV_LT(pi->pubpi.phy_rev, 2) && in wlc_phy_txpwrctrl_enable_nphy()
28327 for (core = 0; core < pi->pubpi.phy_corenum; core++) { in wlc_phy_txpwr_index_nphy()
28338 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwr_index_nphy()
28388 if (NREV_GE(pi->pubpi.phy_rev, 3)) { in wlc_phy_txpwr_index_nphy()
28438 if (NREV_IS(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwr_index_nphy()
28445 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_index_nphy()
28455 if (NREV_GE(pi->pubpi.phy_rev, 3)) in wlc_phy_txpwr_index_nphy()
28495 if (NREV_IS(pi->pubpi.phy_rev, 1)) in wlc_phy_txpwr_index_nphy()