Lines Matching refs:proto_id
578 int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id, in scmi_notify() argument
589 r_evt = SCMI_GET_REVT(ni, proto_id, evt_id); in scmi_notify()
600 proto_id, evt_id, ktime_to_ns(ts)); in scmi_notify()
692 u8 proto_id, size_t queue_sz, size_t eh_sz, in scmi_allocate_registered_events_desc() argument
701 if (WARN_ON(ni->registered_protocols[proto_id])) in scmi_allocate_registered_events_desc()
707 pd->id = proto_id; in scmi_allocate_registered_events_desc()
748 int scmi_register_protocol_events(const struct scmi_handle *handle, u8 proto_id, in scmi_register_protocol_events() argument
783 pd = scmi_allocate_registered_events_desc(ni, proto_id, ee->queue_sz, in scmi_register_protocol_events()
820 ni->registered_protocols[proto_id] = pd; in scmi_register_protocol_events()
840 u8 proto_id) in scmi_deregister_protocol_events() argument
849 pd = ni->registered_protocols[proto_id]; in scmi_deregister_protocol_events()
853 ni->registered_protocols[proto_id] = NULL; in scmi_deregister_protocol_events()
1343 u8 proto_id, u8 evt_id, const u32 *src_id, in scmi_notifier_register() argument
1355 evt_key = MAKE_HASH_KEY(proto_id, evt_id, in scmi_notifier_register()
1390 u8 proto_id, u8 evt_id, const u32 *src_id, in scmi_notifier_unregister() argument
1401 evt_key = MAKE_HASH_KEY(proto_id, evt_id, in scmi_notifier_unregister()
1432 u8 proto_id; member
1443 scmi_notifier_unregister(dres->handle, dres->proto_id, dres->evt_id, in scmi_devm_release_notifier()
1464 u8 proto_id, u8 evt_id, in scmi_devm_notifier_register() argument
1476 ret = scmi_notifier_register(sdev->handle, proto_id, in scmi_devm_notifier_register()
1484 dres->proto_id = proto_id; in scmi_devm_notifier_register()
1506 return dres->proto_id == xres->proto_id && in scmi_devm_notifier_match()
1532 u8 proto_id, u8 evt_id, in scmi_devm_notifier_unregister() argument
1540 dres.proto_id = proto_id; in scmi_devm_notifier_unregister()