Lines Matching refs:child
62 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() argument
66 rc = fwnode_irq_get(child, 0); in fwnode_mdiobus_phy_device_register()
82 if (fwnode_property_read_bool(child, "broken-turn-around")) in fwnode_mdiobus_phy_device_register()
85 fwnode_property_read_u32(child, "reset-assert-us", in fwnode_mdiobus_phy_device_register()
87 fwnode_property_read_u32(child, "reset-deassert-us", in fwnode_mdiobus_phy_device_register()
93 fwnode_handle_get(child); in fwnode_mdiobus_phy_device_register()
94 device_set_node(&phy->mdio.dev, child); in fwnode_mdiobus_phy_device_register()
102 fwnode_handle_put(child); in fwnode_mdiobus_phy_device_register()
107 child, addr); in fwnode_mdiobus_phy_device_register()
113 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_register_phy() argument
122 psec = fwnode_find_pse_control(child); in fwnode_mdiobus_register_phy()
126 mii_ts = fwnode_find_mii_timestamper(child); in fwnode_mdiobus_register_phy()
132 rc = fwnode_property_match_string(child, "compatible", in fwnode_mdiobus_register_phy()
137 if (is_c45 || fwnode_get_phy_id(child, &phy_id)) in fwnode_mdiobus_register_phy()
146 if (is_acpi_node(child)) { in fwnode_mdiobus_register_phy()
152 phy->mdio.dev.fwnode = fwnode_handle_get(child); in fwnode_mdiobus_register_phy()
158 fwnode_handle_put(child); in fwnode_mdiobus_register_phy()
161 } else if (is_of_node(child)) { in fwnode_mdiobus_register_phy()
162 rc = fwnode_mdiobus_phy_device_register(bus, phy, child, addr); in fwnode_mdiobus_register_phy()