Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dgx-suspmod.c121 static int stock_freq; variable
205 return stock_freq; in gx_get_cpuspeed()
222 int old_tmp_freq = stock_freq; in gx_validate_speed()
231 tmp_freq = (stock_freq * tmp_off) / i; in gx_validate_speed()
267 if (new_khz != stock_freq) { in gx_set_cpuspeed()
336 if (!stock_freq || !policy) in cpufreq_gx_verify()
341 stock_freq); in cpufreq_gx_verify()
351 tmp_freq += stock_freq / max_duration; in cpufreq_gx_verify()
362 stock_freq); in cpufreq_gx_verify()
378 if (!stock_freq || !policy) in cpufreq_gx_target()
[all …]
H A Dp4-clockmod.c48 static unsigned int stock_freq; variable
183 stock_freq = cpufreq_p4_get_frequency(c); in cpufreq_p4_cpu_init()
184 if (!stock_freq) in cpufreq_p4_cpu_init()
192 p4clockmod_table[i].frequency = (stock_freq * i)/8; in cpufreq_p4_cpu_init()
219 return stock_freq * l / 8; in cpufreq_p4_get()
221 return stock_freq; in cpufreq_p4_get()