Home
last modified time | relevance | path

Searched refs:CALL_ARGS (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/xe/tests/
H A Dxe_args_test.c14 #define buz CALL_ARGS(COUNT_ARGS, foo) in call_args_example()
27 #define bar CALL_ARGS(COUNT_ARGS, DROP_FIRST_ARG(foo)) in drop_first_arg_example()
85 #define buz CALL_ARGS(COUNT_ARGS, DROP_FIRST_ARG(foo(ARGS_SEP_COMMA))) in sep_comma_example()
136 count = CALL_ARGS(COUNT_ARGS, NO_ARGS); in call_args_test()
138 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, NO_ARGS), 0); in call_args_test()
139 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, FOO_ARGS), 4); in call_args_test()
140 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, FOO_ARGS, FOO_ARGS), 8); in call_args_test()
141 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, MAX_ARGS), 12); in call_args_test()
152 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, DROP_FIRST_ARG(FOO_ARGS)), 3); in drop_first_arg_test()
162 KUNIT_EXPECT_EQ(test, CALL_ARGS(COUNT_ARGS, foo), 3); in drop_first_arg_test()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_args.h34 #define CALL_ARGS(f, args...) __CALL_ARGS(f, args) macro
110 #define __PICK_ARG(n, args...) CALL_ARGS(CONCATENATE(PICK_ARG, n), args)
H A Dxe_guc_klv_thresholds_set_types.h43 (CALL_ARGS(COUNT_ARGS, MAKE_XE_GUC_KLV_THRESHOLDS_SET(ARGS_SEP_COMMA)) - 1)