Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mscc/
Docelot_vcap.c195 num_subwords_per_entry = (vcap->sw_count / num_entries_per_row); in vcap_data_offset_get()
196 base = (vcap->sw_count - col * num_subwords_per_entry - in vcap_data_offset_get()
208 data->key_offset = (base * vcap->entry_width) / vcap->sw_count; in vcap_data_offset_get()
1350 vcap->sw_count = ocelot_target_read(ocelot, vcap->target, in ocelot_vcap_detect_constants()
1385 vcap->entry_width -= vcap->tg_width * vcap->sw_count; in ocelot_vcap_detect_constants()
1396 vcap->counter_words = vcap->sw_count; in ocelot_vcap_detect_constants()
/linux-5.19.10/include/soc/mscc/
Docelot_vcap.h41 u16 sw_count; /* Sub word count */ member