Lines Matching refs:cpunode
341 static int __init g5_neo2_cpufreq_init(struct device_node *cpunode) in g5_neo2_cpufreq_init() argument
364 valp = of_get_property(cpunode, "cpu-version", NULL); in g5_neo2_cpufreq_init()
376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); in g5_neo2_cpufreq_init()
433 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
471 of_node_put(cpunode); in g5_neo2_cpufreq_init()
479 static int __init g5_pm72_cpufreq_init(struct device_node *cpunode) in g5_pm72_cpufreq_init() argument
567 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
642 of_node_put(cpunode); in g5_pm72_cpufreq_init()
649 struct device_node *cpunode; in g5_cpufreq_init() local
653 cpunode = of_cpu_device_node_get(0); in g5_cpufreq_init()
654 if (cpunode == NULL) { in g5_cpufreq_init()
662 rc = g5_pm72_cpufreq_init(cpunode); in g5_cpufreq_init()
665 rc = g5_neo2_cpufreq_init(cpunode); in g5_cpufreq_init()