Lines Matching defs:fiber
619 * register for fiber link.
645 * enabled, then we write the BMCR. Adapted for fiber link in
663 /* Setup fiber advertisement */
701 /* Then the fiber link */
707 /* Do not touch the fiber advertisement if we're in copper->sgmii mode.
737 /* Do not touch the fiber page if we're in copper->sgmii mode */
741 /* Then the fiber link */
1562 * @lpa: value of the MII_LPA register for fiber link
1578 int fiber, int status)
1607 if (!fiber) {
1618 /* The fiber link is only 1000M capable */
1649 int fiber;
1657 * and the PHY status register for fiber link status.
1668 fiber = 1;
1670 fiber = 0;
1677 phydev->port = fiber ? PORT_FIBRE : PORT_TP;
1680 err = marvell_read_status_page_an(phydev, fiber, status);
1689 * Some Marvell's phys have two modes: fiber and copper.
1692 * First, check the fiber link and status.
1693 * If the fiber link is down, check the copper link and status which
1700 /* Check the fiber mode first */
1712 /* If the fiber link is up, it is the selected and
1714 * fiber page. Please to be careful about that, avoid
1716 * could break the behaviour for some fiber phy like
1722 /* If fiber link is down, check and save copper mode state */
1737 * Some Marvell's phys have two modes: fiber and copper.
1744 /* Suspend the fiber mode first */
1772 * Some Marvell's phys have two modes: fiber and copper.
1779 /* Resume the fiber mode first */