STRUCT SAMSUNG_PLL_CLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct samsung_pll_clock(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, the Kernel API Manual, we're literally in the kernel docs together, hold my iced coffee πŸ§‹ β€” and today's main character is struct samsung_pll_clock. It's giving "information about pll clock" and honestly? icon behavior.


✨ NAME ✨

struct samsung_pll_clock β€” literally just, information about pll clock. that's the whole vibe. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

so here's the whole struct, untouched, exactly how it lives in the wild, don't @ me:

struct samsung_pll_clock {
    unsigned int            id;
    const char              *name;
    const char              *parent_name;
    unsigned long           flags;
    int con_offset;
    int lock_offset;
    enum samsung_pll_type   type;
    const struct samsung_pll_rate_table *rate_table;
 };

look at her. gorgeous. every field accounted for. πŸ’…


πŸ¦‹ Members πŸ¦‹

okay now let's go field by field, because every single one of these matters and we are NOT skipping any:

  • id β€” the platform specific id of the clock. your clock's own little government name, basically. πŸͺͺ
  • name β€” name of this pll clock. what we're calling her. 🏷️
  • parent_name β€” name of the parent clock. yes she has a mother. we love a family tree moment. πŸ‘‘
  • flags β€” optional flags for basic clock. optional bestie, so like, use them if you need them. 🚩
  • con_offset β€” offset of the register for configuring the PLL. this is where the configuring happens, fr fr. βš™οΈ
  • lock_offset β€” offset of the register for locking the PLL. the locking spot. very much its own thing, do not mix them up. πŸ”’
  • type β€” type of PLL to be registered. what kind of PLL she is. the genre, if you will. 🎭
  • rate_table β€” array of PLL settings for possible PLL rates. the whole menu of rates, all the options, like a rate-table restaurant. πŸ“
ngl bestie, if you confuse con_offset and lock_offset, that's on you β€” they're literally right there in the list. read them twice. πŸ’€

🌈 SEE ALSO 🌈

the friend group / extended universe, all linked below, go say hi:

  • Kernel file ./drivers/clk/samsung/clk.h
  • struct samsung_clk_provider(9)
  • struct samsung_clock_alias(9)
  • struct samsung_fixed_rate_clock(9)
  • struct samsung_fixed_factor_clock(9)
  • struct samsung_mux_clock(9)
  • struct samsung_div_clock(9)
  • struct samsung_gate_clock(9)
  • struct samsung_clk_reg_dump(9)
  • struct samsung_cmu_info(9)

and that's the page, bestie 🫢 this little number lives in ./drivers/clk/samsung, it's dated October 2026, and it's filed under struct samsung_pll_clock(9). slay, ate, periodt. go configure a PLL responsibly. πŸ’œβœ¨

πŸ“¦ where this page comes from