STRUCT MTK_MSI_SET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mtk_msi_set(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” section 9, the one for kernel stuff, and today's main character is struct mtk_msi_set. no cap, it's giving humble but essential. let's get into it πŸ’…


🌸 NAME 🌸

struct mtk_msi_set β€” literally the MSI information for each set πŸŽ€ that's it, that's the vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole glow-up, verbatim, don't touch a single character:

struct mtk_msi_set {
    void __iomem *base;
    phys_addr_t msg_addr;
    u32 saved_irq_state;
 };

πŸ’– Members πŸ’–

okay so these are the three little icons of this struct, and yes we're going through every one of them 🫢

  • base β€” the IO mapped register base. this is the home address of the registers, the whole main character location, iykyk ✨
  • msg_addr β€” the MSI message address. the place the messages go, fr fr πŸ“¬
  • saved_irq_state β€” the IRQ enable state that got saved at suspend time. like a little screenshot of your interrupt setup before it goes to sleep πŸ˜΄πŸ’Ύ

πŸ”₯ SEE ALSO πŸ”₯

the kernel file that's the whole reason we're here:

./drivers/pci/controller/pcie-mediatek-gen3.c

and the rest of the squad, all of them, no skipping πŸ™ˆ:

go read them, they ate πŸ‘‘


ngl this one's small but she's important β€” three members and she's carrying the MSI info for an entire set πŸ’€

alright bestie, that's the page πŸŒˆπŸ¦‹πŸ’œ shoutout to the source <pink>./drivers/pci/controller</pink>, October 2026 β€” and yeah, your girl struct mtk_msi_set(9) is out here living her best kernel life. mwah, go read the source, periodt πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from