ti_sci_set_device_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this page is ti_sci_set_device_state(9), and it is literally the Set device state helper. that's the whole name, that's the vibe, we move πŸ’….


✨ SYNOPSIS ✨

here's the exact signature, no cap β€” keep it character-for-character:

int ti_sci_set_device_state (const struct ti_sci_handle *handle , u32 id
, u32 flags , u8 state );

πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” pointer to TI SCI handle. your little entry pass to the TI SCI universe 🫢.
  • id β€” Device identifier. the device's name tag, basically.
  • flags β€” flags to setup for the device. set them up, bestie ✨.
  • state β€” State to move the device to. where the device is going on its little journey πŸ’«.

πŸ¦‹ RETURN πŸ¦‹

returns 0 if all went well, else returns appropriate error value. so 0 is the slay, and anything else means the universe is telling you something's off. periodt πŸ’€.


🌈 SEE ALSO 🌈

Kernel file ./drivers/firmware/ti_sci.c β€” and okay, the whole TI SCI extended friend group is here, so buckle up 🎒:


mwah πŸ’‹ β€” this cutie comes from ./drivers/firmware, dated October 2026, and the page title is still ti_sci_set_device_state(9). bye bestie, go set some device states responsibly 🫢✨

πŸ“¦ where this page comes from