STRUCT TNG_GPIO_INFO(9)
π struct tng_gpio_info(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β we're looking at struct tng_gpio_info, and it is literally the struct that carries Platform specific GPIO and IRQ information. iconic. periodt.
πΈ NAME πΈ
struct tng_gpio_info - Platform specific GPIO and IRQ information π
π SYNOPSIS π
struct tng_gpio_info {
int base;
u16 ngpio;
unsigned int first;
};
π§ Members π§
baseβ the GPIO base to start numbering with. that's the starting point, bestie π―ngpioβ the amount of GPIOs supported by the controller. yes, the count π’firstβ the first IRQ to start numbering with. the first one, highkey important β‘
π¦ SEE ALSO π¦
Kernel file ./drivers/gpio/gpio-tangier.h β plus the whole crew: struct tng_wake_regs(9), struct tng_gpio_pinrange(9), struct tng_gpio_pin_info(9), and struct tng_gpio(9) π«Ά
mwah π β from ./drivers/gpio, October 2026, with all the struct tng_gpio_info(9) energy. πβ¨
π¦ 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