STRUCT EXYNOS_CPUCLK(9)
πΈ NAME πΈ
okay so bestie, welcome to struct exynos_cpuclk(9) from the Kernel API Manual β yes, that's the title and manual name folded right in here because we're cute like that. π This page is all about struct exynos_cpuclk β information about clock supplied to a CPU core. No cap, that's the whole assignment. β¨
β¨ SYNOPSIS β¨
struct exynos_cpuclk {
struct clk_hw hw;
const struct clk_hw *alt_parent;
void __iomem *base;
spinlock_t *lock;
unsigned long num_cfgs;
struct notifier_block clk_nb;
unsigned long flags;
const struct exynos_cpuclk_chip *chip;
struct exynos_cpuclk_cfg_data cfg[];
};
π§© Members π§©
hwβ handle between CCF and CPU clock. CCF girlies, this one's for you. πalt_parentβ alternate parent clock to use when switching the speed of the primary parent clock. So when the primary parent is getting its speed switched, this is the alternate parent you reach for. π¦baseβ start address of the CPU clock registers block. Literally where the registers start, periodt. πlockβ cpu clock domain register access lock. Gotta keep that register access from getting messy. πnum_cfgsβ number of array elements incfgarray. It's giving "count the cfg girlies." πclk_nbβ clock notifier registered for changes in clock speed of the primary parent clock. It's on notifier duty for those speed changes. βflagsβ configuration flags for the CPU clock. Flags, flags, flags. πchipβ chip-specific data for the CPU clock. Because different chips have different lore, iykyk. πcfgβ cpu clock rate configuration data. That's thecfg[]array at the end, andnum_cfgsis literally counting its elements. π
π« Description π«
Basically, this structure holds information required for programming the CPU clock for various clock speeds. That's the vibe: one struct, all the info you need, different speeds, iconic. β¨
π SEE ALSO π
Kernel file ./drivers/clk/samsung/clk-cpu.cβ plusstruct exynos_cpuclk_regs(9)andstruct exynos_cpuclk_chip(9). Go read those next, bestie. π¦
xoxo, your Unix bestie signing off from source/version ./drivers/clk/samsung, dated October 2026 π
β¨ and yes, this was struct exynos_cpuclk(9) the whole time. π
π¦ 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