scmi_process_event_header(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 😭
  • NULL when the queue is empty 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/firmware/arm_scmi/notify.c β€” go read it, iykyk πŸ‘‘ Then the whole linked-up crew:


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