devm_reset_...al_exclusive(9)
π devm_reset_control_get_optional_exclusive(9) β the Kernel API Manual one π
Okay so bestie, this page lives in the Kernel API Manual (yes, that's the manual name, we're fancy now β¨) and it's all about one very specific little function. Buckle up, it's giving "short page, big name" energy.
πΈ NAME πΈ
devm_reset_control_get_optional_exclusive β which is literally the resource managed version of reset_control_get_optional_exclusive(). That's the whole name. It's long. She ate though. π
β¨ SYNOPSIS β¨
struct reset_control * devm_reset_control_get_optional_exclusive (struct
device *dev , const char *id );
Look at her. Two args, one struct reset_control * coming back at you. Iconic. π
π«Ά ARGUMENTS π«Ά
devβ the device that's gonna get reset by the controller. That's her whole job, she's the reset-ee. πidβ the name of the reset line. Yes bestie, it's a name. Strings only, no cap. π
π DESCRIPTION π
So this is the managed reset_control_get_optional_exclusive. The "managed" part is the good part, okay? For any reset controllers that come back out of this function, reset_control_put gets called automatically when the driver detaches. You don't have to remember to clean up. You literally cannot forget. She handles it. π
β¨
Like a bestie who venmos you back without being asked. That's the energy. π«Ά
And for the full lore? Go read reset_control_get_optional_exclusive β that's where the real info lives. This page is the spin-off. π
π¦ SEE ALSO π¦
Okay this is the part where the page goes full group-chat-adds-everyone. Every single one of these, no skips, no cap. π
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_get_exclusive_released(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_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)
Also, the kernel file that started it all: ./include/linux/reset.h π β that's the source of truth, iykyk.
π§ And that's the whole page, bestie. No exit statuses, no signals, no warnings β she's a simple queen. π
π mwah π This page ships from ./include/linux and is dated October 2026 β so like, future icon behaviour, we love to see it. πβ¨
π¦ 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