reset_control_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ reset_control_status(9) ✨

okay so bestie, buckle up β€” this is a page from the Kernel API Manual and it's lowkey one of the most useful lil vibe checks in the whole reset subsystem πŸ’…

🌸 NAME 🌸

reset_control_status β€” returns a negative errno if not supported, a positive value if the reset line is asserted, or zero if the reset line is not asserted or if the desc is NULL (optional reset) 🫢

like... it's literally just asking the reset line "hey girl, are you on or off?" and it'll tell you. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

int reset_control_status (struct reset_control *rstc );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • rstc β€” reset controller 🌟 (this is the main character of the whole operation, the reset controller you're checking on)

πŸ’– SEE ALSO πŸ’–

the whole friend group, fr fr β€” go read these too, they're iconic πŸ‘‘


quick reminder bestie: negative errno = not supported 🚫, positive = the reset line is asserted πŸ”₯, zero = it's not asserted or the desc is NULL (that's the optional-reset situation, we love a chill default) 😌

k that's the whole page, mwah πŸ’‹

this lil cutie lives in ./drivers/reset and the manual's dated October 2026 β€” version vibes only βœ¨πŸ¦‹πŸŒΈπŸ’œ

πŸ“¦ where this page comes from