Lines Matching refs:cpunode
389 struct device_node *cpunode;
410 for (cpunode = NULL;
411 (cpunode = of_get_next_child(cpus, cpunode)) != NULL;) {
412 const u32 *reg = of_get_property(cpunode, "reg", NULL);
415 if (!strcmp(cpunode->type, "cpu"))
418 if (cpunode == NULL) {
424 valp = of_get_property(cpunode, "cpu-version", NULL);
436 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize);
495 valp = of_get_property(cpunode, "clock-frequency", NULL);
533 of_node_put(cpunode);
543 struct device_node *cpuid = NULL, *hwclock = NULL, *cpunode = NULL;
553 for (cpunode = NULL;
554 (cpunode = of_get_next_child(cpus, cpunode)) != NULL;) {
555 if (!strcmp(cpunode->type, "cpu"))
558 if (cpunode == NULL) {
641 valp = of_get_property(cpunode, "clock-frequency", NULL);
715 of_node_put(cpunode);