STRUCT MIP_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the struct mip_priv(9) page from the Kernel API Manual, and it's literally all about MSI-X interrupt controller data β€” main character struct energy fr fr πŸ’…βœ¨


✨ SYNOPSIS ✨

here's the whole struct, bestie β€” keep it exactly like this, no cap:

struct mip_priv {
    spinlock_t lock;
    void __iomem            *base;
    u64 msg_addr;
    u32 msi_base;
    u32 num_msis;
    u32 msi_offset;
    unsigned long           *bitmap;
    struct irq_domain       *parent;
    struct device           *dev;
};

🫢 Members 🫢

  • lock β€” used to protect bitmap alloc/free. iconic little guardrail πŸ’–
  • base β€” base address of MMIO area.
  • msg_addr β€” PCIe MSI-X address.
  • msi_base β€” MSI base.
  • num_msis β€” count of MSIs.
  • msi_offset β€” MSI offset.
  • bitmap β€” a bitmap for hwirqs.
  • parent β€” parent domain (GIC).
  • dev β€” a device pointer.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/irqchip/irq-bcm2712-mip.c β€” go peek, bestie πŸ‘€πŸ¦‹

okay byeee bestie, this page came from source/version ./drivers/irqchip, date October 2026, and it's literally struct mip_priv(9) β€” mwah πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from