ti_sci_reset_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ti_sci_reset_set(9) β€” like, the Kernel API Manual, but make it make sense

okay bestie, sit down, grab a strawberry πŸ“, because today we're talking about ti_sci_reset_set β€” the little function that pokes a device's reset line and tells it "you're SO back" or "girl, take a nap." It lives in the Kernel API Manual and it's honestly kind of iconic.


✨ NAME ✨

ti_sci_reset_set β€” program a device's reset. that's it. that's the whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int ti_sci_reset_set (struct reset_controller_dev *rcdev , unsigned long
id , bool assert );

one function, three arguments, zero drama (well, mostly). πŸŽ€


🌸 ARGUMENTS 🌸

  • rcdev β€” the reset controller entity. think of it as the main character of the reset world πŸ‘‘
  • id β€” the ID of the reset you're toggling. yeah you gotta know which one, no cap πŸ”₯
  • assert β€” a boolean flag saying whether we're asserting or deasserting. it's giving "yes or no, pick one" ⭐

πŸ’– DESCRIPTION πŸ’–

so this is a common internal function, right? it's the shared lil helper that asserts or deasserts a device's reset using the TI SCI protocol. 🧚

how does it decide? super simple:

  • if the assert argument is true, the device's reset gets asserted ✨
  • if the assert argument is false, it gets deasserted 😌

and the mechanism itself? it's a read-modify-write procedure, which is exactly what it sounds like, bestie:

  1. the current device reset register is read using a TI SCI device operation πŸ‘€
  2. the new value is set or un-set using the reset's mask 🎯
  3. the new reset value is written using another TI SCI device operation ✍️

read, modify, write. three steps. she ate and left no crumbs. πŸ’…


πŸ”₯ RETURN πŸ”₯

  • 0 β€” for a successful request. slay πŸŽ‰
  • else β€” a corresponding error value 😭 (yes, you gotta check it, don't @ me)

πŸŽ€ SEE ALSO πŸŽ€

go read the whole squad, they're all linked up like a group chat iykyk 🫢


lowkey reminder: this is an internal function, so it's the kind of thing that does its job quietly in the background while other code gets the credit. main character energy, honestly. 🌈

okay that's the whole page, bestie β€” and before you go, the fine print says it's from ./drivers/reset, dated October 2026, and the page is literally named ti_sci_reset_set(9). cute, right? now go forth and toggle some resets responsibly πŸ’œπŸ’€

πŸ“¦ where this page comes from