Lines Matching refs:mdio_read
316 static int mdio_read(struct net_device *dev, int phy_id, int location);
399 np->mii_if.mdio_read = mdio_read; in w840_probe1()
438 int mii_status = mdio_read(dev, phy, MII_BMSR); in w840_probe1()
441 np->mii_if.advertising = mdio_read(dev, phy, MII_ADVERTISE); in w840_probe1()
442 np->mii = (mdio_read(dev, phy, MII_PHYSID1) << 16)+ in w840_probe1()
443 mdio_read(dev, phy, MII_PHYSID2); in w840_probe1()
554 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() function
664 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link()
669 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link()
697 mii_reg = mdio_read(dev, np->phys[0], MII_BMCR); in update_link()
702 mii_reg = mdio_read(dev, np->phys[0], MII_LPA); in update_link()
1450 data->val_out = mdio_read(dev, data->phy_id & 0x1f, data->reg_num & 0x1f); in netdev_ioctl()