Home
last modified time | relevance | path

Searched refs:low_freq (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/cpufreq/
Dpmac32-cpufreq.c53 static unsigned int low_freq; variable
149 return low_freq; in cpu_750fx_get_cpu_speed()
182 return low_freq; in dfs_get_cpu_speed()
352 cur_freq = (speed_mode == CPUFREQ_HIGH) ? hi_freq : low_freq; in do_set_cpu_speed()
409 if (cur_freq == low_freq && !is_pmu_based) in pmac_cpufreq_suspend()
426 do_set_cpu_speed(policy, sleep_freq == low_freq ? in pmac_cpufreq_resume()
495 low_freq = min(freqs[0], freqs[1]); in pmac_cpufreq_init_MacRISC3()
503 if (low_freq < 98000000) in pmac_cpufreq_init_MacRISC3()
504 low_freq = 101000000; in pmac_cpufreq_init_MacRISC3()
507 low_freq = (low_freq * (*ratio)) / 2000; in pmac_cpufreq_init_MacRISC3()
[all …]
Dlongrun.c163 static int longrun_determine_freqs(unsigned int *low_freq, in longrun_determine_freqs() argument
172 if (!low_freq || !high_freq) in longrun_determine_freqs()
187 *low_freq = msr_lo * 1000; /* to kHz */ in longrun_determine_freqs()
195 *low_freq, *high_freq); in longrun_determine_freqs()
197 if (*low_freq > *high_freq) in longrun_determine_freqs()
198 *low_freq = *high_freq; in longrun_determine_freqs()
245 *low_freq = edx * 1000; /* back to kHz */ in longrun_determine_freqs()
247 pr_debug("low frequency is %u kHz\n", *low_freq); in longrun_determine_freqs()
249 if (*low_freq > *high_freq) in longrun_determine_freqs()
250 *low_freq = *high_freq; in longrun_determine_freqs()
/Linux-v5.4/drivers/media/rc/
Dite-cir.c213 unsigned int freq, low_freq, high_freq; in ite_set_carrier_params() local
226 low_freq = dev->params.rx_low_carrier_freq; in ite_set_carrier_params()
229 if (low_freq == 0) { in ite_set_carrier_params()
237 freq = (low_freq + high_freq) / 2; in ite_set_carrier_params()
241 DIV_ROUND_CLOSEST(10000 * (high_freq - low_freq), in ite_set_carrier_params()
243 * (high_freq + low_freq)); in ite_set_carrier_params()
/Linux-v5.4/drivers/hwmon/
Dadt7470.c732 int low_freq = ADT7470_CFG_LF; in pwm1_freq_store() local
744 low_freq = 0; in pwm1_freq_store()
751 (val & ~ADT7470_CFG_LF) | low_freq); in pwm1_freq_store()