Home
last modified time | relevance | path

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

/linux-6.1.9/tools/power/cpupower/utils/
Dcpuidle-set.c31 unsigned int cpu = 0, idlestate = 0, idlestates = 0; in cmd_idle_set() local
50 idlestate = atoi(optarg); in cmd_idle_set()
59 idlestate = atoi(optarg); in cmd_idle_set()
119 ret = cpuidle_state_disable(cpu, idlestate, 1); in cmd_idle_set()
121 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
124 idlestate, cpu); in cmd_idle_set()
129 idlestate, cpu); in cmd_idle_set()
132 ret = cpuidle_state_disable(cpu, idlestate, 0); in cmd_idle_set()
134 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
137 idlestate, cpu); in cmd_idle_set()
[all …]
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()
/linux-6.1.9/tools/power/cpupower/lib/
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()
87 unsigned int idlestate, in cpuidle_state_write_file() argument
96 cpu, idlestate, fname); in cpuidle_state_write_file()
134 unsigned int idlestate, in cpuidle_state_get_one_value() argument
145 len = cpuidle_state_read_file(cpu, idlestate, in cpuidle_state_get_one_value()
174 unsigned int idlestate, in cpuidle_state_get_one_string() argument
184 len = cpuidle_state_read_file(cpu, idlestate, in cpuidle_state_get_one_string()
[all …]
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);
/linux-6.1.9/tools/power/cpupower/utils/helpers/
Dsysfs.c104 unsigned int idlestate, in sysfs_idlestate_file_exists() argument
112 cpu, idlestate, fname); in sysfs_idlestate_file_exists()
124 unsigned int sysfs_idlestate_read_file(unsigned int cpu, unsigned int idlestate, in sysfs_idlestate_read_file() argument
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()
204 unsigned int idlestate, in sysfs_idlestate_get_one_value() argument
215 len = sysfs_idlestate_read_file(cpu, idlestate, in sysfs_idlestate_get_one_value()
244 unsigned int idlestate, in sysfs_idlestate_get_one_string() argument
254 len = sysfs_idlestate_read_file(cpu, idlestate, in sysfs_idlestate_get_one_string()
[all …]
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);