Home
last modified time | relevance | path

Searched refs:cpuidle_curr_driver (Results 1 – 4 of 4) sorted by relevance

/drivers/cpuidle/
Ddriver.c17 struct cpuidle_driver *cpuidle_curr_driver; variable
30 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()
Dcpuidle.c154 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()
Dcpuidle.h12 extern struct cpuidle_driver *cpuidle_curr_driver;
Dsysfs.c49 if (cpuidle_curr_driver) in show_current_driver()
50 ret = sprintf(buf, "%s\n", cpuidle_curr_driver->name); in show_current_driver()