2007-07-20 21:39:22 +02:00
|
|
|
/*
|
2013-03-25 06:50:23 +01:00
|
|
|
* ppc_cbe_cpufreq.h
|
2007-07-20 21:39:22 +02:00
|
|
|
*
|
|
|
|
* This file contains the definitions used by the cbe_cpufreq driver.
|
|
|
|
*
|
|
|
|
* (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007
|
|
|
|
*
|
|
|
|
* Author: Christian Krafft <krafft@de.ibm.com>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/cpufreq.h>
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode);
|
|
|
|
int cbe_cpufreq_get_pmode(int cpu);
|
|
|
|
|
|
|
|
int cbe_cpufreq_set_pmode_pmi(int cpu, unsigned int pmode);
|
|
|
|
|
2016-04-27 02:14:13 +02:00
|
|
|
#if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI)
|
2007-07-20 21:39:22 +02:00
|
|
|
extern bool cbe_cpufreq_has_pmi;
|
|
|
|
#else
|
|
|
|
#define cbe_cpufreq_has_pmi (0)
|
|
|
|
#endif
|