Lines Matching refs:REG_MAC0
639 reg_mac = rtlhal->interfaceindex == 0 ? REG_MAC0 : REG_MAC1; in rtl92du_phy_switch_wirelessband()
2704 u32 mac_reg = (rtlhal->interfaceindex == 0 ? REG_MAC0 : REG_MAC1); in rtl92du_phy_set_poweron()
2720 value8 = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92du_phy_set_poweron()
2721 rtl_write_byte(rtlpriv, REG_MAC0, value8 | MAC0_ON); in rtl92du_phy_set_poweron()
2725 value8 = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92du_phy_set_poweron()
2726 rtl_write_byte(rtlpriv, REG_MAC0, value8 | MAC0_ON); in rtl92du_phy_set_poweron()
2933 if (!(rtl_read_byte(rtlpriv, REG_MAC0) & MAC0_ON)) { in rtl92du_update_bbrf_configuration()
2996 u1btmp = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92du_phy_check_poweroff()
2997 rtl_write_byte(rtlpriv, REG_MAC0, u1btmp & ~MAC0_ON); in rtl92du_phy_check_poweroff()
3003 u1btmp = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92du_phy_check_poweroff()
3004 rtl_write_byte(rtlpriv, REG_MAC0, u1btmp & ~MAC0_ON); in rtl92du_phy_check_poweroff()
3010 u1btmp = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92du_phy_check_poweroff()