Lines Matching refs:prestera_counter

13 struct prestera_counter {  struct
50 static void prestera_counter_lock(struct prestera_counter *counter) in prestera_counter_lock()
55 static void prestera_counter_unlock(struct prestera_counter *counter) in prestera_counter_unlock()
89 prestera_counter_block_lookup_not_full(struct prestera_counter *counter, in prestera_counter_block_lookup_not_full()
109 static int prestera_counter_block_list_add(struct prestera_counter *counter, in prestera_counter_block_list_add()
141 prestera_counter_block_get(struct prestera_counter *counter, u32 client) in prestera_counter_block_get()
199 static void prestera_counter_block_put(struct prestera_counter *counter, in prestera_counter_block_put()
251 int prestera_counter_get(struct prestera_counter *counter, u32 client, in prestera_counter_get()
284 void prestera_counter_put(struct prestera_counter *counter, in prestera_counter_put()
300 static u32 prestera_counter_block_idx_next(struct prestera_counter *counter, in prestera_counter_block_idx_next()
320 prestera_counter_block_get_by_idx(struct prestera_counter *counter, u32 idx) in prestera_counter_block_get_by_idx()
341 struct prestera_counter *counter = in prestera_counter_stats_work()
342 container_of(dl_work, struct prestera_counter, stats_dw); in prestera_counter_stats_work()
417 int prestera_counter_stats_get(struct prestera_counter *counter, in prestera_counter_stats_get()
439 struct prestera_counter *counter; in prestera_counter_init()
464 struct prestera_counter *counter = sw->counter; in prestera_counter_fini()