Lines Matching refs:time_in_state
21 u64 *time_in_state; member
35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update()
43 memset(stats->time_in_state, 0, count * sizeof(u64)); in cpufreq_stats_reset_table()
90 time = stats->time_in_state[i]; in show_time_in_state()
100 cpufreq_freq_attr_ro(time_in_state);
175 &time_in_state.attr,
205 kfree(stats->time_in_state); in cpufreq_stats_free_table()
234 stats->time_in_state = kzalloc(alloc_size, GFP_KERNEL); in cpufreq_stats_create_table()
235 if (!stats->time_in_state) in cpufreq_stats_create_table()
238 stats->freq_table = (unsigned int *)(stats->time_in_state + count); in cpufreq_stats_create_table()
260 kfree(stats->time_in_state); in cpufreq_stats_create_table()