| /freebsd-12.1/sys/arm/freescale/imx/ |
| H A D | imx6_machdep.c | 106 socnode = OF_finddevice("/soc"); in fix_fdt_interrupt_data() 115 gicnode = OF_finddevice("/soc/interrupt-controller@00a01000"); in fix_fdt_interrupt_data() 117 gicnode = OF_finddevice("/soc/interrupt-controller@a01000"); in fix_fdt_interrupt_data() 119 gicnode = OF_finddevice("/interrupt-controller@00a01000"); in fix_fdt_interrupt_data() 121 gicnode = OF_finddevice("/interrupt-controller@a01000"); in fix_fdt_interrupt_data() 133 gpcnode = OF_finddevice("/soc/aips-bus@02000000/gpc@020dc000"); in fix_fdt_interrupt_data() 135 gpcnode = OF_finddevice("/soc/aips-bus@2000000/gpc@20dc000"); in fix_fdt_interrupt_data() 174 node = OF_finddevice("/soc/aips-bus@2000000/iomuxc-gpr@20e0000"); in fix_fdt_iomuxc_data()
|
| /freebsd-12.1/sys/dev/uart/ |
| H A D | uart_cpu_powerpc.c | 64 input = OF_finddevice(buf); in ofw_get_uart_console() 71 if (OF_finddevice(buf) != input) in ofw_get_uart_console() 99 output = OF_finddevice(field.buf); in ofw_get_console_phandle_path() 119 opts = OF_finddevice("/options"); in uart_cpu_getdev() 120 chosen = OF_finddevice("/chosen"); in uart_cpu_getdev() 146 input = OF_finddevice("serial0"); /* Last ditch */ in uart_cpu_getdev() 157 input = OF_finddevice(buf); in uart_cpu_getdev()
|
| H A D | uart_cpu_sparc64.c | 73 if ((aliases = OF_finddevice("/aliases")) != -1) in uart_cpu_channel() 114 input = OF_finddevice(dev); in uart_cpu_getdev_console() 117 output = OF_finddevice(dev); in uart_cpu_getdev_console() 120 if ((chosen = OF_finddevice("/chosen")) == -1) in uart_cpu_getdev_console() 141 if ((chosen = OF_finddevice("/chosen")) == -1) in uart_cpu_getdev_console() 164 if ((input = OF_finddevice(dev)) == -1) in uart_cpu_getdev_dbgport() 186 if ((input = OF_finddevice("keyboard")) == -1) in uart_cpu_getdev_keyboard() 213 if ((options = OF_finddevice("/options")) == -1) in uart_cpu_getdev()
|
| H A D | uart_bus_fdt.c | 134 if ((*node = OF_finddevice(buf)) == -1) in phandle_chosen_propdev() 196 if ((chosen = OF_finddevice("/chosen")) != -1) { in uart_cpu_fdt_probe() 204 node = OF_finddevice("serial0"); /* Last ditch */ in uart_cpu_fdt_probe() 206 node = OF_finddevice(cp); in uart_cpu_fdt_probe()
|
| /freebsd-12.1/sys/arm/mv/ |
| H A D | armv5_machdep.c | 94 if ((node = OF_finddevice("/")) == -1) in mv_busdma_tag_init() 133 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init() 139 if ((node = OF_finddevice("/")) == -1) in platform_mpp_init() 294 if ((root = OF_finddevice("/")) == 0) in platform_sram_devmap() 297 if ((child = OF_finddevice("/sram")) != 0) in platform_sram_devmap() 357 if ((root = OF_finddevice("/")) == -1) in platform_devmap_init()
|
| H A D | mv_armv7_machdep.c | 126 if ((node = OF_finddevice("/")) == -1){ in mv_busdma_tag_init() 169 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init() 175 if ((node = OF_finddevice("/")) == -1) in platform_mpp_init() 343 if ((node = OF_finddevice("/")) == -1) in mv_axp_platform_late_init() 377 if ((root = OF_finddevice("/")) == -1) in mv_a38x_platform_devmap_init()
|
| /freebsd-12.1/sys/powerpc/powermac/ |
| H A D | platform_powermac.c | 131 memory = OF_finddevice("/memory"); in powermac_mem_regions() 133 memory = OF_finddevice("/memory@0"); in powermac_mem_regions() 208 rootnode = OF_finddevice("/"); in powermac_attach() 278 dev = OF_finddevice("/cpus"); in powermac_smp_first_cpu() 324 chosen = OF_finddevice("/chosen"); in powermac_smp_get_bsp()
|
| H A D | nvbl.c | 90 if (OF_finddevice("mac-io/backlight") == -1) in nvbl_identify() 102 handle = OF_finddevice("mac-io/backlight"); in nvbl_probe()
|
| /freebsd-12.1/sys/dev/fdt/ |
| H A D | fdt_common.c | 215 if ((node = OF_finddevice("soc")) != -1) in fdt_immr_addr() 221 if ((node = OF_finddevice("/")) == -1) in fdt_immr_addr() 457 root = OF_finddevice("/"); in fdt_get_reserved_regions() 458 memory = OF_finddevice("/memory"); in fdt_get_reserved_regions() 513 root = OF_finddevice("/reserved-memory"); in fdt_get_reserved_mem() 556 memory = OF_finddevice("/memory"); in fdt_get_mem_regions() 616 chosen = OF_finddevice("/chosen"); in fdt_get_chosen_bootargs()
|
| /freebsd-12.1/sys/dev/vt/hw/ofwfb/ |
| H A D | ofwfb.c | 97 chosen = OF_finddevice("/chosen"); in ofwfb_probe() 107 node = OF_finddevice(buf); in ofwfb_probe() 113 node = OF_finddevice("screen"); in ofwfb_probe() 373 chosen = OF_finddevice("/chosen"); in ofwfb_init() 380 node = OF_finddevice(buf); in ofwfb_init() 389 node = OF_finddevice("screen"); in ofwfb_init()
|
| /freebsd-12.1/sys/dev/fb/ |
| H A D | creator_vt.c | 79 chosen = OF_finddevice("/chosen"); in creatorfb_probe() 87 node = OF_finddevice("screen"); in creatorfb_probe() 116 chosen = OF_finddevice("/chosen"); in creatorfb_init() 124 node = OF_finddevice("screen"); in creatorfb_init()
|
| /freebsd-12.1/sys/powerpc/pseries/ |
| H A D | platform_chrp.c | 125 if (OF_finddevice("/memory") != -1 || OF_finddevice("/memory@0") != -1) in chrp_probe() 187 phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory"); in parse_drconf_memory() 292 cpus = OF_finddevice("/cpus"); in chrp_timebase_freq() 397 chosen = OF_finddevice("/chosen"); in chrp_cpuref_init()
|
| /freebsd-12.1/sys/arm/annapurna/alpine/ |
| H A D | alpine_machdep.c | 74 if ((node = OF_finddevice("/")) == -1) in alpine_get_devmap_base() 93 if ((node = OF_finddevice("/")) == -1) in alpine_get_wdt_base()
|
| H A D | alpine_machdep_mp.c | 135 if ((node = OF_finddevice("/")) == -1) in alpine_get_cpu_resume_base() 161 if ((node = OF_finddevice("/")) == -1) in alpine_get_nb_base()
|
| /freebsd-12.1/sys/powerpc/ofw/ |
| H A D | ofw_initrd.c | 73 chosen = OF_finddevice("/chosen"); in ofw_initrd_probe() 97 chosen = OF_finddevice("/chosen"); in ofw_initrd_attach()
|
| H A D | ofw_machdep.c | 178 phandle = OF_finddevice("/"); in parse_ofw_memory() 306 chosen = OF_finddevice("/chosen"); in excise_initrd_region() 381 chosen = OF_finddevice("/chosen"); in excise_fdt_reserved() 453 phandle = OF_finddevice("/chosen"); in ofw_mem_regions()
|
| /freebsd-12.1/sys/powerpc/mambo/ |
| H A D | mambo_console.c | 85 if (OF_finddevice("/mambo") == -1) in cn_drvinit() 132 if (OF_finddevice("/mambo") == -1) { in mambo_cnprobe()
|
| /freebsd-12.1/stand/common/ |
| H A D | metadata.c | 70 if ((node = OF_finddevice("/options")) == -1) in md_bootserial() 74 input = OF_finddevice(buf); in md_bootserial() 77 output = OF_finddevice(buf); in md_bootserial() 80 if ((node = OF_finddevice("/chosen")) == -1) in md_bootserial()
|
| /freebsd-12.1/sys/dev/ofw/ |
| H A D | ofw_console.c | 99 if ((options = OF_finddevice("/options")) == -1 || in cn_drvinit() 168 if ((chosen = OF_finddevice("/chosen")) == -1) { in ofw_cnprobe()
|
| H A D | openfirmio.c | 126 *(phandle_t *) data = OF_finddevice("/options"); in openfirm_ioctl() 249 node = OF_finddevice(name); in openfirm_ioctl()
|
| /freebsd-12.1/sys/powerpc/mpc85xx/ |
| H A D | platform_mpc85xx.c | 155 if ((cpus = OF_finddevice("/cpus")) != -1) { in mpc85xx_attach() 170 ccsr = OF_finddevice(*name); in mpc85xx_attach() 240 if ((cpus = OF_finddevice("/cpus")) == -1) in mpc85xx_timebase_freq() 339 node = OF_finddevice("/cpus"); in mpc85xx_smp_start_cpu_epapr()
|
| /freebsd-12.1/sys/arm/amlogic/aml8726/ |
| H A D | aml8726_clkmsr.c | 258 if ((node = OF_finddevice("clkmsr")) != -1) in aml8726_clkmsr_bus_frequency() 265 if ((node = OF_finddevice("/soc")) == -1) in aml8726_clkmsr_bus_frequency()
|
| /freebsd-12.1/sys/powerpc/ps3/ |
| H A D | platform_ps3.c | 114 root = OF_finddevice("/"); in ps3_probe() 145 if (OF_finddevice("/") != -1) { in ps3_mem_regions()
|
| /freebsd-12.1/sys/arm/freescale/vybrid/ |
| H A D | vf_machdep.c | 70 src = OF_finddevice("src"); in vf_cpu_reset()
|
| /freebsd-12.1/sys/powerpc/powernv/ |
| H A D | opal.c | 47 opal = OF_finddevice("/ibm,opal"); in opal_check()
|