Lines Matching refs:cpunode

452 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode)  in pmac_cpufreq_init_MacRISC3()  argument
488 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
494 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
530 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
539 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
549 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() argument
553 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A()
577 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() argument
583 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX()
587 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX()
620 struct device_node *cpunode; in pmac_cpufreq_setup() local
627 cpunode = of_cpu_device_node_get(0); in pmac_cpufreq_setup()
628 if (!cpunode) in pmac_cpufreq_setup()
632 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup()
639 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
641 pmac_cpufreq_init_7447A(cpunode); in pmac_cpufreq_setup()
650 pmac_cpufreq_init_MacRISC3(cpunode); in pmac_cpufreq_setup()
679 pmac_cpufreq_init_750FX(cpunode); in pmac_cpufreq_setup()
681 of_node_put(cpunode); in pmac_cpufreq_setup()