devm_reset_...l_get_shared(9)
π devm_reset_control_get_shared β from the Kernel API Manual β¨
okay so bestie, welcome to the devm_reset_control_get_shared page π this is a kernel API manual entry, it's giving very "I live in ./include/linux/reset.h" energy, and honestly? iconic.
πΈ NAME πΈ
devm_reset_control_get_shared β the resource managed version of reset_control_get_shared() π«Ά
Basically the same vibe as the regular one, except the kernel cleans up after you like the world's most responsible bestie.
β¨ SYNOPSIS β¨
struct reset_control * devm_reset_control_get_shared (struct device *dev
, const char *id );
π ARGUMENTS π
devβ the device that's gonna get reset by the controller. like, that's the whole main character here πidβ the name of the reset line. yep, just the name π·οΈ
π¦ DESCRIPTION π¦
So this is the managed reset_control_get_shared. Managed means the kernel's got your back: for reset controllers returned from this function, reset_control_put gets called automatically on driver detach β no manual cleanup era for you, bestie, it's giving self-care π
Wanna know more? The manpage says to go see reset_control_get_shared for the full tea β iykyk.
π SEE ALSO π
Kernel file ./include/linux/reset.h π and also literally the whole friend group:
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_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)
no cap, that's the entire group chat ππ«Ά
okay that's the whole page diva π quick sign-off: this one's from ./include/linux, dated October 2026, and it's filed under devm_reset_...l_get_shared(9) β slay, go reset something 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