Lines Matching refs:status
1578 int fiber, int status)
1583 if (!(status & MII_M1011_PHY_STATUS_RESOLVED)) {
1588 if (status & MII_M1011_PHY_STATUS_FULLDUPLEX)
1593 switch (status & MII_M1011_PHY_STATUS_SPD_MASK) {
1648 int status;
1652 status = phy_read(phydev, MII_M1011_PHY_STATUS);
1653 if (status < 0)
1654 return status;
1656 /* Use the generic register for copper link status,
1657 * and the PHY status register for fiber link status.
1660 phydev->link = !!(status & MII_M1011_PHY_STATUS_LINK);
1680 err = marvell_read_status_page_an(phydev, fiber, status);
1690 * Both need status checked.
1692 * First, check the fiber link and status.
1693 * If the fiber link is down, check the copper link and status which
1848 * will not be cleared unless we reading the interrupt status
1897 /* Clear WOL status and enable magic packet matching */
1908 /* Clear WOL status and disable magic packet matching */
1921 /* Clear WOL status and enable link up event */
1932 /* Clear WOL status and disable link up event */