STRUCT PRCM_GPIOCR_ALTCX_PIN_DESC(9)
π struct prcm_gpiocr_altcx_pin_desc(9)
okay bestie, welcome to the Kernel API Manual π β yes we're reading kernel headers for fun now, this is who we are, and honestly? iconic of us. today's main character is struct prcm_gpiocr_altcx_pin_desc, aka Other alternate-C pin. that's literally its NAME, no notes β¨
πΈ SYNOPSIS πΈ
here's the shape of it, copy it exactly bestie, don't freestyle:
struct prcm_gpiocr_altcx_pin_desc {
unsigned short pin;
struct prcm_gpiocr_altcx altcx[PRCM_IDX_GPIOCR_ALTC_MAX];
};
like, that's the whole vibe. two fields, zero drama. π¦
π Members π
pinβ The pin number. that's it, that's the girl. she's anunsigned shortand she knows her number, periodt πaltcxβ array of other alternate-C[1-4] functions. yup, an array, sizedPRCM_IDX_GPIOCR_ALTC_MAX, holdingstruct prcm_gpiocr_altcxgoodies. four whole alternate-C functions living their best lives in there π«Ά the[1-4]is giving "there are several of these and we're not gonna pretend otherwise" π₯
π SEE ALSO π
go read these next, iykyk, they're the friend group:
- Kernel file
./include/linux/gpio/gpio-nomadik.henum prcm_gpiocr_reg_index(9)enum prcm_gpiocr_altcx_index(9)struct prcm_gpiocr_altcx(9)struct nmk_function(9)struct nmk_pingroup(9)struct nmk_pinctrl_soc_data(9)
ngl bestie if you skip these you're gonna be confused later and i will simply say i told you so ππ
and that's the page!! π this little love letter came from the source tree at ./include/linux/gpio, dated October 2026 β yes, future girl summer π mark your calendars, screenshot the struct, and go slay some pin muxing for me. mwah ππ§ββοΈβ
π¦ 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