Christian Krafft | 74889e4 | 2007-07-20 21:39:22 +0200 | [diff] [blame] | 1 | /* |
Viresh Kumar | 6eb1c37 | 2013-03-25 11:20:23 +0530 | [diff] [blame] | 2 | * ppc_cbe_cpufreq.h |
Christian Krafft | 74889e4 | 2007-07-20 21:39:22 +0200 | [diff] [blame] | 3 | * |
| 4 | * This file contains the definitions used by the cbe_cpufreq driver. |
| 5 | * |
| 6 | * (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007 |
| 7 | * |
| 8 | * Author: Christian Krafft <krafft@de.ibm.com> |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include <linux/cpufreq.h> |
| 13 | #include <linux/types.h> |
| 14 | |
| 15 | int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode); |
| 16 | int cbe_cpufreq_get_pmode(int cpu); |
| 17 | |
| 18 | int cbe_cpufreq_set_pmode_pmi(int cpu, unsigned int pmode); |
| 19 | |
Javier Martinez Canillas | 6de0dc4 | 2016-04-26 20:14:13 -0400 | [diff] [blame] | 20 | #if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI) |
Christian Krafft | 74889e4 | 2007-07-20 21:39:22 +0200 | [diff] [blame] | 21 | extern bool cbe_cpufreq_has_pmi; |
| 22 | #else |
| 23 | #define cbe_cpufreq_has_pmi (0) |
| 24 | #endif |