rpmh_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is rpmh_write(9) from the Kernel API Manual β€” the function whose whole job is: write a set of RPMH commands and block until response. yes, that's the name line, and we're obsessed. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int rpmh_write (const struct device *dev , enum rpmh_state state , const
       struct tcs_cmd *cmd , u32 n );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device making the request. main character device energy. πŸ’–
  • state β€” active/sleep set. pick your era. ✨
  • cmd β€” the payload data. the actual goods. πŸŽ€
  • n β€” the number of elements in cmd. count 'em, bestie. πŸ¦‹

🌸 DESCRIPTION 🌸

okay so real talk: May sleep. Do not call from atomic contexts. that's the whole vibe check, and it's highkey important β€” this function is allowed to nap, so keep it out of atomic contexts, fr fr. 😭

🚨 May sleep. Do not call from atomic contexts. no cap, this one matters.

πŸ”₯ SEE ALSO πŸ”₯


and that's the page, bestie 🫢 source/version vibes: source path ./drivers/soc/qcom, date October 2026, and the page is rpmh_write(9) β€” periodt. ✨

πŸ“¦ where this page comes from