Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/dsa/ocelot/
Dfelix.c354 struct device_node *ports_node, in felix_parse_ports_node() argument
361 for_each_available_child_of_node(ports_node, child) { in felix_parse_ports_node()
402 struct device_node *ports_node; in felix_parse_dt() local
407 ports_node = of_get_child_by_name(switch_node, "ports"); in felix_parse_dt()
408 if (!ports_node) { in felix_parse_dt()
413 err = felix_parse_ports_node(felix, ports_node, port_phy_modes); in felix_parse_dt()
414 of_node_put(ports_node); in felix_parse_dt()
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c744 struct device_node *ports_node) in sja1105_parse_ports_node() argument
749 for_each_available_child_of_node(ports_node, child) { in sja1105_parse_ports_node()
807 struct device_node *ports_node; in sja1105_parse_dt() local
810 ports_node = of_get_child_by_name(switch_node, "ports"); in sja1105_parse_dt()
811 if (!ports_node) { in sja1105_parse_dt()
816 rc = sja1105_parse_ports_node(priv, ports, ports_node); in sja1105_parse_dt()
817 of_node_put(ports_node); in sja1105_parse_dt()