STRUCT ZYNQ_PINMUX_FUNCTION(9)
β¨ struct zynq_pinmux_function(9) β¨
okay so bestie, welcome to the Kernel API Manual π β section 9, kernel-land, where the pinmux magic lives. this page is all about struct zynq_pinmux_function, and yes it's giving very much "small struct, big responsibilities" energy π
πΈ NAME πΈ
struct zynq_pinmux_function β literally just a pinmux function. that's the whole vibe. a struct that describes one pinmux function, no cap π
π¦ SYNOPSIS π¦
here's the struct in all its glory, copied exactly, don't @ me:
struct zynq_pinmux_function {
const char *name;
const char * const *groups;
unsigned int ngroups;
unsigned int mux_val;
u32 mux;
u32 mux_mask;
u8 mux_shift;
};
π Members π
okay so every single field, one by one, no skipping, we're thorough like that π«Ά
nameβ the name of the pinmux function. that's it. that's the field. iconic honestly βgroupsβ the list of pingroups for this function. think of it as the function's friend group πngroupsβ how many entries are chillin' ingroups. the headcount, if you will πmux_valβ the selector for this function π―muxβ offset of the function specific mux πmux_maskβ mask for the function specific selector πmux_shiftβ shift for the function specific selector π
ngl bestie,mux_val,mux,mux_maskandmux_shiftare all function specific β that's the manual's words, not mine, so don't come for me π
π SEE ALSO π
- Kernel file
./drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl(9)
like, go read those too, iykyk π₯
aaaaand that's the page!! mwah π this was brought to you by the source at ./drivers/pinctrl, dated October 2026, dressed up as struct zynq_pinmux_function(9) β 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