STRUCT ACPI_GPIO_INFO(9)
π 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 istrue, this GPIO is of typeGpioInt; otherwise the type isGpioIoπ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 bystruct acpi_gpio_mappingπ
π SEE ALSO π
go follow the lore bestie, these are all linked:
- the kernel file
./drivers/gpio/gpiolib-acpi-core.c struct acpi_gpio_event(9)acpi_get_gpiod(9)acpi_gpio_get_io_resource(9)acpi_gpiochip_request_interrupts(9)acpi_gpiochip_free_interrupts(9)acpi_get_gpiod_by_index(9)acpi_get_gpiod_from_data(9)acpi_dev_gpio_irq_wake_get_by(9)acpi_gpio_count(9)
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
- 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