Lines Matching full:mdio
3 * ACPI helpers for the MDIO (Ethernet PHY) API
22 * @mdio: pointer to mii_bus structure
23 * @fwnode: pointer to fwnode of MDIO bus. This fwnode is expected to represent
24 * an ACPI device object corresponding to the MDIO bus and its children are
30 int acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode) in acpi_mdiobus_register() argument
37 mdio->phy_mask = GENMASK(31, 0); in acpi_mdiobus_register()
38 ret = mdiobus_register(mdio); in acpi_mdiobus_register()
42 ACPI_COMPANION_SET(&mdio->dev, to_acpi_device_node(fwnode)); in acpi_mdiobus_register()
50 ret = fwnode_mdiobus_register_phy(mdio, child, addr); in acpi_mdiobus_register()
52 dev_err(&mdio->dev, in acpi_mdiobus_register()
53 "MDIO device at address %d is missing.\n", in acpi_mdiobus_register()