Blame view

drivers/cpufreq/ppc_cbe_cpufreq.h 544 Bytes
74889e41d   Christian Krafft   [CELL] cbe_cpufre...
1
  /*
6eb1c3774   Viresh Kumar   cpufreq: powerpc/...
2
   * ppc_cbe_cpufreq.h
74889e41d   Christian Krafft   [CELL] cbe_cpufre...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
   *
   * 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);
6de0dc4b5   Javier Martinez Canillas   cpufreq: e_powers...
19
  #if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI)
74889e41d   Christian Krafft   [CELL] cbe_cpufre...
20
21
22
23
  extern bool cbe_cpufreq_has_pmi;
  #else
  #define cbe_cpufreq_has_pmi (0)
  #endif