Lines Matching refs:CHECK_ENC_GET
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()
83 CHECK_ENC_GET(32, 7, 0x00f00000, 0x00700000); in test_bitfields_constants()
84 CHECK_ENC_GET(32, 14, 0x0f000000, 0x0e000000); in test_bitfields_constants()
85 CHECK_ENC_GET(32, 15, 0xf0000000, 0xf0000000); in test_bitfields_constants()
87 CHECK_ENC_GET(64, 1, 0x00000f0000000000ull, 0x0000010000000000ull); in test_bitfields_constants()
88 CHECK_ENC_GET(64, 3, 0x0000f00000000000ull, 0x0000300000000000ull); in test_bitfields_constants()
89 CHECK_ENC_GET(64, 5, 0x000f000000000000ull, 0x0005000000000000ull); in test_bitfields_constants()
90 CHECK_ENC_GET(64, 7, 0x00f0000000000000ull, 0x0070000000000000ull); in test_bitfields_constants()
91 CHECK_ENC_GET(64, 14, 0x0f00000000000000ull, 0x0e00000000000000ull); in test_bitfields_constants()
92 CHECK_ENC_GET(64, 15, 0xf000000000000000ull, 0xf000000000000000ull); in test_bitfields_constants()
132 CHECK_ENC_GET(16, 16, 0x0f00, 0x1000); in test_bitfields_compile()