Home
last modified time | relevance | path

Searched refs:freq_table_size (Results 1 – 2 of 2) sorted by relevance

/drivers/thermal/
Ddevfreq_cooling.c64 size_t freq_table_size; member
84 for (i = 0; i < dfc->freq_table_size; i++) { in partition_enable_opps()
116 *state = dfc->freq_table_size - 1; in devfreq_cooling_get_max_state()
144 if (state >= dfc->freq_table_size) in devfreq_cooling_set_cur_state()
169 for (i = 0; i < dfc->freq_table_size; i++) { in freq_get_state()
342 if (state >= dfc->freq_table_size) in devfreq_cooling_state2power()
385 for (i = 0; i < dfc->freq_table_size - 1; i++) in devfreq_cooling_power2state()
477 dfc->freq_table_size = num_opps; in devfreq_cooling_gen_tables()
/drivers/sh/clk/
Dcpg.c247 int freq_table_size = sizeof(struct cpufreq_frequency_table); in sh_clk_div_register_ops() local
251 freq_table_size *= (nr_divs + 1); in sh_clk_div_register_ops()
252 freq_table = kcalloc(nr, freq_table_size, GFP_KERNEL); in sh_clk_div_register_ops()
264 clkp->freq_table = freq_table + (k * freq_table_size); in sh_clk_div_register_ops()