irq_domain_a...eneric_chips(9)
π irq_domain_alloc_generic_chips(9) β like, the whole glow-up
okay bestie, welcome to the Kernel API Manual π this one's a little corner of the kernel that hands out generic chips to an irq domain, and honestly? it's giving allocator realness. no cap.
β¨ NAME β¨
irq_domain_alloc_generic_chips β Allocate generic chips for an irq domain π§
like. that's the whole job. it allocates. the chips are generic. the domain is irq. iconic behaviour tbh.
πΈ SYNOPSIS πΈ
int irq_domain_alloc_generic_chips (struct irq_domain *d , const struct irq_domain_chip_generic_info *info );
two args, returns an int, lowkey straightforward π
π¦ ARGUMENTS π¦
dβ the irq domain for which to allocate chips π this is the main character, the domain getting all the chip attentioninfoβ Generic chip information π literally the info about the generic chips. that's it. that's the vibe
β RETURN β
0on success π slay, it worked- negative error code on failure π not slay, something went wrong, and it tells you with a negative number
π₯ SEE ALSO π₯
the kernel file lives at ./kernel/irq/generic-chip.c β that's the address, bestie, iykyk π
and here's the whole friend group, every single one, no gatekeeping π«Ά
irq_gc_noop(9)irq_gc_mask_disable_reg(9)irq_gc_mask_set_bit(9)irq_gc_mask_clr_bit(9)irq_gc_unmask_enable_reg(9)irq_gc_ack_set_bit(9)irq_gc_ack_clr_bit(9)irq_gc_mask_disable_and_ack_set(9)irq_gc_eoi(9)irq_gc_set_wake(9)irq_alloc_generic_chip(9)irq_domain_remove_generic_chips(9)__irq_alloc_domain_generic_chips(9)irq_get_domain_generic_chip(9)irq_setup_generic_chip(9)irq_setup_alt_chip(9)irq_remove_generic_chip(9)
like, that's the entire group chat π go read them, they all ate π
lowkey reminder: this page is your map, not the territory β every option and every function name above is exactly as written, so copy them character for character and don't get cute with the spelling π
and that's the tea β β brought to you from ./kernel/irq, dated October 2026, filed under irq_domain_a...eneric_chips(9) π mwah, go forth and allocate responsibly β¨π
π¦ 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