stand/libofw/devicename.c
80
if ((handle = OF_finddevice(name)) == -1)
stand/libofw/ofw_net.c
205
netdev = OF_finddevice(path);
stand/libofw/openfirm.c
105
options = OF_finddevice("/options");
stand/libofw/openfirm.c
89
if ((chosen = OF_finddevice("/chosen")) == -1)
stand/libofw/openfirm.h
95
phandle_t OF_finddevice(const char *);
stand/powerpc/ofw/cas.c
206
pkg = OF_finddevice("/chosen");
stand/powerpc/ofw/main.c
162
root = OF_finddevice("/");
stand/powerpc/ofw/ofwfdt.c
110
node = OF_finddevice("/rtas");
sys/arm/annapurna/alpine/alpine_machdep.c
71
if ((node = OF_finddevice("/")) == -1)
sys/arm/annapurna/alpine/alpine_machdep.c
90
if ((node = OF_finddevice("/")) == -1)
sys/arm/annapurna/alpine/alpine_machdep_mp.c
133
if ((node = OF_finddevice("/")) == -1)
sys/arm/annapurna/alpine/alpine_machdep_mp.c
159
if ((node = OF_finddevice("/")) == -1)
sys/arm/arm/machdep.c
601
root = OF_finddevice("/");
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1198
root = OF_finddevice("/");
sys/arm/broadcom/bcm2835/bcm2835_fb.c
449
chosen = OF_finddevice("/chosen");
sys/arm/broadcom/bcm2835/bcm2835_fb.c
469
root = OF_finddevice("/");
sys/arm/broadcom/bcm2835/bcm2835_fbd.c
232
chosen = OF_finddevice("/chosen");
sys/arm/broadcom/bcm2835/bcm2835_machdep.c
77
system = OF_finddevice("/system");
sys/arm/broadcom/bcm2835/bcm2835_vcbus.c
194
root = OF_finddevice("/");
sys/arm/broadcom/bcm2835/bcm2838_xhci.c
89
root = OF_finddevice("/");
sys/arm/freescale/fsl_ocotp.c
72
if ((root = OF_finddevice("/")) == -1)
sys/arm/freescale/imx/imx6_machdep.c
107
if ((node = OF_finddevice(nodepath)) == -1)
sys/arm/freescale/imx/imx6_machdep.c
125
gicnode = OF_finddevice("/soc/interrupt-controller@00a01000");
sys/arm/freescale/imx/imx6_machdep.c
127
gicnode = OF_finddevice("/soc/interrupt-controller@a01000");
sys/arm/freescale/imx/imx6_machdep.c
129
gicnode = OF_finddevice("/interrupt-controller@00a01000");
sys/arm/freescale/imx/imx6_machdep.c
131
gicnode = OF_finddevice("/interrupt-controller@a01000");
sys/arm/freescale/imx/imx6_machdep.c
143
gpcnode = OF_finddevice("/soc/aips-bus@02000000/gpc@020dc000");
sys/arm/freescale/imx/imx6_machdep.c
145
gpcnode = OF_finddevice("/soc/aips-bus@2000000/gpc@20dc000");
sys/arm/freescale/imx/imx6_machdep.c
147
gpcnode = OF_finddevice("/soc/bus@2000000/gpc@20dc000");
sys/arm/freescale/imx/imx6_machdep.c
188
node = OF_finddevice("/soc/aips-bus@2000000/iomuxc-gpr@20e0000");
sys/arm/freescale/imx/imx6_machdep.c
190
node = OF_finddevice("/soc/bus@2000000/iomuxc-gpr@20e0000");
sys/arm/freescale/vybrid/vf_ccm.c
401
root = OF_finddevice("/");
sys/arm/freescale/vybrid/vf_iomuxc.c
133
root = OF_finddevice("/");
sys/arm/freescale/vybrid/vf_machdep.c
67
src = OF_finddevice("src");
sys/arm/mv/armada38x/armada38x_mp.c
83
cpus_node = OF_finddevice("/cpus");
sys/arm/mv/mv_armv7_machdep.c
128
if ((node = OF_finddevice("/")) == -1){
sys/arm/mv/mv_armv7_machdep.c
171
if ((node = OF_finddevice("mpp")) != -1)
sys/arm/mv/mv_armv7_machdep.c
177
if ((node = OF_finddevice("/")) == -1)
sys/arm/mv/mv_armv7_machdep.c
284
if ((node = OF_finddevice("soc")) != -1)
sys/arm/mv/mv_armv7_machdep.c
290
if ((node = OF_finddevice("/")) == -1)
sys/arm/mv/mv_armv7_machdep.c
370
if ((node = OF_finddevice("/")) == -1)
sys/arm/mv/mv_armv7_machdep.c
404
if ((root = OF_finddevice("/")) == -1)
sys/arm/mv/mv_common.c
1665
node = OF_finddevice(nodename);
sys/arm/mv/mv_common.c
1741
if ((node = OF_finddevice("sram")) != -1)
sys/arm/mv/mv_common.c
1745
if ((node = OF_finddevice("/")) == -1)
sys/arm/mv/mv_common.c
1871
node = OF_finddevice("/");
sys/arm/mv/mv_common.c
1909
if ((child == 0) && (node == OF_finddevice("/"))) {
sys/arm/mv/mv_common.c
1942
if ((sb = OF_finddevice("cpu")) != -1)
sys/arm/mv/mv_common.c
511
if ((node = OF_finddevice("/")) == -1)
sys/arm/nvidia/tegra124/tegra124_coretemp.c
176
root = OF_finddevice("/");
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
472
root = OF_finddevice("/");
sys/arm/ti/am335x/am335x_lcd.c
971
root = OF_finddevice("/");
sys/arm/ti/am335x/am335x_lcd_syscons.c
382
root = OF_finddevice("/");
sys/arm/ti/am335x/am335x_musb.c
269
opp_table = OF_finddevice("/opp-table");
sys/arm/ti/am335x/am335x_pwmss.c
110
opp_table = OF_finddevice("/opp-table");
sys/arm/ti/am335x/am335x_scm.c
122
opp_table = OF_finddevice("/opp-table");
sys/arm/ti/cpsw/if_cpsw.c
1036
opp_table = OF_finddevice("/opp-table");
sys/arm64/arm64/machdep.c
934
root = OF_finddevice("/");
sys/arm64/nvidia/tegra210/tegra210_coretemp.c
181
root = OF_finddevice("/");
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
390
root = OF_finddevice("/");
sys/arm64/qoriq/qoriq_therm.c
402
root = OF_finddevice("/");
sys/dev/adb/adb_kbd.c
338
handle = OF_finddevice("mac-io/via-pmu/adb/keyboard");
sys/dev/clk/allwinner/aw_ccu.c
161
root = OF_finddevice("/");
sys/dev/dwc/if_dwc_socfpga.c
82
root = OF_finddevice("/");
sys/dev/etherswitch/ar40xx/ar40xx_main.c
289
psgmii_p = OF_finddevice("/soc/ess-psgmii");
sys/dev/etherswitch/ar40xx/ar40xx_main.c
301
root_p = OF_finddevice("/soc");
sys/dev/etherswitch/e6000sw/e6000sw.c
228
switch_node = ofw_bus_find_compatible(OF_finddevice("/"),
sys/dev/etherswitch/e6000sw/e6000sw.c
231
switch_node = ofw_bus_find_compatible(OF_finddevice("/"),
sys/dev/etherswitch/ip17x/ip17x.c
99
ip17x_node = fdt_find_compatible(OF_finddevice("/"),
sys/dev/fdt/fdt_arm_platform.c
63
root = OF_finddevice("/");
sys/dev/fdt/fdt_common.c
417
root = OF_finddevice("/");
sys/dev/fdt/fdt_common.c
418
memory = OF_finddevice("/memory");
sys/dev/fdt/fdt_common.c
466
root = OF_finddevice("/reserved-memory");
sys/dev/fdt/fdt_common.c
506
memory = OF_finddevice("/memory");
sys/dev/fdt/fdt_common.c
549
chosen = OF_finddevice("/chosen");
sys/dev/iicbus/adc/ad7417.c
531
eeprom_node = OF_finddevice("/u3/i2c/cpuid@a0");
sys/dev/iicbus/adc/ad7417.c
533
eeprom_node = OF_finddevice("/u3/i2c/cpuid@a2");
sys/dev/mmc/host/dwmmc_altera.c
75
root = OF_finddevice("/");
sys/dev/mmc/host/dwmmc_starfive.c
76
node = OF_finddevice("/");
sys/dev/neta/if_mvneta_fdt.c
292
return mvneta_find_ethernet_prop_switch(node, OF_finddevice("/"));
sys/dev/ofw/ofw_bus_subr.c
306
root = OF_finddevice("/");
sys/dev/ofw/ofw_console.c
166
if ((chosen = OF_finddevice("/chosen")) == -1) {
sys/dev/ofw/ofw_console.c
97
if ((options = OF_finddevice("/options")) == -1 ||
sys/dev/ofw/ofw_cpu.c
420
node = OF_finddevice("/cpus");
sys/dev/ofw/ofw_disk.c
146
ofd = OF_finddevice("ofwdisk");
sys/dev/ofw/ofw_firmware.c
110
root = OF_finddevice("/");
sys/dev/ofw/ofw_subr.c
200
chosen = OF_finddevice("/chosen");
sys/dev/ofw/openfirm.c
254
if ((chosen = OF_finddevice("/chosen")) != -1)
sys/dev/ofw/openfirm.h
130
phandle_t OF_finddevice(const char *path);
sys/dev/ofw/openfirmio.c
122
*(phandle_t *) data = OF_finddevice("/options");
sys/dev/ofw/openfirmio.c
255
node = OF_finddevice(name);
sys/dev/sdhci/sdhci_fdt_cvitek.c
107
node = ofw_bus_find_compatible(OF_finddevice("/"), "syscon");
sys/dev/sdhci/sdhci_fsl_fdt.c
652
syscon_node = ofw_bus_find_compatible(OF_finddevice("/"),
sys/dev/sdhci/sdhci_fsl_fdt.c
888
if (ofw_bus_node_is_compatible(OF_finddevice("/"), "fsl,lx2160a"))
sys/dev/uart/uart_bus_fdt.c
131
if ((*node = OF_finddevice(buf)) == -1)
sys/dev/uart/uart_bus_fdt.c
206
if ((chosen = OF_finddevice("/chosen")) != -1) {
sys/dev/uart/uart_bus_fdt.c
214
node = OF_finddevice("serial0"); /* Last ditch */
sys/dev/uart/uart_bus_fdt.c
216
node = OF_finddevice(cp);
sys/dev/uart/uart_cpu_powerpc.c
116
opts = OF_finddevice("/options");
sys/dev/uart/uart_cpu_powerpc.c
117
chosen = OF_finddevice("/chosen");
sys/dev/uart/uart_cpu_powerpc.c
143
input = OF_finddevice("serial0"); /* Last ditch */
sys/dev/uart/uart_cpu_powerpc.c
154
input = OF_finddevice(buf);
sys/dev/uart/uart_cpu_powerpc.c
61
input = OF_finddevice(buf);
sys/dev/uart/uart_cpu_powerpc.c
68
if (OF_finddevice(buf) != input)
sys/dev/uart/uart_cpu_powerpc.c
96
output = OF_finddevice(field.buf);
sys/dev/usb/net/if_smsc.c
1585
node = OF_finddevice("/chosen");
sys/dev/vnic/thunder_bgx_fdt.c
338
node = OF_finddevice(bgx_sel);
sys/dev/vt/hw/fb/vt_early_fb.c
138
chosen = OF_finddevice("/chosen");
sys/dev/vt/hw/fb/vt_early_fb.c
149
node = OF_finddevice("screen");
sys/dev/vt/hw/ofwfb/ofwfb.c
106
chosen = OF_finddevice("/chosen");
sys/dev/vt/hw/ofwfb/ofwfb.c
116
node = OF_finddevice(buf);
sys/dev/vt/hw/ofwfb/ofwfb.c
122
node = OF_finddevice("screen");
sys/dev/vt/hw/ofwfb/ofwfb.c
507
chosen = OF_finddevice("/chosen");
sys/dev/vt/hw/ofwfb/ofwfb.c
514
node = OF_finddevice(buf);
sys/dev/vt/hw/ofwfb/ofwfb.c
523
node = OF_finddevice("screen");
sys/dev/vt/hw/simplefb/simplefb.c
127
chosen = OF_finddevice("/chosen");
sys/powerpc/aim/mmu_oea.c
895
chosen = OF_finddevice("/chosen");
sys/powerpc/aim/mmu_oea64.c
1117
chosen = OF_finddevice("/chosen");
sys/powerpc/aim/mmu_oea64.c
663
OF_getencprop(OF_finddevice("/"), "#address-cells", &acells,
sys/powerpc/amigaone/platform_amigaone.c
68
rootnode = OF_finddevice("/");
sys/powerpc/booke/platform_bare.c
107
if ((cpus = OF_finddevice("/cpus")) == -1)
sys/powerpc/cpufreq/mpc85xx_jog.c
126
node = OF_finddevice("/soc");
sys/powerpc/cpufreq/pmcr.c
48
node = OF_finddevice("/ibm,opal/power-mgt");
sys/powerpc/mambo/mambo_console.c
129
if (OF_finddevice("/mambo") == -1) {
sys/powerpc/mambo/mambo_console.c
82
if (OF_finddevice("/mambo") == -1)
sys/powerpc/mikrotik/platform_rb.c
62
rootnode = OF_finddevice("/");
sys/powerpc/mpc85xx/mpc85xx.c
338
soc = OF_finddevice("/soc");
sys/powerpc/mpc85xx/platform_mpc85xx.c
154
if ((cpus = OF_finddevice("/cpus")) != -1) {
sys/powerpc/mpc85xx/platform_mpc85xx.c
169
ccsr = OF_finddevice(*name);
sys/powerpc/mpc85xx/platform_mpc85xx.c
239
if ((cpus = OF_finddevice("/cpus")) == -1)
sys/powerpc/mpc85xx/platform_mpc85xx.c
314
node = OF_finddevice("/cpus");
sys/powerpc/mpc85xx/platform_mpc85xx.c
350
node = OF_finddevice("/cpus");
sys/powerpc/ofw/ofw_initrd.c
66
chosen = OF_finddevice("/chosen");
sys/powerpc/ofw/ofw_machdep.c
183
phandle = OF_finddevice("/");
sys/powerpc/ofw/ofw_machdep.c
249
phandle = OF_finddevice("/");
sys/powerpc/ofw/ofw_machdep.c
359
chosen = OF_finddevice("/chosen");
sys/powerpc/ofw/ofw_machdep.c
434
chosen = OF_finddevice("/chosen");
sys/powerpc/ofw/ofw_machdep.c
545
phandle = OF_finddevice("/chosen");
sys/powerpc/ofw/ofw_syscons.c
247
chosen = OF_finddevice("/chosen");
sys/powerpc/ofw/ofw_syscons.c
255
node = OF_finddevice("screen");
sys/powerpc/ofw/openpic_ofw.c
104
if (OF_finddevice("/u4") != (phandle_t)-1)
sys/powerpc/ofw/rtas.c
81
rtas = OF_finddevice("/rtas");
sys/powerpc/powermac/atibl.c
106
if (OF_finddevice("mac-io/backlight") == -1)
sys/powerpc/powermac/atibl.c
118
handle = OF_finddevice("mac-io/backlight");
sys/powerpc/powermac/macio.c
453
if ((child = OF_finddevice("/cpus/PowerPC,G4@0")) != -1 &&
sys/powerpc/powermac/nvbl.c
84
if (OF_finddevice("mac-io/backlight") == -1)
sys/powerpc/powermac/nvbl.c
96
handle = OF_finddevice("mac-io/backlight");
sys/powerpc/powermac/platform_powermac.c
138
memory = OF_finddevice("/memory");
sys/powerpc/powermac/platform_powermac.c
140
memory = OF_finddevice("/memory@0");
sys/powerpc/powermac/platform_powermac.c
214
rootnode = OF_finddevice("/");
sys/powerpc/powermac/platform_powermac.c
283
dev = OF_finddevice("/cpus");
sys/powerpc/powermac/platform_powermac.c
329
chosen = OF_finddevice("/chosen");
sys/powerpc/powermac/smu.c
293
if (OF_finddevice("/u3") != -1)
sys/powerpc/powermac/uninorth.c
364
iparent = OF_finddevice("/u3/mpic");
sys/powerpc/powermac/uninorth.c
415
child = OF_finddevice("enet");
sys/powerpc/powernv/opal.c
45
opal = OF_finddevice("/ibm,opal");
sys/powerpc/powernv/opal_console.c
251
if ((chosen = OF_finddevice("/chosen")) == -1)
sys/powerpc/powernv/opal_console.c
258
input = OF_finddevice(buf);
sys/powerpc/powernv/opal_dbg.c
63
if ((dev = OF_finddevice(buf)) == -1)
sys/powerpc/powernv/opal_dev.c
155
iparent = OF_finddevice("/interrupt-controller@0");
sys/powerpc/powernv/platform_powernv.c
152
opal = OF_finddevice("/ibm,opal");
sys/powerpc/powerpc/machdep.c
541
chosen = OF_finddevice("/chosen");
sys/powerpc/ps3/platform_ps3.c
113
root = OF_finddevice("/");
sys/powerpc/ps3/platform_ps3.c
144
if (OF_finddevice("/") != -1) {
sys/powerpc/ps3/ps3_syscons.c
105
root = OF_finddevice("/");
sys/powerpc/pseries/phyp_console.c
199
if ((chosen = OF_finddevice("/chosen")) == -1)
sys/powerpc/pseries/phyp_dbg.c
64
if ((vty = OF_finddevice(buf)) == -1)
sys/powerpc/pseries/phyp_vscsi.c
796
OF_getprop(OF_finddevice("/"), "ibm,partition-name",
sys/powerpc/pseries/phyp_vscsi.c
799
OF_getprop(OF_finddevice("/"), "ibm,partition-no",
sys/powerpc/pseries/platform_chrp.c
125
if (OF_finddevice("/memory") != -1 || OF_finddevice("/memory@0") != -1)
sys/powerpc/pseries/platform_chrp.c
220
phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory");
sys/powerpc/pseries/platform_chrp.c
324
cpus = OF_finddevice("/cpus");
sys/powerpc/pseries/platform_chrp.c
429
chosen = OF_finddevice("/chosen");
sys/powerpc/pseries/plpar_pcibus.c
81
rtas = OF_finddevice("/rtas");
sys/riscv/riscv/identcpu.c
375
node = OF_finddevice("/cpus");
sys/riscv/riscv/intc.c
82
node = OF_finddevice("/cpus");
sys/riscv/riscv/machdep.c
443
chosen = OF_finddevice("/chosen");
sys/riscv/riscv/timer.c
163
node = OF_finddevice("/cpus");
sys/riscv/vmm/vmm_vtimer.c
54
node = OF_finddevice("/cpus");