STRUCT IRQ_CHIP_REGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to reg_base 🌈
  • disable β€” the disable register offset to reg_base πŸ’œ
  • mask β€” the mask register offset to reg_base πŸŽ€
  • ack β€” the ack register offset to reg_base ⭐
  • eoi β€” the eoi register offset to reg_base πŸ“
  • type β€” the type configuration register offset to reg_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