ENUM PRCM_GPIOCR_ALTCX_INDEX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum prcm_gpiocr_altcx_index (9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so this is a kernel API page, it lives in the Kernel API Manual, and honestly it's a lil enum doing a very specific job. let's get into it ✨


🌸 NAME 🌸

enum prcm_gpiocr_altcx_index β€” bestie, this is literally just used to reference an Other alternate-C function. that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

enum prcm_gpiocr_altcx_index {
    PRCM_IDX_GPIOCR_ALTC1 ,
    PRCM_IDX_GPIOCR_ALTC2 ,
    PRCM_IDX_GPIOCR_ALTC3 ,
    PRCM_IDX_GPIOCR_ALTC4 ,
    PRCM_IDX_GPIOCR_ALTC_MAX

};

look at her. five constants, all lined up, main character energy πŸ‘‘


πŸŽ€ Constants πŸŽ€

so here's the lineup, and ngl the docs are giving "we left this blank on purpose" 😭 β€” every single one of these is marked -- undescribed -- in the source, and i'm not gonna make stuff up, so here's the honest tea:

  • PRCM_IDX_GPIOCR_ALTC1 β€” -- undescribed -- πŸ™ˆ no description in the original, that's just how it is
  • PRCM_IDX_GPIOCR_ALTC2 β€” -- undescribed -- πŸ™ˆ also bare
  • PRCM_IDX_GPIOCR_ALTC3 β€” -- undescribed -- πŸ™ˆ nothing written for this one either
  • PRCM_IDX_GPIOCR_ALTC4 β€” -- undescribed -- πŸ™ˆ same story, bestie
  • PRCM_IDX_GPIOCR_ALTC_MAX β€” -- undescribed -- πŸ™ˆ the max one, still no description, iconic of it
fr fr though β€” if you were hoping for deep lore on each constant, the original page does not have it. don't let anyone (me included) invent it πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

the friend group 🫢 β€” go check these out in the kernel file ./include/linux/gpio/gpio-nomadik.h:

  • enum prcm_gpiocr_reg_index(9)
  • struct prcm_gpiocr_altcx(9)
  • struct prcm_gpiocr_altcx_pin_desc(9)
  • struct nmk_function(9)
  • struct nmk_pingroup(9)
  • struct nmk_pinctrl_soc_data(9)

and that's the whole page πŸ’– it's short, it's sweet, it's an enum with zero lore. mwah πŸ’…

⭐ signed off from ./include/linux/gpio, dated October 2026, still titled enum prcm_gp..._altcx_index(9) because some things never change 🌈

πŸ“¦ where this page comes from