devm_reset_c...ler_register(9)
π devm_reset_c...ler_register(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is that cute lil' kernel page, the one with the truncated name at the top that looks like somebody fell asleep mid-word. It's devm_reset_c...ler_register(9), and no, the ellipsis isn't a typo, it's just the manpage aesthetic π
β¨ NAME β¨
devm_reset_controller_register β the resource managed version of reset_controller_register() π like, the one where the kernel cleans up after you so you don't have to. main character energy fr fr.
π¦ SYNOPSIS π¦
int devm_reset_controller_register (struct device *dev , struct
reset_controller_dev *rcdev );
it takes two args and it returns an int, that's the whole vibe. lowkey iconic.
πΈ ARGUMENTS πΈ
devβ the device that is registering this reset controller. like, whose name is this controller going under? πrcdevβ a pointer to the initialized reset controller device. key word: initialized, bestie. don't come at it with uninitialized nonsense, the vibes will be off ππ
π DESCRIPTION π
okay so here's the whole thing: this is the managed reset_controller_register. π«Ά
the way that it works is: for reset controllers registered by this function, reset_controller_unregister is automatically called on driver detach. automated cleanup, no manual teardown, no leftover mess β it's giving responsible adult π§β¨
and if you want more info, it literally says go see reset_controller_register for more information. so like, this page is the trailer, that page is the movie π
π SEE ALSO π
okay this is the part where it drops the whole friend group at once, buckle up π
- Kernel file
./drivers/reset/core.c struct reset_control(9)struct reset_control_array(9)struct reset_gpio_lookup(9)fwnode_reset_simple_xlate(9)reset_controller_register(9)reset_controller_unregister(9)reset_control_reset(9)reset_control_bulk_reset(9)reset_control_rearm(9)reset_control_assert(9)reset_control_bulk_assert(9)reset_control_deassert(9)reset_control_bulk_deassert(9)reset_control_status(9)reset_control_acquire(9)reset_control_bulk_acquire(9)reset_control_release(9)reset_control_bulk_release(9)reset_control_put(9)reset_control_bulk_put(9)__device_reset(9)fwnode_reset_control_get_count(9)fwnode_reset_control_array_get(9)devm_reset_control_array_get(9)reset_control_get_count(9)
like, that's the entire reset subsystem roll call and honestly? ate. π
that's the page, bestie π no cap, every option and every reference is right there β go forth and register your reset controllers the managed way π
source line:./drivers/resetΒ· date:October 2026Β· header:devm_reset_c...ler_register(9)β mwah, that's the wrap πβ¨
π¦ 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