Lines Matching refs:frequency
41 freq = pos->frequency; in cpufreq_frequency_table_cpuinfo()
82 freq = pos->frequency; in cpufreq_frequency_table_verify()
124 .frequency = 0, in cpufreq_table_index_unsorted()
128 .frequency = 0, in cpufreq_table_index_unsorted()
140 suboptimal.frequency = ~0; in cpufreq_table_index_unsorted()
144 optimal.frequency = ~0; in cpufreq_table_index_unsorted()
149 freq = pos->frequency; in cpufreq_table_index_unsorted()
160 if (freq >= optimal.frequency) { in cpufreq_table_index_unsorted()
161 optimal.frequency = freq; in cpufreq_table_index_unsorted()
165 if (freq <= suboptimal.frequency) { in cpufreq_table_index_unsorted()
166 suboptimal.frequency = freq; in cpufreq_table_index_unsorted()
173 if (freq <= optimal.frequency) { in cpufreq_table_index_unsorted()
174 optimal.frequency = freq; in cpufreq_table_index_unsorted()
178 if (freq >= suboptimal.frequency) { in cpufreq_table_index_unsorted()
179 suboptimal.frequency = freq; in cpufreq_table_index_unsorted()
186 if (diff < optimal.frequency || in cpufreq_table_index_unsorted()
187 (diff == optimal.frequency && in cpufreq_table_index_unsorted()
188 freq > table[optimal.driver_data].frequency)) { in cpufreq_table_index_unsorted()
189 optimal.frequency = diff; in cpufreq_table_index_unsorted()
206 table[index].frequency); in cpufreq_table_index_unsorted()
223 if (pos->frequency == freq) in cpufreq_frequency_table_get_index()
257 count += sprintf(&buf[count], "%d ", pos->frequency); in show_available_freqs()
313 if (pos->frequency == prev->frequency) { in set_freq_table_sorted()
315 pos->frequency); in set_freq_table_sorted()
320 if (pos->frequency > prev->frequency) { in set_freq_table_sorted()