Lines Matching refs:table
23 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq() local
25 if (!table) in policy_has_boost_freq()
28 cpufreq_for_each_valid_entry(pos, table) in policy_has_boost_freq()
37 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo() argument
44 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_cpuinfo()
51 pr_debug("table entry %u: %u kHz\n", (int)(pos - table), freq); in cpufreq_frequency_table_cpuinfo()
68 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify() argument
79 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_verify()
129 struct cpufreq_frequency_table *table = policy->freq_table; in cpufreq_table_index_unsorted() local
146 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_table_index_unsorted()
149 i = pos - table; in cpufreq_table_index_unsorted()
187 freq > table[optimal.driver_data].frequency)) { in cpufreq_table_index_unsorted()
205 table[index].frequency); in cpufreq_table_index_unsorted()
213 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in cpufreq_frequency_table_get_index() local
215 if (unlikely(!table)) { in cpufreq_frequency_table_get_index()
220 cpufreq_for_each_valid_entry(pos, table) in cpufreq_frequency_table_get_index()
222 return pos - table; in cpufreq_frequency_table_get_index()
235 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in show_available_freqs() local
237 if (!table) in show_available_freqs()
240 cpufreq_for_each_valid_entry(pos, table) { in show_available_freqs()
302 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in set_freq_table_sorted() local
308 cpufreq_for_each_valid_entry(pos, table) { in set_freq_table_sorted()
356 struct cpufreq_frequency_table *table) in cpufreq_table_validate_and_show() argument
360 ret = cpufreq_frequency_table_cpuinfo(policy, table); in cpufreq_table_validate_and_show()
364 policy->freq_table = table; in cpufreq_table_validate_and_show()