devm_reset_c...al_exclusive(9)
π devm_reset_control_bulk_get_optional_exclusive β¨
okay so bestie, welcome to the Kernel API Manual β yes we're in kernel land today and honestly? it's giving main character energy π«Ά
πΈ NAME πΈ
devm_reset_control_bulk_get_optional_exclusive β literally the resource-managed version of reset_control_bulk_get_optional_exclusive(). that's it, that's the vibe π
β¨ SYNOPSIS β¨
int devm_reset_control_bulk_get_optional_exclusive (struct device *dev ,
int num_rstcs , struct reset_control_bulk_data *rstcs );
π¦ ARGUMENTS π¦
devβ the device that's gonna get reset by the controller. it's the whole reason we're here πnum_rstcsβ how many entries are chillin' in therstcsarray. count 'em, bestie π’rstcsβ an array ofstruct reset_control_bulk_datawith the reset line names already set. like, they're named and everything, no cap π
π DESCRIPTION π
so this is the managed reset_control_bulk_get_optional_exclusive. and when we say managed we mean it β for any reset controllers this function hands back, reset_control_put gets called automatically on driver detach. no manual cleanup, no "oops I forgot to put it back," none of that πβ¨ it just handles itself, iconic behavior fr fr.
for the full tea, go read reset_control_bulk_get_optional_exclusive β that's where all the details live π
π₯ SEE ALSO π₯
okay this list is LONG but every single one matters, so buckle up buttercup π
- 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_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 whole page bestie, you ate that reading it all πβ
this lil gem lives in ./include/linux, dated October 2026, and it's part of the Kernel API Manual. mwah, go forth and reset 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