Lines Matching refs:_ds
189 #define dsa_hsr_foreach_port(_dp, _ds, _hsr) \ argument
190 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
191 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
571 #define dsa_switch_for_each_port(_dp, _ds) \ argument
572 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \
573 if ((_dp)->ds == (_ds))
575 #define dsa_switch_for_each_port_safe(_dp, _next, _ds) \ argument
576 list_for_each_entry_safe((_dp), (_next), &(_ds)->dst->ports, list) \
577 if ((_dp)->ds == (_ds))
579 #define dsa_switch_for_each_port_continue_reverse(_dp, _ds) \ argument
580 list_for_each_entry_continue_reverse((_dp), &(_ds)->dst->ports, list) \
581 if ((_dp)->ds == (_ds))
583 #define dsa_switch_for_each_available_port(_dp, _ds) \ argument
584 dsa_switch_for_each_port((_dp), (_ds)) \
587 #define dsa_switch_for_each_user_port(_dp, _ds) \ argument
588 dsa_switch_for_each_port((_dp), (_ds)) \
591 #define dsa_switch_for_each_cpu_port(_dp, _ds) \ argument
592 dsa_switch_for_each_port((_dp), (_ds)) \
595 #define dsa_switch_for_each_cpu_port_continue_reverse(_dp, _ds) \ argument
596 dsa_switch_for_each_port_continue_reverse((_dp), (_ds)) \