* It is to check the current scaling governor by reading sys file, and then * set it into 'userspace' if it is not by writing the sys file. The original * governor will be saved for rolling back. */
| 106 | * governor will be saved for rolling back. |
| 107 | */ |
| 108 | static int |
| 109 | power_set_governor_userspace(struct cppc_power_info *pi) |
| 110 | { |
| 111 | return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE, |
| 112 | pi->governor_ori, sizeof(pi->governor_ori)); |
| 113 | } |
| 114 | |
| 115 | static int |
| 116 | power_check_turbo(struct cppc_power_info *pi) |
no test coverage detected