STRUCT QMP_PHY(9)
πΈ NAME πΈ
okay so bestie, this is struct qmp_phy(9) from the Kernel API Manual β it's literally the per-lane phy descriptor, and yes it's giving hardware-nerd main character energy. π
β¨ SYNOPSIS β¨
struct qmp_phy {
struct phy *phy;
const struct qmp_phy_cfg *cfg;
void __iomem *serdes;
void __iomem *tx;
void __iomem *rx;
void __iomem *pcs;
struct clk *pipe_clk;
unsigned int index;
struct qcom_qmp *qmp;
struct reset_control *lane_rst;
};
π Members π
phyβ generic phy. that's the whole vibe, no cap.cfgβ phy specific configuration. it's the config that's literally specific to the phy, bestie.serdesβ iomapped memory space for phy's serdes (i.e. PLL). yes, the PLL is in there too, iykyk.txβ iomapped memory space for lane's tx.rxβ iomapped memory space for lane's rx.pcsβ iomapped memory space for lane's pcs.pipe_clkβ pipe clock. clock behavior, iconic.indexβ lane index.qmpβ QMP phy to which this lane belongs. this lane's home base fr fr.lane_rstβ lane's reset controller.
π SEE ALSO π
Kernel file ./drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c and struct qcom_qmp(9) β go bestie, read the kernel file, slay. π
made with π from the ./drivers/phy/qualcomm source/version corner, dated October 2026 β bye bestie, stay hydrated and keep your phy lanes iconic π«Άπ
π¦ 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