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()
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()
208 unsigned int idlestate) in cpuidle_is_state_disabled() argument
210 if (cpuidle_state_count(cpu) <= idlestate) in cpuidle_is_state_disabled()
213 if (!cpuidle_state_file_exists(cpu, idlestate, in cpuidle_is_state_disabled()
216 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_DISABLE); in cpuidle_is_state_disabled()
229 unsigned int idlestate, in cpuidle_state_disable() argument
235 if (cpuidle_state_count(cpu) <= idlestate) in cpuidle_state_disable()
238 if (!cpuidle_state_file_exists(cpu, idlestate, in cpuidle_state_disable()
244 bytes_written = cpuidle_state_write_file(cpu, idlestate, "disable", in cpuidle_state_disable()
252 unsigned int idlestate) in cpuidle_state_latency() argument
254 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_LATENCY); in cpuidle_state_latency()
258 unsigned int idlestate) in cpuidle_state_usage() argument
260 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_USAGE); in cpuidle_state_usage()
264 unsigned int idlestate) in cpuidle_state_time() argument
266 return cpuidle_state_get_one_value(cpu, idlestate, IDLESTATE_TIME); in cpuidle_state_time()
269 char *cpuidle_state_name(unsigned int cpu, unsigned int idlestate) in cpuidle_state_name() argument
271 return cpuidle_state_get_one_string(cpu, idlestate, IDLESTATE_NAME); in cpuidle_state_name()
274 char *cpuidle_state_desc(unsigned int cpu, unsigned int idlestate) in cpuidle_state_desc() argument
276 return cpuidle_state_get_one_string(cpu, idlestate, IDLESTATE_DESC); in cpuidle_state_desc()