devm_reset_...et_exclusive(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 that rstcs array. be honest about the count bestie, no cap.
  • rstcs β€” an array of struct reset_control_bulk_data where 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 πŸ”₯

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