STRUCT MTK_GEN3_PCIE_PDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 pcie power_up callback, 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 slay
  • flags β€” 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:

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