Home
last modified time | relevance | path

Searched refs:idlestate (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/power/cpupower/utils/
H A Dcpuidle-set.c122 idlestate, cpu); in cmd_idle_set()
127 idlestate, cpu); in cmd_idle_set()
135 idlestate, cpu); in cmd_idle_set()
140 idlestate, cpu); in cmd_idle_set()
143 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
145 (cpu, idlestate); in cmd_idle_set()
147 (cpu, idlestate); in cmd_idle_set()
159 (cpu, idlestate, 1); in cmd_idle_set()
166 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
168 (cpu, idlestate); in cmd_idle_set()
[all …]
H A Dcpuidle-info.c25 unsigned int idlestates, idlestate; in cpuidle_cpu_output() local
36 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cpuidle_cpu_output()
37 tmp = cpuidle_state_name(cpu, idlestate); in cpuidle_cpu_output()
48 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cpuidle_cpu_output()
49 int disabled = cpuidle_is_state_disabled(cpu, idlestate); in cpuidle_cpu_output()
53 tmp = cpuidle_state_name(cpu, idlestate); in cpuidle_cpu_output()
59 tmp = cpuidle_state_desc(cpu, idlestate); in cpuidle_cpu_output()
66 cpuidle_state_latency(cpu, idlestate)); in cpuidle_cpu_output()
68 cpuidle_state_usage(cpu, idlestate)); in cpuidle_cpu_output()
70 cpuidle_state_time(cpu, idlestate)); in cpuidle_cpu_output()
/openbmc/linux/tools/power/cpupower/lib/
H A Dcpuidle.c30 unsigned int idlestate, in cpuidle_state_file_exists() argument
38 cpu, idlestate, fname); in cpuidle_state_file_exists()
52 unsigned int idlestate, in cpuidle_state_read_file() argument
61 cpu, idlestate, fname); in cpuidle_state_read_file()
96 cpu, idlestate, fname); in cpuidle_state_write_file()
174 unsigned int idlestate, in cpuidle_state_get_one_string() argument
208 unsigned int idlestate) in cpuidle_is_state_disabled() argument
229 unsigned int idlestate, in cpuidle_state_disable() argument
252 unsigned int idlestate) in cpuidle_state_latency() argument
258 unsigned int idlestate) in cpuidle_state_usage() argument
[all …]
H A Dcpuidle.h6 unsigned int idlestate);
7 int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate,
10 unsigned int idlestate);
12 unsigned int idlestate);
14 unsigned int idlestate);
16 unsigned int idlestate);
18 unsigned int idlestate);
/openbmc/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c104 unsigned int idlestate, in sysfs_idlestate_file_exists() argument
112 cpu, idlestate, fname); in sysfs_idlestate_file_exists()
132 cpu, idlestate, fname); in sysfs_idlestate_read_file()
158 unsigned int idlestate, in sysfs_idlestate_write_file() argument
167 cpu, idlestate, fname); in sysfs_idlestate_write_file()
244 unsigned int idlestate, in sysfs_idlestate_get_one_string() argument
278 unsigned int idlestate) in sysfs_is_idlestate_disabled() argument
299 unsigned int idlestate, in sysfs_idlestate_disable() argument
322 unsigned int idlestate) in sysfs_get_idlestate_latency() argument
328 unsigned int idlestate) in sysfs_get_idlestate_usage() argument
[all …]
H A Dsysfs.h12 unsigned int idlestate,
18 unsigned int idlestate);
19 extern int sysfs_idlestate_disable(unsigned int cpu, unsigned int idlestate,
22 unsigned int idlestate);
24 unsigned int idlestate);
26 unsigned int idlestate);
28 unsigned int idlestate);
30 unsigned int idlestate);