Home
last modified time | relevance | path

Searched refs:is_event_supported (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/util/
H A Dprint-events.c232 bool is_event_supported(u8 type, u64 config) in is_event_supported() function
311 if (ret || !is_event_supported(PERF_TYPE_HW_CACHE, config)) in print_hwcache_events()
370 if (!is_event_supported(type, i)) in print_symbol_events()
H A Dprint-events.h41 bool is_event_supported(u8 type, u64 config);
H A Dpmus.c529 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()
/kernel/linux/linux-5.10/drivers/input/
H A Dinput.c61 static inline int is_event_supported(unsigned int code, in is_event_supported() function
201 is_event_supported(dev->repeat_key, dev->keybit, KEY_MAX)) { in input_repeat_key()
299 if (is_event_supported(code, dev->keybit, KEY_MAX)) { in input_get_disposition()
316 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition()
325 if (is_event_supported(code, dev->absbit, ABS_MAX)) in input_get_disposition()
331 if (is_event_supported(code, dev->relbit, REL_MAX) && value) in input_get_disposition()
337 if (is_event_supported(code, dev->mscbit, MSC_MAX)) in input_get_disposition()
343 if (is_event_supported(code, dev->ledbit, LED_MAX) && in input_get_disposition()
352 if (is_event_supported(code, dev->sndbit, SND_MAX)) { in input_get_disposition()
452 if (is_event_supported(typ in input_event()
[all...]
/kernel/linux/linux-6.6/drivers/input/
H A Dinput.c64 static inline int is_event_supported(unsigned int code, in is_event_supported() function
269 if (is_event_supported(code, dev->keybit, KEY_MAX)) { in input_get_disposition()
286 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition()
295 if (is_event_supported(code, dev->absbit, ABS_MAX)) in input_get_disposition()
301 if (is_event_supported(code, dev->relbit, REL_MAX) && value) in input_get_disposition()
307 if (is_event_supported(code, dev->mscbit, MSC_MAX)) in input_get_disposition()
313 if (is_event_supported(code, dev->ledbit, LED_MAX) && in input_get_disposition()
322 if (is_event_supported(code, dev->sndbit, SND_MAX)) { in input_get_disposition()
432 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_event()
459 if (is_event_supported(typ in input_inject_event()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dparse-events.c2592 static bool is_event_supported(u8 type, unsigned config) in is_event_supported() function
2735 if (!is_event_supported(PERF_TYPE_HW_CACHE, in print_hwcache_events()
2831 if (!is_event_supported(type, i)) in print_symbol_events()

Completed in 17 milliseconds