Home
last modified time | relevance | path

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

12345

/freebsd/sys/powerpc/powernv/
H A Dplatform_powernv.c188 cpu = OF_child(cpu); in powernv_attach()
198 cpu = OF_child(cpu); in powernv_attach()
290 dev = OF_child(root); in powernv_timebase_freq()
298 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in powernv_timebase_freq()
329 dev = OF_child(dev); in powernv_cpuref_init()
339 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in powernv_cpuref_init()
452 dev = OF_child(root); in powernv_smp_probe_threads()
461 for (cpu = OF_child(dev); cpu != 0; cpu = OF_peer(cpu)) { in powernv_smp_probe_threads()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_iomuxc.c138 for (child = OF_child(parent); child != 0; child = OF_peer(child)) { in pinmux_set()
140 while (OF_child(child)) { in pinmux_set()
142 child = OF_child(child); in pinmux_set()
H A Dvf_ccm.c406 for (child = OF_child(parent); child != 0; child = OF_peer(child)) { in ccm_fdt_set()
408 while (OF_child(child)) { in ccm_fdt_set()
410 child = OF_child(child); in ccm_fdt_set()
/freebsd/sys/dev/ofw/
H A Dofw_graph.c72 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 Dopenfirmio.c84 if (sid == tid || openfirm_checkid(OF_child(sid), tid)) in openfirm_checkid()
247 node = OF_child(node); in openfirm_ioctl()
/freebsd/sys/dev/dpaa/
H A Dbman_fdt.c125 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 Dqman_fdt.c125 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/sys/dev/usb/controller/dwc3/
H A Daw_dwc3.c77 if (OF_child(node) <= 0) in aw_dwc3_probe()
122 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in aw_dwc3_attach()
H A Drk_dwc3.c88 if (OF_child(node) <= 0) in rk_dwc3_probe()
179 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in rk_dwc3_attach()
/freebsd/sys/dev/usb/controller/
H A Dxlnx_dwc3.c81 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/sys/dev/qcom_dwc3/
H A Dqcom_dwc3.c80 if (OF_child(node) <= 0) in qcom_dwc3_probe()
153 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in qcom_dwc3_attach()
/freebsd/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c155 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/sys/dev/fdt/
H A Dfdt_pinctrl.c92 for (node = OF_child(parent); node != 0; node = OF_peer(node)) { in pinctrl_register_children()
125 for (node = OF_child(parent); node != 0; node = OF_peer(node)) { in pinctrl_configure_children()
H A Dfdt_common.c261 for (child = OF_child(start); child != 0; child = OF_peer(child)) in fdt_find_compatible()
280 for (node = OF_child(start); node != 0; node = OF_peer(node)) { in fdt_depth_search_compatible()
523 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in fdt_get_reserved_mem()
/freebsd/sys/dev/gpio/
H A Dgpioled_fdt.c171 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/sys/dev/vnic/
H A Dthunder_bgx_fdt.c227 for (node = OF_child(start); node != 0; node = OF_peer(node)) { in bgx_fdt_traverse_nodes()
231 if (OF_child(node) != 0) { in bgx_fdt_traverse_nodes()
389 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in bgx_fdt_init_phy()
/freebsd/sys/dev/neta/
H A Dif_mvneta_fdt.c186 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/sys/powerpc/powermac/
H A Dsmusat.c117 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; in smusat_attach()
135 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; in smusat_attach()
H A Dmacio.c269 child = OF_child(devnode); in macio_add_reg()
371 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in macio_attach()
388 macio_add_reg(OF_child(child), dinfo); in macio_attach()
392 for (subchild = OF_child(child); subchild != 0; in macio_attach()
/freebsd/sys/riscv/riscv/
H A Dintc.c88 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/sys/dev/regulator/
H A Dregulator_bus.c63 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ofw_regulator_bus_attach()
/freebsd/sys/powerpc/pseries/
H A Dplatform_chrp.c328 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/sys/dev/clk/
H A Dclk_bus.c66 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ofw_clkbus_attach()
/freebsd/stand/libofw/
H A Dopenfirm.h86 phandle_t OF_child(phandle_t);
/freebsd/sys/dev/sound/macio/
H A Di2s.c172 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()

12345