STRUCT QCOM_SNPS_HSPHY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct qcom_snps_hsphy(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual page for struct qcom_snps_hsphy β€” literally the snps hs phy attributes and yes it's giving main character energy ✨


πŸ’– NAME πŸ’–

struct qcom_snps_hsphy β€” snps hs phy attributes πŸŽ€


🌸 SYNOPSIS 🌸

bestie here's the whole struct, every field, no skips, no cap:

struct qcom_snps_hsphy {
    struct device *dev;
    struct phy *phy;
    void __iomem *base;
    int num_clks;
    struct clk_bulk_data *clks;
    struct reset_control *phy_reset;
    struct regulator_bulk_data vregs[SNPS_HS_NUM_VREGS];
    bool phy_initialized;
    enum phy_mode mode;
    struct phy_override_seq update_seq_cfg[NUM_HSPHY_TUNING_PARAMS];
};

🧚 Members 🧚

like, every single member, explained by your favorite unix bestie πŸ’…

  • dev β€” the device structure, the whole vibe's anchor 🫢
  • phy β€” generic phy, icon status
  • base β€” iomapped memory space for snps hs phy ⭐ (it's the address bit, iykyk)
  • num_clks β€” number of clocks, literally just a count πŸ™ˆ
  • clks β€” array of clocks πŸŽ€
  • phy_reset β€” phy reset control, the reset button of the whole situation
  • vregs β€” regulator supplies bulk data πŸ”₯
  • phy_initialized β€” if PHY has been initialized correctly πŸ‘‘ (bool, so it's a yes/no vibe check)
  • mode β€” contains the current mode the PHY is in 🌈
  • update_seq_cfg β€” tuning parameters for phy init ✨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c β€” go read it, bestie, it ate πŸ’œ

ngl this struct is lowkey the whole personality of the driver, so don't skip the members fr fr πŸ’€

and that's the page!! mwah 🌸 source path is ./drivers/phy/qualcomm, dated October 2026, and that's the struct qcom_snps_hsphy(9) era β€” periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from