ti_sci_cmd_s...evice_resets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ti_sci_cmd_set_device_resets(9) β€” yes bestie, that's the whole title

okay so real quick before we dive in: this is a page from the Kernel API Manual, and the header up top is doing that cursed truncated thing where it reads ti_sci_cmd_s...evice_resets(9) but the actual function, the one you're here for, is ti_sci_cmd_set_device_resets. The dots are just the man page being dramatic about long names, don't panic 🫢


✨ NAME ✨

ti_sci_cmd_set_device_resets β€” the command that sets resets for a device that's managed by TISCI. like, it's the "hey, reset bits, go here" call. iconic behavior honestly πŸ’…


🌸 SYNOPSIS 🌸

int ti_sci_cmd_set_device_resets(const struct ti_sci_handle *handle,
                                 u32 id,
                                 u32 reset_state);

there she is. three args, returns an int, no cap πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • handle β€” a pointer to the TISCI handle, the one you got from *ti_sci_get_handle. it's your little all-access pass to the firmware, don't lose it πŸ™ˆ
  • id β€” the Device Identifier. which device are we talking about, bestie? this one. 🎯
  • reset_state β€” the device-specific reset bit field. it's a bit field, it's device-specific, and it is literally the whole point of the call ✨

πŸ’– RETURN πŸ’–

0 if everything went fine β€” slay, we love a clean return πŸŽ‰

otherwise it returns the appropriate error, so like… vibe check failed, read the error πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file where the magic lives: ./drivers/firmware/ti_sci.c 🧚

and now the full squad, no one left behind, not a single one:

like… that is a list. go read them, they're all right there, i'm not summarizing a single one πŸ“


and that's the whole page bestie!! every flag, every arg, every see-also, untouched, we don't gatekeep πŸ’œ

okay final sign-off 🌈: this page lives in ./drivers/firmware, dated October 2026, and yes it's still filed under that same truncated ti_sci_cmd_s...evice_resets(9) name. mwah, go reset some devices responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from