STRUCT QCOM_QMP(9)
π struct qcom_qmp(9) π
okay bestie, welcome to the Kernel API Manual β yes, we're reading a manpage together, this is our bonding time now π«Ά and today's main character is struct qcom_qmp, no cap.
β¨ NAME β¨
struct qcom_qmp β the structure holding QMP phy block attributes π like, it's literally the vibe-holder for the whole QMP PHY block.
πΈ SYNOPSIS πΈ
struct qcom_qmp {
struct device *dev;
struct clk_bulk_data *clks;
struct reset_control_bulk_data *resets;
struct regulator_bulk_data *vregs;
struct qmp_phy **phys;
struct mutex phy_mutex;
int init_count;
};
look at her. gorgeous. immaculate field ordering. we stan π
π¦ Members π¦
okay so let's go field by field, because every single one of these is iconic in her own way:
devβ device β¨ like, the actual device, the whole reason she exists.clksβ array of clocks required by phy β° the clock squad, all of them, in bulk.resetsβ array of resets required by phy π the reset crew, also in bulk.vregsβ regulator supplies bulk data β‘ the power girlies, bundled up as bulk data.physβ array of per-lane phy descriptors π one per lane, each lane living her own life.phy_mutexβ mutex lock for PHY common block initialization π the lock that keeps the common block init from getting messy β mutual exclusion, mutual respect.init_countβ phy common block initialization count π’ literally just counting how many times the common block got initialized. she's keeping score.
fr fr do not skip the mutex. the mutex is the whole personality. π
π SEE ALSO π
- Kernel file
./drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.cβ go read the source bestie, it's giving lore struct qmp_phy(9)β her sibling, her costar, the per-lane legend π§
and that's the page!! π sourced straight from ./drivers/phy/qualcomm, dated October 2026, sitting pretty in the Kernel API Manual as struct qcom_qmp(9) β slay, periodt, go init some phy common blocks responsibly π
π¦ 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