| /netbsd/src/sys/arch/macppc/macppc/ |
| D | interrupts.c | 72 macio = OF_finddevice("/pci/mac-io"); in init_openpic() 74 macio = OF_finddevice("mac-io"); in init_openpic() 76 macio = OF_finddevice("/ht/pci/mac-io"); in init_openpic() 160 if (OF_finddevice("/hammerhead") != -1) in init_interrupt()
|
| D | cpu.c | 110 node = OF_finddevice("/cpus"); in cpumatch() 124 if (OF_finddevice("/hammerhead") != -1) in cpumatch() 140 node = OF_finddevice("/cpus"); in cpu_OFgetspeed() 191 if (OF_finddevice("/bandit/ohare") != -1) { in cpuattach() 254 node = OF_finddevice(cpupath); in md_setup_trampoline()
|
| D | mainbus.c | 78 cpus = OF_finddevice("/cpus"); in mainbus_attach() 115 for (node = OF_child(OF_finddevice("/")); node; node = OF_peer(node)) { in mainbus_attach()
|
| D | pic_ohare.c | 79 ohare = OF_finddevice("/bandit/ohare"); in init_ohare() 81 ohare = OF_finddevice("/bandit/gc"); in init_ohare() 95 ohare2 = OF_finddevice("/bandit/pci106b,7"); in init_ohare()
|
| /netbsd/src/sys/arch/macppc/stand/ofwboot/ |
| D | Locore.c | 278 OF_finddevice(const char *name) in OF_finddevice() function 703 if ((ofw_chosen = OF_finddevice("/chosen")) == -1) in setup() 731 ofw_root = OF_finddevice("/"); in setup() 732 ofw_options = OF_finddevice("/options"); in setup() 733 ofw_openprom = OF_finddevice("/openprom"); in setup() 734 ofw_chosen = OF_finddevice("/chosen"); in setup()
|
| /netbsd/src/sys/arch/macppc/stand/bootxx/ |
| D | bootxx.c | 157 OF_finddevice(char *name) in OF_finddevice() function 326 chosen = OF_finddevice("/chosen"); in startup() 331 options = OF_finddevice("/options"); in startup()
|
| /netbsd/src/sys/arch/ofppc/ofppc/ |
| D | mainbus.c | 80 pcinode = OF_finddevice("/pci"); in init_prepivr() 239 rtnode = OF_finddevice("/rtas"); in mainbus_attach() 280 for (node = OF_child(OF_finddevice("/")); node; node = OF_peer(node)) { in mainbus_attach() 312 node = OF_finddevice("/"); in init_ofppc_interrupt()
|
| D | cpu.c | 96 node = OF_finddevice("/cpus"); in cpu_match() 116 node = OF_finddevice("/cpus"); in cpu_OFgetspeed() 176 node = OF_finddevice("/cpus"); in cpu_OFgetcache()
|
| D | machdep.c | 133 node = OF_finddevice("/"); in initppc() 144 node = OF_finddevice("/"); in initppc() 171 node = OF_finddevice(cpupath); in initppc()
|
| /netbsd/src/sys/arch/powerpc/powerpc/ |
| D | ofw_machdep.c | 215 if ((hmem = OF_finddevice("/memory")) == -1) in ofw_bootstrap_get_memory() 475 ofw_root = OF_finddevice("/"); in ofw_bootstrap() 476 ofw_chosen = OF_finddevice("/chosen"); in ofw_bootstrap() 482 handle = OF_finddevice("/options"); in ofw_bootstrap()
|
| /netbsd/src/sys/arch/sparc/stand/ofwboot/ |
| D | promlib.c | 63 if ( (phandle = OF_finddevice("/chosen")) == -1) { in openfirmware_chosen() 176 promops.po_finddevice = OF_finddevice; in prom_init()
|
| /netbsd/src/sys/arch/shark/ofw/ |
| D | ofw.c | 436 if ((chosen = OF_finddevice("/chosen")) == -1) in get_fw_dhcp_data() 478 if ((options = OF_finddevice("/options")) == -1) in get_fw_dhcp_data() 527 if ((chosen = OF_finddevice("/chosen")) == -1) in ofw_getbootinfo() 561 if ((cpu = OF_finddevice("/cpu")) == -1) in ofw_getcleaninfo() 584 if ((vl = OF_finddevice("/vlbus")) == -1) /* old style OFW dev info tree */ in ofw_configisa() 599 if ((isa = OF_finddevice("/isa")) == -1) in ofw_configisaonly() 637 if ((isa = OF_finddevice("/vlbus/isa")) == -1) in ofw_configvl() 691 if ((root = OF_finddevice("/")) == -1 || in ofw_configisadma() 1461 if ((phandle = OF_finddevice("/memory")) == -1 || in ofw_getphysmeminfo() 1663 if ((chosen = OF_finddevice("/chosen")) == -1 || in ofw_mem_ihandle() [all …]
|
| D | vga_ofbus.c | 112 vga_handle = OF_finddevice("/vlbus/display"); in vga_ofbus_attach() 143 if ((chosen_phandle = OF_finddevice("/chosen")) == -1 || in vga_ofbus_cnattach()
|
| D | chipsfb_ofbus.c | 99 ct_node = OF_finddevice("/vlbus/display"); in chipsfb_ofbus_cnattach() 126 if ((chosen_phandle = OF_finddevice("/chosen")) == -1 || in chipsfb_ofbus_cnattach()
|
| D | igsfb_ofbus.c | 103 igs_node = OF_finddevice("/vlbus/display"); in igsfb_ofbus_cnattach() 131 if ((chosen_phandle = OF_finddevice("/chosen")) == -1 || in igsfb_ofbus_cnattach()
|
| /netbsd/src/sys/arch/shark/stand/ofwboot/ |
| D | Locore.c | 74 if ((cpu = OF_finddevice("/cpu")) == -1) in ofw_getcleaninfo() 139 OF_finddevice(const char *name) in OF_finddevice() function 513 if ((chosen = OF_finddevice("/chosen")) == -1) in setup()
|
| D | openfirm.h | 41 int OF_finddevice(const char *);
|
| /netbsd/src/sys/arch/macppc/dev/ |
| D | uni-n.c | 126 cpuid = OF_finddevice("/u3/i2c/cpuid@a0"); in uni_n_attach() 131 cpuid = OF_finddevice("/u3/i2c/cpuid@a2"); in uni_n_attach()
|
| D | obio.c | 158 node = OF_finddevice("mac-io"); in obio_attach() 160 node = OF_finddevice("/pci/mac-io"); in obio_attach() 164 node = OF_finddevice("mac-io"); in obio_attach() 428 cpunode = OF_finddevice("/cpus/@0"); in obio_setup_gpios()
|
| /netbsd/src/sys/arch/ofppc/stand/ofwboot/ |
| D | boot.c | 203 chosen = OF_finddevice("/"); in main() 209 if ((chosen = OF_finddevice("/chosen")) == -1 || in main()
|
| D | openfirm.h | 44 int OF_finddevice(char *);
|
| /netbsd/src/sys/arch/powerpc/oea/ |
| D | ofwoea_machdep.c | 172 int chs = OF_finddevice("/chosen"); in ofwoea_initppc() 304 node = OF_finddevice("/cpus/@0"); in get_timebase_frequency() 311 node = OF_finddevice("/"); in get_timebase_frequency() 569 node = OF_finddevice("/"); in ofwoea_map_space()
|
| D | ofw_autoconf.c | 110 int aliases = OF_finddevice("/aliases"); in canonicalize_bootpath() 149 if ((node = OF_finddevice("/options")) == -1 || in canonicalize_bootpath() 152 while ((node = OF_finddevice(cbootpath)) == -1) { in canonicalize_bootpath()
|
| /netbsd/src/sys/dev/ofw/ |
| D | openfirmio.c | 137 *(int *) data = OF_finddevice("/options"); in openfirmioctl() 273 node = OF_finddevice(name); in openfirmioctl()
|
| /netbsd/src/sys/arch/ofppc/pci/ |
| D | gt_mainbus.c | 135 for (node = OF_child(OF_finddevice("/")); node; node = OF_peer(node)) { in gt_match() 189 node = of_find_firstchild_byname(OF_finddevice("/"), "pci"); in gt_attach()
|