cpuidle_coo...et_max_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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