irq_set_irq_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is irq_set_irq_type(9) from the Kernel API Manual, and she is literally here to set the irq trigger type for an irq πŸ’…βœ¨

πŸŽ€ SYNOPSIS πŸŽ€

the signature is giving exactly this, no cap:

int irq_set_irq_type (unsigned int irq , unsigned int type );

πŸ’– ARGUMENTS πŸ’–

  • irq β€” the irq number, bestie πŸ”’
  • type β€” an IRQ_TYPE_{LEVEL,EDGE}_* value; see include/linux/irq.h for the whole lore πŸ‘€

πŸ¦‹ SEE ALSO πŸ¦‹

these are all hanging out in the kernel file ./kernel/irq/chip.c β€” go give 'em a follow 🫢:


this page is from ./kernel/irq, dated October 2026 β€” mwah πŸ’‹

πŸ“¦ where this page comes from