scmi_wait_fo...age_response(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scmi_wait_for_message_response(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes that's the manual name, we're being fancy today πŸŽ€. This little function is scmi_wait_for_message_response, and no cap, it's basically the "how are we waiting for our text back" decision-maker of the SCMI world πŸ¦‹.


🌸 NAME 🌸

scmi_wait_for_message_response β€” literally a helper that pulls together all the possible ways of waiting for a synchronous message response πŸ’–. One function to hold every vibe of waiting, periodt.


✨ SYNOPSIS ✨

int scmi_wait_for_message_response (struct scmi_chan_info *cinfo ,
struct scmi_xfer *xfer );

yeah, that's the whole signature, keep it exactly like that 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cinfo β€” the SCMI channel info, iykyk πŸ’«
  • xfer β€” a reference to the transfer we're out here waiting for, main character energy πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜•: this function chooses its waiting strategy for you β€” sleep-waiting versus busy-waiting β€” depending on configuration flags, like xfer->hdr.poll_completion 🌈.

it's giving "let me pick the right outfit for the occasion", except the outfit is a wait loop πŸ’…βœ¨


⭐ RETURN ⭐

returns 0 on Success πŸ’–, and an error otherwise 😭 β€” that's it, that's the whole deal.

super short section, but we're not skipping it, bestie, we keep every detail in this house πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/firmware/arm_scmi/driver.c β€” and the whole friend group πŸ’–:

like, that's a lot of siblings but we love them all equally πŸ§šπŸ’œ


and that's the page, bestie!! πŸ“ sign-off time: this one lives at ./drivers/firmware/arm_scmi and it's dated October 2026 β€” screenshot it, memorize it, slay the kernel πŸ’…πŸ‘‘βœ¨

πŸ“¦ where this page comes from