Lines Matching refs:cpunode
1198 int i, cpunode;
1211 cpunode = prom_getchild(prom_root_node);
1213 while(cpunode != 0) {
1214 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str));
1216 num_contexts = prom_getintdefault(cpunode, "mmu-nctx", 0x8);
1219 cpunode = prom_getsibling(cpunode);
1978 int cpunode;
1982 cpunode = prom_getchild(prom_root_node);
1983 while((cpunode = prom_getsibling(cpunode)) != 0) {
1984 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str));
1986 if (!prom_getintdefault(cpunode, "psr-implementation", 1) &&
1987 prom_getintdefault(cpunode, "psr-version", 1) == 5) {