| /freebsd-14.2/sys/powerpc/powernv/ |
| H A D | platform_powernv.c | 189 cpu = OF_child(cpu); in powernv_attach() 199 cpu = OF_child(cpu); in powernv_attach() 291 dev = OF_child(root); in powernv_timebase_freq() 299 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in powernv_timebase_freq() 330 dev = OF_child(dev); in powernv_cpuref_init() 340 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in powernv_cpuref_init() 453 dev = OF_child(root); in powernv_smp_probe_threads() 462 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in powernv_smp_probe_threads()
|
| /freebsd-14.2/sys/arm/freescale/vybrid/ |
| H A D | vf_iomuxc.c | 139 for (child = OF_child(parent); child != 0; child = OF_peer(child)) { in pinmux_set() 141 while (OF_child(child)) { in pinmux_set() 143 child = OF_child(child); in pinmux_set()
|
| H A D | vf_ccm.c | 407 for (child = OF_child(parent); child != 0; child = OF_peer(child)) { in ccm_fdt_set() 409 while (OF_child(child)) { in ccm_fdt_set() 411 child = OF_child(child); in ccm_fdt_set()
|
| /freebsd-14.2/sys/dev/ofw/ |
| H A D | ofw_graph.c | 72 for (child = OF_child(ports); child != 0; child = OF_peer(child)) { in ofw_graph_get_port_by_idx() 91 for (num = 0, child = OF_child(port); child != 0; in ofw_graph_port_get_num_endpoints() 118 for (child = OF_child(port); child != 0; child = OF_peer(child)) { in ofw_graph_get_endpoint_by_idx()
|
| H A D | openfirmio.c | 86 if (sid == tid || openfirm_checkid(OF_child(sid), tid)) in openfirm_checkid() 249 node = OF_child(node); in openfirm_ioctl()
|
| /freebsd-14.2/sys/dev/dpaa/ |
| H A D | bman_fdt.c | 125 for (node = OF_child(node); node > 0; node = OF_peer(node)) { in bman_portals_fdt_probe() 149 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in bman_portal_find_cpu() 180 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in bman_portals_fdt_attach()
|
| H A D | qman_fdt.c | 125 for (node = OF_child(node); node > 0; node = OF_peer(node)) { in qman_portals_fdt_probe() 149 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in qman_portal_find_cpu() 208 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in qman_portals_fdt_attach()
|
| /freebsd-14.2/sys/arm/allwinner/ |
| H A D | aw_dwc3.c | 78 if (OF_child(node) <= 0) in aw_dwc3_probe() 123 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in aw_dwc3_attach()
|
| /freebsd-14.2/sys/dev/usb/controller/ |
| H A D | xlnx_dwc3.c | 81 if (OF_child(node) <= 0) in xlnx_dwc3_probe() 130 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in xlnx_dwc3_attach()
|
| /freebsd-14.2/sys/dev/qcom_dwc3/ |
| H A D | qcom_dwc3.c | 81 if (OF_child(node) <= 0) in qcom_dwc3_probe() 154 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in qcom_dwc3_attach()
|
| /freebsd-14.2/sys/powerpc/mpc85xx/ |
| H A D | platform_mpc85xx.c | 155 for (maxcpu = 0, child = OF_child(cpus); child != 0; in mpc85xx_attach() 174 child = OF_child(OF_peer(0)); in mpc85xx_attach() 175 for (OF_child(child); child != 0; child = OF_peer(child)) { in mpc85xx_attach() 242 if ((child = OF_child(cpus)) == 0) in mpc85xx_timebase_freq() 339 for (i = 0, node = OF_child(node); i < pc->pc_cpuid; in mpc85xx_smp_start_cpu_epapr()
|
| /freebsd-14.2/sys/dev/fdt/ |
| H A D | fdt_pinctrl.c | 93 for (node = OF_child(parent); node != 0; node = OF_peer(node)) { in pinctrl_register_children() 126 for (node = OF_child(parent); node != 0; node = OF_peer(node)) { in pinctrl_configure_children()
|
| H A D | fdt_common.c | 262 for (child = OF_child(start); child != 0; child = OF_peer(child)) in fdt_find_compatible() 281 for (node = OF_child(start); node != 0; node = OF_peer(node)) { in fdt_depth_search_compatible() 524 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in fdt_get_reserved_mem()
|
| /freebsd-14.2/sys/arm64/rockchip/ |
| H A D | rk_dwc3.c | 89 if (OF_child(node) <= 0) in rk_dwc3_probe() 180 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in rk_dwc3_attach()
|
| /freebsd-14.2/sys/dev/gpio/ |
| H A D | gpioled_fdt.c | 171 for (child = OF_child(leds); child != 0; child = OF_peer(child)) { in gpioled_attach() 183 for (child = OF_child(leds); child != 0; child = OF_peer(child)) { in gpioled_attach()
|
| /freebsd-14.2/sys/dev/vnic/ |
| H A D | thunder_bgx_fdt.c | 228 for (node = OF_child(start); node != 0; node = OF_peer(node)) { in bgx_fdt_traverse_nodes() 232 if (OF_child(node) != 0) { in bgx_fdt_traverse_nodes() 390 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in bgx_fdt_init_phy()
|
| /freebsd-14.2/sys/dev/neta/ |
| H A D | if_mvneta_fdt.c | 186 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in mvneta_fdt_phy_acquire() 265 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in mvneta_find_ethernet_prop_switch()
|
| /freebsd-14.2/sys/powerpc/powermac/ |
| H A D | smusat.c | 118 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; in smusat_attach() 136 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; in smusat_attach()
|
| H A D | macio.c | 260 child = OF_child(devnode); in macio_add_reg() 362 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in macio_attach() 379 macio_add_reg(OF_child(child), dinfo); in macio_attach() 383 for (subchild = OF_child(child); subchild != 0; in macio_attach()
|
| /freebsd-14.2/sys/dev/extres/regulator/ |
| H A D | regulator_bus.c | 64 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ofw_regulator_bus_attach()
|
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | intc.c | 88 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in intc_ofw_find() 107 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in intc_ofw_find()
|
| /freebsd-14.2/sys/dev/extres/clk/ |
| H A D | clk_bus.c | 67 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ofw_clkbus_attach()
|
| /freebsd-14.2/stand/libofw/ |
| H A D | openfirm.h | 86 phandle_t OF_child(phandle_t);
|
| /freebsd-14.2/sys/powerpc/pseries/ |
| H A D | platform_chrp.c | 328 for (cpunode = OF_child(cpus); cpunode != 0; cpunode = OF_peer(cpunode)) { in chrp_timebase_freq() 409 dev = OF_child(dev); in chrp_cpuref_init() 454 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in chrp_cpuref_init()
|
| /freebsd-14.2/sys/dev/sound/macio/ |
| H A D | i2s.c | 172 subchild = OF_child(OF_child(ofw_bus_get_node(self))); in i2s_probe() 584 for (n = OF_child(node); n != -1; n = OF_peer(n)) { in of_find_firstchild_byname()
|