Searched refs:sw_width (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/ |
A D | vcap_api_private.h | 44 u32 sw_width; /* subword width in bits */ member 58 void vcap_iter_init(struct vcap_stream_iter *itr, int sw_width, 61 void vcap_iter_set(struct vcap_stream_iter *itr, int sw_width,
|
A D | vcap_api.c | 54 itr->sw_width = sw_width; in vcap_iter_set() 55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set() 75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update() 76 sw_bitpos = itr->offset % itr->sw_width; in vcap_iter_update() 85 vcap_iter_set(itr, sw_width, tg, offset); in vcap_iter_init() 153 vcap_iter_set(&iter, sw_width, tg, 0); in vcap_encode_typegroups() 278 vcap_iter_set(&iter, sw_width, tgt, 0); in vcap_verify_typegroups() 451 int sw_width = ri->vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield() local 503 int sw_width = vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield_typegroups() local 889 int sw_width; in vcap_set_rule_set_keyset() local [all …]
|
A D | vcap_api_kunit.c | 333 .sw_width = 52, in vcap_api_set_bit_1_test() 350 .sw_width = 52, in vcap_api_set_bit_0_test() 380 KUNIT_EXPECT_EQ(test, 52, iter.sw_width); in vcap_api_iterator_init_test() 387 KUNIT_EXPECT_EQ(test, 49, iter.sw_width); in vcap_api_iterator_init_test() 408 KUNIT_EXPECT_EQ(test, 49, iter.sw_width); in vcap_api_iterator_next_test() 536 int sw_width = 21; in vcap_api_encode_short_field_test() local 551 vcap_iter_init(&iter, sw_width, tgt, rf.offset); in vcap_api_encode_short_field_test() 554 KUNIT_EXPECT_EQ(test, 21, iter.sw_width); in vcap_api_encode_short_field_test() 557 KUNIT_EXPECT_EQ(test, 25 + 3 + 2 - sw_width, iter.reg_bitpos); in vcap_api_encode_short_field_test() 568 vcap_encode_typegroups(stream, sw_width, tgt, false); in vcap_api_encode_short_field_test() [all …]
|
A D | vcap_api.h | 92 u16 sw_width; /* bits per subword in a keyset */ member
|
A D | vcap_api_debugfs.c | 275 out->prf(out->dst, "sw_width: %d\n", vcap->sw_width); in vcap_show_admin_info()
|
A D | vcap_model_kunit.c | 3994 .sw_width = 52, 4015 .sw_width = 52, 4036 .sw_width = 52,
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_vcap_ag_api.c | 3785 .sw_width = 52, 3806 .sw_width = 52, 3827 .sw_width = 52, 3848 .sw_width = 52,
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_vcap_ag_api.c | 1582 .sw_width = 96,
|
Completed in 23 milliseconds