pci_msi_map_rid_ctlr_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is pci_msi_map_rid_ctlr_node(9) from the Kernel API Manual β€” and bestie, it’s literally the function that gets the MSI controller fwnode_handle and the MSI requester id (RID). πŸ’…βœ¨

✨ SYNOPSIS ✨

u32 pci_msi_map_rid_ctlr_node (struct irq_domain *domain , struct
       pci_dev *pdev , struct fwnode_handle **node );

πŸŽ€ ARGUMENTS πŸŽ€

  • domain β€” the interrupt domain, aka the vibe zone for interrupts πŸ¦‹
  • pdev β€” the PCI device, the main character here πŸ‘‘
  • node β€” pointer to store the MSI controller fwnode_handle; it’s where the result goes πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the tea: use the firmware data to find the MSI controller fwnode_handle for pdev. If it’s found, map the RID and initialize node with it. 🌈

Big warning bestie: node value must be set to NULL on entry. Like, actually mandatory β€” no cap. πŸ’€πŸ’…

⭐ RETURN ⭐

The RID. That’s it, that’s the return value. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/pci/msi/irqdomain.c β€” plus these icons, iykyk:


okay bye bestie 🫢 β€” source/version is ./drivers/pci/msi, date is October 2026, and yes this iconic page is still pci_msi_map_rid_ctlr_node(9) πŸ’–βœ¨

πŸ“¦ where this page comes from