STRUCT RESET_GPIO_LOOKUP(9)
π struct reset_gpio_lookup(9) π
okay bestie, welcome to the Kernel API Manual β this one's a struct, not a function, so buckle up π
β¨ NAME β¨
struct reset_gpio_lookup β the lookup key for ad-hoc created reset-gpio devices π¦
like, it's literally the lil ID card that says "hi yes this reset-gpio device belongs to this reference" and the kernel is like "say less" π
πΈ SYNOPSIS πΈ
struct reset_gpio_lookup {
struct fwnode_reference_args ref_args;
struct fwnode_handle *swnode;
struct list_head list;
struct auxiliary_device adev;
};
no cap, that's the whole shape of it β¨ four members, zero drama.
π«Ά Members π«Ά
ref_argsβ the reference to the reset controller, and it's carrying all the args with it, like the GPIO number. it's giving "I come with receipts" πswnodeβ a software node that holds the reference to the GPIO provider. yes, software node, not a devicetree node β she's built in software, she's main character energy πlistβ the list entry for thereset_gpio_lookup_list. iconic. she's in the group chat (the list). π§adevβ the auxiliary device representing the reset controller π
π₯ SEE ALSO π₯
okay this list is long and honestly it ate, so let's go, all of them, in order, no skipping π
first up, the kernel file ./drivers/reset/core.c β that's where the magic lives πͺ
then the whole squad:
struct reset_control(9)struct reset_control_array(9)fwnode_reset_simple_xlate(9)reset_controller_register(9)reset_controller_unregister(9)devm_reset_controller_register(9)reset_control_reset(9)reset_control_bulk_reset(9)reset_control_rearm(9)reset_control_assert(9)reset_control_bulk_assert(9)reset_control_deassert(9)reset_control_bulk_deassert(9)reset_control_status(9)reset_control_acquire(9)reset_control_bulk_acquire(9)reset_control_release(9)reset_control_bulk_release(9)reset_control_put(9)reset_control_bulk_put(9)__device_reset(9)fwnode_reset_control_get_count(9)fwnode_reset_control_array_get(9)devm_reset_control_array_get(9)reset_control_get_count(9)
that's the whole friend group fr fr π«Ά
lowkey reminder: this page is a struct definition β there's no return value, no error codes, no exit status here, because you're not calling anything. you're just looking at the shape of the thing π don't go looking for errno, she's not invited.
and that's the tea π this lil page lives in ./drivers/reset, straight from the October 2026 drop β slay, periodt, bye bestie ππβ
π¦ 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