STRUCT ARMADA_37XX_PIN_GROUP(9)
β¨ struct armada_37xx_pin_group(9) β¨
okay bestie, so this is a page straight out of the Kernel API Manual β yes, that Kernel API Manual β and it's all about one little struct. no cap, it's lowkey iconic. π
πΈ NAME πΈ
struct armada_37xx_pin_group β literally the struct that represents a group of pins of a pinmux function. the pins of a pinmux group are composed of one or two groups of contiguous pins. that's it, that's the vibe. π
π¦ SYNOPSIS π¦
here's the whole thing, character for character, don't @ me:
struct armada_37xx_pin_group {
const char *name;
unsigned int start_pin;
unsigned int npins;
u32 reg_mask;
u32 val[NB_FUNCS];
unsigned int extra_pin;
unsigned int extra_npins;
const char *funcs[NB_FUNCS];
unsigned int *pins;
};
π MEMBERS π
every single field, explained, because we don't gatekeep here:
nameβ the name of the pin group, and yeah it's used to look up the group. it's giving main character energy, honestly. βstart_pinβ index of the first pin of the main range of pins belonging to the group.npinsβ number of pins included in that first range. count 'em, bestie.reg_maskβ bit mask matching the group in the selection register.valβ the value to write to the registers for a given function. very demure, very mindful.extra_pinβ index of the first pin of the optional second range of pins belonging to the group. optional! like a little bonus. π¦extra_npinsβ number of pins included in that second optional range.funcsβ a list of pinmux functions that can be selected for this group. the whole friend group, fr fr.pinsβ list of the pins included in the group. squad assembled. π«Ά
π₯ SEE ALSO π₯
go look at these, i'm obsessed:
- Kernel file
./drivers/pinctrl/mvebu/pinctrl-armada-37xx.c armada_37xx_add_function(9)armada_37xx_fill_group(9)armada_37xx_fill_func(9)
okay that's the whole page, you ate that. π
and for the sign-off: this cutie lives in ./drivers/pinctrl/mvebu, it's tagged October 2026, and it's part of the Kernel API Manual β so if you memorized all of it, slay, periodt. πβ¨
π¦ 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