STRUCT CLK_PLL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the struct clk_pll(9) page from the Kernel API Manual πŸ’– this one is short and sweet: it's literally a struct clk_pll β€” aka a phase locked loop (PLL) ✨

✨ SYNOPSIS ✨

here's the whole struct, every field exactly where it belongs, no edits from me πŸ’…

struct clk_pll {
    u32 l_reg;
    u32 m_reg;
    u32 n_reg;
    u32 config_reg;
    u32 mode_reg;
    u32 status_reg;
    u8 status_bit;
    u8 post_div_width;
    u8 post_div_shift;
    const struct pll_freq_tbl *freq_tbl;
    struct clk_regmap clkr;
 };

πŸ‘‘ Members πŸ‘‘

these are the member glow-ups the page actually tells you about:

  • l_reg β€” L register. that's it, that's the vibe πŸŽ€
  • m_reg β€” M register. slay πŸ’…
  • n_reg β€” N register. iconic ✨
  • config_reg β€” config register. yes bestie, the config one πŸ”§
  • mode_reg β€” mode register. mode moment 🌈
  • status_reg β€” status register. status check πŸ‘€
  • status_bit β€” this bit gets ANDed with status_reg to determine if PLL is enabled β€” literally the little status vibe check πŸ”
  • freq_tbl β€” PLL frequency table. main character data fr fr πŸ“Š
tiny heads-up: the struct code also has post_div_width and post_div_shift chillin' in it, but the Members section gives them no description, so I'm not inventing any lore πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/clk/qcom/clk-pll.h β€” go peek at the source, iykyk πŸ‘€
  • struct pll_freq_tbl(9) β€” another page to pull up, no cap πŸ“–

mwah πŸ’‹ β€” this has been your struct clk_pll(9) moment, sourced from ./drivers/clk/qcom, dated October 2026. bye bestie 🫢

πŸ“¦ where this page comes from