Searched refs:other_dp (Results 1 - 8 of 8) sorted by relevance

/linux-master/net/dsa/
H A Dtag_ksz.c298 struct dsa_port *other_dp; local
300 dsa_hsr_foreach_port(other_dp, dp->ds, hsr_dev)
301 val |= BIT(other_dp->index);
H A Dport.c277 struct dsa_port *other_dp; local
300 dsa_switch_for_each_port(other_dp, ds) {
301 struct net_device *br = dsa_port_bridge_dev_get(other_dp);
734 struct dsa_port *other_dp; local
777 dsa_switch_for_each_port(other_dp, ds) {
778 struct net_device *other_br = dsa_port_bridge_dev_get(other_dp);
825 struct dsa_port *other_dp; local
829 dsa_switch_for_each_user_port(other_dp, ds) {
830 struct net_device *user = other_dp->user;
H A Dtag_sja1105.c177 struct dsa_port *other_dp; local
190 dsa_switch_for_each_port(other_dp, ds) {
191 struct net_device *br = dsa_port_bridge_dev_get(other_dp);
H A Duser.c1991 struct dsa_port *other_dp; local
2006 list_for_each_entry(other_dp, &dst->ports, list) {
2010 if (other_dp->type != DSA_PORT_TYPE_USER)
2013 if (!dsa_port_bridge_same(dp, other_dp))
2016 if (!other_dp->ds->mtu_enforcement_ingress)
2019 user = other_dp->user;
2059 struct dsa_port *other_dp; local
2071 dsa_tree_for_each_user_port(other_dp, ds->dst) {
2078 if (!other_dp->user)
2084 if (dp == other_dp)
[all...]
/linux-master/drivers/net/dsa/
H A Dmt7530.c1359 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; local
1366 dsa_switch_for_each_user_port(other_dp, ds) {
1367 int other_port = other_dp->index;
1369 if (dp == other_dp)
1376 if (!dsa_port_offloads_bridge(other_dp, &bridge))
1492 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; local
1498 dsa_switch_for_each_user_port(other_dp, ds) {
1499 int other_port = other_dp->index;
1501 if (dp == other_dp)
1508 if (!dsa_port_offloads_bridge(other_dp,
[all...]
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix.c448 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; local
461 dsa_switch_for_each_user_port(other_dp, ds) {
462 struct net_device *user = other_dp->user;
464 if (other_dp != dp && (user->flags & IFF_UP) &&
465 dsa_port_to_conduit(other_dp) != conduit) {
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c1520 struct dsa_port *dp, *other_dp; local
1572 dsa_switch_for_each_port(other_dp, ds)
1573 if (other_dp->type == DSA_PORT_TYPE_CPU ||
1574 other_dp->type == DSA_PORT_TYPE_DSA ||
1575 dsa_port_bridge_same(dp, other_dp))
1576 pvlan |= BIT(other_dp->index);
2119 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; local
2135 dsa_switch_for_each_user_port(other_dp, ds) {
2138 if (vlan.member[other_dp->index] ==
2142 if (dsa_port_bridge_same(dp, other_dp))
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz_common.c1938 const struct dsa_port *other_dp = dsa_to_port(ds, i); local
1946 if (!dsa_port_bridge_same(dp, other_dp))
1988 if (dsa_port_bridge_same(other_dp, third_dp) &&

Completed in 235 milliseconds