STRUCT SCMI_PROTOCOL_EVENTS(9)
π struct scmi_protocol_events(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual entry for struct scmi_protocol_events β this is the whole vibe of one SCMI protocol's event situation, like a little profile page for all the events a protocol has going on. it's giving "per-protocol description of available events" and honestly? iconic. β¨
πΈ NAME πΈ
struct scmi_protocol_events β the per-protocol description of available events, fr fr. it's the struct that tells everyone what events a protocol supports and how to handle them. π¦
β¨ SYNOPSIS β¨
struct scmi_protocol_events {
size_t queue_sz;
const struct scmi_event_ops *ops;
const struct scmi_event *evts;
unsigned int num_events;
unsigned int num_sources;
};
π Members π
queue_szβ the size, in bytes, of the per-protocol queue you're gonna use. gotta know how much room you're working with, no cap. πopsβ array of the protocol-specific events operations. like, the actual how-to-do-the-thing instructions for these events. π οΈevtsβ array of the protocol's supported events. the whole guest list, basically. ποΈnum_eventsβ how many supported events are actually described inevts. gotta match the list, bestie. π’num_sourcesβ the number of protocol's sources, and it should be greater than 0 β like, zero sources is not the vibe. β οΈ if this isn't available at compile time, it gets provided at run-time viaget_num_sources. the way that it just shows up later? flexible queen. π
heads up babes:num_sourcesshould be greater than0. if it's not known at compile time,get_num_sourcescomes through with it at run-time. π
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/firmware/arm_scmi/notify.h struct scmi_event(9)struct scmi_event_ops(9)
and that's the whole page, bestie β go read that header file and slay π
source/version + date check: this one lives under ./drivers/firmware/arm_scmi, dated October 2026, and the page itself is struct scmi_protocol_events(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