STRUCT TNG_GPIO_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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