Searched refs:slave_mii_bus (Results 1 – 3 of 3) sorted by relevance
525 priv->slave_mii_bus = devm_mdiobus_alloc(ds->dev); in bcm_sf2_mdio_register()526 if (!priv->slave_mii_bus) in bcm_sf2_mdio_register()529 priv->slave_mii_bus->priv = priv; in bcm_sf2_mdio_register()530 priv->slave_mii_bus->name = "sf2 slave mii"; in bcm_sf2_mdio_register()531 priv->slave_mii_bus->read = bcm_sf2_sw_mdio_read; in bcm_sf2_mdio_register()532 priv->slave_mii_bus->write = bcm_sf2_sw_mdio_write; in bcm_sf2_mdio_register()533 snprintf(priv->slave_mii_bus->id, MII_BUS_ID_SIZE, "sf2-%d", in bcm_sf2_mdio_register()535 priv->slave_mii_bus->dev.of_node = dn; in bcm_sf2_mdio_register()553 ds->slave_mii_bus = priv->slave_mii_bus; in bcm_sf2_mdio_register()554 priv->slave_mii_bus->parent = ds->dev->parent; in bcm_sf2_mdio_register()[all …]
96 struct mii_bus *slave_mii_bus; member
2874 ds->slave_mii_bus = chip->mdio_bus; in mv88e6xxx_setup()