cppc_cpufreq.c (2c7a8bd6060c4e2d85e00170f5c695a3db73610f) | cppc_cpufreq.c (1e4f63aecb53e48468661e922fc2fa3b83e55722) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * CPPC (Collaborative Processor Performance Control) driver for 4 * interfacing with the CPUfreq layer and governors. See 5 * cppc_acpi.c for CPPC specific methods. 6 * 7 * (C) Copyright 2014, 2015 Linaro Ltd. 8 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org> --- 207 unchanged lines hidden (view full) --- 216 217 if (ret) 218 pr_debug("Failed to set target on CPU:%d. ret:%d\n", 219 cpu->cpu, ret); 220 221 return ret; 222} 223 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * CPPC (Collaborative Processor Performance Control) driver for 4 * interfacing with the CPUfreq layer and governors. See 5 * cppc_acpi.c for CPPC specific methods. 6 * 7 * (C) Copyright 2014, 2015 Linaro Ltd. 8 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org> --- 207 unchanged lines hidden (view full) --- 216 217 if (ret) 218 pr_debug("Failed to set target on CPU:%d. ret:%d\n", 219 cpu->cpu, ret); 220 221 return ret; 222} 223 |
224static int cppc_verify_policy(struct cpufreq_policy *policy) | 224static int cppc_verify_policy(struct cpufreq_policy_data *policy) |
225{ 226 cpufreq_verify_within_cpu_limits(policy); 227 return 0; 228} 229 230static void cppc_cpufreq_stop_cpu(struct cpufreq_policy *policy) 231{ 232 int cpu_num = policy->cpu; --- 269 unchanged lines hidden --- | 225{ 226 cpufreq_verify_within_cpu_limits(policy); 227 return 0; 228} 229 230static void cppc_cpufreq_stop_cpu(struct cpufreq_policy *policy) 231{ 232 int cpu_num = policy->cpu; --- 269 unchanged lines hidden --- |