Lines Matching refs:time_in_state
21 u64 *time_in_state; member
31 stats->time_in_state[stats->last_index] += cur_time - stats->last_time; in cpufreq_stats_update()
40 memset(stats->time_in_state, 0, count * sizeof(u64)); in cpufreq_stats_clear_table()
69 jiffies_64_to_clock_t(stats->time_in_state[i])); in show_time_in_state()
73 cpufreq_freq_attr_ro(time_in_state);
134 &time_in_state.attr,
164 kfree(stats->time_in_state); in cpufreq_stats_free_table()
193 stats->time_in_state = kzalloc(alloc_size, GFP_KERNEL); in cpufreq_stats_create_table()
194 if (!stats->time_in_state) in cpufreq_stats_create_table()
197 stats->freq_table = (unsigned int *)(stats->time_in_state + count); in cpufreq_stats_create_table()
220 kfree(stats->time_in_state); in cpufreq_stats_create_table()