Lines Matching refs:idlestate
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()
210 unsigned int idlestate) in cpuidle_is_state_disabled() argument
212 if (cpuidle_state_count(cpu) <= idlestate) in cpuidle_is_state_disabled()
215 if (!cpuidle_state_file_exists(cpu, idlestate, in cpuidle_is_state_disabled()
218 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_DISABLE); in cpuidle_is_state_disabled()
231 unsigned int idlestate, in cpuidle_state_disable() argument
237 if (cpuidle_state_count(cpu) <= idlestate) in cpuidle_state_disable()
240 if (!cpuidle_state_file_exists(cpu, idlestate, in cpuidle_state_disable()
246 bytes_written = cpuidle_state_write_file(cpu, idlestate, "disable", in cpuidle_state_disable()
254 unsigned int idlestate) in cpuidle_state_latency() argument
256 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_LATENCY); in cpuidle_state_latency()
260 unsigned int idlestate) in cpuidle_state_residency() argument
262 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_RESIDENCY); in cpuidle_state_residency()
266 unsigned int idlestate) in cpuidle_state_usage() argument
268 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_USAGE); in cpuidle_state_usage()
272 unsigned int idlestate) in cpuidle_state_time() argument
274 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_TIME); in cpuidle_state_time()
277 char *cpuidle_state_name(unsigned int cpu, unsigned int idlestate) in cpuidle_state_name() argument
279 return cpuidle_state_get_one_string(cpu, idlestate, IDLESTATE_NAME); in cpuidle_state_name()
282 char *cpuidle_state_desc(unsigned int cpu, unsigned int idlestate) in cpuidle_state_desc() argument
284 return cpuidle_state_get_one_string(cpu, idlestate, IDLESTATE_DESC); in cpuidle_state_desc()