STRUCT CLK_REGMAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so bestie, this is struct clk_regmap from the Kernel API Manual β€” it's the regmap-supporting clock struct, and yes, that (9) is giving very serious kernel-docs main character energy. πŸ’…


✨ SYNOPSIS ✨

       struct clk_regmap {
           struct clk_hw hw;
           struct regmap *regmap;
           unsigned int enable_reg;
           unsigned int enable_mask;
           bool enable_is_inverted;
        };

πŸ’– Members πŸ’–

  • hw β€” the handle between common and hardware-specific interfaces. it's literally the bridge vibe. πŸŒ‰
  • regmap β€” the regmap to use for regmap helpers and/or by providers. yes, helpers and/or providers, both can pull up. 🫢
  • enable_reg β€” the register to use when you're using the regmap enable/disable ops. poke it with purpose. ✨
  • enable_mask β€” the mask to use when you're using the regmap enable/disable ops. mask on, bestie. πŸŽ€
  • enable_is_inverted β€” a flag to indicate setting the enable_mask bits means disable when you're using clock_enable_regmap and friends APIs. so like, inverted logic, no cap. πŸ”„

🌈 SEE ALSO 🌈

go peek at the Kernel file ./drivers/clk/qcom/clk-regmap.h β€” that's the source-side bestie for this whole situation. πŸ¦‹


mwah πŸ’‹ β€” source/version: ./drivers/clk/qcom; date: October 2026; page: struct clk_regmap(9) πŸ‘‘

πŸ“¦ where this page comes from