irq_domain_create_sim(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay bestie, welcome to the irq_domain_create_sim(9) page from the Kernel API Manual 🌈✨ This one is literally about creating a new interrupt simulator irq_domain and allocating a range of dummy interrupts πŸ’…πŸ¦‹

✨ SYNOPSIS ✨

       struct irq_domain * irq_domain_create_sim (struct fwnode_handle *fwnode
       , unsigned int num_irqs );

🫢 ARGUMENTS 🫢

  • fwnode β€” the struct fwnode_handle to be associated with this domain πŸ’–
  • num_irqs β€” the number of interrupts to allocate, periodt ✨

πŸ’« DESCRIPTION πŸ’«

Here’s the vibe check: on success, it returns a new irq_domain object πŸ«ΆπŸ‘‘. On failure, it’s a negative errno wrapped with ERR_PTR πŸ˜­πŸ’€.

πŸ”₯ SEE ALSO πŸ”₯

xoxo, source/version ./kernel/irq, dated October 2026 πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from