mdiobus 988 drivers/net/ethernet/microchip/lan743x_main.c phydev = phy_find_first(adapter->mdiobus); mdiobus 2656 drivers/net/ethernet/microchip/lan743x_main.c mdiobus_unregister(adapter->mdiobus); mdiobus 2717 drivers/net/ethernet/microchip/lan743x_main.c adapter->mdiobus = devm_mdiobus_alloc(&adapter->pdev->dev); mdiobus 2718 drivers/net/ethernet/microchip/lan743x_main.c if (!(adapter->mdiobus)) { mdiobus 2723 drivers/net/ethernet/microchip/lan743x_main.c adapter->mdiobus->priv = (void *)adapter; mdiobus 2724 drivers/net/ethernet/microchip/lan743x_main.c adapter->mdiobus->read = lan743x_mdiobus_read; mdiobus 2725 drivers/net/ethernet/microchip/lan743x_main.c adapter->mdiobus->write = lan743x_mdiobus_write; mdiobus 2726 drivers/net/ethernet/microchip/lan743x_main.c adapter->mdiobus->name = "lan743x-mdiobus"; mdiobus 2727 drivers/net/ethernet/microchip/lan743x_main.c snprintf(adapter->mdiobus->id, MII_BUS_ID_SIZE, mdiobus 2732 drivers/net/ethernet/microchip/lan743x_main.c adapter->mdiobus->phy_mask = ~(u32)BIT(1); mdiobus 2735 drivers/net/ethernet/microchip/lan743x_main.c ret = mdiobus_register(adapter->mdiobus); mdiobus 700 drivers/net/ethernet/microchip/lan743x_main.h struct mii_bus *mdiobus; mdiobus 411 drivers/net/usb/lan78xx.c struct mii_bus *mdiobus; mdiobus 1802 drivers/net/usb/lan78xx.c dev->mdiobus = mdiobus_alloc(); mdiobus 1803 drivers/net/usb/lan78xx.c if (!dev->mdiobus) { mdiobus 1808 drivers/net/usb/lan78xx.c dev->mdiobus->priv = (void *)dev; mdiobus 1809 drivers/net/usb/lan78xx.c dev->mdiobus->read = lan78xx_mdiobus_read; mdiobus 1810 drivers/net/usb/lan78xx.c dev->mdiobus->write = lan78xx_mdiobus_write; mdiobus 1811 drivers/net/usb/lan78xx.c dev->mdiobus->name = "lan78xx-mdiobus"; mdiobus 1812 drivers/net/usb/lan78xx.c dev->mdiobus->parent = &dev->udev->dev; mdiobus 1814 drivers/net/usb/lan78xx.c snprintf(dev->mdiobus->id, MII_BUS_ID_SIZE, "usb-%03d:%03d", mdiobus 1821 drivers/net/usb/lan78xx.c dev->mdiobus->phy_mask = ~(1 << 1); mdiobus 1825 drivers/net/usb/lan78xx.c dev->mdiobus->phy_mask = ~(0xFF); mdiobus 1830 drivers/net/usb/lan78xx.c ret = of_mdiobus_register(dev->mdiobus, node); mdiobus 1837 drivers/net/usb/lan78xx.c netdev_dbg(dev->net, "registered mdiobus bus %s\n", dev->mdiobus->id); mdiobus 1840 drivers/net/usb/lan78xx.c mdiobus_free(dev->mdiobus); mdiobus 1846 drivers/net/usb/lan78xx.c mdiobus_unregister(dev->mdiobus); mdiobus 1847 drivers/net/usb/lan78xx.c mdiobus_free(dev->mdiobus); mdiobus 2055 drivers/net/usb/lan78xx.c phydev = phy_find_first(dev->mdiobus); mdiobus 2117 drivers/net/usb/lan78xx.c phydev = phy_find_first(dev->mdiobus); mdiobus 2146 drivers/net/usb/lan78xx.c dev->mdiobus->id);