Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/
H A Dinput.c61 static inline int is_event_supported(unsigned int code, in is_event_supported() function
198 is_event_supported(dev->repeat_key, dev->keybit, KEY_MAX)) { in input_repeat_key()
296 if (is_event_supported(code, dev->keybit, KEY_MAX)) { in input_get_disposition()
313 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition()
322 if (is_event_supported(code, dev->absbit, ABS_MAX)) in input_get_disposition()
328 if (is_event_supported(code, dev->relbit, REL_MAX) && value) in input_get_disposition()
334 if (is_event_supported(code, dev->mscbit, MSC_MAX)) in input_get_disposition()
340 if (is_event_supported(code, dev->ledbit, LED_MAX) && in input_get_disposition()
349 if (is_event_supported(code, dev->sndbit, SND_MAX)) { in input_get_disposition()
449 if (is_event_supported(type, dev->evbit, EV_MAX)) { in input_event()
[all …]
/OK3568_Linux_fs/kernel/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()
2826 if (!is_event_supported(type, i)) in print_symbol_events()