Lines Matching refs:mdio_read
417 static int mdio_read(struct net_device *dev, int phy_id, int location);
543 np->mii.mdio_read = mdio_read; in fealnx_init_one()
572 int mii_status = mdio_read(dev, phy, 1); in fealnx_init_one()
583 data = mdio_read(dev, np->phys[0], 2); in fealnx_init_one()
636 data = mdio_read(dev, np->phys[0], 9); in fealnx_init_one()
747 static int mdio_read(struct net_device *dev, int phyad, int regad) in mdio_read() function
936 if (mdio_read(dev, np->phys[0], MII_BMSR) & BMSR_LSTATUS) { in getlinkstatus()
963 data = mdio_read(dev, np->phys[0], MIIRegister18); in getlinktype()
975 data = mdio_read(dev, np->phys[0], DiagnosticReg); in getlinktype()
989 data = mdio_read(dev, np->phys[0], SpecificReg); in getlinktype()
1007 data = mdio_read(dev, np->phys[0], StatusRegister); in getlinktype()
1024 data = mdio_read(dev, np->phys[0], SpecificReg); in getlinktype()