Home
last modified time | relevance | path

Searched refs:is_event_supported (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/util/
H A Dprint-events.h37 bool is_event_supported(u8 type, u64 config);
H A Dprint-events.c134 bool is_event_supported(u8 type, u64 config) in is_event_supported() function
H A Dpmus.c814 if (!is_event_supported(PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES | ((__u64)pmu->type << PERF_PMU_TYPE_SHIFT))) in perf_pmus__supports_extended_type()
H A Dpmu.c2215 alias->deprecated = !is_event_supported(attr.type, attr.config); in perf_pmu__for_each_event()
/linux/drivers/input/
H A Dinput.c65 static inline int is_event_supported(unsigned int code, in is_event_supported() function
236 if (is_event_supported(code, dev->keybit, KEY_MAX)) { in input_get_disposition()
253 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition()
262 if (is_event_supported(code, dev->absbit, ABS_MAX)) in input_get_disposition()
268 if (is_event_supported(code, dev->relbit, REL_MAX) && value) in input_get_disposition()
274 if (is_event_supported(code, dev->mscbit, MSC_MAX)) in input_get_disposition()
280 if (is_event_supported(code, dev->ledbit, LED_MAX) && in input_get_disposition()
289 if (is_event_supported(code, dev->sndbit, SND_MAX)) { in input_get_disposition()
394 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_event()
418 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_inject_event()
[all …]