Lines Matching refs:mdio_read
426 static int mdio_read(struct net_device *dev, int phy_id, int location);
550 np->mii.mdio_read = mdio_read;
576 int mii_status = mdio_read(dev, phy, 1);
587 data = mdio_read(dev, np->phys[0], 2);
640 data = mdio_read(dev, np->phys[0], 9);
759 static int mdio_read(struct net_device *dev, int phyad, int regad)
955 if (mdio_read(dev, np->phys[0], MII_BMSR) & BMSR_LSTATUS) {
982 data = mdio_read(dev, np->phys[0], MIIRegister18);
994 data = mdio_read(dev, np->phys[0], DiagnosticReg);
1008 data = mdio_read(dev, np->phys[0], SpecificReg);
1026 data = mdio_read(dev, np->phys[0], StatusRegister);
1043 data = mdio_read(dev, np->phys[0], SpecificReg);