Lines Matching full: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()
235 /* Assign the default CPU port to all ports of the fabric */ in dsa_tree_setup_default_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()
437 * setup() can register regions etc, against the ports in dsa_switch_setup()
439 list_for_each_entry(dp, &ds->dst->ports, list) { in dsa_switch_setup()
478 list_for_each_entry(dp, &ds->dst->ports, list) in dsa_switch_setup()
505 list_for_each_entry(dp, &ds->dst->ports, list) in dsa_switch_teardown()
521 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_switches()
527 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_switches()
536 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_switches()
539 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_switches()
549 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_switches()
552 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_switches()
561 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_master()
576 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_master()
650 list_for_each_entry(dp, &dst->ports, list) in dsa_port_touch()
662 list_add_tail(&dp->list, &dst->ports); in dsa_port_touch()
765 struct device_node *ports, *port; in dsa_switch_parse_ports_of() local
770 ports = of_get_child_by_name(dn, "ports"); in dsa_switch_parse_ports_of()
771 if (!ports) { in dsa_switch_parse_ports_of()
772 /* The second possibility is "ethernet-ports" */ in dsa_switch_parse_ports_of()
773 ports = of_get_child_by_name(dn, "ethernet-ports"); in dsa_switch_parse_ports_of()
774 if (!ports) { in dsa_switch_parse_ports_of()
775 dev_err(ds->dev, "no ports child node found\n"); in dsa_switch_parse_ports_of()
780 for_each_available_child_of_node(ports, port) { in dsa_switch_parse_ports_of()
798 of_node_put(ports); in dsa_switch_parse_ports_of()
929 list_for_each_entry_safe(dp, next, &dst->ports, list) { in dsa_switch_release_ports()