Searched refs:g_npstates (Results 1 – 4 of 4) sorted by relevance
202 g_npstates = 0; in pt_cpufreq_stat_prepare()205 token != NULL && g_npstates < NSTATES; in pt_cpufreq_stat_prepare()215 g_npstates++; in pt_cpufreq_stat_prepare()228 if (g_npstates < 2) in pt_cpufreq_stat_prepare()301 for (i = 0; i < g_npstates; i++) in pt_cpufreq_stat_collect()359 for (i = 0; i < g_npstates; i++) { in pt_cpufreq_stat_account()478 for (i = 0; i < g_npstates; i++) { in pt_cpufreq_dtrace_walk()538 if (g_npstates < 2 || (file = fopen(default_conf, "r")) == NULL) in pt_cpufreq_check_pm()
188 cstate_lines = TITLE_LINE + max((g_max_cstate+2), g_npstates); in pt_display_setup()440 for (i = 0; i < g_npstates; i++) { in pt_display_states()449 for (i = 0; i < g_npstates - 1; i++) { in pt_display_states()463 p0_speed = g_pstate_info[g_npstates - 1].speed; in pt_display_states()464 p1_speed = g_pstate_info[g_npstates - 2].speed; in pt_display_states()513 if (g_npstates == 1) { in pt_display_states()
181 extern int g_npstates;
56 int g_npstates, g_max_cstate, g_longest_cstate; variable