Lines Matching defs:phy_node
3233 * fwnode_get_phy_node - Get the phy_node using the named reference.
3234 * @fwnode: Pointer to fwnode from which phy_node has to be obtained.
3243 struct fwnode_handle *phy_node;
3246 phy_node = fwnode_find_reference(fwnode, "phy-handle", 0);
3247 if (is_acpi_node(fwnode) || !IS_ERR(phy_node))
3248 return phy_node;
3249 phy_node = fwnode_find_reference(fwnode, "phy", 0);
3250 if (IS_ERR(phy_node))
3251 phy_node = fwnode_find_reference(fwnode, "phy-device", 0);
3252 return phy_node;