/linux-6.12.1/tools/power/cpupower/utils/ |
D | cpuidle-set.c | 31 unsigned int cpu = 0, idlestate = 0, idlestates = 0; in cmd_idle_set() local 56 idlestate = atoi(optarg); in cmd_idle_set() 117 ret = cpuidle_state_disable(cpu, idlestate, 1); in cmd_idle_set() 119 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set() 122 idlestate, cpu); in cmd_idle_set() 127 idlestate, cpu); in cmd_idle_set() 130 ret = cpuidle_state_disable(cpu, idlestate, 0); in cmd_idle_set() 132 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set() 135 idlestate, cpu); in cmd_idle_set() 140 idlestate, cpu); in cmd_idle_set() [all …]
|
D | cpuidle-info.c | 25 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_residency(cpu, idlestate)); in cpuidle_cpu_output() 70 cpuidle_state_usage(cpu, idlestate)); in cpuidle_cpu_output() [all …]
|
/linux-6.12.1/tools/power/cpupower/lib/ |
D | cpuidle.c | 30 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() 136 unsigned int idlestate, in cpuidle_state_get_one_value() argument 147 len = cpuidle_state_read_file(cpu, idlestate, in cpuidle_state_get_one_value() 176 unsigned int idlestate, in cpuidle_state_get_one_string() argument 186 len = cpuidle_state_read_file(cpu, idlestate, in cpuidle_state_get_one_string() [all …]
|
D | cpuidle.h | 6 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); 20 unsigned int idlestate);
|
/linux-6.12.1/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 104 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 …]
|
D | sysfs.h | 12 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);
|
/linux-6.12.1/tools/power/cpupower/bindings/python/ |
D | raw_pylibcpupower.swg | 158 unsigned int idlestate); 159 int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate, 162 unsigned int idlestate); 164 unsigned int idlestate); 166 unsigned int idlestate); 168 unsigned int idlestate); 170 unsigned int idlestate);
|