Home
last modified time | relevance | path

Searched refs:fixed_link_node (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/mdio/
A Dof_mdio.c381 struct device_node *fixed_link_node; in of_phy_register_fixed_link() local
392 fixed_link_node = of_get_child_by_name(np, "fixed-link"); in of_phy_register_fixed_link()
393 if (fixed_link_node) { in of_phy_register_fixed_link()
395 status.duplex = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
397 if (of_property_read_u32(fixed_link_node, "speed", in of_phy_register_fixed_link()
399 of_node_put(fixed_link_node); in of_phy_register_fixed_link()
402 status.pause = of_property_read_bool(fixed_link_node, "pause"); in of_phy_register_fixed_link()
403 status.asym_pause = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
405 of_node_put(fixed_link_node); in of_phy_register_fixed_link()
/linux/drivers/net/phy/
A Dfixed_phy.c192 struct device_node *fixed_link_node; in fixed_phy_get_gpiod() local
198 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()

Completed in 4 milliseconds