Searched refs:strap1 (Results 1 – 4 of 4) sorted by relevance
73 u32 strap1 = readl(ASPEED_HW_STRAP1); in aspeed_get_mac_phy_interface() local76 if(strap1 & BIT(6)) { in aspeed_get_mac_phy_interface()83 if(strap1 & BIT(7)) { in aspeed_get_mac_phy_interface()
73 u32 strap1 = readl(ASPEED_HW_STRAP1); in aspeed_get_mac_phy_interface() local79 if(strap1 & BIT(6)) { in aspeed_get_mac_phy_interface()86 if(strap1 & BIT(7)) { in aspeed_get_mac_phy_interface()
53 u32 strap1 = readl(ASPEED_HW_STRAP1); in aspeed_get_mac_phy_interface() local59 if(strap1 & BIT(6)) { in aspeed_get_mac_phy_interface()66 if(strap1 & BIT(7)) { in aspeed_get_mac_phy_interface()
902 hw_strap1_t strap1; in setup_interface() local905 strap1.w = SCU_RD(0x500); in setup_interface()908 p_eng->env.is_1g_valid[0] = strap1.b.mac1_interface; in setup_interface()909 p_eng->env.is_1g_valid[1] = strap1.b.mac2_interface; in setup_interface()917 hw_strap1_t strap1; in setup_interface()918 strap1.w = SCU_RD(0x70); in setup_interface()919 p_eng->env.is_1g_valid[0] = strap1.b.mac1_interface; in setup_interface()920 p_eng->env.is_1g_valid[1] = strap1.b.mac2_interface; in setup_interface()