1 #ifndef __CPUPOWER_CPUIDLE_H__
2 #define __CPUPOWER_CPUIDLE_H__
4 int cpuidle_is_state_disabled(unsigned int cpu
,
5 unsigned int idlestate
);
6 int cpuidle_state_disable(unsigned int cpu
, unsigned int idlestate
,
8 unsigned long cpuidle_state_latency(unsigned int cpu
,
9 unsigned int idlestate
);
10 unsigned long cpuidle_state_usage(unsigned int cpu
,
11 unsigned int idlestate
);
12 unsigned long long cpuidle_state_time(unsigned int cpu
,
13 unsigned int idlestate
);
14 char *cpuidle_state_name(unsigned int cpu
,
15 unsigned int idlestate
);
16 char *cpuidle_state_desc(unsigned int cpu
,
17 unsigned int idlestate
);
18 unsigned int cpuidle_state_count(unsigned int cpu
);
20 char *cpuidle_get_governor(void);
21 char *cpuidle_get_driver(void);
23 #endif /* __CPUPOWER_HELPERS_SYSFS_H__ */