Lines Matching refs:child
64 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() argument
68 rc = fwnode_irq_get(child, 0); in fwnode_mdiobus_phy_device_register()
84 if (fwnode_property_read_bool(child, "broken-turn-around")) in fwnode_mdiobus_phy_device_register()
87 fwnode_property_read_u32(child, "reset-assert-us", in fwnode_mdiobus_phy_device_register()
89 fwnode_property_read_u32(child, "reset-deassert-us", in fwnode_mdiobus_phy_device_register()
95 fwnode_handle_get(child); in fwnode_mdiobus_phy_device_register()
96 device_set_node(&phy->mdio.dev, child); in fwnode_mdiobus_phy_device_register()
104 fwnode_handle_put(child); in fwnode_mdiobus_phy_device_register()
109 child, addr); in fwnode_mdiobus_phy_device_register()
115 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_register_phy() argument
124 psec = fwnode_find_pse_control(child); in fwnode_mdiobus_register_phy()
128 mii_ts = fwnode_find_mii_timestamper(child); in fwnode_mdiobus_register_phy()
134 is_c45 = fwnode_device_is_compatible(child, "ethernet-phy-ieee802.3-c45"); in fwnode_mdiobus_register_phy()
135 if (is_c45 || fwnode_get_phy_id(child, &phy_id)) in fwnode_mdiobus_register_phy()
144 if (is_acpi_node(child)) { in fwnode_mdiobus_register_phy()
150 phy->mdio.dev.fwnode = fwnode_handle_get(child); in fwnode_mdiobus_register_phy()
156 fwnode_handle_put(child); in fwnode_mdiobus_register_phy()
159 } else if (is_of_node(child)) { in fwnode_mdiobus_register_phy()
160 rc = fwnode_mdiobus_phy_device_register(bus, phy, child, addr); in fwnode_mdiobus_register_phy()