Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_client.h146 struct vcap_counter { struct
211 struct vcap_counter *ctr, u64 cookie);
212 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr);
213 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr);
H A Dvcap_api_private.h37 struct vcap_counter counter; /* last read counter value */
H A Dvcap_api.c1591 struct vcap_counter *ctr) in vcap_write_counter()
2262 struct vcap_counter ctr = {0}; in vcap_add_rule()
2458 struct vcap_counter ctr; in vcap_mod_rule()
2923 struct vcap_counter *ctr) in vcap_read_counter()
3260 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_set_counter()
3281 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_get_counter()
3385 struct vcap_counter *ctr, u64 cookie) in vcap_get_rule_count_by_cookie()
3388 struct vcap_counter temp = {}; in vcap_get_rule_count_by_cookie()
H A Dvcap_api_kunit.c1480 struct vcap_counter ctr = { .value = 0, .sticky = false}; in vcap_api_set_rule_counter_test()
1481 struct vcap_counter ctr2 = { .value = 101, .sticky = true}; in vcap_api_set_rule_counter_test()
1533 struct vcap_counter ctr = {}; in vcap_api_get_rule_counter_test()
1534 struct vcap_counter ctr2 = {}; in vcap_api_get_rule_counter_test()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c587 struct vcap_counter count = {}; in lan966x_tc_flower_stats()