Searched refs:fixed_link_node (Results 1 – 2 of 2) sorted by relevance
383 struct device_node *fixed_link_node; in of_phy_register_fixed_link() local394 fixed_link_node = of_get_child_by_name(np, "fixed-link"); in of_phy_register_fixed_link()395 if (fixed_link_node) { in of_phy_register_fixed_link()397 status.duplex = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()399 if (of_property_read_u32(fixed_link_node, "speed", in of_phy_register_fixed_link()401 of_node_put(fixed_link_node); in of_phy_register_fixed_link()404 status.pause = of_property_read_bool(fixed_link_node, "pause"); in of_phy_register_fixed_link()405 status.asym_pause = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()407 of_node_put(fixed_link_node); in of_phy_register_fixed_link()
192 struct device_node *fixed_link_node; in fixed_phy_get_gpiod() local198 fixed_link_node = of_get_child_by_name(np, "fixed-link"); in fixed_phy_get_gpiod()199 if (!fixed_link_node) in fixed_phy_get_gpiod()207 gpiod = fwnode_gpiod_get_index(of_fwnode_handle(fixed_link_node), in fixed_phy_get_gpiod()212 fixed_link_node); in fixed_phy_get_gpiod()215 of_node_put(fixed_link_node); in fixed_phy_get_gpiod()