devm_reset_...d_deasserted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_reset_...d_deasserted β€” kernel API manual, bestie edition ✨

okay so real talk, this one has a very long name and it lives in the Kernel API Manual, and honestly? she's worth it. buckle up πŸŽ€


✨ NAME ✨

devm_reset_control_get_optional_shared_deasserted β€” it's giving "resource managed reset_control_get_optional_shared() + reset_control_deassert()" β€” literally that's the whole vibe, it's the two of them together, no cap πŸ’–


🌸 SYNOPSIS 🌸

struct reset_control * devm_reset_control_get_optional_shared_deasserted
(struct device *dev , const char *id );

yeah she's a mouthful, but look at her go πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that's gonna get reset by the controller, like that's her whole job okay πŸ’…
  • id β€” the reset line name, iykyk, it's how you find your girl πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so basically it's managed reset_control_get_optional_shared + reset_control_deassert. that's it, that's the tweet ✨

here's the part that matters though: for the reset controllers you get back from this function, reset_control_assert + reset_control_put get called automatically on driver detach. like you don't have to do it, the kernel handles it, main character energy fr fr πŸ‘‘

ngl if you want the full lore, go read devm_reset_control_get_optional_shared for more information. she's the source, respect her πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

okay bestie this list is LONG but every single one of them is iconic in her own way, so here we go, all of them, no skipping πŸ’€

Kernel file ./include/linux/reset.h β€” plus the whole girl squad:

like I said. whole squad. ate πŸ’…


anyway that's the page!! this one came out of ./include/linux and she's dated October 2026 β€” so jot that down, timestamp her, she's timeless. slay, bye bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from