STRUCT ZYNQ_PINMUX_FUNCTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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' in groups. 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_mask and mux_shift are 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