cpuidle_register(9)
🌸 NAME 🌸
Okay so, straight from the Kernel API Manual: cpuidle_register — registers the driver and the cpu devices with the coupled_cpus passed as parameter. This function is used for all common initialization pattern there are in the arch specific drivers. And yes, the devices is globally defined in this file. 💅
✨ SYNOPSIS ✨
int cpuidle_register (struct cpuidle_driver *drv , const struct cpumask
*const coupled_cpus );
🎀 ARGUMENTS 🎀
drv— a valid pointer to astruct cpuidle_driver. Like, actually valid, bestie 🫶coupled_cpus— acpumaskfor the coupled states.
💫 DESCRIPTION 💫
The return vibe check is simple: 0 on success, < 0 otherwise. No cap. 🌈
🔥 SEE ALSO 🔥
Kernel file: ./drivers/cpuidle/cpuidle.c 👑
cpuidle_play_dead(9)cpuidle_use_deepest_state(9)cpuidle_find_deepest_state(9)cpuidle_enter_s2idle(9)cpuidle_enter_state(9)cpuidle_select(9)cpuidle_enter(9)cpuidle_reflect(9)cpuidle_poll_time(9)cpuidle_install_idle_handler(9)cpuidle_uninstall_idle_handler(9)cpuidle_pause_and_lock(9)cpuidle_resume_and_unlock(9)cpuidle_enable_device(9)cpuidle_disable_device(9)__cpuidle_register_device(9)cpuidle_register_device(9)cpuidle_unregister_device(9)cpuidle_unregister(9)cpuidle_init(9)
That’s the whole page, bestie 🫶 — source/version ./drivers/cpuidle, dated October 2026, filing under cpuidle_register(9). Periodt 💅✨
📦 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