Lines Matching defs:ports
123 /* List of switch ports */
124 struct list_head ports;
173 list_for_each_entry((_dp), &(_dst)->ports, list) \
177 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
248 * in the data path. Valid only for the CPU ports.
279 /* Managed by DSA on user ports and by drivers on CPU and DSA ports */
284 /* Master state bits, valid only on CPU ports */
288 /* Valid only on user ports */
311 * These are only valid on CPU ports and DSA links.
319 /* List of VLANs that CPU and DSA ports are members of.
323 /* List of VLANs that user ports are members of.
330 /* TODO: ideally DSA ports would have a single dp->link_dp member,
387 * settings on ports if not hardware-supported
391 /* Keep VLAN filtering enabled on ports not offloading any upper */
455 * Slave mii_bus and devices for the individual ports.
496 list_for_each_entry(dp, &dst->ports, list)
550 list_for_each_entry((_dp), &(_dst)->ports, list) \
554 list_for_each_entry_continue_reverse((_dp), &(_dst)->ports, list) \
558 list_for_each_entry((_dp), &(_dst)->ports, list) \
562 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
566 list_for_each_entry_safe((_dp), (_next), &(_ds)->dst->ports, list) \
570 list_for_each_entry_continue_reverse((_dp), &(_ds)->dst->ports, list) \
755 /* Standalone ports are not in the same bridge with one another */
769 /* DSA ports connected to a bridge, and event was emitted
787 list_for_each_entry(dp, &dst->ports, list)
801 list_for_each_entry(dp, &dst->ports, list)
818 * Tagging protocol helpers called for the CPU ports and DSA links.
973 * Compatibility between device trees defining multiple CPU ports and
975 * CPU port of a switch for its local ports. This can return NULL,