ppc_cbe_cpufreq.h 584 B

123456789101112131415161718192021222324
  1. /*
  2. * ppc_cbe_cpufreq.h
  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. #include <linux/cpufreq.h>
  12. #include <linux/types.h>
  13. int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode);
  14. int cbe_cpufreq_get_pmode(int cpu);
  15. int cbe_cpufreq_set_pmode_pmi(int cpu, unsigned int pmode);
  16. #if defined(CONFIG_CPU_FREQ_CBE_PMI) || defined(CONFIG_CPU_FREQ_CBE_PMI_MODULE)
  17. extern bool cbe_cpufreq_has_pmi;
  18. #else
  19. #define cbe_cpufreq_has_pmi (0)
  20. #endif