/kernel/linux/linux-5.10/net/dsa/ |
H A D | tag_8021q.c | 323 int other_port, bool enabled) in dsa_8021q_crosschip_link_apply() 327 /* @rx_vid of local @ds port @port goes to @other_port of in dsa_8021q_crosschip_link_apply() 330 return dsa_8021q_vid_apply(other_ctx, other_port, rx_vid, in dsa_8021q_crosschip_link_apply() 336 int other_port) in dsa_8021q_crosschip_link_add() 342 c->other_port == other_port) { in dsa_8021q_crosschip_link_add() 350 port, dev_name(other_ctx->ds->dev), other_port); in dsa_8021q_crosschip_link_add() 358 c->other_port = other_port; 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() 320 dsa_8021q_crosschip_link_apply(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port, bool enabled) dsa_8021q_crosschip_link_apply() argument 334 dsa_8021q_crosschip_link_add(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_link_add() argument 390 dsa_8021q_crosschip_bridge_join(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_bridge_join() argument 420 dsa_8021q_crosschip_bridge_leave(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_bridge_leave() argument 432 int other_port = c->other_port; dsa_8021q_crosschip_bridge_leave() local [all...] |
/kernel/linux/linux-5.10/include/linux/dsa/ |
H A D | 8021q.h | 21 int other_port; member 46 int other_port); 50 int other_port); 78 int other_port) in dsa_8021q_crosschip_bridge_join() 85 int other_port) in dsa_8021q_crosschip_bridge_leave() 76 dsa_8021q_crosschip_bridge_join(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_bridge_join() argument 83 dsa_8021q_crosschip_bridge_leave(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_bridge_leave() argument
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_tas.c | 512 int other_port, rc, i; in sja1105_setup_tc_taprio() local 557 for (other_port = 0; other_port < SJA1105_NUM_PORTS; other_port++) { in sja1105_setup_tc_taprio() 558 if (other_port == port) in sja1105_setup_tc_taprio() 561 if (sja1105_tas_check_conflicts(priv, other_port, admin)) in sja1105_setup_tc_taprio()
|
H A D | sja1105_main.c | 1948 int other_port, struct net_device *br) in sja1105_crosschip_bridge_join() 1967 other_port); in sja1105_crosschip_bridge_join() 1972 other_port, in sja1105_crosschip_bridge_join() 1984 int other_port, in sja1105_crosschip_bridge_leave() 2003 other_port); in sja1105_crosschip_bridge_leave() 2006 other_port, in sja1105_crosschip_bridge_leave() 2221 int other_port; member 2414 if (!dsa_is_user_port(c->other_ctx->ds, c->other_port)) in sja1105_build_crosschip_subvlans() 2422 if (v->port != c->other_port) in sja1105_build_crosschip_subvlans() 2448 tmp->other_port in sja1105_build_crosschip_subvlans() 1946 sja1105_crosschip_bridge_join(struct dsa_switch *ds, int tree_index, int sw_index, int other_port, struct net_device *br) sja1105_crosschip_bridge_join() argument 1982 sja1105_crosschip_bridge_leave(struct dsa_switch *ds, int tree_index, int sw_index, int other_port, struct net_device *br) sja1105_crosschip_bridge_leave() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_tas.c | 514 int other_port, rc, i; in sja1105_setup_tc_taprio() local 562 for (other_port = 0; other_port < ds->num_ports; other_port++) { in sja1105_setup_tc_taprio() 563 if (other_port == port) in sja1105_setup_tc_taprio() 566 if (sja1105_tas_check_conflicts(priv, other_port, admin)) in sja1105_setup_tc_taprio()
|
/kernel/linux/linux-6.6/drivers/net/dsa/ |
H A D | mt7530.c | 1271 int other_port = other_dp->index; in mt7530_port_bridge_join() local 1283 if (priv->ports[other_port].enable) in mt7530_port_bridge_join() 1284 mt7530_set(priv, MT7530_PCR_P(other_port), in mt7530_port_bridge_join() 1286 priv->ports[other_port].pm |= PCR_MATRIX(BIT(port)); in mt7530_port_bridge_join() 1288 port_bitmap |= BIT(other_port); in mt7530_port_bridge_join() 1403 int other_port = other_dp->index; in mt7530_port_bridge_leave() local 1415 if (priv->ports[other_port].enable) in mt7530_port_bridge_leave() 1416 mt7530_clear(priv, MT7530_PCR_P(other_port), in mt7530_port_bridge_leave() 1418 priv->ports[other_port].pm &= ~PCR_MATRIX(BIT(port)); in mt7530_port_bridge_leave()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/adi/ |
H A D | adin1110.c | 1357 struct adin1110_port_priv *other_port; in adin1110_fdb_add() local 1387 other_port = priv->ports[!port_priv->nr]; in adin1110_fdb_add() 1388 port_rules = adin1110_port_rules(other_port, false, true); in adin1110_fdb_add() 1391 return adin1110_write_mac_address(other_port, mac_nr, (u8 *)fdb->addr, in adin1110_fdb_add()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 686 int err, other_port; in mlx4_ib_demux_mad() local 712 other_port = (port == 1) ? 2 : 1; in mlx4_ib_demux_mad() 713 err = mlx4_get_slave_from_roce_gid(dev->dev, other_port, dgid.raw, &slave); in mlx4_ib_demux_mad() 715 port = other_port; in mlx4_ib_demux_mad() 717 slave, grh->dgid.raw, port, other_port); in mlx4_ib_demux_mad()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1043 struct gemini_ethernet_port *other_port; in geth_resize_freeq() local 1065 other_port = netdev_priv(other_netdev); in geth_resize_freeq() 1066 new_size += 1 << (other_port->rxq_order + 1); in geth_resize_freeq() 1069 (1 << (other_port->rxq_order + 1)), in geth_resize_freeq() 1070 other_port->rxq_order); in geth_resize_freeq()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1042 struct gemini_ethernet_port *other_port; in geth_resize_freeq() local 1064 other_port = netdev_priv(other_netdev); in geth_resize_freeq() 1065 new_size += 1 << (other_port->rxq_order + 1); in geth_resize_freeq() 1068 (1 << (other_port->rxq_order + 1)), in geth_resize_freeq() 1069 other_port->rxq_order); in geth_resize_freeq()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 687 int err, other_port; in mlx4_ib_demux_mad() local 713 other_port = (port == 1) ? 2 : 1; in mlx4_ib_demux_mad() 714 err = mlx4_get_slave_from_roce_gid(dev->dev, other_port, dgid.raw, &slave); in mlx4_ib_demux_mad() 716 port = other_port; in mlx4_ib_demux_mad() 718 slave, grh->dgid.raw, port, other_port); in mlx4_ib_demux_mad()
|
/kernel/linux/linux-6.6/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 2532 int tc, port, other_port; in vsc9959_cut_through_fwd() local 2566 for_each_set_bit(other_port, &mask, ocelot->num_phys_ports) { in vsc9959_cut_through_fwd() 2569 other_ocelot_port = ocelot->ports[other_port]; in vsc9959_cut_through_fwd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.c | 1460 int other_port = (port == 1) ? 2 : 1; in mlx4_QUERY_PORT_wrapper() local 1463 err = mlx4_QUERY_PORT(dev, other_port, &port_cap); in mlx4_QUERY_PORT_wrapper()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.c | 1460 int other_port = (port == 1) ? 2 : 1; in mlx4_QUERY_PORT_wrapper() local 1463 err = mlx4_QUERY_PORT(dev, other_port, &port_cap); in mlx4_QUERY_PORT_wrapper()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 4215 struct mvneta_pcpu_port *other_port = in mvneta_cpu_online() local 4218 napi_synchronize(&other_port->napi); in mvneta_cpu_online()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 4404 struct mvneta_pcpu_port *other_port = in mvneta_cpu_online() local 4407 napi_synchronize(&other_port->napi); in mvneta_cpu_online()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 12178 u8 other_port = !BP_PORT(bp); in bnx2x_get_hwinfo() local 12179 u8 other_func = BP_PATH(bp) + 2*other_port; in bnx2x_get_hwinfo()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 12183 u8 other_port = !BP_PORT(bp); in bnx2x_get_hwinfo() local 12184 u8 other_func = BP_PATH(bp) + 2*other_port; in bnx2x_get_hwinfo()
|