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