devm_reset_...d_deasserted(9)
π devm_reset_...d_deasserted β kernel API manual, bestie edition β¨
okay so real talk, this one has a very long name and it lives in the Kernel API Manual, and honestly? she's worth it. buckle up π
β¨ NAME β¨
devm_reset_control_get_optional_shared_deasserted β it's giving "resource managed reset_control_get_optional_shared() + reset_control_deassert()" β literally that's the whole vibe, it's the two of them together, no cap π
πΈ SYNOPSIS πΈ
struct reset_control * devm_reset_control_get_optional_shared_deasserted
(struct device *dev , const char *id );
yeah she's a mouthful, but look at her go π¦
π ARGUMENTS π
devβ the device that's gonna get reset by the controller, like that's her whole job okay πidβ the reset line name, iykyk, it's how you find your girl π₯
π DESCRIPTION π
so basically it's managed reset_control_get_optional_shared + reset_control_deassert. that's it, that's the tweet β¨
here's the part that matters though: for the reset controllers you get back from this function, reset_control_assert + reset_control_put get called automatically on driver detach. like you don't have to do it, the kernel handles it, main character energy fr fr π
ngl if you want the full lore, go read devm_reset_control_get_optional_shared for more information. she's the source, respect her π
π¦ SEE ALSO π¦
okay bestie this list is LONG but every single one of them is iconic in her own way, so here we go, all of them, no skipping π
Kernel file ./include/linux/reset.h β plus the whole girl squad:
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_bulk_get_optional_shared(9)devm_reset_control_get_exclusive_by_index(9)devm_reset_control_get_shared_by_index(9)
like I said. whole squad. ate π
anyway that's the page!! this one came out of ./include/linux and she's dated October 2026 β so jot that down, timestamp her, she's timeless. slay, bye bestie π«Άπβ¨
π¦ 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