devm_reset_...ive_by_index(9)
π devm_reset_control_get_exclusive_by_index β from the Kernel API Manual, bestie
okay so first things first, the function's full name is devm_reset_control_get_exclusive_by_index, but the header shortens it to devm_reset_...ive_by_index(9) because manpage titles have a character limit and honestly same, we've all been there π«Ά
β¨ NAME β¨
devm_reset_control_get_exclusive_by_index β it's the resource managed version of reset_control_get_exclusive(), and yes that's the whole personality π
πΈ SYNOPSIS πΈ
struct reset_control * devm_reset_control_get_exclusive_by_index (struct
device *dev , int index );
no cap, that's literally the whole call β¨
π ARGUMENTS π
devβ the device that's gonna get reset by the controller. it's the main character here πindexβ the index of the reset controller. which one are we talking about? this number. π’
π¦ DESCRIPTION π¦
so this is the managed reset_control_get_exclusive. and "managed" is the key word, bestie β for reset controllers returned from this function, reset_control_put gets called automatically on driver detach. like, the kernel handles the cleanup for you. no manual put, no leaks, no stress. it's giving responsible adult energy π
β¨
if you want the full lore, see reset_control_get_exclusive for more information π«Ά
π₯ SEE ALSO π₯
the whole friend group, in kernel file ./include/linux/reset.h π
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(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_shared_by_index(9)
and that's the whole page, bestie π it lives in ./include/linux and this edition is dated October 2026 β signed, sealed, delivered, go reset some controllers responsibly πβ¨
π¦ 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