scmi_process_event_header(9)
okay bestie, welcome to the Kernel API Manual page for scmi_process_event_header(9) β yes, we're doing kernel event headers and it's giving main character energy π
β¨
πΈ NAME πΈ
scmi_process_event_header β Dequeue and process an event header. That's the whole title, periodt π
π SYNOPSIS π
Here's the exact signature, no cap:
struct scmi_registered_event * scmi_process_event_header (struct
events_queue *eq , struct scmi_registered_events_desc *pd );
π«Ά ARGUMENTS π«Ά
eqβ the queue to use, bestie π«Άpdβ the protocol descriptor to use, fr fr π
π¦ DESCRIPTION π¦
So this function reads an event header from the protocol queue into the dedicated scratch buffer and looks for a matching registered event π if it detects an anomalously sized read, it just flushes the queue. That's the vibe, and it is iconic πΈ
β RETURN β
- a reference to the matching registered event when found π
ERR_PTR(-EINVAL)when NO registered event could be found πNULLwhen the queue is empty π«Ά
π₯ SEE ALSO π₯
Kernel file: ./drivers/firmware/arm_scmi/notify.c β go read it, iykyk π Then the whole linked-up crew:
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_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_register_protocol_events(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)
mwah π that's the page! source/version line: ./drivers/firmware/arm_scmi Β· date: October 2026 Β· page: scmi_process_event_header(9) πβ¨
π¦ 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