msi_create_irq_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ msi_create_irq_domain(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the Kernel API Manual, and today’s main character is msi_create_irq_domain(9) β€” the function that creates an MSI interrupt domain. No cap, it’s giving β€œbuild the domain, bestie” energy. πŸ’…βœ¨


✨ NAME ✨

msi_create_irq_domain β€” create an MSI interrupt domain 🫢


🌸 SYNOPSIS 🌸

struct irq_domain * msi_create_irq_domain (struct fwnode_handle *fwnode
, struct msi_domain_info *info , struct irq_domain *parent );

πŸ’– ARGUMENTS πŸ’–

  • fwnode β€” the optional fwnode of the interrupt controller. Optional, bestie β€” not every interrupt controller is gonna hand you one. πŸ™ˆ
  • info β€” the MSI domain info. Yes, this is the info for the MSI domain, very demure, very literal. πŸŽ€
  • parent β€” the parent irq domain. It’s giving β€œrespect your elders” but make it irq domains. πŸ‘‘

⭐ RETURN ⭐

You get a pointer to the created struct irq_domain β€” the whole point, slay β€” or NULL on failure. 😭 That’s the return value, fr fr.


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./kernel/irq/msi.c β€” go read, iykyk. πŸ’œ


that’s the tea from source/version ./kernel/irq, dated October 2026 β€” page msi_create_irq_domain(9), bye bestie, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from