Lines Matching defs:table
203 static inline u32 get_table_count(struct cpufreq_frequency_table *table)
207 for (count = 0; table[count].frequency != CPUFREQ_TABLE_END; count++)
214 static inline u32 get_table_min(struct cpufreq_frequency_table *table)
219 cpufreq_for_each_entry(pos, table)
226 static inline u32 get_table_max(struct cpufreq_frequency_table *table)
231 cpufreq_for_each_entry(pos, table)
237 static bool search_frequency(struct cpufreq_frequency_table *table, int size,
243 if (table[count].frequency == freq)
253 struct cpufreq_frequency_table *table;
258 table = kcalloc(count, sizeof(*table), GFP_KERNEL);
259 if (!table)
262 freq_table[MAX_CLUSTERS] = table;
269 search_frequency(table, count, freq_table[i][j].frequency))
271 table[k++].frequency =
276 table[k].driver_data = k;
277 table[k].frequency = CPUFREQ_TABLE_END;
315 /* free virtual table */
329 * platform specific SPC code must initialise the opp table