STRUCT TNG_FAMILY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct tng_family(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this is the page for struct tng_family and it's literally the glow-up your pin knowledge needed. it's the Tangier pin family description β€” like, the lil' data structure that tells you everything about one family of pins on the Tangier pinctrl. slay.


🌸 NAME 🌸

struct tng_family β€” Tangier pin family description πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct tng_family {
    unsigned int barno;
    unsigned int pin_base;
    size_t npins;
    bool protected;
    void __iomem *regs;
 };

that's the whole vibe right there. five fields, zero drama, iconic behavior only ✨ (yes the closing brace has a lil' leading space in the original β€” we respect the formatting, no cap 🫢)


πŸ’… Members πŸ’…

  • barno β€” the MMIO BAR number where all the registers for this family live. it's giving "here's the address, go off" 🏠
  • pin_base β€” the starting pin of the pins in this family. like the first girl in the group chat πŸ’œ
  • npins β€” the number of pins in this family. count 'em, bestie πŸ”’
  • protected β€” true if the family is protected by access. it's a bool, so it's a yes/no, and when it's yes you better not touch β€” main character boundary energy πŸ”₯
  • regs β€” the family specific common registers, typed void __iomem *. family-shared, family-owned, very "we share everything in this house" 🫢
ngl, none of these have defaults or ranges listed here β€” this page is just the description of the struct's members, so don't go looking for extra lore that isn't there πŸ™ˆ

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pinctrl/intel/pinctrl-tangier.h β€” go read the source, iykyk πŸ“–
  • struct tng_pinctrl(9) β€” the related one, link arms with your sister page πŸ‘‘

and that's a wrap, bestie! πŸŽ€ this page came straight out of ./drivers/pinctrl/intel and it's dated October 2026 β€” put that in your calendar, or don't, i'm not your mom. mwah πŸ’‹βœ¨πŸ’–

πŸ“¦ where this page comes from