Lines Matching refs:p

10 	int p, lag, i;  in lan966x_lag_set_aggr_pgids()  local
13 for (p = 0; p < lan966x->num_phys_ports; ++p) in lan966x_lag_set_aggr_pgids()
14 lan_wr(ANA_PGID_PGID_SET(BIT(p)), in lan966x_lag_set_aggr_pgids()
15 lan966x, ANA_PGID(p)); in lan966x_lag_set_aggr_pgids()
17 for (p = PGID_AGGR; p < PGID_SRC; ++p) in lan966x_lag_set_aggr_pgids()
19 lan966x, ANA_PGID(p)); in lan966x_lag_set_aggr_pgids()
29 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_set_aggr_pgids()
30 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
35 visited &= ~BIT(p); in lan966x_lag_set_aggr_pgids()
52 for_each_set_bit(p, &bond_mask, lan966x->num_phys_ports) { in lan966x_lag_set_aggr_pgids()
53 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
59 lan966x, ANA_PGID(p)); in lan966x_lag_set_aggr_pgids()
61 aggr_idx[num_active_ports++] = p; in lan966x_lag_set_aggr_pgids()
81 for (p = lag; p < lan966x->num_phys_ports; p++) { in lan966x_lag_set_aggr_pgids()
82 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
88 visited |= BIT(p); in lan966x_lag_set_aggr_pgids()
98 int p; in lan966x_lag_set_port_ids() local
100 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_set_port_ids()
101 port = lan966x->ports[p]; in lan966x_lag_set_port_ids()
192 int p; in lan966x_lag_port_check_hash_types() local
194 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_port_check_hash_types()
195 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_port_check_hash_types()
353 int p; in lan966x_lag_get_mask() local
358 for (p = 0; p < lan966x->num_phys_ports; p++) { in lan966x_lag_get_mask()
359 port = lan966x->ports[p]; in lan966x_lag_get_mask()
364 mask |= BIT(p); in lan966x_lag_get_mask()