Home
last modified time | relevance | path

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

/linux-4.4.14/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()
Dwindfarm_lm87_sensor.c113 while ((np = of_get_next_child(client->dev.of_node, np)) != NULL) { in wf_lm87_probe()
Dmacio_asic.c481 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
498 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
511 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
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.c378 while ((i2s = of_get_next_child(mdev->ofdev.dev.of_node, i2s)) != NULL) in rackmeter_probe()
386 while ((np = of_get_next_child(i2s, np)) != NULL) { in rackmeter_probe()
Dwindfarm_smu_sat.c232 while ((child = of_get_next_child(dev, child)) != NULL) { in wf_sat_probe()
Dwindfarm_fcu_controls.c433 while ((np = of_get_next_child(fcu, np)) != NULL) { in wf_fcu_lookup_fans()
Dsmu.c634 for (np = NULL; (np = of_get_next_child(smu->of_node, np)) != NULL;) in smu_expose_childs()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss-of.c56 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port()
81 ep = of_get_next_child(parent, prev); in omapdss_of_get_next_endpoint()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpfunc_base.c104 (gparent = of_get_next_child(macio->of_node, gparent)) != NULL;) in macio_gpio_init_one()
117 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) { in macio_gpio_init_one()
136 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) in macio_gpio_init_one()
314 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()
920 (busnode = of_get_next_child(controller, busnode)) != NULL;) { in smu_i2c_probe()
1200 (np = of_get_next_child(bus->busnode, np)) != NULL;) { in pmac_i2c_devscan()
Dpci.c894 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) { in pmac_pci_init()
Dfeature.c1423 phy = of_get_next_child(node, NULL); in g5_eth_phy_reset()
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dmisc.c64 while ((node = of_get_next_child(adap_node, node))) { in pasemi_register_i2c_devices()
Dpci.c227 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) in pas_pci_init()
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_of.c46 (dp = of_get_next_child(parent, dp)) != NULL;) { in nvidia_probe_of_connector()
/linux-4.4.14/arch/arm/mach-mvebu/
Dmvebu-soc-id.c74 child = of_get_next_child(np, NULL); in get_soc_id_by_pci()
/linux-4.4.14/include/linux/
Dof.h263 extern struct device_node *of_get_next_child(const struct device_node *node,
442 static inline struct device_node *of_get_next_child( in of_get_next_child() function
900 for (child = of_get_next_child(parent, NULL); child != NULL; \
901 child = of_get_next_child(parent, child))
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-mxs.c408 child = of_get_next_child(np, NULL); in mxs_pinctrl_probe_dt()
464 for (child2 = of_get_next_child(np, child); in mxs_pinctrl_probe_dt()
466 child2 = of_get_next_child(np, child2)) { in mxs_pinctrl_probe_dt()
/linux-4.4.14/arch/powerpc/platforms/52xx/
Defika.c86 pcictrl = of_get_next_child(root, pcictrl); in efika_pcisetup()
/linux-4.4.14/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-4.4.14/arch/sparc/kernel/
Dvio.c303 dp = of_get_next_child(cdev_node, NULL); in vio_create_one()
308 dp = of_get_next_child(cdev_node, dp); in vio_create_one()
Dpci.c551 while ((child = of_get_next_child(node, child)) != NULL) { in pci_of_scan_bus()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Ddlpar.c273 child = of_get_next_child(dn, NULL); in dlpar_detach_node()
276 child = of_get_next_child(dn, child); in dlpar_detach_node()
Dreconfig.c77 if ((child = of_get_next_child(np, NULL))) { in pSeries_reconfig_remove_node()
/linux-4.4.14/drivers/video/
Dof_display_timing.c163 entry = of_get_next_child(timings_np, NULL); in of_get_display_timings()
/linux-4.4.14/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-4.4.14/drivers/of/
Dbase.c665 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child() function
676 EXPORT_SYMBOL(of_get_next_child);
2212 endpoint = of_get_next_child(port, prev); in of_graph_get_next_endpoint()
2222 port = of_get_next_child(parent, port); in of_graph_get_next_endpoint()
/linux-4.4.14/drivers/hwmon/
Dads1015.c183 || !of_get_next_child(client->dev.of_node, NULL)) in ads1015_get_channels_config_of()
/linux-4.4.14/drivers/pci/hotplug/
Drpadlpar_core.c53 while ((dn = of_get_next_child(parent, dn))) { in find_vio_slot_node()
/linux-4.4.14/drivers/mtd/nand/
Dndfc.c174 flash_np = of_get_next_child(node, NULL); in ndfc_chip_init()
Dfsl_upm.c181 flash_np = of_get_next_child(upm_np, NULL); in fun_chip_init()
/linux-4.4.14/sound/aoa/core/
Dgpio-feature.c76 while ((np = of_get_next_child(gpio, np))) { in get_gpio()
/linux-4.4.14/drivers/pci/host/
Dpci-dra7xx.c189 struct device_node *pcie_intc_node = of_get_next_child(node, NULL); in dra7xx_pcie_init_irq_domain()
Dpcie-xilinx.c560 pcie_intc_node = of_get_next_child(node, NULL); in xilinx_pcie_init_irq_domain()
/linux-4.4.14/arch/powerpc/platforms/maple/
Dpci.c586 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) { in maple_pci_init()
/linux-4.4.14/arch/powerpc/kernel/
Dvio.c1483 node_child = of_get_next_child(node_root, NULL); in vio_bus_scan_register_devices()
1486 node_child = of_get_next_child(node_root, node_child); in vio_bus_scan_register_devices()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dmedia-dev.c338 ep = of_get_next_child(port, NULL); in fimc_md_parse_port_node()
428 port = of_get_next_child(node, NULL); in fimc_md_register_sensor_entities()
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-tpg.c746 endpoint = of_get_next_child(port, NULL); in xtpg_parse_of()
/linux-4.4.14/drivers/staging/octeon/
Dethernet.c639 node = of_get_next_child(parent, node); in cvm_oct_of_get_child()
/linux-4.4.14/sound/aoa/fabrics/
Dlayout.c1003 while ((sound = of_get_next_child(sdev->ofdev.dev.of_node, sound))) { in aoa_fabric_layout_probe()
/linux-4.4.14/drivers/edac/
Dcpc925_edac.c613 while ((cpunode = of_get_next_child(cpus, cpunode)) != NULL) { in cpc925_cpu_mask_disabled()
/linux-4.4.14/drivers/mtd/devices/
Dspear_smi.c780 while ((pp = of_get_next_child(np, pp))) { in spear_smi_probe_config_dt()
/linux-4.4.14/drivers/usb/gadget/udc/
Datmel_usba_udc.c1949 while ((pp = of_get_next_child(np, pp))) in atmel_udc_of_init()
1963 while ((pp = of_get_next_child(np, pp))) { in atmel_udc_of_init()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_main.c3106 while ((eth_dn = of_get_next_child(lhea_dn, eth_dn))) { in ehea_setup_ports()
3144 while ((eth_dn = of_get_next_child(lhea_dn, eth_dn))) { in ehea_get_eth_dn()
/linux-4.4.14/drivers/tty/serial/
Dpmac_zilog.c1665 for (np = NULL; (np = of_get_next_child(node_p, np)) != NULL;) { in pmz_probe()