reset_contro...ive_released(9)
π reset_contro...ive_released(9) π
okay bestie, welcome to the Kernel API Manual β yes that manual, the one with all the reset controller lore. buckle up, this one's short but it's important β¨
πΈ NAME πΈ
reset_control_get_exclusive_released β look up a reset controller and grab a reference to it that's exclusive... but like, temporarily exclusive. it's giving "you can have it, but only for a sec" π
β¨ SYNOPSIS β¨
struct reset_control * reset_control_get_exclusive_released (struct device *dev , const char *id );
π¦ ARGUMENTS π¦
devβ the device that's gonna get reset by the controller. main character device energy πidβ the name of the reset line. yep, that's the whole thing. lowkey simple fr fr
π DESCRIPTION π
so this function returns a struct reset_control, or an IS_ERR condition carrying an errno if things go sideways π β that's the vibe check, handle it.
here's the important part, no cap: any reset-controls that come out of this function must be acquired via reset_control_acquire before you can actually use them, and afterwards they should be released via reset_control_release. like, you don't just get to run off with them, bestie β there's a whole commitment situation going on π«Ά
using id names is optional. yes, optional. you do you β¨
π₯ SEE ALSO π₯
literally the whole friend group, go say hi π
- Kernel file
./include/linux/reset.hstruct reset_control_bulk_data(9), enum reset_control_flags(9),reset_control_get_exclusive(9),reset_control_bulk_get_exclusive(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)
and that's the whole page, bestie π sourced all cute from ./include/linux, dated October 2026 β go forth and release your reset controls properly, i'm obsessed with you ππ
π¦ 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