Searched refs:num_active_ports (Results 1 – 2 of 2) sorted by relevance
41 int num_active_ports = 0; in lan966x_lag_set_aggr_pgids() local61 aggr_idx[num_active_ports++] = p; in lan966x_lag_set_aggr_pgids()72 if (num_active_ports) in lan966x_lag_set_aggr_pgids()73 ac |= BIT(aggr_idx[i % num_active_ports]); in lan966x_lag_set_aggr_pgids()
2064 int num_active_ports = 0; in ocelot_set_aggr_pgids() local2081 aggr_idx[num_active_ports++] = port; in ocelot_set_aggr_pgids()2092 if (num_active_ports) in ocelot_set_aggr_pgids()2093 ac |= BIT(aggr_idx[i % num_active_ports]); in ocelot_set_aggr_pgids()