STRUCT ACPI_GPIO_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

hey bestie!! welcome to the struct acpi_gpio_info(9) page from the Kernel API Manual 🫢✨ this lil struct is literally the container for ACPI GPIO specific information β€” that's the whole vibe πŸ’…

✨ SYNOPSIS ✨

okay so here's the struct in all its main-character glory, and yes we're keeping it exact because we do not mess with code in this house 😀:

struct acpi_gpio_info {
    struct acpi_device *adev;
    enum gpiod_flags flags;
    bool gpioint;
    bool wake_capable;
    int pin_config;
    int polarity;
    int triggering;
    unsigned int debounce;
    unsigned int quirks;
};

πŸŽ€ Members πŸŽ€

  • adev β€” a reference to the ACPI device which consumes the GPIO resource πŸ‘‘
  • flags β€” the GPIO initialization flags 🚩
  • gpioint β€” if this is true, this GPIO is of type GpioInt; otherwise the type is GpioIo πŸ‘€
  • wake_capable β€” wake capability as provided by ACPI πŸŒ™
  • pin_config β€” pin bias as provided by ACPI 🎚️
  • polarity β€” interrupt polarity as provided by ACPI ⚑
  • triggering β€” triggering type as provided by ACPI 🎯
  • debounce β€” debounce timeout as provided by ACPI ⏳
  • quirks β€” Linux specific quirks as provided by struct acpi_gpio_mapping πŸŒ€

🌈 SEE ALSO 🌈

go follow the lore bestie, these are all linked:

k that's the page!! 🫢 source/version is ./drivers/gpio, date is October 2026, and this was struct acpi_gpio_info(9) β€” bye bestie, slay your GPIOs!! πŸ’…πŸŽ€

πŸ“¦ where this page comes from