Lines Matching refs:max_state
81 for (lev = 0; lev < devfreq->profile->max_state; lev++) in devfreq_get_freq_level()
104 profile->max_state = count; in devfreq_set_freq_table()
106 profile->max_state, in devfreq_set_freq_table()
110 profile->max_state = 0; in devfreq_set_freq_table()
115 for (i = 0, freq = 0; i < profile->max_state; i++, freq++) { in devfreq_set_freq_table()
119 profile->max_state = 0; in devfreq_set_freq_table()
161 devfreq->profile->max_state) + lev]++; in devfreq_update_status()
567 if (!devfreq->profile->max_state && !devfreq->profile->freq_table) { in devfreq_add_device()
581 devfreq->profile->max_state * in devfreq_add_device()
582 devfreq->profile->max_state, in devfreq_add_device()
585 devfreq->profile->max_state, in devfreq_add_device()
1171 unsigned int max_state = devfreq->profile->max_state; in trans_stat_show() local
1176 if (max_state == 0) in trans_stat_show()
1181 for (i = 0; i < max_state; i++) in trans_stat_show()
1187 for (i = 0; i < max_state; i++) { in trans_stat_show()
1196 for (j = 0; j < max_state; j++) in trans_stat_show()
1198 devfreq->trans_table[(i * max_state) + j]); in trans_stat_show()