Lines Matching full:frequency

145  * SCOM based frequency switching for 970FX rev3
152 /* If frequency is going up, first ramp up the voltage */ in g5_scom_switch_freq()
182 /* If frequency is going down, last ramp the voltage */ in g5_scom_switch_freq()
187 ppc_proc_freq = g5_cpu_freqs[speed_mode].frequency * 1000ul; in g5_scom_switch_freq()
240 * Platform function based frequency switching for PowerMac7,2 & 7,3
257 /* If frequency is going up, first ramp up the voltage */ in g5_pfunc_switch_freq()
286 /* If frequency is going down, last ramp the voltage */ in g5_pfunc_switch_freq()
291 ppc_proc_freq = g5_cpu_freqs[speed_mode].frequency * 1000ul; in g5_pfunc_switch_freq()
319 return g5_cpu_freqs[g5_pmode_cur].frequency; in g5_cpufreq_get_speed()
427 * From what I see, clock-frequency is always the maximal frequency. in g5_neo2_cpufreq_init()
433 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
437 g5_cpu_freqs[0].frequency = max_freq; in g5_neo2_cpufreq_init()
438 g5_cpu_freqs[1].frequency = max_freq/2; in g5_neo2_cpufreq_init()
446 /* Force apply current frequency to make sure everything is in in g5_neo2_cpufreq_init()
455 pr_info("Registering G5 CPU frequency driver\n"); in g5_neo2_cpufreq_init()
456 pr_info("Frequency method: %s, Voltage method: %s\n", in g5_neo2_cpufreq_init()
459 g5_cpu_freqs[1].frequency/1000, in g5_neo2_cpufreq_init()
460 g5_cpu_freqs[0].frequency/1000, in g5_neo2_cpufreq_init()
461 g5_cpu_freqs[g5_pmode_cur].frequency/1000); in g5_neo2_cpufreq_init()
508 if (!of_property_present(hwclock, "platform-get-frequency")) in g5_pm72_cpufreq_init()
522 pmf_find_function(hwclock, "get-frequency"); in g5_pm72_cpufreq_init()
524 pmf_find_function(hwclock, "set-frequency-high"); in g5_pm72_cpufreq_init()
526 pmf_find_function(hwclock, "set-frequency-low"); in g5_pm72_cpufreq_init()
566 /* Get max frequency from device-tree */ in g5_pm72_cpufreq_init()
567 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
569 pr_err("Can't find CPU frequency !\n"); in g5_pm72_cpufreq_init()
576 /* Now calculate reduced frequency by using the cpuid input freq in g5_pm72_cpufreq_init()
585 pr_warn("No low frequency mode available on this model !\n"); in g5_pm72_cpufreq_init()
596 pr_err("Can't calculate low frequency !\n"); in g5_pm72_cpufreq_init()
600 g5_cpu_freqs[0].frequency = max_freq; in g5_pm72_cpufreq_init()
601 g5_cpu_freqs[1].frequency = min_freq; in g5_pm72_cpufreq_init()
611 /* Force apply current frequency to make sure everything is in in g5_pm72_cpufreq_init()
620 pr_info("Registering G5 CPU frequency driver\n"); in g5_pm72_cpufreq_init()
621 pr_info("Frequency method: i2c/pfunc, Voltage method: %s\n", in g5_pm72_cpufreq_init()
624 g5_cpu_freqs[1].frequency/1000, in g5_pm72_cpufreq_init()
625 g5_cpu_freqs[0].frequency/1000, in g5_pm72_cpufreq_init()
626 g5_cpu_freqs[g5_pmode_cur].frequency/1000); in g5_pm72_cpufreq_init()