scmi_raw_message_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scmi_raw_message_send(9) β€” like, the Kernel API Manual is literally right here

okay so bestie, listen up πŸ’– welcome to the glow-up of scmi_raw_message_send(9), straight out of the Kernel API Manual. This little icon is an helper β€” and yes, "an helper" is exactly how the original says it, we stan a quirky queen β€” that builds and sends an SCMI command using the SCMI bare message buffer you hand it. that's the whole vibe. no cap.


✨ SYNOPSIS ✨

int scmi_raw_message_send (struct scmi_raw_mode_info *raw , void *buf ,
       size_t len , u8 chan_id , bool async , bool poll );

like, that's the whole signature, int and all, and it returns an int, periodt. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

these are the besties you're passing in, one by one:

  • raw β€” a reference to the Raw instance. that's your entry point, the main character of this whole operation πŸ‘‘
  • buf β€” a buffer holding the whole SCMI message you wanna send, and yes babes, that includes the header. it's in little-endian binary format, so don't get cute with it πŸ™ˆ
  • len β€” the length of the message sitting in buf. hope it's accurate, that's all we're saying πŸ’€
  • chan_id β€” the channel ID to use. pick your lane πŸ¦‹
  • async β€” a flag stating whether an asynchronous command is required. a flag, so it's true/false energy ✨
  • poll β€” a flag stating whether a polling transmission is required. also a flag, also a mood 🌸

πŸ”₯ RETURN πŸ”₯

  • 0 on Success β€” that's it. zero. the prettiest number. slay πŸ’…
lowkey note: the original just says 0 on Success and we're not gonna invent anything else for you, that's not our brand bestie πŸ’–

🌈 SEE ALSO 🌈

okay so the rabbit hole starts in the kernel file ./drivers/firmware/arm_scmi/raw_mode.c β€” go read it, it ate. then there's the whole squad, all listed, all linked, all iconic:

like, that's the whole friend group, no one left out πŸ«ΆπŸŽ€


and that's a wrap, bestie!! this page lives under ./drivers/firmware/arm_scmi, dated October 2026, and it's filed as scmi_raw_message_send(9) in case you need to find it again. mwah πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from