Home
last modified time | relevance | path

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

123

/openbsd-src/sys/arch/macppc/pci/
H A Dmacobio.c117 node = OF_finddevice("/bandit/gc"); in macobio_attach()
122 node = OF_finddevice("/bandit/ohare"); in macobio_attach()
128 node = OF_finddevice("mac-io"); in macobio_attach()
130 node = OF_finddevice("/pci/mac-io"); in macobio_attach()
144 node = OF_finddevice("mac-io"); in macobio_attach()
146 node = OF_finddevice("/pci/mac-io"); in macobio_attach()
H A Dkauaiata.c107 node = OF_finddevice("uata"); in kauaiataattach()
109 node = OF_finddevice("/pci@f4000000/ata-6"); in kauaiataattach()
/openbsd-src/sys/arch/sparc64/dev/
H A Dcom_ebus.c252 aliases = OF_finddevice("/aliases"); in com_ebus_speed()
254 OF_finddevice(buf) == ea->ea_node) in com_ebus_speed()
257 OF_finddevice(buf) == ea->ea_node) in com_ebus_speed()
263 options = OF_finddevice("/options"); in com_ebus_speed()
H A Dconsinit.c187 chosen = OF_finddevice("/chosen"); in consinit()
/openbsd-src/sys/arch/arm64/dev/
H A Dmainbus.c319 int node = OF_finddevice("/cpus");
374 int node = OF_finddevice("/psci");
389 int node = OF_finddevice("/chosen"); in mainbus_attach_efi()
416 int node = OF_finddevice("/chosen");
428 int node = OF_finddevice("/firmware");
440 int node = OF_finddevice("/reserved-memory");
/openbsd-src/sys/arch/macppc/macppc/
H A Dmainbus.c107 node = OF_finddevice("/cpus"); in mbattach()
135 node = OF_finddevice("/hammerhead"); in mbattach()
H A Dofw_machdep.c209 if ((chosen = OF_finddevice("/chosen")) == -1) in save_ofw_mapping()
215 memory = OF_finddevice("/memory"); in save_ofw_mapping()
H A Dopenfirm.c305 OF_finddevice(char *name) in OF_finddevice() function
/openbsd-src/sys/arch/macppc/stand/
H A Dopenfirm.h40 int OF_finddevice(char *name);
H A Dhfs.c45 if ((chosen = OF_finddevice("/chosen")) == -1) in hfs_open()
H A DLocore.c155 OF_finddevice(char *name) in OF_finddevice() function
490 if ((chosen = OF_finddevice("/chosen")) == -1) in setup()
H A Dofdev.c72 if ((aliases = OF_finddevice("/aliases")) == -1 || in parsename()
310 if ((handle = OF_finddevice(fname)) == -1) in devopen()
H A Dmain.c137 if ((chosen = OF_finddevice("/chosen")) == -1 || in main()
/openbsd-src/sys/arch/sparc64/stand/ofwboot/
H A Dopenfirm.h42 u_int OF_finddevice(char *name);
H A DLocore.c93 OF_finddevice(char *name) in OF_finddevice() function
326 if ((chosen = OF_finddevice("/chosen")) == -1) in setup()
H A Dofdev.c92 dhandle = OF_finddevice(str); in filename()
637 if ((dhandle = OF_finddevice(fname)) == -1) in devopen()
/openbsd-src/sys/dev/fdt/
H A Dhidwusb.c74 node = OF_finddevice("/soc/hikey_usbhub"); in hidwusb_attach()
/openbsd-src/sys/dev/ofw/
H A Dopenfirm.h60 int OF_finddevice(char *name);
/openbsd-src/sys/arch/sparc64/sparc64/
H A Dofw_machdep.c68 if ((chosen = OF_finddevice("/chosen")) == -1) { in get_mmu_handle()
84 if ((chosen = OF_finddevice("/chosen")) == -1) { in get_memory_handle()
651 chosen = OF_finddevice("/chosen"); in OF_stdin()
664 chosen = OF_finddevice("/chosen"); in OF_stdout()
H A Dautoconf.c449 chosen = OF_finddevice("/chosen"); in bootpath_nodes()
462 bootnode = bp->node = OF_finddevice(buf); in bootpath_nodes()
499 chosen = OF_finddevice("/chosen"); in bootpath_build()
/openbsd-src/sys/arch/arm/mainbus/
H A Dmainbus.c238 int node = OF_finddevice("/cpus"); in mainbus_attach_cpus()
289 int node = OF_finddevice("/chosen"); in mainbus_attach_framebuffer()
/openbsd-src/sys/arch/riscv64/dev/
H A Dmainbus.c299 int node = OF_finddevice("/cpus");
355 int node = OF_finddevice("/chosen");
/openbsd-src/sys/arch/arm/arm/
H A Darm32_machdep.c333 node = OF_finddevice("/"); in cpu_sysctl()
/openbsd-src/sys/arch/octeon/dev/
H A Docteon_iobus.c200 if ((soc = OF_finddevice("/soc")) != -1) { in iobusattach()
/openbsd-src/sys/arch/armv7/sunxi/
H A Dsxitimer.c144 node = OF_finddevice("/"); in sxitimer_match()

123