idlestate 30 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate, idlestate 38 tools/power/cpupower/lib/cpuidle.c cpu, idlestate, fname); idlestate 52 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate, idlestate 61 tools/power/cpupower/lib/cpuidle.c cpu, idlestate, fname); idlestate 87 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate, idlestate 96 tools/power/cpupower/lib/cpuidle.c cpu, idlestate, fname); idlestate 134 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate, idlestate 145 tools/power/cpupower/lib/cpuidle.c len = cpuidle_state_read_file(cpu, idlestate, idlestate 174 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate, idlestate 184 tools/power/cpupower/lib/cpuidle.c len = cpuidle_state_read_file(cpu, idlestate, idlestate 208 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate) idlestate 210 tools/power/cpupower/lib/cpuidle.c if (cpuidle_state_count(cpu) <= idlestate) idlestate 213 tools/power/cpupower/lib/cpuidle.c if (!cpuidle_state_file_exists(cpu, idlestate, idlestate 216 tools/power/cpupower/lib/cpuidle.c return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_DISABLE); idlestate 229 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate, idlestate 235 tools/power/cpupower/lib/cpuidle.c if (cpuidle_state_count(cpu) <= idlestate) idlestate 238 tools/power/cpupower/lib/cpuidle.c if (!cpuidle_state_file_exists(cpu, idlestate, idlestate 244 tools/power/cpupower/lib/cpuidle.c bytes_written = cpuidle_state_write_file(cpu, idlestate, "disable", idlestate 252 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate) idlestate 254 tools/power/cpupower/lib/cpuidle.c return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_LATENCY); idlestate 258 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate) idlestate 260 tools/power/cpupower/lib/cpuidle.c return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_USAGE); idlestate 264 tools/power/cpupower/lib/cpuidle.c unsigned int idlestate) idlestate 266 tools/power/cpupower/lib/cpuidle.c return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_TIME); idlestate 269 tools/power/cpupower/lib/cpuidle.c char *cpuidle_state_name(unsigned int cpu, unsigned int idlestate) idlestate 271 tools/power/cpupower/lib/cpuidle.c return cpuidle_state_get_one_string(cpu, idlestate, IDLESTATE_NAME); idlestate 274 tools/power/cpupower/lib/cpuidle.c char *cpuidle_state_desc(unsigned int cpu, unsigned int idlestate) idlestate 276 tools/power/cpupower/lib/cpuidle.c return cpuidle_state_get_one_string(cpu, idlestate, IDLESTATE_DESC); idlestate 6 tools/power/cpupower/lib/cpuidle.h unsigned int idlestate); idlestate 7 tools/power/cpupower/lib/cpuidle.h int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate, idlestate 10 tools/power/cpupower/lib/cpuidle.h unsigned int idlestate); idlestate 12 tools/power/cpupower/lib/cpuidle.h unsigned int idlestate); idlestate 14 tools/power/cpupower/lib/cpuidle.h unsigned int idlestate); idlestate 16 tools/power/cpupower/lib/cpuidle.h unsigned int idlestate); idlestate 18 tools/power/cpupower/lib/cpuidle.h unsigned int idlestate); idlestate 25 tools/power/cpupower/utils/cpuidle-info.c unsigned int idlestates, idlestate; idlestate 36 tools/power/cpupower/utils/cpuidle-info.c for (idlestate = 0; idlestate < idlestates; idlestate++) { idlestate 37 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_state_name(cpu, idlestate); idlestate 48 tools/power/cpupower/utils/cpuidle-info.c for (idlestate = 0; idlestate < idlestates; idlestate++) { idlestate 49 tools/power/cpupower/utils/cpuidle-info.c int disabled = cpuidle_is_state_disabled(cpu, idlestate); idlestate 53 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_state_name(cpu, idlestate); idlestate 59 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_state_desc(cpu, idlestate); idlestate 66 tools/power/cpupower/utils/cpuidle-info.c cpuidle_state_latency(cpu, idlestate)); idlestate 68 tools/power/cpupower/utils/cpuidle-info.c cpuidle_state_usage(cpu, idlestate)); idlestate 70 tools/power/cpupower/utils/cpuidle-info.c cpuidle_state_time(cpu, idlestate)); idlestate 31 tools/power/cpupower/utils/cpuidle-set.c unsigned int cpu = 0, idlestate = 0, idlestates = 0; idlestate 50 tools/power/cpupower/utils/cpuidle-set.c idlestate = atoi(optarg); idlestate 59 tools/power/cpupower/utils/cpuidle-set.c idlestate = atoi(optarg); idlestate 117 tools/power/cpupower/utils/cpuidle-set.c ret = cpuidle_state_disable(cpu, idlestate, 1); idlestate 119 tools/power/cpupower/utils/cpuidle-set.c printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); idlestate 122 tools/power/cpupower/utils/cpuidle-set.c idlestate, cpu); idlestate 127 tools/power/cpupower/utils/cpuidle-set.c idlestate, cpu); idlestate 130 tools/power/cpupower/utils/cpuidle-set.c ret = cpuidle_state_disable(cpu, idlestate, 0); idlestate 132 tools/power/cpupower/utils/cpuidle-set.c printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); idlestate 135 tools/power/cpupower/utils/cpuidle-set.c idlestate, cpu); idlestate 140 tools/power/cpupower/utils/cpuidle-set.c idlestate, cpu); idlestate 143 tools/power/cpupower/utils/cpuidle-set.c for (idlestate = 0; idlestate < idlestates; idlestate++) { idlestate 145 tools/power/cpupower/utils/cpuidle-set.c (cpu, idlestate); idlestate 147 tools/power/cpupower/utils/cpuidle-set.c (cpu, idlestate); idlestate 151 tools/power/cpupower/utils/cpuidle-set.c (cpu, idlestate, 0); idlestate 153 tools/power/cpupower/utils/cpuidle-set.c printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); idlestate 159 tools/power/cpupower/utils/cpuidle-set.c (cpu, idlestate, 1); idlestate 161 tools/power/cpupower/utils/cpuidle-set.c printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); idlestate 166 tools/power/cpupower/utils/cpuidle-set.c for (idlestate = 0; idlestate < idlestates; idlestate++) { idlestate 168 tools/power/cpupower/utils/cpuidle-set.c (cpu, idlestate); idlestate 171 tools/power/cpupower/utils/cpuidle-set.c (cpu, idlestate, 0); idlestate 173 tools/power/cpupower/utils/cpuidle-set.c printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); idlestate 104 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate, idlestate 112 tools/power/cpupower/utils/helpers/sysfs.c cpu, idlestate, fname); idlestate 124 tools/power/cpupower/utils/helpers/sysfs.c unsigned int sysfs_idlestate_read_file(unsigned int cpu, unsigned int idlestate, idlestate 132 tools/power/cpupower/utils/helpers/sysfs.c cpu, idlestate, fname); idlestate 158 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate, idlestate 167 tools/power/cpupower/utils/helpers/sysfs.c cpu, idlestate, fname); idlestate 204 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate, idlestate 215 tools/power/cpupower/utils/helpers/sysfs.c len = sysfs_idlestate_read_file(cpu, idlestate, idlestate 244 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate, idlestate 254 tools/power/cpupower/utils/helpers/sysfs.c len = sysfs_idlestate_read_file(cpu, idlestate, idlestate 278 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate) idlestate 280 tools/power/cpupower/utils/helpers/sysfs.c if (sysfs_get_idlestate_count(cpu) <= idlestate) idlestate 283 tools/power/cpupower/utils/helpers/sysfs.c if (!sysfs_idlestate_file_exists(cpu, idlestate, idlestate 286 tools/power/cpupower/utils/helpers/sysfs.c return sysfs_idlestate_get_one_value(cpu, idlestate, IDLESTATE_DISABLE); idlestate 299 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate, idlestate 305 tools/power/cpupower/utils/helpers/sysfs.c if (sysfs_get_idlestate_count(cpu) <= idlestate) idlestate 308 tools/power/cpupower/utils/helpers/sysfs.c if (!sysfs_idlestate_file_exists(cpu, idlestate, idlestate 314 tools/power/cpupower/utils/helpers/sysfs.c bytes_written = sysfs_idlestate_write_file(cpu, idlestate, "disable", idlestate 322 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate) idlestate 324 tools/power/cpupower/utils/helpers/sysfs.c return sysfs_idlestate_get_one_value(cpu, idlestate, IDLESTATE_LATENCY); idlestate 328 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate) idlestate 330 tools/power/cpupower/utils/helpers/sysfs.c return sysfs_idlestate_get_one_value(cpu, idlestate, IDLESTATE_USAGE); idlestate 334 tools/power/cpupower/utils/helpers/sysfs.c unsigned int idlestate) idlestate 336 tools/power/cpupower/utils/helpers/sysfs.c return sysfs_idlestate_get_one_value(cpu, idlestate, IDLESTATE_TIME); idlestate 339 tools/power/cpupower/utils/helpers/sysfs.c char *sysfs_get_idlestate_name(unsigned int cpu, unsigned int idlestate) idlestate 341 tools/power/cpupower/utils/helpers/sysfs.c return sysfs_idlestate_get_one_string(cpu, idlestate, IDLESTATE_NAME); idlestate 344 tools/power/cpupower/utils/helpers/sysfs.c char *sysfs_get_idlestate_desc(unsigned int cpu, unsigned int idlestate) idlestate 346 tools/power/cpupower/utils/helpers/sysfs.c return sysfs_idlestate_get_one_string(cpu, idlestate, IDLESTATE_DESC); idlestate 12 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate, idlestate 18 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate); idlestate 19 tools/power/cpupower/utils/helpers/sysfs.h extern int sysfs_idlestate_disable(unsigned int cpu, unsigned int idlestate, idlestate 22 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate); idlestate 24 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate); idlestate 26 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate); idlestate 28 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate); idlestate 30 tools/power/cpupower/utils/helpers/sysfs.h unsigned int idlestate);