devm_reset_...ive_released(9)
π devm_reset_control_get_exclusive_released β Kernel API Manual β¨
okay bestie, so this is a page from the Kernel API Manual, and it's about a little function called devm_reset_control_get_exclusive_released. the header truncates it to devm_reset_...ive_released(9) but we know her full name, she's iconic like that π
β¨ NAME β¨
devm_reset_control_get_exclusive_released β the resource-managed version of reset_control_get_exclusive_released(). she's the same girl but with cleanup handled for you, no cap π«Ά
π¦ SYNOPSIS π¦
struct reset_control * devm_reset_control_get_exclusive_released (struct
device *dev , const char *id );
that's the whole signature babe, exactly like that, don't come for me π
π ARGUMENTS π
devβ the device that's gonna be reset by the controller π like, this is the one getting the reset treatmentidβ the reset line name πΈ literally just the name of the reset line, that's it
π DESCRIPTION π
so this is the managed version of reset_control_get_exclusive_released. π and "managed" here is doing real work, watch this:
for any reset controllers that come back out of this function, reset_control_put gets called automatically on driver detach. π no manual cleanup, no leaks, she handles herself. main character energy fr fr.
if you want the full lore, go read reset_control_get_exclusive_released β this one literally points you there. iykyk πβ¨
lowkey important: the automaticreset_control_puton detach is the whole point of thedevm_prefix, so don't be out here callingreset_control_putyourself on top of it unless the docs tell you to π«Ά
π₯ SEE ALSO π₯
okay this list is LONG but every single one is here, i did not skip a crumb π
Kernel file ./include/linux/reset.h plus these besties:
struct reset_control_bulk_data(9)enum reset_control_flags(9)reset_control_get_exclusive(9)reset_control_bulk_get_exclusive(9)reset_control_get_exclusive_released(9)reset_control_bulk_get_exclusive_released(9)reset_control_bulk_get_optional_exclusive_released(9)reset_control_get_shared(9)reset_control_bulk_get_shared(9)reset_control_get_optional_exclusive(9)reset_control_bulk_get_optional_exclusive(9)reset_control_get_optional_shared(9)reset_control_bulk_get_optional_shared(9)of_reset_control_get_exclusive(9)of_reset_control_get_optional_exclusive(9)of_reset_control_get_shared(9)of_reset_control_get_exclusive_by_index(9)of_reset_control_get_shared_by_index(9)devm_reset_control_get_exclusive(9)devm_reset_control_get_exclusive_deasserted(9)devm_reset_control_bulk_get_exclusive(9)devm_reset_control_bulk_get_exclusive_released(9)devm_reset_control_get_optional_exclusive_released(9)devm_reset_control_bulk_get_optional_exclusive_released(9)devm_reset_control_get_shared(9)devm_reset_control_get_shared_deasserted(9)devm_reset_control_bulk_get_shared(9)devm_reset_control_bulk_get_shared_deasserted(9)devm_reset_control_get_optional_exclusive(9)devm_reset_control_get_optional_exclusive_deasserted(9)devm_reset_control_bulk_get_optional_exclusive(9)devm_reset_control_get_optional_shared(9)devm_reset_control_get_optional_shared_deasserted(9)devm_reset_control_bulk_get_optional_shared(9)devm_reset_control_get_exclusive_by_index(9)devm_reset_control_get_shared_by_index(9)
and that's the page, bestie π§π this one shipped out from ./include/linux back in October 2026 β go forth and reset things responsibly, mwah ππ
π¦ 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