STRUCT MESON_VCLK_DIV_DATA(9)
πΈ struct meson_vclk_div_data(9) πΈ
okay bestie, welcome to the Kernel API Manual β this one's from the Meson clock files and it's lowkey iconic, ngl. Let's get into it π
β¨ NAME β¨
struct meson_vclk_div_data β the regmap-back-specific data for vclk_div. it's giving "divider but make it Meson" π
π¦ SYNOPSIS π¦
struct meson_vclk_div_data {
struct parm div;
struct parm enable;
struct parm reset;
const struct clk_div_table *table;
u8 flags;
};
like, that's the whole struct. five little fields. obsessed π«Ά
π Members π
divβ the divider field β¨enableβ the vclk divider enable field πresetβ the vclk divider reset field πtableβ an array of value/divider pairs, and heads up bestie: the last entry should havediv = 0. no cap, that's mandatory for the whole thing to work π
π Description π
Flags: these work the same as clk_divider except for CLK_DIVIDER_HIWORD_MASK, which is ignored. literally just skipped. not invited to the party π
so if you're sitting there expecting CLK_DIVIDER_HIWORD_MASK to do something in here β it does not. it's ignored, full stop π
π SEE ALSO π
- Kernel file
./drivers/clk/meson/vclk.h struct meson_vclk_gate_data(9)β go read that one too, it's its sibling β¨
that's the whole page, bestie, you ate that π source lives at ./drivers/clk/meson, dated October 2026, and the page is struct meson_vclk_div_data(9) β mwah, bye ππ§
π¦ 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