ENUM EINT_TYPE(9)
π enum eint_type β a whole vibe check on external interrupt types
okay bestie, so this page is from the Kernel API Manual, manual section 9 (kernel API stuff, iykyk) β¨ and it's literally all about enum eint_type β the possible external interrupt types. it's giving "small enum, big responsibilities" π
β¨ SYNOPSIS β¨
like, here's the whole thing, and yes every constant matters:
enum eint_type {
EINT_TYPE_NONE ,
EINT_TYPE_GPIO ,
EINT_TYPE_WKUP ,
EINT_TYPE_WKUP_MUX
};
πΈ Constants πΈ
four constants, no more no less, let's go:
EINT_TYPE_NONEβ this bank literally does not support external interrupts at all. not a single one. it's giving "i'm just here for the vibes" πEINT_TYPE_GPIOβ this bank supports external gpio interrupts π¦EINT_TYPE_WKUPβ this bank supports external wakeup interrupts πEINT_TYPE_WKUP_MUXβ this bank supports multiplexed external wakeup interrupts β¨ (yes, multiplexed, we love a mux moment)
π Description π
so here's the lore π«Ά the Samsung GPIO controller groups all the available pins into banks. and the pins in a pin bank can support:
- external gpio interrupts, or
- external wakeup interrupts, or
- no interrupts at all
periodt. that's the whole menu π
and from a software perspective, the only difference between external gpio interrupts and external wakeup interrupts is that wakeup interrupts can additionally wake up the system if it's in a suspended state π₯ like, that's it, that's the flex.
π¦ SEE ALSO π¦
go read the kernel file ./drivers/pinctrl/samsung/pinctrl-samsung.h β it's the main character of this whole saga π and then check out its friends:
enum pincfg_type(9)struct samsung_pin_bank_type(9)struct samsung_pin_bank_data(9)struct samsung_pin_bank(9)struct samsung_retention_data(9)struct samsung_pin_ctrl(9)struct samsung_pinctrl_drv_data(9)struct samsung_pinctrl_of_match_data(9)struct samsung_pin_group(9)struct samsung_pmx_func(9)
ngl bestie, if you're poking at pin banks and interrupts, read the whole list. iykyk π
and that's the tea β this page lives in ./drivers/pinctrl/samsung and the doc itself is dated October 2026 β slay, see you in the future ππ§π
π¦ 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