Searched refs:CHECK_ENC_GET (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | bitfield_kunit.c | 54 #define CHECK_ENC_GET(tp, v, field, res) do { \ macro 68 CHECK_ENC_GET(16, 1, 0x000f, 0x0001); in test_bitfields_constants() 69 CHECK_ENC_GET(16, 3, 0x00f0, 0x0030); in test_bitfields_constants() 70 CHECK_ENC_GET(16, 5, 0x0f00, 0x0500); in test_bitfields_constants() 71 CHECK_ENC_GET(16, 7, 0xf000, 0x7000); in test_bitfields_constants() 72 CHECK_ENC_GET(16, 14, 0x000f, 0x000e); in test_bitfields_constants() 73 CHECK_ENC_GET(16, 15, 0x00f0, 0x00f0); in test_bitfields_constants() 80 CHECK_ENC_GET(32, 1, 0x00000f00, 0x00000100); in test_bitfields_constants() 81 CHECK_ENC_GET(32, 3, 0x0000f000, 0x00003000); in test_bitfields_constants() 82 CHECK_ENC_GET(32, 5, 0x000f0000, 0x00050000); in test_bitfields_constants() [all …]
|