Lines Matching refs:evt_key
371 scmi_get_active_handler(struct scmi_notify_instance *ni, u32 evt_key);
386 u32 evt_key, void *report) in scmi_lookup_and_call_event_chain() argument
397 hndl = scmi_get_active_handler(ni, evt_key); in scmi_lookup_and_call_event_chain()
402 KEY_XTRACT_EVT_ID(evt_key), in scmi_lookup_and_call_event_chain()
876 scmi_allocate_event_handler(struct scmi_notify_instance *ni, u32 evt_key) in scmi_allocate_event_handler() argument
883 hndl->key = evt_key; in scmi_allocate_event_handler()
1048 u32 evt_key, bool create) in __scmi_event_handler_get_ops() argument
1053 r_evt = SCMI_GET_REVT(ni, KEY_XTRACT_PROTO_ID(evt_key), in __scmi_event_handler_get_ops()
1054 KEY_XTRACT_EVT_ID(evt_key)); in __scmi_event_handler_get_ops()
1061 hndl, evt_key); in __scmi_event_handler_get_ops()
1069 hndl = KEY_FIND(ni->pending_events_handlers, hndl, evt_key); in __scmi_event_handler_get_ops()
1076 hndl = scmi_allocate_event_handler(ni, evt_key); in __scmi_event_handler_get_ops()
1092 scmi_get_handler(struct scmi_notify_instance *ni, u32 evt_key) in scmi_get_handler() argument
1094 return __scmi_event_handler_get_ops(ni, evt_key, false); in scmi_get_handler()
1098 scmi_get_or_create_handler(struct scmi_notify_instance *ni, u32 evt_key) in scmi_get_or_create_handler() argument
1100 return __scmi_event_handler_get_ops(ni, evt_key, true); in scmi_get_or_create_handler()
1115 scmi_get_active_handler(struct scmi_notify_instance *ni, u32 evt_key) in scmi_get_active_handler() argument
1120 r_evt = SCMI_GET_REVT(ni, KEY_XTRACT_PROTO_ID(evt_key), in scmi_get_active_handler()
1121 KEY_XTRACT_EVT_ID(evt_key)); in scmi_get_active_handler()
1125 hndl, evt_key); in scmi_get_active_handler()
1347 u32 evt_key; in scmi_notifier_register() local
1355 evt_key = MAKE_HASH_KEY(proto_id, evt_id, in scmi_notifier_register()
1357 hndl = scmi_get_or_create_handler(ni, evt_key); in scmi_notifier_register()
1393 u32 evt_key; in scmi_notifier_unregister() local
1401 evt_key = MAKE_HASH_KEY(proto_id, evt_id, in scmi_notifier_unregister()
1403 hndl = scmi_get_handler(ni, evt_key); in scmi_notifier_unregister()