STRUCT IRQ_DOMAIN_CHIP_GENERIC_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, meet struct irq_domain_chip_generic_info β€” the Generic chip information structure πŸ’…. this is straight from the Kernel API Manual, section 9, and it’s giving β€œblueprint for your generic interrupt chip info” energy ✨.

✨ SYNOPSIS ✨

here’s the struct in all its iconic glory, no cap β€” every field exactly as it appears:

       struct irq_domain_chip_generic_info {
           const char              *name;
           irq_flow_handler_t handler;
           unsigned int            irqs_per_chip;
           unsigned int            num_ct;
           unsigned int            irq_flags_to_clear;
           unsigned int            irq_flags_to_set;
           enum irq_gc_flags       gc_flags;
           int (*init)(struct irq_chip_generic *gc);
           void (*exit)(struct irq_chip_generic *gc);
        };

πŸŽ€ Members πŸŽ€

okay, member-by-member vibe check, bestie:

  • name β€” Name of the generic interrupt chip 🫢
  • handler β€” Interrupt handler used by the generic interrupt chip ✨
  • irqs_per_chip β€” Number of interrupts each chip handles (max 32) πŸ”₯
  • num_ct β€” Number of irq_chip_type instances associated with each chip πŸ’…
  • irq_flags_to_clear β€” IRQ_* bits to clear in the mapping function 🌸
  • irq_flags_to_set β€” IRQ_* bits to set in the mapping function 🌈
  • gc_flags β€” Generic chip specific setup flags πŸŽ€
  • init β€” function pointer int (*init)(struct irq_chip_generic *gc); Function called on each chip when they are created. Allow to do some additional chip initialisation. ✨
  • exit β€” function pointer void (*exit)(struct irq_chip_generic *gc); Function called on each chip when they are destroyed. Allow to do some chip cleanup operation. 🧚

🌈 SEE ALSO 🌈

also peep these, bestie:

  • Kernel file ./include/linux/irq.h
  • struct irq_common_data(9)
  • struct irq_data(9)
  • struct irq_chip(9)
  • struct irq_chip_regs(9)
  • struct irq_chip_type(9)
  • struct irq_chip_generic(9)
  • enum irq_gc_flags(9)

🫢 that’s the whole page, bestie β€” source/version line says ./include/linux, dated October 2026, and the page is struct irq_...generic_info(9). mwah πŸ’‹

πŸ“¦ where this page comes from