Home
last modified time | relevance | path

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

12345

/freebsd/sys/arm/freescale/imx/
H A Dimx6_machdep.c106 if ((node = OF_finddevice(nodepath)) == -1) in fix_node_iparent()
124 gicnode = OF_finddevice("/soc/interrupt-controller@00a01000"); in fix_fdt_interrupt_data()
126 gicnode = OF_finddevice("/soc/interrupt-controller@a01000"); in fix_fdt_interrupt_data()
128 gicnode = OF_finddevice("/interrupt-controller@00a01000"); in fix_fdt_interrupt_data()
130 gicnode = OF_finddevice("/interrupt-controller@a01000"); in fix_fdt_interrupt_data()
142 gpcnode = OF_finddevice("/soc/aips-bus@02000000/gpc@020dc000"); in fix_fdt_interrupt_data()
144 gpcnode = OF_finddevice("/soc/aips-bus@2000000/gpc@20dc000"); in fix_fdt_interrupt_data()
146 gpcnode = OF_finddevice("/soc/bus@2000000/gpc@20dc000"); in fix_fdt_interrupt_data()
187 node = OF_finddevice("/soc/aips-bus@2000000/iomuxc-gpr@20e0000"); in fix_fdt_iomuxc_data()
189 node = OF_finddevice("/soc/bus@2000000/iomuxc-gpr@20e0000"); in fix_fdt_iomuxc_data()
/freebsd/sys/dev/uart/
H A Duart_cpu_powerpc.c61 input = OF_finddevice(buf); in ofw_get_uart_console()
68 if (OF_finddevice(buf) != input) in ofw_get_uart_console()
96 output = OF_finddevice(field.buf); in ofw_get_console_phandle_path()
116 opts = OF_finddevice("/options"); in uart_cpu_getdev()
117 chosen = OF_finddevice("/chosen"); in uart_cpu_getdev()
143 input = OF_finddevice("serial0"); /* Last ditch */ in uart_cpu_getdev()
154 input = OF_finddevice(buf); in uart_cpu_getdev()
H A Duart_bus_fdt.c131 if ((*node = OF_finddevice(buf)) == -1) in phandle_chosen_propdev()
206 if ((chosen = OF_finddevice("/chosen")) != -1) { in uart_cpu_fdt_probe()
214 node = OF_finddevice("serial0"); /* Last ditch */ in uart_cpu_fdt_probe()
216 node = OF_finddevice(cp); in uart_cpu_fdt_probe()
/freebsd/sys/arm/mv/
H A Dmv_armv7_machdep.c124 if ((node = OF_finddevice("/")) == -1){ in mv_busdma_tag_init()
167 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init()
173 if ((node = OF_finddevice("/")) == -1) in platform_mpp_init()
340 if ((node = OF_finddevice("/")) == -1) in mv_axp_platform_late_init()
374 if ((root = OF_finddevice("/")) == -1) in mv_a38x_platform_devmap_init()
/freebsd/sys/dev/fdt/
H A Dfdt_common.c212 if ((node = OF_finddevice("soc")) != -1) in fdt_immr_addr()
218 if ((node = OF_finddevice("/")) == -1) in fdt_immr_addr()
454 root = OF_finddevice("/"); in fdt_get_reserved_regions()
455 memory = OF_finddevice("/memory"); in fdt_get_reserved_regions()
510 root = OF_finddevice("/reserved-memory"); in fdt_get_reserved_mem()
553 memory = OF_finddevice("/memory"); in fdt_get_mem_regions()
613 chosen = OF_finddevice("/chosen"); in fdt_get_chosen_bootargs()
H A Dfdt_arm_platform.c63 root = OF_finddevice("/"); in fdt_platform_probe()
/freebsd/sys/powerpc/powermac/
H A Dplatform_powermac.c138 memory = OF_finddevice("/memory"); in powermac_mem_regions()
140 memory = OF_finddevice("/memory@0"); in powermac_mem_regions()
214 rootnode = OF_finddevice("/"); in powermac_attach()
283 dev = OF_finddevice("/cpus"); in powermac_smp_first_cpu()
329 chosen = OF_finddevice("/chosen"); in powermac_smp_get_bsp()
H A Dnvbl.c84 if (OF_finddevice("mac-io/backlight") == -1) in nvbl_identify()
96 handle = OF_finddevice("mac-io/backlight"); in nvbl_probe()
/freebsd/sys/powerpc/pseries/
H A Dplatform_chrp.c125 if (OF_finddevice("/memory") != -1 || OF_finddevice("/memory@0") != -1) in chrp_probe()
220 phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory"); in parse_drconf_memory()
324 cpus = OF_finddevice("/cpus"); in chrp_timebase_freq()
429 chosen = OF_finddevice("/chosen"); in chrp_cpuref_init()
/freebsd/sys/arm/annapurna/alpine/
H A Dalpine_machdep.c71 if ((node = OF_finddevice("/")) == -1) in alpine_get_devmap_base()
90 if ((node = OF_finddevice("/")) == -1) in alpine_get_wdt_base()
H A Dalpine_machdep_mp.c133 if ((node = OF_finddevice("/")) == -1) in alpine_get_cpu_resume_base()
159 if ((node = OF_finddevice("/")) == -1) in alpine_get_nb_base()
/freebsd/sys/powerpc/mambo/
H A Dmambo_console.c82 if (OF_finddevice("/mambo") == -1) in cn_drvinit()
129 if (OF_finddevice("/mambo") == -1) { in mambo_cnprobe()
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c106 chosen = OF_finddevice("/chosen"); in ofwfb_probe()
116 node = OF_finddevice(buf); in ofwfb_probe()
122 node = OF_finddevice("screen"); in ofwfb_probe()
507 chosen = OF_finddevice("/chosen"); in ofwfb_init()
514 node = OF_finddevice(buf); in ofwfb_init()
523 node = OF_finddevice("screen"); in ofwfb_init()
/freebsd/sys/dev/ofw/
H A Dofw_console.c97 if ((options = OF_finddevice("/options")) == -1 || in cn_drvinit()
166 if ((chosen = OF_finddevice("/chosen")) == -1) { in ofw_cnprobe()
H A Dopenfirmio.c122 *(phandle_t *) data = OF_finddevice("/options"); in openfirm_ioctl()
255 node = OF_finddevice(name); in openfirm_ioctl()
/freebsd/sys/powerpc/ofw/
H A Dofw_machdep.c183 phandle = OF_finddevice("/"); in parse_ofw_memory()
249 phandle = OF_finddevice("/"); in parse_numa_ofw_memory()
359 chosen = OF_finddevice("/chosen"); in excise_initrd_region()
434 chosen = OF_finddevice("/chosen"); in excise_fdt_reserved()
545 phandle = OF_finddevice("/chosen"); in ofw_mem_regions()
/freebsd/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c154 if ((cpus = OF_finddevice("/cpus")) != -1) { in mpc85xx_attach()
169 ccsr = OF_finddevice(*name); in mpc85xx_attach()
239 if ((cpus = OF_finddevice("/cpus")) == -1) in mpc85xx_timebase_freq()
338 node = OF_finddevice("/cpus"); in mpc85xx_smp_start_cpu_epapr()
/freebsd/sys/powerpc/ps3/
H A Dplatform_ps3.c113 root = OF_finddevice("/"); in ps3_probe()
144 if (OF_finddevice("/") != -1) { in ps3_mem_regions()
/freebsd/sys/dev/vt/hw/fb/
H A Dvt_early_fb.c138 chosen = OF_finddevice("/chosen"); in vt_efb_get_fbnode()
149 node = OF_finddevice("screen"); in vt_efb_get_fbnode()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_machdep.c67 src = OF_finddevice("src"); in vf_cpu_reset()
/freebsd/sys/powerpc/mikrotik/
H A Dplatform_rb.c62 rootnode = OF_finddevice("/"); in rb_probe()
/freebsd/sys/powerpc/powernv/
H A Dopal.c45 opal = OF_finddevice("/ibm,opal"); in opal_check()
/freebsd/sys/dev/dwc/
H A Dif_dwc_socfpga.c82 root = OF_finddevice("/"); in if_dwc_socfpga_mii_clk()
/freebsd/sys/dev/mmc/host/
H A Ddwmmc_altera.c75 root = OF_finddevice("/"); in altera_dwmmc_attach()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_machdep.c77 system = OF_finddevice("/system"); in bcm2835_late_init()

12345