Searched refs:LAST_ARG (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_args_test.c | 54 #define bar LAST_ARG(foo) in last_arg_example() 188 int a[] = { LAST_ARG(FOO_ARGS) }; in last_arg_test() 190 KUNIT_EXPECT_EQ(test, LAST_ARG(-1, -2), -2); in last_arg_test() 192 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, LAST_ARG(FOO_ARGS)), 1); in last_arg_test() 193 KUNIT_EXPECT_EQ(test, LAST_ARG(FOO_ARGS), -4); in last_arg_test() 195 KUNIT_EXPECT_STREQ(test, __stringify(LAST_ARG(FOO_ARGS)), "Q"); in last_arg_test() 197 KUNIT_EXPECT_EQ(test, LAST_ARG(MAX_ARGS), -12); in last_arg_test() 198 KUNIT_EXPECT_STREQ(test, __stringify(LAST_ARG(MAX_ARGS)), "-12"); in last_arg_test()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_args.h | 87 #define LAST_ARG(args...) __LAST_ARG(args) macro
|