devm_reset_c...d_deasserted(9)
π devm_reset_c...d_deasserted(9) β like, the Kernel API Manual one π
okay bestie, welcome to the Kernel API Manual, and yes the page name is literally truncated with dots in the middle β devm_reset_c...d_deasserted(9) β that's not me being lazy, that's just how it's filed. π anyway. this one is a little two-for-one deal and it's honestly iconic.
β¨ NAME β¨
devm_reset_control_get_shared_deasserted β it's giving resource-managed reset_control_get_shared() plus reset_control_deassert(), bestie. two things, one function, we love a combo. π«Ά
πΈ SYNOPSIS πΈ
struct reset_control * devm_reset_control_get_shared_deasserted (struct
device *dev , const char *id );
π ARGUMENTS π
devβ the device that's gonna get reset by the controller. that's the main character right there πidβ the reset line name. literally just the name, no cap.
π¦ DESCRIPTION π¦
so it's the managed version of reset_control_get_shared + reset_control_deassert, fr fr. and here's the slay part: for the reset controllers this function hands back, reset_control_assert + reset_control_put get called automatically on driver detach. no manual cleanup, no forgetting, no leaking β the resource management does it for you. periodt. β¨
lowkey if you want more info, go peek at devm_reset_control_get_shared β it's right there.
π§ SEE ALSO π§
the whole group chat, basically. iykyk π
- 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_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)
okay that's the page!! π it lives in ./include/linux, this copy's dated October 2026, and it goes by devm_reset_c...d_deasserted(9) if you ever need to find it again. mwah π go assert something, or like, deassert it, whatever feels right. β
π¦ 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