STRUCT MESON_VCLK_DIV_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 have div = 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