Lines Matching refs:cpunode
448 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) in pmac_cpufreq_init_MacRISC3() argument
484 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
490 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
526 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
535 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
545 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() argument
549 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A()
573 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() argument
579 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX()
583 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX()
616 struct device_node *cpunode; in pmac_cpufreq_setup() local
623 cpunode = of_cpu_device_node_get(0); in pmac_cpufreq_setup()
624 if (!cpunode) in pmac_cpufreq_setup()
628 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup()
635 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
637 pmac_cpufreq_init_7447A(cpunode); in pmac_cpufreq_setup()
646 pmac_cpufreq_init_MacRISC3(cpunode); in pmac_cpufreq_setup()
675 pmac_cpufreq_init_750FX(cpunode); in pmac_cpufreq_setup()
677 of_node_put(cpunode); in pmac_cpufreq_setup()