cpmac_mii         306 drivers/net/ethernet/ti/cpmac.c static struct mii_bus *cpmac_mii;
cpmac_mii        1083 drivers/net/ethernet/ti/cpmac.c 			if (!mdiobus_get_phy(cpmac_mii, phy_id))
cpmac_mii        1085 drivers/net/ethernet/ti/cpmac.c 			strncpy(mdio_bus_id, cpmac_mii->id, MII_BUS_ID_SIZE);
cpmac_mii        1183 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii = mdiobus_alloc();
cpmac_mii        1184 drivers/net/ethernet/ti/cpmac.c 	if (cpmac_mii == NULL)
cpmac_mii        1187 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->name = "cpmac-mii";
cpmac_mii        1188 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->read = cpmac_mdio_read;
cpmac_mii        1189 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->write = cpmac_mdio_write;
cpmac_mii        1190 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->reset = cpmac_mdio_reset;
cpmac_mii        1192 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->priv = ioremap(AR7_REGS_MDIO, 256);
cpmac_mii        1194 drivers/net/ethernet/ti/cpmac.c 	if (!cpmac_mii->priv) {
cpmac_mii        1207 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->reset(cpmac_mii);
cpmac_mii        1210 drivers/net/ethernet/ti/cpmac.c 		mask = cpmac_read(cpmac_mii->priv, CPMAC_MDIO_ALIVE);
cpmac_mii        1223 drivers/net/ethernet/ti/cpmac.c 	cpmac_mii->phy_mask = ~(mask | 0x80000000);
cpmac_mii        1224 drivers/net/ethernet/ti/cpmac.c 	snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "cpmac-1");
cpmac_mii        1226 drivers/net/ethernet/ti/cpmac.c 	res = mdiobus_register(cpmac_mii);
cpmac_mii        1237 drivers/net/ethernet/ti/cpmac.c 	mdiobus_unregister(cpmac_mii);
cpmac_mii        1240 drivers/net/ethernet/ti/cpmac.c 	iounmap(cpmac_mii->priv);
cpmac_mii        1243 drivers/net/ethernet/ti/cpmac.c 	mdiobus_free(cpmac_mii);
cpmac_mii        1251 drivers/net/ethernet/ti/cpmac.c 	mdiobus_unregister(cpmac_mii);
cpmac_mii        1252 drivers/net/ethernet/ti/cpmac.c 	iounmap(cpmac_mii->priv);
cpmac_mii        1253 drivers/net/ethernet/ti/cpmac.c 	mdiobus_free(cpmac_mii);