Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mscc/
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()
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()
Docelot_vcap.c907 list_for_each_entry(tmp, &ocelot->vcap_pol.pol_list, list) in ocelot_vcap_policer_add()
925 list_add_tail(&tmp->list, &ocelot->vcap_pol.pol_list); in ocelot_vcap_policer_add()
937 list_for_each_entry_safe(tmp, n, &ocelot->vcap_pol.pol_list, list) in ocelot_vcap_policer_del()
1430 INIT_LIST_HEAD(&ocelot->vcap_pol.pol_list); in ocelot_vcap_init()
/linux-6.12.1/drivers/net/dsa/ocelot/
Dfelix.c1503 ocelot->vcap_pol.base = felix->info->vcap_pol_base; in felix_init_structs()
1504 ocelot->vcap_pol.max = felix->info->vcap_pol_max; in felix_init_structs()
1505 ocelot->vcap_pol.base2 = felix->info->vcap_pol_base2; in felix_init_structs()
1506 ocelot->vcap_pol.max2 = felix->info->vcap_pol_max2; in felix_init_structs()
/linux-6.12.1/include/soc/mscc/
Docelot.h853 struct ocelot_vcap_policer vcap_pol; member