Lines Matching refs:cpunode
343 static int __init g5_neo2_cpufreq_init(struct device_node *cpunode) in g5_neo2_cpufreq_init() argument
366 valp = of_get_property(cpunode, "cpu-version", NULL); in g5_neo2_cpufreq_init()
378 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); in g5_neo2_cpufreq_init()
434 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
472 of_node_put(cpunode); in g5_neo2_cpufreq_init()
480 static int __init g5_pm72_cpufreq_init(struct device_node *cpunode) in g5_pm72_cpufreq_init() argument
568 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
643 of_node_put(cpunode); in g5_pm72_cpufreq_init()
650 struct device_node *cpunode; in g5_cpufreq_init() local
654 cpunode = of_cpu_device_node_get(0); in g5_cpufreq_init()
655 if (cpunode == NULL) { in g5_cpufreq_init()
663 rc = g5_pm72_cpufreq_init(cpunode); in g5_cpufreq_init()
666 rc = g5_neo2_cpufreq_init(cpunode); in g5_cpufreq_init()