Searched refs:strap2 (Results 1 – 3 of 3) sorted by relevance
75 u32 strap2 = readl(ASPEED_HW_STRAP2); in aspeed_get_mac_phy_interface() local94 if(strap2 & BIT(0)) { in aspeed_get_mac_phy_interface()101 if(strap2 & BIT(1)) { in aspeed_get_mac_phy_interface()
55 u32 strap2 = readl(ASPEED_HW_STRAP2); in aspeed_get_mac_phy_interface() local74 if(strap2 & BIT(0)) { in aspeed_get_mac_phy_interface()81 if(strap2 & BIT(1)) { in aspeed_get_mac_phy_interface()
703 hw_strap2_t strap2; in setup_running() local707 strap2.w = 0; in setup_running()709 strap2.b.mac3_interface = 1; in setup_running()711 strap2.b.mac4_interface = 1; in setup_running()713 SCU_WR(strap2.w, 0x514); in setup_running()714 while (SCU_RD(0x510) & strap2.w); in setup_running()903 hw_strap2_t strap2; in setup_interface() local906 strap2.w = SCU_RD(0x510); in setup_interface()910 p_eng->env.is_1g_valid[2] = strap2.b.mac3_interface; in setup_interface()911 p_eng->env.is_1g_valid[3] = strap2.b.mac4_interface; in setup_interface()