Lines Matching refs:mii_status_reg
2289 uint16_t mii_status_reg; in e1000_phy_force_speed_duplex() local
2423 mii_status_reg = 0; in e1000_phy_force_speed_duplex()
2430 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_phy_force_speed_duplex()
2434 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_phy_force_speed_duplex()
2438 if (mii_status_reg & MII_SR_LINK_STATUS) break; in e1000_phy_force_speed_duplex()
2453 if (mii_status_reg & MII_SR_LINK_STATUS) break; in e1000_phy_force_speed_duplex()
2458 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_phy_force_speed_duplex()
2462 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_phy_force_speed_duplex()
2694 uint16_t mii_status_reg; in e1000_config_fc_after_link_up() local
2727 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up()
2730 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up()
2734 if (mii_status_reg & MII_SR_AUTONEG_COMPLETE) { in e1000_config_fc_after_link_up()
7839 uint16_t mii_status_reg; in e1000_polarity_reversal_workaround() local
7863 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround()
7867 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround()
7871 if ((mii_status_reg & ~MII_SR_LINK_STATUS) == 0) break; in e1000_polarity_reversal_workaround()
7906 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround()
7910 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround()
7914 if (mii_status_reg & MII_SR_LINK_STATUS) break; in e1000_polarity_reversal_workaround()