Lines Matching refs:maskwords
583 u32 maskwords[16] = {0}; in vcap_api_encode_keyfield_test() local
588 .maskstream = maskwords, in vcap_api_encode_keyfield_test()
630 KUNIT_EXPECT_EQ(test, (u32)0x0, maskwords[0]); in vcap_api_encode_keyfield_test()
631 KUNIT_EXPECT_EQ(test, (u32)0x0, maskwords[1]); in vcap_api_encode_keyfield_test()
632 KUNIT_EXPECT_EQ(test, (u32)(0x0fff << 6), maskwords[2]); in vcap_api_encode_keyfield_test()
633 KUNIT_EXPECT_EQ(test, (u32)0x0, maskwords[3]); in vcap_api_encode_keyfield_test()
634 KUNIT_EXPECT_EQ(test, (u32)0x0, maskwords[4]); in vcap_api_encode_keyfield_test()
635 KUNIT_EXPECT_EQ(test, (u32)0x0, maskwords[5]); in vcap_api_encode_keyfield_test()
636 KUNIT_EXPECT_EQ(test, (u32)0x0, maskwords[6]); in vcap_api_encode_keyfield_test()
643 u32 maskwords[6] = {0}; in vcap_api_encode_max_keyfield_test() local
649 .maskstream = maskwords, in vcap_api_encode_max_keyfield_test()
703 KUNIT_EXPECT_EQ(test, mskres[idx], maskwords[idx]); in vcap_api_encode_max_keyfield_test()
829 u32 maskwords[16] = {0}; in vcap_api_encode_rule_keyset_test() local
834 .maskstream = maskwords, in vcap_api_encode_rule_keyset_test()
924 KUNIT_EXPECT_EQ(test, (u32)~0x00b07f80, maskwords[0]); in vcap_api_encode_rule_keyset_test()
925 KUNIT_EXPECT_EQ(test, (u32)~0xfff00000, maskwords[1]); in vcap_api_encode_rule_keyset_test()
926 KUNIT_EXPECT_EQ(test, (u32)~0xfffffffc, maskwords[2]); in vcap_api_encode_rule_keyset_test()
927 KUNIT_EXPECT_EQ(test, (u32)~0xfff000ff, maskwords[3]); in vcap_api_encode_rule_keyset_test()
928 KUNIT_EXPECT_EQ(test, (u32)~0x00000000, maskwords[4]); in vcap_api_encode_rule_keyset_test()
929 KUNIT_EXPECT_EQ(test, (u32)~0xfffffff0, maskwords[5]); in vcap_api_encode_rule_keyset_test()
930 KUNIT_EXPECT_EQ(test, (u32)~0xfffffffe, maskwords[6]); in vcap_api_encode_rule_keyset_test()
931 KUNIT_EXPECT_EQ(test, (u32)~0xfffc0001, maskwords[7]); in vcap_api_encode_rule_keyset_test()
932 KUNIT_EXPECT_EQ(test, (u32)~0xffffffff, maskwords[8]); in vcap_api_encode_rule_keyset_test()
933 KUNIT_EXPECT_EQ(test, (u32)~0xffffffff, maskwords[9]); in vcap_api_encode_rule_keyset_test()
934 KUNIT_EXPECT_EQ(test, (u32)~0xffffffff, maskwords[10]); in vcap_api_encode_rule_keyset_test()
935 KUNIT_EXPECT_EQ(test, (u32)~0xffffffff, maskwords[11]); in vcap_api_encode_rule_keyset_test()