STRUCT PINFUNCTION(9)
struct pinfunction(9) π
okay so bestie, welcome to the <struct pinfunction> page from the Kernel API Manual β itβs giving βtiny struct, very important pinctrl energy,β and weβre gonna read it together. No cap. π«Ά
πΈ NAME πΈ
struct pinfunction β literally βDescription about a function.β iconic, concise, periodt. β¨
β¨ SYNOPSIS β¨
hereβs the whole struct, exact vibes, donβt touch the formatting:
struct pinfunction {
const char *name;
const char * const *groups;
size_t ngroups;
unsigned long flags;
};
π Members π
nameβ the name of the function, bestie. thatβs it, thatβs the field. πgroupsβ an array of groups for this function β like the functionβs whole friend group. π¦ngroupsβ number of groups ingroups. yes, itβs the count. she keeps the friend group organized. πflagsβ additional pin function flags. extra little details, lowkey essential. β
π¦ SEE ALSO π¦
Kernel file ./include/linux/pinctrl/pinctrl.h is right there in the source-y bestie zone, and the see-also squad is:
struct pingroup(9)struct pinctrl_pin_desc(9)struct pinctrl_gpio_range(9)struct pinctrl_ops(9)struct pinctrl_desc(9)
go peek at those too, iykyk. π
cute sign-off: source/version ./include/linux/pinctrl, date October 2026, page struct pinfunction(9) β made with π and way too much pinctrl enthusiasm. π
π¦ 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