Searched refs:num_of_ports (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/soundwire/ |
D | mipi_disco.c | 291 int num_of_ports, nval, i, dp0 = 0; in sdw_slave_read_prop() local 387 num_of_ports = hweight32(nval) + dp0; /* add DP0 */ in sdw_slave_read_prop() 390 slave->port_ready = devm_kcalloc(&slave->dev, num_of_ports, in sdw_slave_read_prop() 397 for (i = 0; i < num_of_ports; i++) in sdw_slave_read_prop()
|
/Linux-v5.4/drivers/net/bonding/ |
D | bond_3ad.c | 1407 temp_aggregator->num_of_ports--; in ad_port_selection_logic() 1476 port->aggregator->num_of_ports++; in ad_port_selection_logic() 1520 port->aggregator->num_of_ports++; in ad_port_selection_logic() 1715 best->aggregator_identifier, best->num_of_ports, in ad_agg_selection_logic() 1727 agg->aggregator_identifier, agg->num_of_ports, in ad_agg_selection_logic() 1744 best->aggregator_identifier, best->num_of_ports, in ad_agg_selection_logic() 1798 aggregator->num_of_ports = 0; in ad_clear_agg() 2071 aggregator->num_of_ports = 0; in bond_3ad_bind_slave() 2163 new_aggregator->num_of_ports = aggregator->num_of_ports; in bond_3ad_unbind_slave() 2217 temp_aggregator->num_of_ports--; in bond_3ad_unbind_slave()
|
/Linux-v5.4/include/net/ |
D | bond_3ad.h | 195 u16 num_of_ports; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 1513 int num_of_ports; in mlxsw_sp_mc_write_mdb_entry() local 1523 num_of_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_mc_write_mdb_entry() 1524 alloc_size = sizeof(long) * BITS_TO_LONGS(num_of_ports); in mlxsw_sp_mc_write_mdb_entry() 1529 bitmap_copy(flood_bitmap, mid->ports_in_mid, num_of_ports); in mlxsw_sp_mc_write_mdb_entry()
|