STRUCT CLK_FIXUP_DIV(9)
π struct clk_fixup_div(9) π
okay so bestie, welcome to the Kernel API Manual entry for struct clk_fixup_div β the imx integer fixup divider clock. yes that's a mouthful, and yes it slays π
β¨ NAME β¨
struct clk_fixup_div β the imx integer fixup divider clock, no cap πΈ
β¨ SYNOPSIS β¨
struct clk_fixup_div {
struct clk_divider divider;
const struct clk_ops *ops;
void (*fixup)(u32 *val);
};
like, that's the whole struct right there π
β¨ Members β¨
dividerβ the parent class. it's giving "i inherited this from my ancestors" energy π§opsβ pointer toclk_opsof the parent class π¦fixupβ a hook to fixup the write value. literally the whole point of this struct, iykyk π₯
β¨ Description β¨
so the imx fixup divider clock is a subclass of the basic clk_divider, except it comes with one extra little bonus: an additional fixup hook. that's it, that's the vibe π«Ά
β¨ SEE ALSO β¨
- Kernel file
./drivers/clk/imx/clk-fixup-div.cβ go read it bestie, it's iconic β
ok real talk, the source lives under ./drivers/clk/imx, this whole page is dated October 2026, and it's from the Kernel API Manual. mwah, drink water, and go fix up those dividers πππ
π¦ 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