Lines Matching defs:table
200 static inline u32 get_table_count(struct cpufreq_frequency_table *table)
204 for (count = 0; table[count].frequency != CPUFREQ_TABLE_END; count++)
211 static inline u32 get_table_min(struct cpufreq_frequency_table *table)
216 cpufreq_for_each_entry(pos, table)
223 static inline u32 get_table_max(struct cpufreq_frequency_table *table)
228 cpufreq_for_each_entry(pos, table)
234 static bool search_frequency(struct cpufreq_frequency_table *table, int size,
240 if (table[count].frequency == freq)
250 struct cpufreq_frequency_table *table;
255 table = kcalloc(count, sizeof(*table), GFP_KERNEL);
256 if (!table)
259 freq_table[MAX_CLUSTERS] = table;
266 search_frequency(table, count, freq_table[i][j].frequency))
268 table[k++].frequency =
273 table[k].driver_data = k;
274 table[k].frequency = CPUFREQ_TABLE_END;
312 /* free virtual table */
326 * platform specific SPC code must initialise the opp table