STRUCT IXP4XX_GPIO(9)
π struct ixp4xx_gpio(9) π
okay so bestie, welcome to the Kernel API Manual β today's main character is struct ixp4xx_gpio, no cap β¨
πΈ NAME πΈ
struct ixp4xx_gpio β the IXP4 GPIO state container. that's it, that's the vibe. it holds the state. it contains it. slay π
π¦ SYNOPSIS π¦
struct ixp4xx_gpio {
struct gpio_generic_chip chip;
struct device *dev;
void __iomem *base;
unsigned long long irq_edge;
};
literally just copy that into your brain, it's giving clean struct energy π
π Members π
chipβ the generic GPIO chip for this instance π«Ά like, this one's the actual chip doing chip things for this particular instance, iykyk.devβ the containing device for this instance. it's the device that's holding this whole thing down, main character energy fr fr πbaseβ the remapped I/O-memory base. yes bestie, remapped. I/O memory. base. πirq_edgeβ okay this one's cute: each bit represents an IRQ π₯ where1means edge-triggered and0means level triggered. one bit per IRQ, no cap, that's the whole system π§
not me being obsessed with a bitfield-adjacent situation π each bit = one IRQ, and the value tells you which trigger type it's on. periodt.
β SEE ALSO β
- Kernel file
./drivers/gpio/gpio-ixp4xx.cβ go read it, it's iconic π
and that's the whole page bestie!! π this one came from ./drivers/gpio, dated October 2026, and the manual header on it is struct ixp4xx_gpio(9) β mwah, bye ππ
π¦ 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