scmi_raw_message_send(9)
π 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 inbuf. 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'strue/falseenergy β¨pollβ a flag stating whether a polling transmission is required. also a flag, also a mood πΈ
π₯ RETURN π₯
0on 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:
Theory of operation(9)struct scmi_raw_queue(9)struct scmi_raw_mode_info(9)struct scmi_xfer_raw_waiter(9)struct scmi_raw_buffer(9)struct scmi_dbg_raw_data(9)scmi_xfer_raw_worker(9)scmi_xfer_raw_get_init(9)scmi_do_xfer_raw_start(9)scmi_raw_message_receive(9)scmi_raw_mode_init(9)scmi_raw_mode_cleanup(9)scmi_raw_message_report(9)scmi_raw_error_report(9)
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
- 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