Home
last modified time | relevance | path

Searched refs:OF_child (Results 1 – 25 of 115) sorted by relevance

12345

/netbsd-src/sys/arch/ofppc/ofppc/
H A Dcpu.c98 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in cpu_match()
118 for (node = OF_child(node); node; node = OF_peer(node)) { in cpu_OFgetspeed()
180 for (node = OF_child(node); node; node = OF_peer(node)) { in cpu_OFgetcache()
195 for (node = OF_child(cpu); node; node = OF_peer(node)) { in cpu_OFgetcache()
H A Dmachdep.c96 for (child = OF_child(node); child; child = OF_peer(child)) { in ranges_bitmap()
239 if ((phandle = OF_child(qhandle))) in model_init()
398 for (child = OF_child(isa_node); child; child = OF_peer(child)) { in ofppc_init_comcons()
/netbsd-src/sys/dev/ofw/
H A Dofbus.c69 if (!OF_child(oba->oba_phandle)) in ofbus_match()
165 for (child = OF_child(oba->oba_phandle); child != 0; in ofbus_attach()
192 for (child = OF_child(oba->oba_phandle); child != 0; in ofbus_attach()
H A Dofw_subr.c133 for (child = OF_child(phandle); child != 0; child = OF_peer(child)) { in of_device_enumerate_children()
401 for (nn = OF_child(node); nn; nn = OF_peer(nn)) { in of_find_firstchild_byname()
420 for (child = OF_child(node); child; child = OF_peer(child)) { in of_find_bycompat()
450 if ((next = OF_child(node)) != 0) in of_getnode_byname()
H A Dopenfirmio.c99 if (sid == tid || openfirmcheckid(OF_child(sid), tid)) in openfirmcheckid()
262 node = OF_child(node); in openfirmioctl()
H A Dofw_pci_subr.c65 for (phandle = OF_child(phandle); phandle != 0; in ofw_pci_bus_get_child_devhandle()
/netbsd-src/sys/dev/fdt/
H A Dfdt_port.c272 for (child = OF_child(port_phandle); child; child = OF_peer(child)) { in fdt_ports_register()
290 for (child = OF_child(port_phandle), i = 0; child; in fdt_ports_register()
329 for (child = OF_child(phandle); child; child = OF_peer(child)) { in fdt_endpoints_register()
345 for (child = OF_child(phandle), i = 0; child; child = OF_peer(child)) { in fdt_endpoints_register()
H A Dcpus.c69 for (child = OF_child(phandle); child; child = OF_peer(child)) { in cpus_attach()
/netbsd-src/sys/arch/macppc/macppc/
H A Dmainbus.c86 node = OF_child(cpus); in mainbus_attach()
115 for (node = OF_child(OF_finddevice("/")); node; node = OF_peer(node)) { in mainbus_attach()
H A Dcpu.c112 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in cpumatch()
142 for (node = OF_child(node); node; node = OF_peer(node)) { in cpu_OFgetspeed()
/netbsd-src/sys/arch/powerpc/pci/
H A Dpci_machdep_ofw.c88 if ((child = OF_child(node)) != 0) in genofw_find_ofpics()
263 for (node = OF_child(pcinode), nrofpcidevs=0; node; in genofw_setup_pciintr_map()
270 for (node = OF_child(pcinode); node; node = OF_peer(node)) { in genofw_setup_pciintr_map()
313 for (node = OF_child(pcinode); node; node = OF_peer(node)) { in genofw_setup_pciintr_map()
359 if ((p = OF_child(node))) in genofw_find_node_by_devfunc()
/netbsd-src/sys/arch/macppc/dev/
H A Dsmuiic.c95 devs = OF_child(sc->sc_node); in smuiic_attach()
112 devc = OF_child(devs); in smuiic_attach()
H A Dki2c.c148 child = OF_child(node); in ki2c_attach()
163 devs = OF_child(i2cbus[channel]); in ki2c_attach()
186 devc = OF_child(devs); in ki2c_attach()
/netbsd-src/sys/arch/riscv/fdt/
H A Dcpu_fdt.c78 for (int child = OF_child(cpus); child; child = OF_peer(child)) { in riscv_fdt_cpu_bootstrap()
133 for (int child = OF_child(cpus); child; child = OF_peer(child)) { in riscv_fdt_cpu_mpstart()
/netbsd-src/sys/arch/arm/rockchip/
H A Drk3328_iomux.c303 for (child = OF_child(phandle); child; child = OF_peer(child)) { in rk3328_iomux_attach()
304 for (sub = OF_child(child); sub; sub = OF_peer(sub)) { in rk3328_iomux_attach()
311 for (child = OF_child(phandle); child; child = OF_peer(child)) { in rk3328_iomux_attach()
H A Drk3288_iomux.c351 for (int child = OF_child(phandle); child; child = OF_peer(child)) { in rk3288_iomux_attach()
352 for (int sub = OF_child(child); sub; sub = OF_peer(sub)) { in rk3288_iomux_attach()
359 for (int child = OF_child(phandle); child; child = OF_peer(child)) { in rk3288_iomux_attach()
H A Drk3399_iomux.c507 for (child = OF_child(phandle); child; child = OF_peer(child)) { in rk3399_iomux_attach()
508 for (sub = OF_child(child); sub; sub = OF_peer(sub)) { in rk3399_iomux_attach()
515 for (child = OF_child(phandle); child; child = OF_peer(child)) { in rk3399_iomux_attach()
/netbsd-src/sys/arch/arm/nxp/
H A Dimx6_iomux.c176 for (int child = OF_child(phandle); child; child = OF_peer(child)) { in imxiomux_attach()
180 for (int sub = OF_child(child); sub; sub = OF_peer(sub)) { in imxiomux_attach()
/netbsd-src/sys/arch/ofppc/pci/
H A Dgt_mainbus.c135 for (node = OF_child(OF_finddevice("/")); node; node = OF_peer(node)) { in gt_match()
140 for (node = OF_child(node); node; in gt_match()
/netbsd-src/sys/arch/arm/ti/
H A Dam3_prcm.c286 for (child = OF_child(phandle); child; child = OF_peer(child)) { in am3_prcm_attach()
290 for (cm_child = OF_child(child); cm_child; in am3_prcm_attach()
/netbsd-src/sys/arch/arm/fdt/
H A Dcpu_fdt.c164 for (child = OF_child(cpus); child; child = OF_peer(child)) { in arm_fdt_cpu_bootstrap()
239 for (child = OF_child(cpus); child; child = OF_peer(child)) { in arm_fdt_cpu_mpstart()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_sramc.c128 for (child = OF_child(phandle); child; child = OF_peer(child)) { in sunxi_sramc_init_mmio()
150 for (child = OF_child(sc->sc_phandle); child; child = OF_peer(child)) { in sunxi_sramc_init()
/netbsd-src/sys/dev/i2c/
H A Di2cmux.c130 for (child = OF_child(sc->sc_i2c_mux_phandle), count = 0; child; in iicmux_count_children()
233 for (child = OF_child(sc->sc_i2c_mux_phandle), idx = 0; child; in iicmux_attach_fdt()
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dautoconf.c216 for (node = OF_child(node); node; node = OF_peer(node)) { in get_ncpus()
726 for (node = OF_child(node); node; node = OF_peer(node)) { in mainbus_attach()
743 node0 = OF_child(node); in mainbus_attach()
1350 for (node = OF_child(busnode); in device_register()
1408 sub = OF_child(ofnode); in device_register()
1484 for (ofnode = OF_child(ofnode); in device_register_post_config()
/netbsd-src/sys/arch/sparc/stand/ofwboot/
H A Dopenfirm.h64 int OF_child(int);

12345