STRUCT IRQ_DOMAIN_CHIP_GENERIC_INFO(9)
β¨ 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 ofirq_chip_typeinstances 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 pointerint (*init)(struct irq_chip_generic *gc); Function called on each chip when they are created. Allow to do some additional chip initialisation. β¨exitβ function pointervoid (*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
- 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