irq_setup_alt_chip(9)
β¨ irq_setup_alt_chip(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this little page is all about irq_setup_alt_chip, and honestly it's giving "small but mighty" energy.
π NAME π
irq_setup_alt_chip β switch to the alternative chip, no cap π«
π¦ SYNOPSIS π¦
int irq_setup_alt_chip (struct irq_data *d , unsigned int type );
literally the whole signature, copy it exactly pls π«Ά
πΈ ARGUMENTS πΈ
dβ theirq_datafor this interrupt. it's the main character of this call, the irq info bundle you're handing over πtypeβ the flow type that's gonna get initialized. this is the vibe you're setting up, iykyk β¨
π DESCRIPTION π
so here's the tea β β you can only call this from chip->irq_set_type callbacks.
π¨ like, for real. that's the rule. it's not a suggestion, it's the whole entire constraint. don't be out here calling it from anywhere else π
π₯ SEE ALSO π₯
the kernel source file lives at ./kernel/irq/generic-chip.c β go be nosy, it's fiiine π
and here's the full squad of related functions, all of them, no skips:
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_get_domain_generic_chip(9), irq_setup_generic_chip(9), irq_remove_generic_chip(9)
aaaand that's the page!! π§π this beauty comes to you from ./kernel/irq and it's dated October 2026 β put that in your calendar bestie, or don't, it's a manpage footer not a birthday π slay, 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