Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/dsa/sja1105/
Dsja1105_tas.c514 int other_port, rc, i; in sja1105_setup_tc_taprio() local
559 for (other_port = 0; other_port < ds->num_ports; other_port++) { in sja1105_setup_tc_taprio()
560 if (other_port == port) in sja1105_setup_tc_taprio()
563 if (sja1105_tas_check_conflicts(priv, other_port, admin)) in sja1105_setup_tc_taprio()
/Linux-v6.1/drivers/net/dsa/
Dmt7530.c1213 int other_port = other_dp->index; in mt7530_port_bridge_join() local
1225 if (priv->ports[other_port].enable) in mt7530_port_bridge_join()
1226 mt7530_set(priv, MT7530_PCR_P(other_port), in mt7530_port_bridge_join()
1228 priv->ports[other_port].pm |= PCR_MATRIX(BIT(port)); in mt7530_port_bridge_join()
1230 port_bitmap |= BIT(other_port); in mt7530_port_bridge_join()
1333 int other_port = other_dp->index; in mt7530_port_bridge_leave() local
1345 if (priv->ports[other_port].enable) in mt7530_port_bridge_leave()
1346 mt7530_clear(priv, MT7530_PCR_P(other_port), in mt7530_port_bridge_leave()
1348 priv->ports[other_port].pm &= ~PCR_MATRIX(BIT(port)); in mt7530_port_bridge_leave()
/Linux-v6.1/drivers/net/ethernet/adi/
Dadin1110.c1342 struct adin1110_port_priv *other_port; in adin1110_fdb_add() local
1372 other_port = priv->ports[!port_priv->nr]; in adin1110_fdb_add()
1376 return adin1110_write_mac_address(other_port, mac_nr, (u8 *)fdb->addr, in adin1110_fdb_add()
/Linux-v6.1/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-v6.1/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-v6.1/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c2485 int tc, port, other_port; in vsc9959_cut_through_fwd() local
2518 for_each_set_bit(other_port, &mask, ocelot->num_phys_ports) { in vsc9959_cut_through_fwd()
2521 other_ocelot_port = ocelot->ports[other_port]; in vsc9959_cut_through_fwd()
/Linux-v6.1/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-v6.1/drivers/net/ethernet/marvell/
Dmvneta.c4344 struct mvneta_pcpu_port *other_port = in mvneta_cpu_online() local
4347 napi_synchronize(&other_port->napi); in mvneta_cpu_online()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12181 u8 other_port = !BP_PORT(bp); in bnx2x_get_hwinfo() local
12182 u8 other_func = BP_PATH(bp) + 2*other_port; in bnx2x_get_hwinfo()