Searched refs:ports_node (Results 1 – 2 of 2) sorted by relevance
354 struct device_node *ports_node, in felix_parse_ports_node() argument361 for_each_available_child_of_node(ports_node, child) { in felix_parse_ports_node()402 struct device_node *ports_node; in felix_parse_dt() local407 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()
744 struct device_node *ports_node) in sja1105_parse_ports_node() argument749 for_each_available_child_of_node(ports_node, child) { in sja1105_parse_ports_node()807 struct device_node *ports_node; in sja1105_parse_dt() local810 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()