Searched refs:pol_ix (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/net/ethernet/mscc/
H A Docelot_police.c23 int qos_policer_conf_set(struct ocelot *ocelot, u32 pol_ix, argument
107 pol_ix, pir, GENMASK(15, 0));
114 pol_ix, cir, GENMASK(15, 0));
121 pol_ix, pbs, pbs_max);
128 pol_ix, cbs, cbs_max);
138 ocelot_write_gix(ocelot, value, ANA_POL_MODE_CFG, pol_ix);
143 ANA_POL_PIR_CFG, pol_ix);
147 ANA_POL_PIR_STATE, pol_ix);
152 ANA_POL_CIR_CFG, pol_ix);
156 ANA_POL_CIR_STATE, pol_ix);
[all...]
H A Docelot_police.h34 int qos_policer_conf_set(struct ocelot *ocelot, u32 pol_ix,
H A Docelot_flower.c241 u32 pol_ix, pol_max; local
279 filter->action.pol_ix = OCELOT_POLICER_DISCARD;
340 pol_ix = a->hw_index + ocelot->vcap_pol.base;
343 if (ocelot->vcap_pol.max2 && pol_ix > pol_max) {
344 pol_ix += ocelot->vcap_pol.base2 - pol_max - 1;
348 if (pol_ix >= pol_max)
351 filter->action.pol_ix = pol_ix;
H A Docelot_vcap.c340 vcap_action_set(vcap, data, VCAP_IS2_ACT_POLICE_IDX, a->pol_ix);
889 u32 pol_ix; member in struct:vcap_policer_entry
892 int ocelot_vcap_policer_add(struct ocelot *ocelot, u32 pol_ix, argument
907 if (tmp->pol_ix == pol_ix) {
916 ret = qos_policer_conf_set(ocelot, pol_ix, &pp);
922 tmp->pol_ix = pol_ix;
930 int ocelot_vcap_policer_del(struct ocelot *ocelot, u32 pol_ix) argument
937 if (tmp->pol_ix
[all...]
/linux-master/include/soc/mscc/
H A Docelot_vcap.h659 u32 pol_ix; member in struct:ocelot_vcap_action::__anon3251::__anon3254
H A Docelot.h1156 int ocelot_vcap_policer_add(struct ocelot *ocelot, u32 pol_ix,
1158 int ocelot_vcap_policer_del(struct ocelot *ocelot, u32 pol_ix);

Completed in 156 milliseconds