STRUCT EXYNOS_CPUCLK_CFG_DATA(9)
π struct exynos_cpuclk_cfg_data(9) π
okay bestie, welcome to the Kernel API Manual β this one's a struct page from the kernel structs crew, and honestly it's a little cutie. it's giving "small but does her job perfectly." let's get into it π
β¨ NAME β¨
struct exynos_cpuclk_cfg_data β config data to setup cpu clocks πΈ
like, literally the little data bundle that tells the cpu clocks how to configure themselves. no cap.
π¦ SYNOPSIS π¦
struct exynos_cpuclk_cfg_data {
unsigned long prate;
unsigned long div0;
unsigned long div1;
};
three unsigned long fields, that's the whole vibe. iconic minimalism fr fr.
π Members π
prateβ the frequency of the primary parent clock, in KHz β (yes babes, KHz, keep that in mind)div0β the value that gets programmed into thediv_cpu0register πdiv1β the value that gets programmed into thediv_cpu1register π«
π Description π
okay so here's the tea β β this structure holds the divider configuration data for the dividers in the CPU clock domain. the parent frequency at which these divider values are valid is specified in prate, and prate is the frequency of the primary parent clock. iykyk.
and here's the important lil caveat bestie: for CPU clock domains that do not have a DIV1 register, the div1 member value is not used π. so don't come for her, she's just sitting there unused. no drama.
π SEE ALSO π
- Kernel file
./drivers/clk/samsung/clk-cpu.h enum exynos_cpuclk_layout(9)
and that's the whole page, bestie, you ate that π«Ά stay hydrated, read your headers, and remember: dividers are temporary, but the kernel is forever π
this lil love letter came from ./drivers/clk/samsung, dated October 2026 β signed, sealed, delivered as struct exyn...clk_cfg_data(9) β¨πβ¨
π¦ 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