ti_sci_cmd_prepare_sleep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the ti_sci_cmd_prepare_sleep(9) page from the Kernel API Manual, and its whole personality is: Prepare system for system suspend πŸ˜΄πŸ’€ no cap, that's the job.


πŸ¦‹ SYNOPSIS πŸ¦‹

the signature is giving β€œfirmware business” and it goes exactly like this:

int ti_sci_cmd_prepare_sleep (const struct ti_sci_handle *handle , u8
mode , u32 ctx_lo , u32 ctx_hi , u32 debug_flags );

✨ ARGUMENTS ✨

  • handle β€” pointer to TI SCI handle 🫢
  • mode β€” Device identifier πŸ‘€
  • ctx_lo β€” Low part of address for context save πŸ“₯
  • ctx_hi β€” High part of address for context save πŸ“€
  • debug_flags β€” Debug flags to pass to firmware 🐞

πŸ’… RETURN πŸ’…

0 if all went well β€” slay ✨ otherwise it returns the appropriate error value, and you can go cry about it 😭


🌈 SEE ALSO 🌈

the whole extended fam is here, no cap:


that’s the whole vibe πŸ’– this page lives under ./drivers/firmware, dated October 2026, and it’s still out here as ti_sci_cmd_prepare_sleep(9). go suspend something responsibly bestie πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from