Lines Matching refs:_ds
175 #define dsa_hsr_foreach_port(_dp, _ds, _hsr) \ argument
176 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
177 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
580 #define dsa_switch_for_each_port(_dp, _ds) \ argument
581 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
582 if ((_dp)->ds == (_ds))
584 #define dsa_switch_for_each_port_safe(_dp, _next, _ds) \ argument
585 list_for_each_entry_safe((_dp), (_next), &(_ds)->dst->ports, list) \
586 if ((_dp)->ds == (_ds))
588 #define dsa_switch_for_each_port_continue_reverse(_dp, _ds) \ argument
589 list_for_each_entry_continue_reverse((_dp), &(_ds)->dst->ports, list) \
590 if ((_dp)->ds == (_ds))
592 #define dsa_switch_for_each_available_port(_dp, _ds) \ argument
593 dsa_switch_for_each_port((_dp), (_ds)) \
596 #define dsa_switch_for_each_user_port(_dp, _ds) \ argument
597 dsa_switch_for_each_port((_dp), (_ds)) \
600 #define dsa_switch_for_each_user_port_continue_reverse(_dp, _ds) \ argument
601 dsa_switch_for_each_port_continue_reverse((_dp), (_ds)) \
604 #define dsa_switch_for_each_cpu_port(_dp, _ds) \ argument
605 dsa_switch_for_each_port((_dp), (_ds)) \
608 #define dsa_switch_for_each_cpu_port_continue_reverse(_dp, _ds) \ argument
609 dsa_switch_for_each_port_continue_reverse((_dp), (_ds)) \