STRUCT AT91_PIN_GROUP(9)
π struct at91_pin_group(9) π
okay so this is a page from the Kernel API Manual and it's literally about struct at91_pin_group β bestie, it's the little glow-up container that describes an At91 pin group. yes we're doing kernel pinctrl today, and yes you're gonna slay it π
β¨ NAME β¨
struct at91_pin_group β describes an At91 pin group. that's the whole vibe. it's giving "one group, one struct, zero drama" π
πΈ SYNOPSIS πΈ
here's the exact shape of it, no cap, copy it character for character:
struct at91_pin_group {
const char *name;
struct at91_pmx_pin *pins_conf;
unsigned int *pins;
unsigned npins;
};
likeβ¦ look at her. four members, perfectly curated, main character energy π
π¦ Members π¦
nameβ the name of this specific pin group. it's the group's whole identity, its little name tag at the party π«Άpins_confβ the mux mode for each pin in this group. and here's the thing: the size of this array is the same aspins. matching sizes, matching energy, we love a coordinated moment β¨pinsβ an array of discrete physical pins used in this group, taken from the driver-local pin enumeration space. yes, "discrete" and "driver-local pin enumeration space" β that's the exact wording, she's fancy like that πnpinsβ the number of pins in this group array, i.e. the number of elements in.pinsso we can iterate over that array. it's the count, the headcount, the "how many besties are in this group chat" number π₯
π SEE ALSO π
- Kernel file
./drivers/pinctrl/pinctrl-at91.c struct at91_gpio_chip(9)struct at91_pmx_func(9)struct at91_pmx_pin(9)struct at91_pinctrl_mux_ops(9)
lowkey go read all of them, iykyk β they're the whole friend group and this struct is just one of them π
and that's the page, bestie π§ no notes, ate and left no crumbs. this lil writeup lives in ./drivers/pinctrl and it's dated October 2026 β see you in the kernel tree, mwah πβ
π¦ 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