devm_reset_...et_exclusive(9)
π devm_reset_control_bulk_get_exclusive β Kernel API Manual β¨
ok so bestie, we're in the Kernel API Manual today and the star of the show is literally devm_reset_control_bulk_get_exclusive. yes it's a mouthful, yes it's iconic, no we're not changing the name π
πΈ NAME πΈ
devm_reset_control_bulk_get_exclusive β the resource-managed glow-up of reset_control_bulk_get_exclusive(). she manages her own cleanup, we love a low-maintenance queen π«Ά
β¨ SYNOPSIS β¨
int devm_reset_control_bulk_get_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. main character energy fr πnum_rstcsβ how many entries live in thatrstcsarray. be honest about the count bestie, no cap.rstcsβ an array ofstruct reset_control_bulk_datawhere the reset line names are already set. like, you gotta do your homework and fill in the names first π
π¦ DESCRIPTION π¦
This is the managed version of reset_control_bulk_get_exclusive. the way that it just handles things for you πβ¨
For reset controllers returned from this function, reset_control_put is called automatically on driver detach. so you literally don't have to remember to clean up, it's giving responsible adult who still calls their mom, obsessed π₯Ή
want the full tea? go read reset_control_bulk_get_exclusive for more information. this page is just the devm remix π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/reset.hβ yes, that's where all the lore lives 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_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_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, they all showed up to the party ππ
that's a wrap bestie! big kisses from ./include/linux, dated October 2026 β this whole page is from the Kernel API Manual and she ate, no crumbs left πβπ
π¦ 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