This source file includes following definitions.
- cbe_cpufreq_pmi_policy_init
- cbe_cpufreq_pmi_policy_exit
- cbe_cpufreq_pmi_init
- cbe_cpufreq_pmi_exit
1
2
3
4
5
6
7
8
9
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
21 #if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI)
22 extern bool cbe_cpufreq_has_pmi;
23 void cbe_cpufreq_pmi_policy_init(struct cpufreq_policy *policy);
24 void cbe_cpufreq_pmi_policy_exit(struct cpufreq_policy *policy);
25 void cbe_cpufreq_pmi_init(void);
26 void cbe_cpufreq_pmi_exit(void);
27 #else
28 #define cbe_cpufreq_has_pmi (0)
29 static inline void cbe_cpufreq_pmi_policy_init(struct cpufreq_policy *policy) {}
30 static inline void cbe_cpufreq_pmi_policy_exit(struct cpufreq_policy *policy) {}
31 static inline void cbe_cpufreq_pmi_init(void) {}
32 static inline void cbe_cpufreq_pmi_exit(void) {}
33 #endif