Home
last modified time | relevance | path

Searched refs:other_port (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_tas.c514 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()
/linux-6.6.21/drivers/net/dsa/
Dmt7530.c1235 int other_port = other_dp->index; in mt7530_port_bridge_join() local
1247 if (priv->ports[other_port].enable) in mt7530_port_bridge_join()
1248 mt7530_set(priv, MT7530_PCR_P(other_port), in mt7530_port_bridge_join()
1250 priv->ports[other_port].pm |= PCR_MATRIX(BIT(port)); in mt7530_port_bridge_join()
1252 port_bitmap |= BIT(other_port); in mt7530_port_bridge_join()
1367 int other_port = other_dp->index; in mt7530_port_bridge_leave() local
1379 if (priv->ports[other_port].enable) in mt7530_port_bridge_leave()
1380 mt7530_clear(priv, MT7530_PCR_P(other_port), in mt7530_port_bridge_leave()
1382 priv->ports[other_port].pm &= ~PCR_MATRIX(BIT(port)); in mt7530_port_bridge_leave()
/linux-6.6.21/drivers/net/ethernet/adi/
Dadin1110.c1357 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()
/linux-6.6.21/drivers/net/ethernet/cortina/
Dgemini.c1042 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()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmad.c687 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()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c2532 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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1460 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()
/linux-6.6.21/drivers/net/ethernet/marvell/
Dmvneta.c4404 struct mvneta_pcpu_port *other_port = in mvneta_cpu_online() local
4407 napi_synchronize(&other_port->napi); in mvneta_cpu_online()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12183 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()