STRUCT ROCKCHIP_CPUCLK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct rockchip_cpuclk(9) page from the Kernel API Manual β€” this is literally about struct rockchip_cpuclk: information about clock supplied to a CPU core. yep, that's the whole vibe. πŸŽ€

✨ SYNOPSIS ✨

here's the struct in all its glory, copied exactly so u can trust it, no cap:

       struct rockchip_cpuclk {
           struct clk_hw                           hw;
           struct clk                              *alt_parent;
           void __iomem                            *reg_base;
           struct notifier_block                   clk_nb;
           unsigned int                            rate_count;
           struct rockchip_cpuclk_rate_table       *rate_table;
           const struct rockchip_cpuclk_reg_data   *reg_data;
           spinlock_t *lock;
        };

🧚 Members 🧚

okay so every field is doing main character work here:

  • hw β€” handle between ccf and cpu clock. iykyk. πŸ’…
  • alt_parent β€” alternate parent clock to use when switching the speed of the primary parent clock. it's giving backup-parent energy. πŸ¦‹
  • reg_base β€” base register for cpu-clock values. πŸ“Œ
  • clk_nb β€” clock notifier registered for changes in clock speed of the primary parent clock. bestie is on speed-watch. πŸ‘€
  • rate_count β€” number of rates in the rate_table. counting the rates, periodt. πŸ”’
  • rate_table β€” pll-rates and their associated dividers. iconic little table fr fr. 🌸
  • reg_data β€” cpu-specific register settings. cpu-specific, exactly as it says. ✨
  • lock β€” clock lock. protecting the vibe, lowkey essential. πŸ”’

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/clk/rockchip/clk-cpu.c β€” go read it bestie, it's right there. πŸ‘‘
🫢 that's a wrap on struct rockchip_cpuclk(9) β€” source/version ./drivers/clk/rockchip, date October 2026, page struct rockchip_cpuclk(9). mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from