reset_contro...et_exclusive(9)
π NAME
reset_control_bulk_get_exclusive β bestie, this is the one that looks up and grabs exclusive references to multiple reset controllers in one glorious sweep β¨ (yes, multiple, we're not doing them one at a time like it's 2009)
Also hi, this is a page from the Kernel API Manual, and the function we're obsessing over is literally reset_control_bulk_get_exclusive(9). Okurrr π
πΈ SYNOPSIS
int 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 π«Άnum_rstcsβ the number of entries in therstcsarray (count them, bestie, accuracy is everything) π’rstcsβ array ofstruct reset_control_bulk_datawith the reset line names already set π
π DESCRIPTION
So here's the vibe: it fills the rstcs array with pointers to exclusive reset controls, and then it returns 0 β iconic, no notes π
And if things don't go cute? You get an IS_ERR condition containing errno instead π so pls check before you go off and use those pointers, iykyk.
fr fr: success is0, failure is anIS_ERRcondition witherrnoinside it. That's the whole deal π
π₯ SEE ALSO
Okay this list is long long, but every single one of these matters so we're listing them all, no cap π«Ά
- Kernel file
./include/linux/reset.h struct reset_control_bulk_data(9)enum reset_control_flags(9)reset_control_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_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)
~ that's the whole page, bestie ~ π§ This lil masterpiece lives in ./include/linux, and it's dated October 2026 β so mark your calendar, reset_control_bulk_get_exclusive(9) is literally main character energy π π
π¦ 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