STRUCT MTK_GEN3_PCIE_PDATA(9)
πΈ NAME πΈ
struct mtk_gen3_pcie_pdata β the lil struct that tells the different host generations apart π
like yes bestie we need to know which gen we're dealing with
β¨ SYNOPSIS β¨
okay so here's the whole shape of it, no cap:
struct mtk_gen3_pcie_pdata {
int (*power_up)(struct mtk_gen3_pcie *pcie);
struct {
const char *id[MAX_NUM_PHY_RESETS];
int num_resets;
} phy_resets;
u8 sys_clk_rdy_time_us;
u32 flags;
};
π Members π
power_upβ the pciepower_upcallback, it's giving "do the thing when we power on" energy π₯phy_resetsβ the phy reset lines SoC data. literally the blueprint for all the reset lines, per-SoC π¦sys_clk_rdy_time_usβ an override for how long the system clock takes to be ready, measured in microseconds β±οΈ so you can flex the timing if the default doesn't slayflagsβ the pcie device flags. little bitty bits with big main character energy π
π SEE ALSO π
peep the kernel file ./drivers/pci/controller/pcie-mediatek-gen3.c, plus these icons:
struct mtk_msi_set(9)struct mtk_gen3_pcie(9)mtk_pcie_config_tlp_header(9)mtk_intx_eoi(9)
go read them, iykyk π«Ά
mwah, that's the whole page bestie π this was served up from ./drivers/pci/controller, dated October 2026, and filed under struct mtk_gen3_pcie_pdata(9) β 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