STRUCT NMK_FUNCTION(9)
β¨ 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 ingroups. 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
- 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