cpuidle_coo...et_max_state(9)
π NAME π
okay bestie, welcome to the cpuidle_coo...et_max_state(9) page from the Kernel API Manual β this one is literally called cpuidle_cooling_get_max_state, and it does exactly what it says: Get the maximum state. π
β¨ SYNOPSIS β¨
int cpuidle_cooling_get_max_state (struct thermal_cooling_device *cdev ,
unsigned long *state );
no cap, that's the whole signature. π¦
πΈ ARGUMENTS πΈ
cdevβ the thermal cooling device. like, the device in question, bestie. πstateβ a pointer to the state variable to be filled. it's giving "put the answer here" energy. β¨
π DESCRIPTION π
so the way this works: the function always returns 100 as the injection ratio. it's percentile based for consistency across different platforms β highkey iconic for keeping everyone on the same vibe. π
π¦ RETURN π¦
the function can not fail, bestie β it is always zero. periodt. π
π SEE ALSO π
Kernel file ./drivers/thermal/cpuidle_cooling.c, struct cpuidle_cooling_device(9), cpuidle_cooling_runtime(9), cpuidle_cooling_get_cur_state(9), cpuidle_cooling_set_cur_state(9), __cpuidle_cooling_register(9), and cpuidle_cooling_register(9). go read those too, iykyk π«Ά
kisses, this page is sourced from ./drivers/thermal and dated October 2026 β catch you in the manpage group chat ππ
π¦ 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