Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_vcap.c13 #define ENTRY_WIDTH 32 macro
94 entry_words = DIV_ROUND_UP(vcap->entry_width, ENTRY_WIDTH); in vcap_entry2cache()
111 entry_words = DIV_ROUND_UP(vcap->entry_width, ENTRY_WIDTH); in vcap_cache2entry()
137 action_words = DIV_ROUND_UP(vcap->action_width, ENTRY_WIDTH); in vcap_action2cache()
155 action_words = DIV_ROUND_UP(vcap->action_width, ENTRY_WIDTH); in vcap_cache2action()
224 v = data[offset / ENTRY_WIDTH]; in vcap_data_set()
225 m = (1 << (offset % ENTRY_WIDTH)); in vcap_data_set()
230 data[offset / ENTRY_WIDTH] = v; in vcap_data_set()
239 v = data[offset / ENTRY_WIDTH]; in vcap_data_get()
240 m = (1 << (offset % ENTRY_WIDTH)); in vcap_data_get()
[all …]