• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/powerpc/powernv/

Lines Matching refs:cpu

42 #include <machine/cpu.h>
77 static int powernv_smp_start_cpu(platform_t, struct pcpu *cpu);
140 phandle_t cpu;
190 cpu = OF_peer(0);
191 cpu = OF_child(cpu);
192 while (cpu != 0) {
193 res = OF_getprop(cpu, "name", buf, sizeof(buf));
196 cpu = OF_peer(cpu);
198 if (cpu == 0)
201 cpu = OF_child(cpu);
202 while (cpu != 0) {
203 res = OF_getprop(cpu, "device_type", buf, sizeof(buf));
204 if (res > 0 && strcmp(buf, "cpu") == 0)
206 cpu = OF_peer(cpu);
208 if (cpu == 0)
211 res = OF_getencprop(cpu, "ibm,slb-size", &prop, sizeof(prop));
221 len = OF_getproplen(cpu, "ibm,segment-page-sizes");
228 res = OF_getencprop(cpu, "ibm,segment-page-sizes", arr,
288 phandle_t cpu, dev, root;
301 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) {
302 res = OF_getprop(cpu, "device_type", buf, sizeof(buf));
303 if (res > 0 && strcmp(buf, "cpu") == 0)
306 if (cpu == 0)
309 OF_getencprop(cpu, "timebase-frequency", &ticks, sizeof(ticks));
321 phandle_t cpu, dev;
342 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) {
343 res = OF_getprop(cpu, "device_type", buf, sizeof(buf));
344 if (res > 0 && strcmp(buf, "cpu") == 0) {
345 if (!ofw_bus_node_status_okay(cpu))
347 res = OF_getproplen(cpu, "ibm,ppc-interrupt-server#s");
349 OF_getencprop(cpu, "ibm,ppc-interrupt-server#s",
356 powernv_node_numa_domain(NULL, cpu);
450 phandle_t cpu, dev, root;
464 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) {
465 res = OF_getprop(cpu, "device_type", buf, sizeof(buf));
466 if (res <= 0 || strcmp(buf, "cpu") != 0)
469 res = OF_getproplen(cpu, "ibm,ppc-interrupt-server#s");