Lines Matching defs:mii_bus
116 * @mii_bus: pointer to the MII bus
134 struct mii_bus *mii_bus;
710 * @bus: the mii_bus struct
720 static int xemaclite_mdio_read(struct mii_bus *bus, int phy_id, int reg)
754 * @bus: the mii_bus struct
764 static int xemaclite_mdio_write(struct mii_bus *bus, int phy_id, int reg,
794 * xemaclite_mdio_setup - Register mii_bus for the Emaclite device
799 * mii_bus.
805 struct mii_bus *bus;
868 lp->mii_bus = bus;
1082 * It also registers a mii_bus for the Emaclite device, if MDIO is included
1189 /* Un-register the mii_bus, if configured */
1190 if (lp->mii_bus) {
1191 mdiobus_unregister(lp->mii_bus);
1192 mdiobus_free(lp->mii_bus);
1193 lp->mii_bus = NULL;