Home
last modified time | relevance | path

Searched refs:vcap_pol (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_flower.c340 pol_ix = a->hw_index + ocelot->vcap_pol.base; in ocelot_flower_parse_action()
341 pol_max = ocelot->vcap_pol.max; in ocelot_flower_parse_action()
343 if (ocelot->vcap_pol.max2 && pol_ix > pol_max) { in ocelot_flower_parse_action()
344 pol_ix += ocelot->vcap_pol.base2 - pol_max - 1; in ocelot_flower_parse_action()
345 pol_max = ocelot->vcap_pol.max2; in ocelot_flower_parse_action()
H A Docelot_vsc7514.c347 ocelot->vcap_pol.base = VSC7514_VCAP_POLICER_BASE; in mscc_ocelot_probe()
348 ocelot->vcap_pol.max = VSC7514_VCAP_POLICER_MAX; in mscc_ocelot_probe()
H A Docelot_vcap.c906 list_for_each_entry(tmp, &ocelot->vcap_pol.pol_list, list) in ocelot_vcap_policer_add()
924 list_add_tail(&tmp->list, &ocelot->vcap_pol.pol_list); in ocelot_vcap_policer_add()
936 list_for_each_entry_safe(tmp, n, &ocelot->vcap_pol.pol_list, list) in ocelot_vcap_policer_del()
1429 INIT_LIST_HEAD(&ocelot->vcap_pol.pol_list); in ocelot_vcap_init()
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1389 ocelot->vcap_pol.base = felix->info->vcap_pol_base; in felix_init_structs()
1390 ocelot->vcap_pol.max = felix->info->vcap_pol_max; in felix_init_structs()
1391 ocelot->vcap_pol.base2 = felix->info->vcap_pol_base2; in felix_init_structs()
1392 ocelot->vcap_pol.max2 = felix->info->vcap_pol_max2; in felix_init_structs()
/openbmc/linux/include/soc/mscc/
H A Docelot.h851 struct ocelot_vcap_policer vcap_pol; member