Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/cpufreq/
Dgx-suspmod.c125 static int stock_freq; variable
209 return stock_freq; in gx_get_cpuspeed()
211 return (stock_freq * gx_params->off_duration) in gx_get_cpuspeed()
226 int old_tmp_freq = stock_freq; in gx_validate_speed()
233 tmp_off = ((khz * i) / stock_freq) & 0xff; in gx_validate_speed()
235 tmp_freq = (stock_freq * tmp_off) / i; in gx_validate_speed()
271 if (new_khz != stock_freq) { in gx_set_cpuspeed()
340 if (!stock_freq || !policy) in cpufreq_gx_verify()
344 cpufreq_verify_within_limits(policy, (stock_freq / max_duration), in cpufreq_gx_verify()
345 stock_freq); in cpufreq_gx_verify()
[all …]
Dp4-clockmod.c53 static unsigned int stock_freq; variable
188 stock_freq = cpufreq_p4_get_frequency(c); in cpufreq_p4_cpu_init()
189 if (!stock_freq) in cpufreq_p4_cpu_init()
197 p4clockmod_table[i].frequency = (stock_freq * i)/8; in cpufreq_p4_cpu_init()
224 return stock_freq * l / 8; in cpufreq_p4_get()
226 return stock_freq; in cpufreq_p4_get()