STRUCT KEEMBAY_GPIO_IRQ(9)
π struct keembay_gpio_irq(9) π
okay so this is a page from the Kernel API Manual, and honestly? it's a little cutie. bestie, we're talking about struct keembay_gpio_irq β no cap, it's literally the config for each and every GPIO interrupt source. each one. every single one. π
β¨ NAME β¨
struct keembay_gpio_irq β the config of each GPIO Interrupt source. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
here's the whole glow-up, verbatim, don't touch:
struct keembay_gpio_irq {
unsigned int source;
unsigned int line;
unsigned int pins[KEEMBAY_GPIO_MAX_PER_IRQ];
unsigned int trigger;
unsigned int num_share;
};
look at that struct. main character energy fr fr. π₯
π¦ Members π¦
okay now the actual gossip β every single field, explained with love:
sourceβ the interrupt source number. it lives in the range0-7. that's eight whole sources, an icon. β¨lineβ the actual Interrupt line number. like, the real one. not the source number. the line. got it? π«Άpinsβ an array of GPIO pins that are using this Interrupt line. the squad. the whole friend group, all up in this line together. it's an array of sizeKEEMBAY_GPIO_MAX_PER_IRQ, so you already know there's a cap on the guest list. πtriggerβ the Interrupt trigger type for this line. what makes it go off. the vibe check, basically. πnum_shareβ the number of pins currently using this Interrupt line. because sharing is caring, and this field is keeping receipts on exactly how many besties are sharing rn. π
β SEE ALSO β
go look at the Kernel file ./drivers/pinctrl/pinctrl-keembay.c β yes that's the path, write it down β plus these three iconic structs, all (9):
struct keembay_mux_desc(9)struct keembay_pinctrl(9)struct keembay_pin_soc(9)
iykyk π
aaaand that's the page, bestie π§ shoutout to ./drivers/pinctrl for hosting this whole thing, dated October 2026 in the Kernel API Manual β struct keembay_gpio_irq(9), periodt. ππΈπ¦
π¦ 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