STRUCT TNG_GPIO_PIN_INFO(9)
π struct tng_gpio_pin_info(9)
okay so this is the Kernel API Manual page for struct tng_gpio_pin_info, and no cap, it's literally just the lil' glow-up card that holds "platform specific pinout information." that's the whole vibe bestie β¨
πΈ NAME πΈ
struct tng_gpio_pin_info β platform specific pinout information π
π¦ SYNOPSIS π¦
struct tng_gpio_pin_info {
const struct tng_gpio_pinrange *pin_ranges;
unsigned int nranges;
const char *name;
};
like, that's it. that's the struct. she's small but she's doing the work π
π Members π
she's got three (3) fields and every single one matters, so let's go:
pin_rangesβ the pin to GPIO mapping π this is the whole point of her tbhnrangesβ number of pin ranges, aka how many of those ranges you actually gotnameβ the respective pinctrl device name π·οΈ
ngl the struct definition above has one extra space before its closing brace β that's exactly how it's written in the original, so we're keeping it fr fr. no editing the sacred text π
π₯ SEE ALSO π₯
go look at these, iykyk:
- Kernel file
./drivers/gpio/gpio-tangier.h struct tng_wake_regs(9)struct tng_gpio_pinrange(9)struct tng_gpio_info(9)struct tng_gpio(9)
okay and before you close the tab π«Ά β big slay to ./drivers/gpio for being the source, and this page is dated October 2026, so she's fresh, she's iconic, she's giving main character energy π mwah π
π struct tng_gpio_pin_info(9) π
π¦ 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