STRUCT NMK_FUNCTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct nmk_function(9) ✨

okay bestie, welcome to the Kernel API Manual β€” yes the manual name is literally Kernel API Manual and we're about to read it together like it's the group chat receipts πŸ’… this one's about struct nmk_function, the Nomadik pinctrl mux function. iconic little struct, no cap πŸŽ€


🌸 NAME 🌸

struct nmk_function β€” the Nomadik pinctrl mux function. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

struct nmk_function {
    const char *name;
    const char * const *groups;
    unsigned int ngroups;
 };

three members. tiny struct. main character energy πŸ‘‘


πŸ’– Members πŸ’–

  • name β€” the name of the function, and it gets exported to the pinctrl core. she's famous, she's out there, everybody knows her name 🎀✨
  • groups β€” an array of pin groups that may select this function. like a little roster of who's allowed to show up to this function's party 🫢
  • ngroups β€” the number of entries in groups. the headcount, the attendance number, the "how many besties are actually coming" check 🧚

🌈 SEE ALSO 🌈

go read these next, i'm obsessed with the whole friend group honestly:

  • Kernel file ./include/linux/gpio/gpio-nomadik.h
  • enum prcm_gpiocr_reg_index(9)
  • enum prcm_gpiocr_altcx_index(9)
  • struct prcm_gpiocr_altcx(9)
  • struct prcm_gpiocr_altcx_pin_desc(9)
  • struct nmk_pingroup(9)
  • struct nmk_pinctrl_soc_data(9)

fr fr read them in order, it's giving syllabus week but make it cute πŸ“šπŸ’€

and that's the page!! πŸ“ sourced straight from ./include/linux/gpio, dated October 2026, filed forever under struct nmk_function(9) β€” slay, periodt, go touch some pins πŸ’œπŸ”₯

πŸ“¦ where this page comes from