Searched refs:fixed_link_node (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/of/ |
D | of_mdio.c | 455 struct device_node *fixed_link_node; in of_phy_register_fixed_link() local 466 fixed_link_node = of_get_child_by_name(np, "fixed-link"); in of_phy_register_fixed_link() 467 if (fixed_link_node) { in of_phy_register_fixed_link() 469 status.duplex = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link() 471 if (of_property_read_u32(fixed_link_node, "speed", in of_phy_register_fixed_link() 473 of_node_put(fixed_link_node); in of_phy_register_fixed_link() 476 status.pause = of_property_read_bool(fixed_link_node, "pause"); in of_phy_register_fixed_link() 477 status.asym_pause = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link() 479 of_node_put(fixed_link_node); in of_phy_register_fixed_link()
|
/Linux-v5.4/drivers/net/phy/ |
D | fixed_phy.c | 198 struct device_node *fixed_link_node; in fixed_phy_get_gpiod() local 204 fixed_link_node = of_get_child_by_name(np, "fixed-link"); in fixed_phy_get_gpiod() 205 if (!fixed_link_node) in fixed_phy_get_gpiod() 213 gpiod = gpiod_get_from_of_node(fixed_link_node, "link-gpios", 0, in fixed_phy_get_gpiod() 215 of_node_put(fixed_link_node); in fixed_phy_get_gpiod() 222 fixed_link_node); in fixed_phy_get_gpiod()
|