scmi_set_protocol_priv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– scmi_set_protocol_priv(9) πŸ’–

okay so like, welcome to the Kernel API Manual, bestie β€” this page is literally about scmi_set_protocol_priv, and it's one of those tiny little functions that does exactly one thing and does it cute. no drama, no cap πŸ’…


✨ NAME ✨

scmi_set_protocol_priv β€” set protocol specific data at init time πŸŽ€

like… that's it. that's the whole job. it's giving "one job, doing it well" energy.


🌸 SYNOPSIS 🌸

int scmi_set_protocol_priv (const struct scmi_protocol_handle *ph , void
*priv );

two arguments, one int coming back at you. simple. iconic. periodt πŸ¦‹


πŸ’« ARGUMENTS πŸ’«

  • ph β€” a reference to the protocol handle πŸ’œ like, it's the handle for the protocol you're working with, and you better have it on hand before you call this.
  • priv β€” the private data to set πŸŽ€ this is your stuff, your little blob of protocol-specific data, and you're handing it over.

🫢 RETURN 🫢

  • 0 on Success ⭐ that's it β€” zero means we slayed, no cap.

🌈 SEE ALSO 🌈

okay this list is LONG and honestly kind of the main character of the whole page 😭 but we're not skipping a single one, because every single reference matters. here's the fam:

iykyk, that's a whole lot of cross-referencing bestie β€” go click around, it's a rabbit hole and lowkey worth it 🧚


🌸 also note there's a scmi_get_protocol_priv(9) in that list up there… the getter to this setter, if you will. the way that symmetry ate πŸ’…

mwah, that's the page! this lil' rewrite came straight out of ./drivers/firmware/arm_scmi and is dated October 2026 β€” take care of her, she's doing her best πŸŽ€βœ¨πŸ”₯

πŸ“¦ where this page comes from