]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
74889e41 | 2 | /* |
6eb1c377 | 3 | * ppc_cbe_cpufreq.h |
74889e41 CK |
4 | * |
5 | * This file contains the definitions used by the cbe_cpufreq driver. | |
6 | * | |
7 | * (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007 | |
8 | * | |
9 | * Author: Christian Krafft <[email protected]> | |
10 | * | |
11 | */ | |
12 | ||
13 | #include <linux/cpufreq.h> | |
14 | #include <linux/types.h> | |
15 | ||
16 | int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode); | |
17 | int cbe_cpufreq_get_pmode(int cpu); | |
18 | ||
19 | int cbe_cpufreq_set_pmode_pmi(int cpu, unsigned int pmode); | |
20 | ||
6de0dc4b | 21 | #if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI) |
74889e41 CK |
22 | extern bool cbe_cpufreq_has_pmi; |
23 | #else | |
24 | #define cbe_cpufreq_has_pmi (0) | |
25 | #endif |