STRUCT TNG_GPIO_PINRANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct tng_gpio_pinrange(9) ✨

okay so bestie, welcome to Kernel API Manual, section 9 β€” today's main character is struct tng_gpio_pinrange, and she is literally just here to do one job and do it slayfully πŸ’…

🌸 NAME 🌸

struct tng_gpio_pinrange β€” the little struct that maps pin numbers to gpio numbers πŸŽ€ like that's her whole thing, that's her entire personality, and honestly? iconic.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct tng_gpio_pinrange {
    unsigned int gpio_base;
    unsigned int pin_base;
    unsigned int npins;
 };

no cap, that's the whole shape of her ✨ three unsigned int fields, zero drama.

πŸŽ€ Members πŸŽ€

  • gpio_base β€” the starting GPIO number for this range 🧚 this is where her gpio era begins.
  • pin_base β€” the starting pin number for this range πŸ“ the pin-side starting line, if you will.
  • npins β€” how many pins live in this range πŸ”’ the headcount, the vibe check number, the npins of the situation.

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/gpio/gpio-tangier.h β€” yes, go look at the actual file bestie, it's right there 🫢
  • struct tng_wake_regs(9)
  • struct tng_gpio_pin_info(9)
  • struct tng_gpio_info(9)
  • struct tng_gpio(9)

the whole gpio friend group fr fr, go read all of them, they ate πŸ’–


ngl that's the entire page β€” short, sweet, and lowkey perfect. take the win, bestie πŸ“

and that's a wrap! this lil page comes to you from ./drivers/gpio, dated October 2026, in the Kernel API Manual β€” mwah, see you in the next manpage βœ¨πŸ’œπŸŒˆ

πŸ“¦ where this page comes from