cpufreq_cooling_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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