Home
last modified time | relevance | path

Searched refs:phy_status (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_phy.c766 u16 i, phy_status; in igc_wait_autoneg() local
775 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
778 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
781 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg()
805 u16 i, phy_status; in igc_phy_has_link_generic() local
817 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic()
828 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic()
831 if (phy_status & MII_SR_LINK_STATUS) in igc_phy_has_link_generic()
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_phy.c2324 u16 i, phy_status; in e1000_wait_autoneg() local
2333 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg()
2336 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg()
2339 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg()
2363 u16 i, phy_status; in e1000_phy_has_link_generic() local
2375 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic()
2386 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic()
2389 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()