Lines Matching refs:index
62 * @highest_lpstate_idx: The local pstate index from which we are
69 * @last_gpstate_idx: pstate in terms of cpufreq table index
149 * powernv_pstate_info stores the index of the frequency table for
153 * powernv_pstate_info.nominal indicates the index to the highest
173 /* Use following functions for conversions between pstate_id and index */
186 pr_warn_once("idx_to_pstate: index %u is out of bound\n", i);
194 * pstate_to_idx : Returns the index in the cpufreq frequencytable
199 * this will return the index of the nominal
547 * get_nominal_index: Returns the index corresponding to the nominal
924 int index;
929 index = cpufreq_table_find_index_c(policy, policy->cur);
930 powernv_cpufreq_target_index(policy, index);
1026 int index;
1029 index = cpufreq_table_find_index_dl(policy, target_freq);
1030 freq_data.pstate_id = powernv_freqs[index].driver_data;
1031 freq_data.gpstate_id = powernv_freqs[index].driver_data;
1034 return powernv_freqs[index].frequency;