Lines Matching defs:cpu
150 Prom_node *cpu;
156 for (cpu = dev_find_type(board->nodes, "cpu"); cpu != NULL;
157 cpu = dev_next_type(cpu, "cpu")) {
164 mid = (int *)get_prop_val(find_prop(cpu, "upa-portid"));
166 mid = (int *)get_prop_val(find_prop(cpu, "portid"));
169 freq = (get_cpu_freq(cpu) + 500000) / 1000000;
170 ecache_size = get_ecache_size(cpu);
171 impl = (int *)get_prop_val(find_prop(cpu, "implementation#"));
172 mask = (int *)get_prop_val(find_prop(cpu, "mask#"));
175 if ((freq != 0) && (node_failed(cpu) == 0)) {