STRUCT TNG_GPIO_PINRANGE(9)
β¨ 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, thenpinsof 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
- 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