Lines Matching full:child
72 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() argument
76 rc = fwnode_irq_get(child, 0); in fwnode_mdiobus_phy_device_register()
92 if (fwnode_property_read_bool(child, "broken-turn-around")) in fwnode_mdiobus_phy_device_register()
95 fwnode_property_read_u32(child, "reset-assert-us", in fwnode_mdiobus_phy_device_register()
97 fwnode_property_read_u32(child, "reset-deassert-us", in fwnode_mdiobus_phy_device_register()
103 fwnode_handle_get(child); in fwnode_mdiobus_phy_device_register()
104 device_set_node(&phy->mdio.dev, child); in fwnode_mdiobus_phy_device_register()
112 fwnode_handle_put(child); in fwnode_mdiobus_phy_device_register()
117 child, addr); in fwnode_mdiobus_phy_device_register()
123 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_register_phy() argument
132 mii_ts = fwnode_find_mii_timestamper(child); in fwnode_mdiobus_register_phy()
136 is_c45 = fwnode_device_is_compatible(child, "ethernet-phy-ieee802.3-c45"); 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()
167 psec = fwnode_find_pse_control(child, phy); in fwnode_mdiobus_register_phy()
185 if (is_acpi_node(child) || is_of_node(child)) in fwnode_mdiobus_register_phy()