Searched refs:sw_count (Results 1 – 2 of 2) sorted by relevance
195 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()
41 u16 sw_count; /* Sub word count */ member