Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-uclogic-core-test.c31 static struct uclogic_raw_event_hook_test test_events[] = { variable
91 for (n = 0; n < ARRAY_SIZE(test_events); n++) { in hid_test_uclogic_exec_event_hook_test()
92 res = uclogic_exec_event_hook(&p, &test_events[n].event[0], in hid_test_uclogic_exec_event_hook_test()
93 test_events[n].size); in hid_test_uclogic_exec_event_hook_test()
94 KUNIT_ASSERT_EQ(test, res, test_events[n].expected); in hid_test_uclogic_exec_event_hook_test()
/linux/tools/perf/tests/
H A Dhwmon_pmu.c17 } test_events[] = { variable
144 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; in do_test()
186 if (evsel->core.attr.config != (u64)test_events[i].config) { in do_test()
190 test_events[i].config); in do_test()
218 for (size_t i = 0; i < ARRAY_SIZE(test_events); i++) { in test__hwmon_pmu()
/linux/tools/perf/arch/x86/tests/
H A Dhybrid.c285 static int test_events(const struct evlist_test *events, int cnt) in test_events() function
309 return test_events(test__hybrid_events, ARRAY_SIZE(test__hybrid_events)); in test__hybrid()