STRUCT ROCKCHIP_CLK_PROVIDER(9)
π 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 bygrf_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms