STRUCT ZYNQMP_PINCTRL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– STRUCT ZYNQMP_PINCTRL(9) πŸ’–

okay bestie, welcome to the struct zynqmp_pinctrl page from the Kernel API Manual β€” yes we're in the kernel docs now, put your hair up, this is driver data and it's lowkey iconic 🌸


✨ NAME ✨

struct zynqmp_pinctrl β€” driver data. that's it. that's the whole name section. short king πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct zynqmp_pinctrl {
    struct pinctrl_dev *pctrl;
    const struct zynqmp_pctrl_group *groups;
    unsigned int ngroups;
    const struct zynqmp_pmux_function *funcs;
    unsigned int nfuncs;
 };

there she is. copy it exactly, no cap, don't you dare retype the semicolons from memory 😭


πŸŽ€ MEMBERS πŸŽ€

  • pctrl β€” pin control device 🫢 like the actual struct pinctrl_dev * pointer, the main character of this little friend group
  • groups β€” pin groups πŸ’… a const struct zynqmp_pctrl_group *, i.e. the whole squad of groups
  • ngroups β€” number of groups ✨ an unsigned int, literally just how many groups there are
  • funcs β€” pin mux functions 🌈 a const struct zynqmp_pmux_function *, the function lineup
  • nfuncs β€” number of funcs πŸ“ also an unsigned int, also literally just a count, she's doing her job

πŸ”₯ DESCRIPTION πŸ”₯

so here's the vibe: this struct gets stored as driver data, and it's what you go look at when you need to retrieve info about pin control functions, groups, and group pins. that's the entire personality. it's a little info cabinet and honestly? we stan a struct that knows its purpose πŸ’œ


🌟 SEE ALSO 🌟

like, that's a whole friend group of cross-references and they all ate πŸ’… go read them, iykyk


ngl if you skipped the SEE ALSO list thinking it was filler β€” bestie, no. every single one of those is a real page and they're all linked for a reason πŸ™ˆ

okay that's the page!! this little number lives over in ./drivers/pinctrl, it's dated October 2026, and it answers to the name struct zynqmp_pinctrl(9) β€” mwah, love u, go read your kernel docs πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from