STRUCT SAMSUNG_DIV_CLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct samsung_div_clock β€” information about div clock

okay so bestie, welcome to the Kernel API Manual page for struct samsung_div_clock(9) β€” it's giving "tiny struct, big responsibilities" and honestly? iconic. Let's get into it ✨


✨ NAME ✨

struct samsung_div_clock β€” information about div clock

no cap, that's literally the whole vibe: this struct holds the info about a div clock πŸŽ€

🌸 SYNOPSIS 🌸

struct samsung_div_clock {
    unsigned int            id;
    const char              *name;
    const char              *parent_name;
    unsigned long           flags;
    unsigned long           offset;
    u8 shift;
    u8 width;
    u8 div_flags;
    struct clk_div_table    *table;
 };

look at her 🫢 every field accounted for, not one dropped, we love a complete queen πŸ‘‘

πŸ¦‹ Members πŸ¦‹

  • id β€” the platform specific id of the clock, iykyk πŸ†”
  • name β€” name of this div clock, like her government name πŸ’–
  • parent_name β€” name of the parent clock, aka who she came from 🌸
  • flags β€” optional flags for basic clock, the little extras ✨
  • offset β€” offset of the register for configuring the div, i.e. where in the register map she lives πŸ“
  • shift β€” starting bit location of the div control bit-field in reg, the exact bit where the drama starts 🎯
  • width β€” width of the bitfield, how many bits she's taking up, main character energy fr fr πŸ“
  • div_flags β€” flags for div-type clock, her own special set of flags πŸ’…
  • table β€” array of divider/value pairs ending with a div set to 0 πŸ”₯
bestie pls note: that table is an array of divider/value pairs, and it ends with a div set to 0. That terminator is not optional β€” it's the whole "stop reading here" moment πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/clk/samsung/clk.h plus all her friends in the clk squad:

  • 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_gate_clock(9)
  • struct samsung_clk_reg_dump(9)
  • struct samsung_pll_clock(9)
  • struct samsung_cmu_info(9)

and that's the whole page, bestie 🧚 mwah πŸ’– this one lives in ./drivers/clk/samsung, dated October 2026 β€” go forth and configure those dividers responsibly πŸ‘‘β­

πŸ“¦ where this page comes from