STRUCT QCOM_CLK_REF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is the Kernel API Manual, and the star of the page is struct qcom_clk_ref(9) β€” literally the per-clock data for a clkref_en gate clock. no cap, that's the whole vibe. πŸ’…

✨ SYNOPSIS ✨

here's the struct in all its iconic glory:

struct qcom_clk_ref {
    struct clk_hw hw;
    struct regmap *regmap;
    struct qcom_clk_ref_desc desc;
    struct regulator_bulk_data *regulators;
};

πŸ¦‹ Members πŸ¦‹

these are the members, and every single one is carrying its own weight:

  • hw β€” common clock framework hardware clock handle. main character energy fr.
  • regmap β€” register map backing the clkref_en register. lowkey essential.
  • desc β€” clock descriptor copied at registration time. yes bestie, copied.
  • regulators β€” optional bulk regulator handles for desc.regulator_names. optional but cute.

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/clk/qcom.h
  • struct qcom_clk_ref_desc(9)

πŸ’Œ cute sign-off: this page is from ./include/linux, dated October 2026. byeee, go slay with your clkref_en gate clock 🫢✨
πŸ“¦ where this page comes from