Lines Matching full:mdio
3 * ACPI helpers for the MDIO (Ethernet PHY) API
19 MODULE_DESCRIPTION("ACPI MDIO bus (Ethernet PHY) accessors");
23 * @mdio: pointer to mii_bus structure
24 * @fwnode: pointer to fwnode of MDIO bus. This fwnode is expected to represent
25 * @owner: module owning this @mdio object.
26 * an ACPI device object corresponding to the MDIO bus and its children are
32 int __acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode, in __acpi_mdiobus_register() argument
40 mdio->phy_mask = GENMASK(31, 0); in __acpi_mdiobus_register()
41 ret = __mdiobus_register(mdio, owner); in __acpi_mdiobus_register()
45 ACPI_COMPANION_SET(&mdio->dev, to_acpi_device_node(fwnode)); in __acpi_mdiobus_register()
53 ret = fwnode_mdiobus_register_phy(mdio, child, addr); in __acpi_mdiobus_register()
55 dev_err(&mdio->dev, in __acpi_mdiobus_register()
56 "MDIO device at address %d is missing.\n", in __acpi_mdiobus_register()