hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/tools/power/cpupower/lib/cpufreq.h
....@@ -1,16 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * cpufreq.h - definitions for libcpufreq
34 *
45 * Copyright (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, version 2 of the License.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
146 */
157
168 #ifndef __CPUPOWER_CPUFREQ_H__
....@@ -129,7 +121,7 @@
129121 *
130122 * Only present on _some_ ->target() cpufreq drivers. For information purposes
131123 * only. Please free allocated memory by calling
132
- * cpufreq_put_available_frequencies after use.
124
+ * cpufreq_put_frequencies after use.
133125 */
134126
135127 struct cpufreq_available_frequencies
....@@ -138,6 +130,12 @@
138130 void cpufreq_put_available_frequencies(
139131 struct cpufreq_available_frequencies *first);
140132
133
+struct cpufreq_available_frequencies
134
+*cpufreq_get_boost_frequencies(unsigned int cpu);
135
+
136
+void cpufreq_put_boost_frequencies(
137
+ struct cpufreq_available_frequencies *first);
138
+
141139
142140 /* determine affected CPUs
143141 *