cpuidle_register_device(9)
π NAME π
cpuidle_register_device β basically the moment a CPU's idle PM feature gets its official registration moment, like showing up to the group chat and being added to the roster β¨
β¨ SYNOPSIS β¨
int cpuidle_register_device (struct cpuidle_device *dev );
okay so you're calling this and it hands you back an int, and it takes exactly one thing: a pointer to a struct cpuidle_device π«Ά
π ARGUMENTS π
devβ the cpu π (yes bestie, that's the whole description, that's the vibe, it's the cpu)
π¦ SEE ALSO π¦
ngl the whole cpuidle friend group shows up here, and the kernel file is ./drivers/cpuidle/cpuidle.c β iconique π
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_unregister_device(9)cpuidle_unregister(9)cpuidle_register(9)cpuidle_init(9)
and that's the whole page, bestie β short and slay π
this little beauty lives under ./drivers/cpuidle, dated October 2026, and it's filed in the Kernel API Manual as cpuidle_register_device(9) β mwah, go register a device, ily π
π¦ 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