cpufreq_cooling_register(9)
β¨ cpufreq_cooling_register(9) β¨
okay bestie, so this is a page from the Kernel API Manual and it's literally about one little function, but she's an important one π
π NAME π
cpufreq_cooling_register β the function that creates a cpufreq cooling device. that's it, that's the whole gig. she builds the cooling device, no cap β¨
πΈ SYNOPSIS πΈ
struct thermal_cooling_device * cpufreq_cooling_register (struct
cpufreq_policy *policy );
like, she takes a policy and hands you back a struct thermal_cooling_device *. a whole glow-up from policy to cooling device, we love a transformation arc π
π¦ ARGUMENTS π¦
policyβ a cpufreq policy. that's the whole argument, bestie. just the cpufreq policy, nothing else, she keeps it simple π
π SEE ALSO π
- the kernel file
./include/linux/cpu_cooling.hβ go read her, she's the source of truth π cpufreq_cooling_unregister(9)β the breakup counterpart, when the cooling device has to go πof_cpufreq_cooling_register(9)β the device-tree-flavoured sibling, iykyk π³
ngl this one is short and sweet, so there's not much to warn you about here β but do clock that cpufreq_cooling_unregister(9) is the matching undo, because every register deserves her unregister π«Ά
and that's the whole page, fr fr π it's from ./include/linux, dated October 2026, filed under the Kernel API Manual β mwah, go forth and cool those cpus π§β
π¦ 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