Home
last modified time | relevance | path

Searched refs:other_ctx (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/net/dsa/
Dtag_8021q.c322 struct dsa_8021q_context *other_ctx, in dsa_8021q_crosschip_link_apply() argument
330 return dsa_8021q_vid_apply(other_ctx, other_port, rx_vid, in dsa_8021q_crosschip_link_apply()
335 struct dsa_8021q_context *other_ctx, in dsa_8021q_crosschip_link_add() argument
341 if (c->port == port && c->other_ctx == other_ctx && in dsa_8021q_crosschip_link_add()
350 port, dev_name(other_ctx->ds->dev), other_port); in dsa_8021q_crosschip_link_add()
357 c->other_ctx = other_ctx; in dsa_8021q_crosschip_link_add()
377 c->port, dev_name(c->other_ctx->ds->dev), c->other_port); in dsa_8021q_crosschip_link_del()
391 struct dsa_8021q_context *other_ctx, in dsa_8021q_crosschip_bridge_join() argument
399 int other_upstream = dsa_upstream_port(other_ctx->ds, other_port); in dsa_8021q_crosschip_bridge_join()
402 rc = dsa_8021q_crosschip_link_add(ctx, port, other_ctx, other_port); in dsa_8021q_crosschip_bridge_join()
[all …]
/Linux-v5.10/include/linux/dsa/
D8021q.h20 struct dsa_8021q_context *other_ctx; member
45 struct dsa_8021q_context *other_ctx,
49 struct dsa_8021q_context *other_ctx,
77 struct dsa_8021q_context *other_ctx, in dsa_8021q_crosschip_bridge_join() argument
84 struct dsa_8021q_context *other_ctx, in dsa_8021q_crosschip_bridge_leave() argument
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c2141 struct dsa_8021q_context *other_ctx; member
2146 struct dsa_8021q_context *other_ctx; member
2323 struct sja1105_private *other_priv = c->other_ctx->ds->priv; in sja1105_build_crosschip_subvlans()
2333 if (!dsa_is_user_port(c->other_ctx->ds, c->other_port)) in sja1105_build_crosschip_subvlans()
2368 tmp->other_ctx == c->other_ctx) { in sja1105_build_crosschip_subvlans()
2386 tmp->other_ctx = c->other_ctx; in sja1105_build_crosschip_subvlans()
2393 struct sja1105_private *other_priv = tmp->other_ctx->ds->priv; in sja1105_build_crosschip_subvlans()
2410 rx_vid = dsa_8021q_rx_vid_subvlan(tmp->other_ctx->ds, in sja1105_build_crosschip_subvlans()
2489 if (s->other_ctx == c->other_ctx) { in sja1105_notify_crosschip_switches()
2504 s->other_ctx = c->other_ctx; in sja1105_notify_crosschip_switches()
[all …]