STRUCT IRQ_FWSPEC(9)
π struct irq_fwspec(9)
okay bestie, welcome to the Kernel API Manual β¨ β we're doing a whole deep-dive on one little struct today and honestly? she's iconic. no cap.
πΈ NAME πΈ
struct irq_fwspec β the generic IRQ specifier structure π
like, it's literally the standard-issue little bundle you use to describe an interrupt. periodt.
β¨ SYNOPSIS β¨
struct irq_fwspec {
struct fwnode_handle *fwnode;
int param_count;
u32 param[IRQ_DOMAIN_IRQ_SPEC_PARAMS];
};
look at her. three fields. absolutely ate. π₯ (yes, the brace indentation is exactly like that, i don't make the rules π«Ά)
π¦ Members π¦
fwnodeβ a pointer to a firmware-specific descriptor. it's giving "here's where the firmware lives", yk? πparam_countβ the number of device-specific parameters. basically the vibe check on how many params are actually real. π―paramβ the device-specific parameters themselves. the main characters of the whole struct, honestly. π
π Description π
so here's the tea β β this structure is directly modeled after of_phandle_args, and its whole job is to pass along a device-specific description of an interrupt. that's it, that's the function. ngl it's simple but she's doing it flawlessly π
π SEE ALSO π
- Kernel file
./include/linux/irqdomain.hπ struct irq_fwspec_info(9)struct irq_domain_ops(9)struct irq_domain(9)struct irq_domain_info(9)irq_domain_create_linear(9)irq_create_mapping(9)irq_resolve_mapping(9)irq_find_mapping(9)irq_domain_create_hierarchy(9)irq_domain_alloc_irqs(9)
the whole friend group fr fr π« go read all of them, i'll wait π
πΈ ok that's the whole page bestie, you're officially an irq_fwspec girlie now. no notes. π¦
big slay sign-off: this little masterpiece lives in ./include/linux π«, and it was dated October 2026 π β mwah, struct irq_fwspec(9), ily, bye π
β¨
π¦ 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