is_event_supported
static inline int is_event_supported(unsigned int code,
bool is_event_supported(u8 type, u64 config)