Lines Matching refs:other_dp
1543 struct dsa_port *dp, *other_dp;
1595 dsa_switch_for_each_port(other_dp, ds)
1596 if (other_dp->type == DSA_PORT_TYPE_CPU ||
1597 other_dp->type == DSA_PORT_TYPE_DSA ||
1598 dsa_port_bridge_same(dp, other_dp))
1599 pvlan |= BIT(other_dp->index);
2142 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp;
2158 dsa_switch_for_each_user_port(other_dp, ds) {
2161 if (vlan.member[other_dp->index] ==
2165 if (dsa_port_bridge_same(dp, other_dp))
2168 other_br = dsa_port_bridge_dev_get(other_dp);
2173 port, vlan.vid, other_dp->index, netdev_name(other_br));