ti_sci_reset_set(9)
π 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
assertargument is true, the device's reset gets asserted β¨ - if the
assertargument is false, it gets deasserted π
and the mechanism itself? it's a read-modify-write procedure, which is exactly what it sounds like, bestie:
- the current device reset register is read using a TI SCI device operation π
- the new value is set or un-set using the reset's
maskπ― - 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 π
- Kernel file
./drivers/reset/reset-ti-sci.c struct ti_sci_reset_control(9)struct ti_sci_reset_data(9)ti_sci_reset_assert(9)ti_sci_reset_deassert(9)ti_sci_reset_status(9)ti_sci_reset_of_xlate(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms