irq_setup_alt_chip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” the irq_data for 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