STRUCT MTK_PCIE(9)
π struct mtk_pcie(9) β PCIe host information π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a struct, and she's literally the whole PCIe host situation for MediaTek, no cap π«Ά
πΈ SYNOPSIS πΈ
struct mtk_pcie {
struct device *dev;
void __iomem *base;
struct regmap *cfg;
struct clk *free_ck;
struct list_head ports;
const struct mtk_pcie_soc *soc;
};
like, that's the whole vibe right there π six fields, zero fluff, main character energy fr fr π
π Members π
devβ pointer to PCIe device π¦ the device herself, iconicbaseβ IO mapped register base β¨ your IO-mapped register base, the literal foundation of the whole thingcfgβ IO mapped register map for PCIe config πΈ IO-mapped register map for PCIe config β yes, that's a register map, not a base, don't mix them up bestiefree_ckβ free-run reference clock π the free-run reference clock, just vibing and keeping timeportsβ pointer to PCIe port information π pointer to the PCIe port info, lowkey where all the port lore livessocβ pointer to SoC-dependent operations β pointer to the SoC-dependent ops, because every SoC wants to do its own thing, periodt
π₯ SEE ALSO π₯
- Kernel file
./drivers/pci/controller/pcie-mediatek.c enum mtk_pcie_quirks(9)struct mtk_pcie_soc(9)struct mtk_pcie_port(9)mtk_pcie_retrain(9)
go read the source, iykyk π the file is right there and she ate
that's the whole page bestie, mwah π source/version lives at ./drivers/pci/controller and this one's stamped October 2026 β struct mtk_pcie(9), signing off ππβ¨
π¦ 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