Home
last modified time | relevance | path

Searched refs:test_events (Results 1 – 4 of 4) 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.c18 } test_events[] = { variable
152 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; in do_test()
194 if (evsel->core.attr.config != (u64)test_events[i].key.type_and_num) { in do_test()
198 test_events[i].key.type_and_num); in do_test()
226 for (size_t i = 0; i < ARRAY_SIZE(test_events); i++) { in test__hwmon_pmu()
H A Dparse-events.c2604 static int test_events(const struct evlist_test *events, int cnt) in test_events() function
2640 return test_events(test__events, ARRAY_SIZE(test__events)); in test__events2()
2805 return test_events(test__events_pmu, ARRAY_SIZE(test__events_pmu)); in test__pmu_events2()
/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()