Lines Matching refs:interfaceindex
269 if (rtlhal->interfaceindex == 0) { in _rtl92du_phy_config_bb()
622 if (rtlhal->interfaceindex == 1) in rtl92du_phy_switch_wirelessband()
639 reg_mac = rtlhal->interfaceindex == 0 ? REG_MAC0 : REG_MAC1; in rtl92du_phy_switch_wirelessband()
764 rtlhal->interfaceindex == 1) { in _rtl92du_phy_switch_rf_setting()
774 if (regb30 && rtlhal->interfaceindex == 0) { in _rtl92du_phy_switch_rf_setting()
811 rtlhal->interfaceindex == 1) { in _rtl92du_phy_switch_rf_setting()
818 if (regb30 && rtlhal->interfaceindex == 0) { in _rtl92du_phy_switch_rf_setting()
839 rtlhal->interfaceindex == 1) /* MAC 1 5G */ in _rtl92du_phy_switch_rf_setting()
888 if (rtlhal->interfaceindex == 0) { in _rtl92du_phy_switch_rf_setting()
899 if (regb30 && rtlhal->interfaceindex == 1) { in _rtl92du_phy_switch_rf_setting()
942 rtlhal->interfaceindex == 0) { in _rtl92du_phy_switch_rf_setting()
949 if (regb30 && rtlhal->interfaceindex == 1) { in _rtl92du_phy_switch_rf_setting()
969 if (rtlhal->interfaceindex == 0) { in _rtl92du_phy_patha_iqk()
1043 if (rtlhal->interfaceindex == 1) { /* PHY1 */ in _rtl92du_phy_patha_iqk_5g_normal()
1886 if (rtlhal->interfaceindex == 1 && in _rtl92du_phy_patha_fill_iqk_matrix()
2247 rtlpriv->rtlhal.interfaceindex == 1) { in _rtl92du_phy_reload_lck_setting()
2269 rtlpriv->rtlhal.interfaceindex == 0) { in _rtl92du_phy_reload_lck_setting()
2360 if (index == 0 && rtlhal->interfaceindex == 0) { in _rtl92du_phy_lc_calibrate_sw()
2398 if (index == 0 && rtlhal->interfaceindex == 0) in _rtl92du_phy_lc_calibrate_sw()
2704 u32 mac_reg = (rtlhal->interfaceindex == 0 ? REG_MAC0 : REG_MAC1); in rtl92du_phy_set_poweron()
2724 if (rtlhal->interfaceindex == 0) { in rtl92du_phy_set_poweron()
2843 if (rtlefuse->internal_pa_5g[rtlhal->interfaceindex]) in rtl92du_update_bbrf_configuration()
2922 if (rtlhal->interfaceindex == 0 && rtlhal->bandset == BAND_ON_2_4G) { in rtl92du_update_bbrf_configuration()
2931 } else if (rtlhal->interfaceindex == 1 && rtlhal->bandset == BAND_ON_5G) { in rtl92du_update_bbrf_configuration()
2951 if (rtlhal->interfaceindex == 0) { in rtl92du_update_bbrf_configuration()
3002 if (rtlhal->interfaceindex == 0) { in rtl92du_phy_check_poweroff()
3038 if (!(val8 & BIT(0)) && (is_single_mac || rtlhal->interfaceindex == 0)) { in rtl92du_phy_init_pa_bias()
3051 if (!(val8 & BIT(1)) && (is_single_mac || rtlhal->interfaceindex == 1)) { in rtl92du_phy_init_pa_bias()
3052 rf_path = rtlhal->interfaceindex == 1 ? RF90_PATH_A : RF90_PATH_B; in rtl92du_phy_init_pa_bias()
3066 if (!(val8 & BIT(2)) && (is_single_mac || rtlhal->interfaceindex == 0)) { in rtl92du_phy_init_pa_bias()
3094 if (!(val8 & BIT(3)) && (is_single_mac || rtlhal->interfaceindex == 1)) { in rtl92du_phy_init_pa_bias()
3095 rf_path = rtlhal->interfaceindex == 1 ? RF90_PATH_A : RF90_PATH_B; in rtl92du_phy_init_pa_bias()