STRUCT PRCM_GPIOCR_ALTCX_PIN_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an unsigned short and she knows her number, periodt πŸ’…
  • altcx β€” array of other alternate-C[1-4] functions. yup, an array, sized PRCM_IDX_GPIOCR_ALTC_MAX, holding struct prcm_gpiocr_altcx goodies. 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.h enum
  • 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