Searched refs:cpuidle_curr_driver (Results 1 – 4 of 4) sorted by relevance
17 struct cpuidle_driver *cpuidle_curr_driver; variable30 if (cpuidle_curr_driver) { in cpuidle_register_driver()34 cpuidle_curr_driver = drv; in cpuidle_register_driver()52 cpuidle_curr_driver = NULL; in cpuidle_unregister_driver()
154 if (!cpuidle_curr_driver || !cpuidle_curr_governor) in cpuidle_enable_device()205 if (!cpuidle_curr_driver || !cpuidle_curr_governor) in cpuidle_disable_device()272 if (!try_module_get(cpuidle_curr_driver->owner)) in __cpuidle_register_device()282 module_put(cpuidle_curr_driver->owner); in __cpuidle_register_device()338 module_put(cpuidle_curr_driver->owner); in cpuidle_unregister_device()
12 extern struct cpuidle_driver *cpuidle_curr_driver;
49 if (cpuidle_curr_driver) in show_current_driver()50 ret = sprintf(buf, "%s\n", cpuidle_curr_driver->name); in show_current_driver()