Home
last modified time | relevance | path

Searched refs:OF_finddevice (Results 1 – 25 of 69) sorted by relevance

123

/netbsd/src/sys/arch/macppc/macppc/
Dinterrupts.c72 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()
Dcpu.c110 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()
Dmainbus.c78 cpus = OF_finddevice("/cpus"); in mainbus_attach()
115 for (node = OF_child(OF_finddevice("/")); node; node = OF_peer(node)) { in mainbus_attach()
Dpic_ohare.c79 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/
DLocore.c278 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/
Dbootxx.c157 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/
Dmainbus.c80 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()
Dcpu.c96 node = OF_finddevice("/cpus"); in cpu_match()
116 node = OF_finddevice("/cpus"); in cpu_OFgetspeed()
176 node = OF_finddevice("/cpus"); in cpu_OFgetcache()
Dmachdep.c133 node = OF_finddevice("/"); in initppc()
144 node = OF_finddevice("/"); in initppc()
171 node = OF_finddevice(cpupath); in initppc()
/netbsd/src/sys/arch/powerpc/powerpc/
Dofw_machdep.c215 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/
Dpromlib.c63 if ( (phandle = OF_finddevice("/chosen")) == -1) { in openfirmware_chosen()
176 promops.po_finddevice = OF_finddevice; in prom_init()
/netbsd/src/sys/arch/shark/ofw/
Dofw.c436 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 …]
Dvga_ofbus.c112 vga_handle = OF_finddevice("/vlbus/display"); in vga_ofbus_attach()
143 if ((chosen_phandle = OF_finddevice("/chosen")) == -1 || in vga_ofbus_cnattach()
Dchipsfb_ofbus.c99 ct_node = OF_finddevice("/vlbus/display"); in chipsfb_ofbus_cnattach()
126 if ((chosen_phandle = OF_finddevice("/chosen")) == -1 || in chipsfb_ofbus_cnattach()
Digsfb_ofbus.c103 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/
DLocore.c74 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()
Dopenfirm.h41 int OF_finddevice(const char *);
/netbsd/src/sys/arch/macppc/dev/
Duni-n.c126 cpuid = OF_finddevice("/u3/i2c/cpuid@a0"); in uni_n_attach()
131 cpuid = OF_finddevice("/u3/i2c/cpuid@a2"); in uni_n_attach()
Dobio.c158 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/
Dboot.c203 chosen = OF_finddevice("/"); in main()
209 if ((chosen = OF_finddevice("/chosen")) == -1 || in main()
Dopenfirm.h44 int OF_finddevice(char *);
/netbsd/src/sys/arch/powerpc/oea/
Dofwoea_machdep.c172 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()
Dofw_autoconf.c110 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/
Dopenfirmio.c137 *(int *) data = OF_finddevice("/options"); in openfirmioctl()
273 node = OF_finddevice(name); in openfirmioctl()
/netbsd/src/sys/arch/ofppc/pci/
Dgt_mainbus.c135 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()

123