Lines Matching defs:mii_bus
115 * @mii_bus: pointer to the MII bus
136 struct mii_bus *mii_bus;
739 * @bus: the mii_bus struct
749 static int xemaclite_mdio_read(struct mii_bus *bus, int phy_id, int reg)
783 * @bus: the mii_bus struct
791 static int xemaclite_mdio_write(struct mii_bus *bus, int phy_id, int reg,
827 static int xemaclite_mdio_reset(struct mii_bus *bus)
833 * xemaclite_mdio_setup - Register mii_bus for the Emaclite device
838 * mii_bus.
844 struct mii_bus *bus;
876 lp->mii_bus = bus;
1112 * It also registers a mii_bus for the Emaclite device, if MDIO is included
1250 /* Un-register the mii_bus, if configured */
1252 mdiobus_unregister(lp->mii_bus);
1253 kfree(lp->mii_bus->irq);
1254 mdiobus_free(lp->mii_bus);
1255 lp->mii_bus = NULL;