STRUCT CLK_REGMAP(9)
π¦ 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 theenable_maskbits means disable when you're usingclock_enable_regmapand 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
- 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