scmi_regist...tocol_events(9)
π scmi_regist...tocol_events(9) π
okay so this one's from the Kernel API Manual, and it's all about registering SCMI protocol events with the core. bestie, it's giving kernel-internals main character energy, but we're gonna get through it together π
π NAME π
scmi_register_protocol_events β register Protocol Events with the core β¨
β¨ SYNOPSIS β¨
int scmi_register_protocol_events (const struct scmi_handle *handle , u8
proto_id , const struct scmi_protocol_handle *ph , const struct
scmi_protocol_events *ee );
π ARGUMENTS π
handleβ the handle identifying the platform instance against which the protocol's events are registered π«Άproto_idβ Protocol ID, literally just the protocol ID πphβ SCMI protocol handle.eeβ a structure describing the events supported by this protocol.
π¦ DESCRIPTION π¦
SCMI Protocols initialization code uses this to register the list of supported events and their descriptors with the notification core. it takes care to pre-allocate and store all the needed descriptors, scratch buffers and event queues. that's the whole job here, and it ate β¨
πΈ RETURN πΈ
0 on Success π β that's the return value, periodt.
π₯ SEE ALSO π₯
obsessed with cross-references? same. here's every single one, bestie π
Kernel file ./drivers/firmware/arm_scmi/notify.c Theory of operation(9)struct scmi_notify_instance(9)struct events_queue(9)struct scmi_event_header(9)struct scmi_registered_events_desc(9)struct scmi_registered_event(9)struct scmi_event_handler(9)scmi_lookup_and_call_event_chain(9)scmi_process_event_header(9)scmi_process_event_payload(9)scmi_events_dispatcher(9)scmi_notify(9)scmi_kfifo_free(9)scmi_initialize_events_queue(9)scmi_allocate_registered_events_desc(9)scmi_deregister_protocol_events(9)scmi_allocate_event_handler(9)scmi_free_event_handler(9)scmi_bind_event_handler(9)scmi_valid_pending_handler(9)scmi_register_event_handler(9)__scmi_event_handler_get_ops(9)scmi_get_active_handler(9)__scmi_enable_evt(9)scmi_put_handler_unlocked(9)scmi_event_handler_enable_events(9)scmi_notifier_register(9)scmi_notifier_unregister(9)scmi_devm_notifier_register(9)scmi_devm_notifier_unregister(9)scmi_protocols_late_init(9)scmi_notification_init(9)scmi_notification_quiesce(9)scmi_notification_exit(9)
footer vibe check: source/version ./drivers/firmware/arm_scmi, date October 2026 β bye bestie, go register those events π
β¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms