mtk_pcie_phy_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is mtk_pcie_phy_init(9), straight out of the Kernel API Manual β€” and it's literally the function that initializes the phy. iconic behavior, no cap ✨


🌸 SYNOPSIS 🌸

int mtk_pcie_phy_init (struct phy *phy );

πŸŽ€ ARGUMENTS πŸŽ€

  • phy β€” the phy to be initialized, periodt πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does: it initializes the phy by setting the efuse data. lowkey important detail: the hardware settings will be reset during suspend, so it should be reinitialized when the consumer calls phy_init again on resume. that's the whole vibe 🫢


✨ SEE ALSO ✨

  • Kernel file ./drivers/phy/mediatek/phy-mtk-pcie.c
  • struct mtk_pcie_lane_efuse(9)
  • struct mtk_pcie_phy_data(9)
  • struct mtk_pcie_phy(9)

xoxo, this page ships from source/version ./drivers/phy/mediatek, dated October 2026 πŸŽ€πŸ’œβœ¨

πŸ“¦ where this page comes from