Lines Matching refs:res
11 #define CHECK_ENC_GET_U(tp, v, field, res) do { \ argument
16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \
17 "u" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != " #res "\n", \
24 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ argument
30 _res != cpu_to_le##tp(res), \
33 (u64)(res)); \
39 #define CHECK_ENC_GET_BE(tp, v, field, res) do { \ argument
45 _res != cpu_to_be##tp(res), \
48 (u64)(res)); \
54 #define CHECK_ENC_GET(tp, v, field, res) do { \ argument
55 CHECK_ENC_GET_U(tp, v, field, res); \
56 CHECK_ENC_GET_LE(tp, v, field, res); \
57 CHECK_ENC_GET_BE(tp, v, field, res); \