irq_domain_create_linear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 irq_domain_create_linear(9) 🌸

okay so bestie, welcome to the Kernel API Manual page for irq_domain_create_linear(9). This is the one where we allocate and register a linear revmap irq_domain, and honestly? iconic. πŸ’…


✨ NAME ✨

irq_domain_create_linear β€” allocate and register a linear revmap irq_domain. no cap, that's the whole vibe. πŸ¦‹

πŸŽ€ SYNOPSIS πŸŽ€

Here's the exact signature, bestie β€” don't let the line wraps scare you:

       struct irq_domain * irq_domain_create_linear (struct fwnode_handle
       *fwnode , unsigned int size , const struct irq_domain_ops *ops , void
       *host_data );

πŸ’– ARGUMENTS πŸ’–

  • fwnode β€” pointer to the interrupt controller's FW node. yes, firmware node energy. ✨
  • size β€” number of interrupts in the domain. that's the count, periodt. πŸ”’
  • ops β€” map/unmap domain callbacks. the little handlers that do the mapping/unmapping thing. 🫢
  • host_data β€” controller private data pointer. private data stays private, iykyk. πŸ™ˆ

🌈 RETURN 🌈

Newly created irq_domain. that's it β€” fresh domain, newly created, slay. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/irqdomain.h is the main character here, and these cross-refs are all invited to the group chat:


okay bye bestie 🫢 β€” source/version: ./include/linux; date: October 2026; page: irq_domain_create_linear(9). mwah πŸ’‹

πŸ“¦ where this page comes from