ENUM PRCM_GPIOCR_ALTCX_INDEX(9)
π 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 isPRCM_IDX_GPIOCR_ALTC2β-- undescribed --π also barePRCM_IDX_GPIOCR_ALTC3β-- undescribed --π nothing written for this one eitherPRCM_IDX_GPIOCR_ALTC4β-- undescribed --π same story, bestiePRCM_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
- 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