STRUCT ROCKCHIP_CLK_PROVIDER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct rockchip_clk_provider(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ β€” this page is literally struct rockc...clk_provider(9) (yes the title gets truncated like that, not my fault, iykyk 🫠) and it's all about the clock provider. buckle up, it's giving very niche but very iconic πŸ’…


🌸 NAME 🌸

struct rockchip_clk_provider β€” literally just information about clock provider, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

here's the whole struct, copy it exactly bestie, no cap:

struct rockchip_clk_provider {
    void __iomem *reg_base;
    struct clk_onecell_data clk_data;
    struct device_node *cru_node;
    struct regmap *grf;
    unsigned long aux_grf_table[1 << (( GRF_HASH_ORDER) - 1)];
    spinlock_t lock;
 };

she's structured, she's organized, she's everything πŸ’œ


🫢 Members 🫢

okay so every single field, one by one, let's go:

  • reg_base β€” the virtual address for the register base. that's her home address fr fr 🏠
  • clk_data β€” holds clock related data like clk* and number of clocks. the receipts, basically 🧾
  • cru_node β€” the device-node of the clock-provider. her official paperwork πŸ’Œ
  • grf β€” regmap of the general-register-files syscon. yes that's a real sentence, and yes it slayed πŸ’…
  • aux_grf_table β€” hashtable of auxiliary GRF regmaps, indexed by grf_type. auxiliary GRF regmaps!! in a hashtable!! indexed by grf_type!! the way she indexes πŸ¦‹
  • lock β€” maintains exclusion between callbacks for a given clock-provider. she's the bouncer at the door, nobody's callbacks overlap on her watch πŸ”’πŸ‘‘

🌈 SEE ALSO 🌈

go look at these next bestie, they're the friend group πŸ₯°

  • Kernel file ./drivers/clk/rockchip/clk.h
  • struct rockchip_aux_grf(9)
  • struct rockchip_pll_clock(9)
  • struct rockchip_cpuclk_reg_data(9)

lowkey a reminder that this page lives in ./drivers/clk/rockchip and it's from October 2026 β€” so jot that down ✍️

and that's the page babes πŸ’– that's struct rockc...clk_provider(9) in the flesh β€” read it, learn it, live it πŸŽ€βœ¨ ./drivers/clk/rockchip, October 2026, that's a wrap fr fr πŸ«ΆπŸ’…

πŸ“¦ where this page comes from