scmi_regist...tocol_events(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ‘‘


footer vibe check: source/version ./drivers/firmware/arm_scmi, date October 2026 β€” bye bestie, go register those events πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from