rpmh_write(9)
β¨ 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 incmd. 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 π₯
- Kernel file
./drivers/soc/qcom/rpmh.c struct cache_req(9)struct batch_cache_req(9)__rpmh_write(9)rpmh_read(9)rpmh_write_async(9)rpmh_write_batch(9)rpmh_flush(9)rpmh_invalidate(9)
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
- 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