STRUCT RESET_GPIO_LOOKUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the reset_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:

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