devm_reset_c...ive_released(9)
β¨ devm_reset_control_bulk_get_exclusive_released β¨
okay so bestie, we're in the Kernel API Manual today (yes, the Kernel API Manual, that's the whole vibe) and we're about to talk about devm_reset_control_bulk_get_exclusive_released. long name? yes. iconic? also yes. let's get into it π
πΈ NAME πΈ
devm_reset_control_bulk_get_exclusive_released β the resource managed version of reset_control_bulk_get_exclusive_released(). it's giving "same energy, but the cleanup is handled for you" π«Ά
β¨ SYNOPSIS β¨
int devm_reset_control_bulk_get_exclusive_released (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 main character here tbh πnum_rstcsβ how many entries live in therstcsarray. like, the headcount πrstcsβ an array ofstruct reset_control_bulk_datawith the reset line names already set. this one's already dressed and ready to go π¦
π DESCRIPTION π
so this is the managed reset_control_bulk_get_exclusive_released. lowkey the best part: for reset controllers returned from this function, reset_control_put gets called automatically when the driver detaches. no manual cleanup era, we love to see it πβ¨
if you want the full lore, go read reset_control_bulk_get_exclusive_released β it has all the details.
π₯ SEE ALSO π₯
Kernel file ./include/linux/reset.h plus a whole friend group of functions, fr fr:
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_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)
and that's the page, bestie π§ this little gem comes to you from ./include/linux, dated October 2026 β slay, go forth and manage your resets ππ
π¦ 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