Lines Matching refs:ports
33 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find()
68 INIT_LIST_HEAD(&dst->ports); in dsa_tree_alloc()
138 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node()
203 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table()
218 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu()
236 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_default_cpu()
247 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_default_cpu()
443 list_for_each_entry(dp, &ds->dst->ports, list) { in dsa_switch_setup()
488 list_for_each_entry(dp, &ds->dst->ports, list) in dsa_switch_setup()
518 list_for_each_entry(dp, &ds->dst->ports, list) in dsa_switch_teardown()
534 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_switches()
540 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_switches()
555 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_switches()
558 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_switches()
568 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_switches()
571 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_switches()
580 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_master()
595 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_master()
669 list_for_each_entry(dp, &dst->ports, list) in dsa_port_touch()
681 list_add_tail(&dp->list, &dst->ports); in dsa_port_touch()
785 struct device_node *ports, *port; in dsa_switch_parse_ports_of() local
790 ports = of_get_child_by_name(dn, "ports"); in dsa_switch_parse_ports_of()
791 if (!ports) { in dsa_switch_parse_ports_of()
793 ports = of_get_child_by_name(dn, "ethernet-ports"); in dsa_switch_parse_ports_of()
794 if (!ports) { in dsa_switch_parse_ports_of()
800 for_each_available_child_of_node(ports, port) { in dsa_switch_parse_ports_of()
818 of_node_put(ports); in dsa_switch_parse_ports_of()
949 list_for_each_entry_safe(dp, next, &dst->ports, list) { in dsa_switch_release_ports()