STRUCT ROCKCHIP_CPUCLK_REG_DATA(9)
π NAME π
okay so this is struct rockchip_cpuclk_reg_data β literally the register offsets and masks of the cpuclock, and yes she's got range π
Real talk, here's what's inside:
@core_reg[]β the register offset of the cores setting register, no cap@div_core_shift[]β the cores divider offset used to divide the pll value β¨@div_core_mask[]β the cores divider mask π
that's it that's the vibe. bestie this is your struct πΈ
just so we're clear, this page lives in the Kernel API Manual, section 9 β ikyk π
β¨ SYNOPSIS β¨
struct rockchip_cpuclk_reg_data {
int core_reg[ROCKCHIP_CPUCLK_MAX_CORES];
u8 div_core_shift[ROCKCHIP_CPUCLK_MAX_CORES];
u32 div_core_mask[ROCKCHIP_CPUCLK_MAX_CORES];
int num_cores;
int mux_core_reg;
u8 mux_core_alt;
u8 mux_core_main;
u8 mux_core_shift;
u32 mux_core_mask;
};
not me just pasting the whole struct, she's iconic and every single field stays π₯
π¦ Members π¦
num_coresβ the number of cpu cores. that's the whole job and she ate π«Άmux_core_regβ the register offset of the cores select parentmux_core_altβ the mux value to select the alternate parent πmux_core_mainβ the mux value to select the main parent of core πmux_core_shiftβ the offset of the core multiplexermux_core_maskβ the core multiplexer mask π
all six, all present, we don't leave members behind in this house π π
π SEE ALSO π
- Kernel file
./drivers/clk/rockchip/clk.h struct rockchip_aux_grf(9)struct rockchip_clk_provider(9)struct rockchip_pll_clock(9)
go read those next bestie, they're lowkey obsessed with each other π§
and that's the whole page!! it's giving ./drivers/clk/rockchip, dated October 2026, still cute, still canon β¨ mwah ππΈ
π¦ 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