Lines Matching refs:cpunode
449 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) in pmac_cpufreq_init_MacRISC3() argument
485 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
491 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
527 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
536 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
546 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() argument
550 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A()
574 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() argument
580 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX()
584 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX()
617 struct device_node *cpunode; in pmac_cpufreq_setup() local
624 cpunode = of_cpu_device_node_get(0); in pmac_cpufreq_setup()
625 if (!cpunode) in pmac_cpufreq_setup()
629 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup()
636 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
638 pmac_cpufreq_init_7447A(cpunode); in pmac_cpufreq_setup()
647 pmac_cpufreq_init_MacRISC3(cpunode); in pmac_cpufreq_setup()
676 pmac_cpufreq_init_750FX(cpunode); in pmac_cpufreq_setup()
678 of_node_put(cpunode); in pmac_cpufreq_setup()