Lines Matching refs:mii_bus
42 struct mii_bus *mii_bus; member
60 static int unimac_mdio_read(struct mii_bus *bus, int phy_id, int reg) in unimac_mdio_read()
96 static int unimac_mdio_write(struct mii_bus *bus, int phy_id, in unimac_mdio_write()
138 static int unimac_mdio_reset(struct mii_bus *bus) in unimac_mdio_reset()
169 struct mii_bus *bus; in unimac_mdio_probe()
190 priv->mii_bus = mdiobus_alloc(); in unimac_mdio_probe()
191 if (!priv->mii_bus) in unimac_mdio_probe()
194 bus = priv->mii_bus; in unimac_mdio_probe()
232 mdiobus_unregister(priv->mii_bus); in unimac_mdio_remove()
233 kfree(priv->mii_bus->irq); in unimac_mdio_remove()
234 mdiobus_free(priv->mii_bus); in unimac_mdio_remove()