devm_reset_c...ional_shared(9)
π devm_reset_control_get_optional_shared β NAME β¨
okay so bestie, this is devm_reset_control_get_optional_shared β the resource managed version of reset_control_get_optional_shared(). yes, the whole long name, she's iconic like that π
(this page lives in the Kernel API Manual, fyi π¦)
πΈ SYNOPSIS πΈ
struct reset_control * devm_reset_control_get_optional_shared (struct
device *dev , const char *id );
literally just look at her π«Ά two args, one pointer out, no cap.
β¨ ARGUMENTS β¨
devβ the device that's gonna get reset by the controller πidβ the name of the reset line π
π₯ DESCRIPTION π₯
So this is the managed reset_control_get_optional_shared. The way that works is: for any reset controllers that come back out of this function, reset_control_put gets called automatically on driver detach. you don't have to do it yourself, she handles it π no manual cleanup arc, we love a self-sufficient queen π
If you want the full lore, go read reset_control_get_optional_shared β that's where the real details live π
π SEE ALSO π
okay this list is LONG, buckle up bestie, we're going through all of it π§
- 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_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)
like, that's the whole friend group right there ππ
and that's the page!! brought to you from ./include/linux, dated October 2026 β mwah, see u next time 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