Home
last modified time | relevance | path

Searched refs:pol_idx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_police.c20 u16 pol_idx) in lan966x_police_add() argument
40 lan966x, ANA_POL_MODE(pol_idx)); in lan966x_police_add()
43 lan966x, ANA_POL_PIR_STATE(pol_idx)); in lan966x_police_add()
47 lan966x, ANA_POL_PIR_CFG(pol_idx)); in lan966x_police_add()
52 static void lan966x_police_del(struct lan966x_port *port, u16 pol_idx) in lan966x_police_del() argument
61 lan966x, ANA_POL_MODE(pol_idx)); in lan966x_police_del()
64 lan966x, ANA_POL_PIR_STATE(pol_idx)); in lan966x_police_del()
68 lan966x, ANA_POL_PIR_CFG(pol_idx)); in lan966x_police_del()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c772 int pol_idx, struct sparx5_psfp_sg *sg, in sparx5_tc_flower_psfp_setup() argument
800 if (pol_idx >= 0) { in sparx5_tc_flower_psfp_setup()
802 ret = sparx5_psfp_fm_add(sparx5, pol_idx, fm, &psfp_fmid); in sparx5_tc_flower_psfp_setup()