Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
LIST_HEAD (cpuidle_governors) | |
int | cpuidle_switch_governor (struct cpuidle_governor *gov) |
int | cpuidle_register_governor (struct cpuidle_governor *gov) |
void | cpuidle_unregister_governor (struct cpuidle_governor *gov) |
Variables | |
struct cpuidle_governor * | cpuidle_curr_governor |
int cpuidle_register_governor | ( | struct cpuidle_governor * | gov | ) |
cpuidle_register_governor - registers a governor : the governor
Definition at line 77 of file governor.c.
int cpuidle_switch_governor | ( | struct cpuidle_governor * | gov | ) |
cpuidle_switch_governor - changes the governor : the new target governor
NOTE: "gov" can be NULL to specify disabled Must be called with cpuidle_lock acquired.
Definition at line 44 of file governor.c.
void cpuidle_unregister_governor | ( | struct cpuidle_governor * | gov | ) |
cpuidle_unregister_governor - unregisters a governor : the governor
Definition at line 127 of file governor.c.
LIST_HEAD | ( | cpuidle_governors | ) |
struct cpuidle_governor* cpuidle_curr_governor |
Definition at line 18 of file governor.c.