Lines Matching defs:other_dp
1358 struct dsa_port *dp, *other_dp;
1410 dsa_switch_for_each_port(other_dp, ds)
1411 if (other_dp->type == DSA_PORT_TYPE_CPU ||
1412 other_dp->type == DSA_PORT_TYPE_DSA ||
1413 dsa_port_bridge_same(dp, other_dp))
1414 pvlan |= BIT(other_dp->index);
1957 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp;
1973 dsa_switch_for_each_user_port(other_dp, ds) {
1976 if (vlan.member[other_dp->index] ==
1980 if (dsa_port_bridge_same(dp, other_dp))
1983 other_br = dsa_port_bridge_dev_get(other_dp);
1988 port, vlan.vid, other_dp->index, netdev_name(other_br));