prcmu_set_rc_a2p(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… prcmu_set_rc_a2p(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this is the page for prcmu_set_rc_a2p(9), and honestly? she's a little sleeper hit. ✨


🌸 NAME 🌸

prcmu_set_rc_a2p β€” this function is used to run few power state sequences 🫢

✨ SYNOPSIS ✨

int prcmu_set_rc_a2p (enum romcode_write val );

πŸŽ€ ARGUMENTS πŸŽ€

  • val β€” the value to be set, i.e. the transition requested πŸ’«

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸ‘‘
  • -EINVAL on invalid argument πŸ’€ (so like, check your args, fr fr)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: this function is used to run the following power state sequences β€” no cap, these three and that's it:

  • any state to ApReset
  • ApDeepSleep to ApExecute
  • ApExecute to ApDeepSleep

that's the whole menu, bestie. three transitions, main character energy, periodt. 🌈

πŸ’œ SEE ALSO πŸ’œ

kernel file ./drivers/mfd/db8500-prcmu.c β€” and then the whole group chat of siblings, all together now:

go read them too, iykyk πŸ’…


ngl this one's short but she ate. -EINVAL is real and she WILL come for you if your argument is cooked. πŸ“

and that's the page!! mwah πŸ’– brought to you by ./drivers/mfd, dated October 2026, filing under prcmu_set_rc_a2p(9) β€” catch you in the next manpage, bestie 🧚⭐

πŸ“¦ where this page comes from