irq_get_domain_generic_chip(9)
π irq_get_domain_generic_chip(9) π
okay so like, hi bestie πΈ welcome to the Kernel API Manual, and today's main character is irq_get_domain_generic_chip β no cap, she's a little function with a big name and a very specific job π
β¨ NAME β¨
irq_get_domain_generic_chip β get a pointer to the generic chip of a hw_irq π
like literally, you hand her a domain and a hardware interrupt number, and she hands you back a pointer to that interrupt's generic chip. it's giving "personal assistant who knows where everything is" energy fr fr β¨
π¦ SYNOPSIS π¦
struct irq_chip_generic * irq_get_domain_generic_chip (struct irq_domain
*d , unsigned int hw_irq );
that's her whole signature, exactly as written, don't come for me about the line break π
π ARGUMENTS π
dβ the irq domain pointer π« lowkey the map you're searching inhw_irqβ the hardware interrupt number π₯ the exact hw irq you're asking about
two args, both doing exactly what they say on the tin. iconic behavior honestly π
π SEE ALSO π
first of all, she lives in the kernel file ./kernel/irq/generic-chip.c β that's her address, bestie π
and here's the whole friend group, all of them, in order, because nobody gets left out π«Ά
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_alloc_generic_chips(9)irq_domain_remove_generic_chips(9)__irq_alloc_domain_generic_chips(9)irq_setup_generic_chip(9)irq_setup_alt_chip(9)irq_remove_generic_chip(9)
like yes that's seventeen of them and yes i listed every single one, we don't do "etc." around here π β¨
π«Ά quick reminder bestie: the synopsis is written exactly as the original has it β same types, same pointers, same semicolons β so don't go "cleaning it up" on me, mwah π
and that's the page! π she's from ./kernel/irq, dated October 2026, and yeah β the whole thing is still filed under irq_get_domain_generic_chip(9) at the bottom, periodt πππ¦
π¦ 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