Lines Matching defs:phy
431 * @phy: the number of phy reading from
434 * Attempts to read a phy register over the MII bus.
444 smsc_miibus_readreg(device_t dev, int phy, int reg)
460 addr = (phy << 11) | (reg << 6) | SMSC_MII_READ | SMSC_MII_BUSY;
479 * @phy: the number of phy writing to
483 * Attempts to write a phy register over the MII bus.
492 smsc_miibus_writereg(device_t dev, int phy, int reg, int val)
498 if (sc->sc_phyno != phy)
513 addr = (phy << 11) | (reg << 6) | SMSC_MII_WRITE | SMSC_MII_BUSY;
526 * smsc_miibus_statchg - Called to detect phy status change
1270 * smsc_phy_init - Initialises the in-built SMSC phy
1290 /* Reset phy and wait for reset to complete */
1310 /* Setup the phy to interrupt when the link goes down or autoneg completes */
1357 smsc_warn_printf(sc, "timed-out waiting for phy reset to complete\n");