STRUCT MTK_MSI_SET(9)
β¨ 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 π:
struct mtk_gen3_pcie_pdata(9)struct mtk_gen3_pcie(9)mtk_pcie_config_tlp_header(9)mtk_intx_eoi(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms