STRUCT IRQ_CHIP_REGS(9)
π struct irq_chip_regs(9) π
okay so bestie, welcome to the Kernel API Manual, this is the struct irq_chip_regs page and it is literally about register offsets for struct irq_gci β tiny little offset numbers that tell you where each register lives relative to reg_base. no cap, that's the whole vibe β¨ (this one ships out of ./include/linux, in case you were wondering π«Ά)
πΈ NAME πΈ
struct irq_chip_regs β register offsets for struct irq_gci
like, that's it, that's the name, and honestly? iconic. π
β¨ SYNOPSIS β¨
struct irq_chip_regs {
unsigned long enable;
unsigned long disable;
unsigned long mask;
unsigned long ack;
unsigned long eoi;
unsigned long type;
};
look at her. six unsigned long fields, all lined up, all behaving. main character struct energy fr fr π
π¦ Members π¦
so every single one of these is a register offset to reg_base β say it with me: offset to reg_base β and here's the whole cast:
enableβ the enable register offset toreg_baseπdisableβ the disable register offset toreg_baseπmaskβ the mask register offset toreg_baseπackβ the ack register offset toreg_baseβeoiβ the eoi register offset toreg_baseπtypeβ the type configuration register offset toreg_baseπ§
six fields, six offsets, zero drama. we love a consistent queen π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/irq.h struct irq_common_data(9)struct irq_data(9)struct irq_chip(9)struct irq_chip_type(9)struct irq_chip_generic(9)enum irq_gc_flags(9)struct irq_domain_chip_generic_info(9)
go read them, bestie, iykyk πβ¨
ngl this page is short but she ate. no bugs, no warnings, no undefined behaviour β just offsets. a rare and blessed moment ππ«Ά
and that's the whole page!! this cutie lives in ./include/linux and the date on the tin is October 2026, under the Kernel API Manual banner β mwah, bye bestie, slay your irq handling πππ¦π
π¦ 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