Lines Matching refs:_ds
176 #define dsa_hsr_foreach_port(_dp, _ds, _hsr) \
177 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
178 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
561 #define dsa_switch_for_each_port(_dp, _ds) \
562 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
563 if ((_dp)->ds == (_ds))
565 #define dsa_switch_for_each_port_safe(_dp, _next, _ds) \
566 list_for_each_entry_safe((_dp), (_next), &(_ds)->dst->ports, list) \
567 if ((_dp)->ds == (_ds))
569 #define dsa_switch_for_each_port_continue_reverse(_dp, _ds) \
570 list_for_each_entry_continue_reverse((_dp), &(_ds)->dst->ports, list) \
571 if ((_dp)->ds == (_ds))
573 #define dsa_switch_for_each_available_port(_dp, _ds) \
574 dsa_switch_for_each_port((_dp), (_ds)) \
577 #define dsa_switch_for_each_user_port(_dp, _ds) \
578 dsa_switch_for_each_port((_dp), (_ds)) \
581 #define dsa_switch_for_each_cpu_port(_dp, _ds) \
582 dsa_switch_for_each_port((_dp), (_ds)) \
585 #define dsa_switch_for_each_cpu_port_continue_reverse(_dp, _ds) \
586 dsa_switch_for_each_port_continue_reverse((_dp), (_ds)) \