Lines Matching refs:mdio_read
567 static int mdio_read(struct net_device *dev, int phy_id, int location);
738 np->mii_if.mdio_read = mdio_read; in starfire_init_one()
795 if ((mdio_read(dev, phy, MII_BMCR) & BMCR_RESET) == 0) in starfire_init_one()
801 mii_status = mdio_read(dev, phy, MII_BMSR); in starfire_init_one()
804 np->mii_if.advertising = mdio_read(dev, phy, MII_ADVERTISE); in starfire_init_one()
834 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() function
986 np->mii_if.advertising = mdio_read(dev, np->phys[0], MII_ADVERTISE); in netdev_open()
1071 while (--silly_count && mdio_read(dev, np->phys[0], MII_BMCR) & BMCR_RESET) in check_duplex()
1078 reg0 = mdio_read(dev, np->phys[0], MII_BMCR); in check_duplex()
1625 mdio_read(dev, np->phys[0], MII_BMCR); in netdev_media_change()
1626 mdio_read(dev, np->phys[0], MII_BMSR); in netdev_media_change()
1628 reg0 = mdio_read(dev, np->phys[0], MII_BMCR); in netdev_media_change()
1629 reg1 = mdio_read(dev, np->phys[0], MII_BMSR); in netdev_media_change()
1635 reg4 = mdio_read(dev, np->phys[0], MII_ADVERTISE); in netdev_media_change()
1636 reg5 = mdio_read(dev, np->phys[0], MII_LPA); in netdev_media_change()