Home
last modified time | relevance | path

Searched refs:of_get_next_child (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v4.19/drivers/macintosh/
Dwindfarm_smu_controls.c269 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
274 fans && (fan = of_get_next_child(fans, fan)) != NULL;) { in smu_controls_init()
289 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
293 fans && (fan = of_get_next_child(fans, fan)) != NULL;) { in smu_controls_init()
Dmacio_asic.c482 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
499 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
512 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
Dwindfarm_lm87_sensor.c113 while ((np = of_get_next_child(client->dev.of_node, np)) != NULL) { in wf_lm87_probe()
Dwindfarm_smu_sensors.c427 (sensors = of_get_next_child(smu, sensors)) != NULL;) in smu_sensors_init()
435 sensors && (s = of_get_next_child(sensors, s)) != NULL;) { in smu_sensors_init()
Drack-meter.c379 while ((i2s = of_get_next_child(mdev->ofdev.dev.of_node, i2s)) != NULL) in rackmeter_probe()
387 while ((np = of_get_next_child(i2s, np)) != NULL) { in rackmeter_probe()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c57 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port()
82 ep = of_get_next_child(parent, prev); in omapdss_of_get_next_endpoint()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dpfunc_base.c105 (gparent = of_get_next_child(macio->of_node, gparent)) != NULL;) in macio_gpio_init_one()
118 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) { in macio_gpio_init_one()
137 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) in macio_gpio_init_one()
315 for (np = NULL; (np = of_get_next_child(uninorth_node, np)) != NULL;) in uninorth_install_pfunc()
Dudbg_scc.c87 for (ch = NULL; (ch = of_get_next_child(escc, ch)) != NULL;) { in udbg_scc_init()
Dlow_i2c.c619 child = of_get_next_child(np, NULL); in kw_i2c_probe()
637 (child = of_get_next_child(np, child)) != NULL;) { in kw_i2c_probe()
921 (busnode = of_get_next_child(controller, busnode)) != NULL;) { in smu_i2c_probe()
1202 (np = of_get_next_child(bus->busnode, np)) != NULL;) { in pmac_i2c_devscan()
/Linux-v4.19/sound/soc/generic/
Daudio-graph-scu-card.c211 cpu_ep = of_get_next_child(cpu_port, NULL); in asoc_graph_card_parse_of()
247 cpu_ep = of_get_next_child(cpu_port, NULL); in asoc_graph_card_parse_of()
306 cpu_ep = of_get_next_child(cpu_port, NULL); in asoc_graph_get_dais_count()
/Linux-v4.19/drivers/video/fbdev/nvidia/
Dnv_of.c46 (dp = of_get_next_child(parent, dp)) != NULL;) { in nvidia_probe_of_connector()
/Linux-v4.19/arch/powerpc/platforms/pasemi/
Dmisc.c64 while ((node = of_get_next_child(adap_node, node))) { in pasemi_register_i2c_devices()
/Linux-v4.19/arch/arm/mach-mvebu/
Dmvebu-soc-id.c74 child = of_get_next_child(np, NULL); in get_soc_id_by_pci()
/Linux-v4.19/drivers/pinctrl/freescale/
Dpinctrl-mxs.c408 child = of_get_next_child(np, NULL); in mxs_pinctrl_probe_dt()
467 for (child2 = of_get_next_child(np, child); in mxs_pinctrl_probe_dt()
469 child2 = of_get_next_child(np, child2)) { in mxs_pinctrl_probe_dt()
/Linux-v4.19/sound/aoa/soundbus/i2sbus/
Dcore.c179 while ((child = of_get_next_child(np, child))) { in i2sbus_add_dev()
344 while ((np = of_get_next_child(dev->ofdev.dev.of_node, np))) { in i2sbus_probe()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Ddlpar.c265 child = of_get_next_child(dn, NULL); in dlpar_detach_node()
268 child = of_get_next_child(dn, child); in dlpar_detach_node()
/Linux-v4.19/arch/powerpc/platforms/52xx/
Defika.c86 pcictrl = of_get_next_child(root, pcictrl); in efika_pcisetup()
/Linux-v4.19/include/linux/
Dof.h291 extern struct device_node *of_get_next_child(const struct device_node *node,
625 static inline struct device_node *of_get_next_child( in of_get_next_child() function
1214 for (child = of_get_next_child(parent, NULL); child != NULL; \
1215 child = of_get_next_child(parent, child))
/Linux-v4.19/drivers/video/
Dof_display_timing.c166 entry = of_get_next_child(timings_np, NULL); in of_get_display_timings()
/Linux-v4.19/arch/sparc/kernel/
Dvio.c369 dp = of_get_next_child(cdev_node, NULL); in vio_create_one()
374 dp = of_get_next_child(cdev_node, dp); in vio_create_one()
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.c121 if (of_get_next_child(dev->of_node, NULL)) { in mtk_mdp_probe()
/Linux-v4.19/drivers/of/
Dproperty.c636 endpoint = of_get_next_child(port, prev); in of_graph_get_next_endpoint()
646 port = of_get_next_child(parent, port); in of_graph_get_next_endpoint()
/Linux-v4.19/sound/ppc/
Dtumbler.c1067 for (np = of_get_next_child(gpiop, NULL); np; in find_audio_device()
1068 np = of_get_next_child(gpiop, np)) { in find_audio_device()
1087 for (np = of_get_next_child(gpiop, NULL); np; in find_compatible_audio_device()
1088 np = of_get_next_child(gpiop, np)) { in find_compatible_audio_device()
/Linux-v4.19/drivers/pci/hotplug/
Drpadlpar_core.c49 while ((dn = of_get_next_child(parent, dn))) { in find_vio_slot_node()
/Linux-v4.19/drivers/hwmon/
Dads1015.c184 || !of_get_next_child(client->dev.of_node, NULL)) in ads1015_get_channels_config_of()

123