cpuidle_enable_device(9)
β¨ NAME β¨
okay bestie, weβre in the Kernel API Manual, and this page is cpuidle_enable_device β it enables idle PM for a CPU. main character energy fr fr π
π SYNOPSIS π
int cpuidle_enable_device (struct cpuidle_device *dev );
πΈ ARGUMENTS πΈ
devβ the CPU. thatβs the whole argument, no cap π«Ά
π¦ DESCRIPTION π¦
So hereβs the tea: when itβs used externally, this function must be called between cpuidle_pause_and_lock and cpuidle_resume_and_unlock. literally the rule, bestie β
π SEE ALSO π
Kernel file: ./drivers/cpuidle/cpuidle.c β iconic. and please, look at all these too:
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_disable_device(9)__cpuidle_register_device(9)cpuidle_register_device(9)cpuidle_unregister_device(9)cpuidle_unregister(9)cpuidle_register(9)cpuidle_init(9)
cute sign-off: source/version is ./drivers/cpuidle, date is October 2026, and this page is cpuidle_enable_device(9) β mwah, slay πβ¨
π¦ 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