Searched refs:bond_mask (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_lag.c | 43 unsigned long bond_mask; in lan966x_lag_set_aggr_pgids() local 50 bond_mask = lan966x_lag_get_mask(lan966x, bond); in lan966x_lag_set_aggr_pgids() 52 for_each_set_bit(p, &bond_mask, lan966x->num_phys_ports) { in lan966x_lag_set_aggr_pgids() 58 lan_wr(ANA_PGID_PGID_SET(bond_mask), in lan966x_lag_set_aggr_pgids() 68 ac &= ~bond_mask; in lan966x_lag_set_aggr_pgids() 96 u32 bond_mask; in lan966x_lag_set_port_ids() local 107 bond_mask = lan966x_lag_get_mask(lan966x, port->bond); in lan966x_lag_set_port_ids() 108 if (bond_mask) in lan966x_lag_set_port_ids() 109 lag_id = __ffs(bond_mask); in lan966x_lag_set_port_ids() 132 u32 bond_mask; in lan966x_lag_port_join() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/mscc/ |
D | ocelot.c | 1499 int bond_mask = ocelot_get_bond_mask(ocelot, bond); in ocelot_bond_get_id() local 1501 if (!bond_mask) in ocelot_bond_get_id() 1504 return __ffs(bond_mask); in ocelot_bond_get_id() 2065 unsigned long bond_mask; in ocelot_set_aggr_pgids() local 2071 bond_mask = ocelot_get_bond_mask(ocelot, bond); in ocelot_set_aggr_pgids() 2073 for_each_set_bit(port, &bond_mask, ocelot->num_phys_ports) { in ocelot_set_aggr_pgids() 2077 ocelot_write_rix(ocelot, bond_mask, in ocelot_set_aggr_pgids() 2088 ac &= ~bond_mask; in ocelot_set_aggr_pgids()
|