Lines Matching refs:ports
33 list_for_each_entry(dp, &dst->ports, list) {
68 INIT_LIST_HEAD(&dst->ports);
138 list_for_each_entry(dp, &dst->ports, list)
203 list_for_each_entry(dp, &dst->ports, list) {
218 list_for_each_entry(dp, &dst->ports, list)
235 /* Assign the default CPU port to all ports of the fabric */
236 list_for_each_entry(dp, &dst->ports, list)
247 list_for_each_entry(dp, &dst->ports, list)
441 * setup() can register regions etc, against the ports
443 list_for_each_entry(dp, &ds->dst->ports, list) {
488 list_for_each_entry(dp, &ds->dst->ports, list)
518 list_for_each_entry(dp, &ds->dst->ports, list)
534 list_for_each_entry(dp, &dst->ports, list) {
540 list_for_each_entry(dp, &dst->ports, list) {
555 list_for_each_entry(dp, &dst->ports, list)
558 list_for_each_entry(dp, &dst->ports, list)
568 list_for_each_entry(dp, &dst->ports, list)
571 list_for_each_entry(dp, &dst->ports, list)
580 list_for_each_entry(dp, &dst->ports, list) {
595 list_for_each_entry(dp, &dst->ports, list)
669 list_for_each_entry(dp, &dst->ports, list)
681 list_add_tail(&dp->list, &dst->ports);
785 struct device_node *ports, *port;
790 ports = of_get_child_by_name(dn, "ports");
791 if (!ports) {
792 /* The second possibility is "ethernet-ports" */
793 ports = of_get_child_by_name(dn, "ethernet-ports");
794 if (!ports) {
795 dev_err(ds->dev, "no ports child node found\n");
800 for_each_available_child_of_node(ports, port) {
818 of_node_put(ports);
949 list_for_each_entry_safe(dp, next, &dst->ports, list) {