Searched refs:sw_count (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw() 341 int sw_count, idx; in vcap_find_keystream_keysets() local 343 sw_count = vcap_find_keystream_typegroup_sw(vctrl, vt, keystream, mask, in vcap_find_keystream_keysets() 345 if (sw_count < 0) in vcap_find_keystream_keysets() 346 return sw_count; in vcap_find_keystream_keysets() 350 if (keyfield_set[idx].sw_per_item != sw_count) in vcap_find_keystream_keysets() 417 if (kset->sw_per_item == 0 || kset->sw_per_item > vctrl->vcaps[vt].sw_count) in vcap_keyfieldset() 710 if (aset->sw_per_item == 0 || aset->sw_per_item > vctrl->vcaps[vt].sw_count) in vcap_actionfieldset() 1371 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_actionstream_typegroup_sw() 1392 int sw_count, idx; in vcap_find_actionstream_actionset() local [all …]
|
H A D | vcap_api.h | 91 u16 sw_count; /* maximum subwords used per rule */ member
|
H A D | vcap_api_debugfs.c | 274 out->prf(out->dst, "sw_count: %d\n", vcap->sw_count); in vcap_show_admin_info()
|
H A D | vcap_model_kunit.c | 3993 .sw_count = 12, 4014 .sw_count = 12, 4035 .sw_count = 12,
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.c | 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()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_ag_api.c | 3784 .sw_count = 12, 3805 .sw_count = 12, 3826 .sw_count = 1, 3847 .sw_count = 12,
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot_vcap.h | 41 u16 sw_count; /* Sub word count */ member
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_ag_api.c | 3201 .sw_count = 4, 3222 .sw_count = 4, 3243 .sw_count = 1,
|