STRUCT ALTERA_GPIO_CHIP(9)
π struct altera_gpio_chip(9)
okay so bestie, welcome to the Kernel API Manual β¨ β today's main character is struct altera_gpio_chip, and honestly? she's giving very specific niche hardware energy and we're obsessed π
πΈ NAME πΈ
struct altera_gpio_chip β no cap, that's the whole name, it just is π
(the og page keeps the description blank, so we're keeping it blank too, periodt)
β¨ SYNOPSIS β¨
struct altera_gpio_chip {
struct gpio_generic_chip chip;
void __iomem *regs;
raw_spinlock_t gpio_lock;
int interrupt_trigger;
};
like, look at her. four fields. no notes. π₯
π¦ Members π¦
chipβ the generic GPIO chip structure, aka her generic GPIO chip core. every icon needs a foundation bestie π«Άregsβ the memory mapped IO address for the controller registers. literally where the controller keeps its stuff, mmkay πgpio_lockβ a synchronization lock π so that new irq/set/get requests get blocked until the current one finishes. no cutting in line, she runs a very orderly queue ngl πinterrupt_triggerβ tells you the hardware configured IRQ trigger type: rising, falling, both, or high π (four vibes, pick one, iykyk)
π SEE ALSO π
Kernel file ./drivers/gpio/gpio-altera.cβ go read the source, it's right there, you got this π§
fr fr, every field, every trigger type, all of it is here β nothing skipped, nothing invented, we keep the facts and serve the vibe π
and that's the page!! π sourced from ./drivers/gpio, dated October 2026 β slay, ate, no crumbs, see you in the next manpage bestie π
β¨π
π¦ 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