Searched refs:of_get_next_child (Results 1 - 48 of 48) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Ddss-of.c56 port = of_get_next_child(ports, prev); omapdss_of_get_next_port()
79 ep = of_get_next_child(parent, prev); omapdss_of_get_next_endpoint()
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_smu_controls.c269 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) smu_controls_init()
274 fans && (fan = of_get_next_child(fans, fan)) != NULL;) { smu_controls_init()
289 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) smu_controls_init()
293 fans && (fan = of_get_next_child(fans, fan)) != NULL;) { smu_controls_init()
H A Dwindfarm_lm87_sensor.c113 while ((np = of_get_next_child(client->dev.of_node, np)) != NULL) { wf_lm87_probe()
H A Dwindfarm_smu_sensors.c427 (sensors = of_get_next_child(smu, sensors)) != NULL;) smu_sensors_init()
435 sensors && (s = of_get_next_child(sensors, s)) != NULL;) { smu_sensors_init()
H A Dmacio_asic.c481 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { macio_pci_add_devices()
498 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { macio_pci_add_devices()
511 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { macio_pci_add_devices()
H A Drack-meter.c378 while ((i2s = of_get_next_child(mdev->ofdev.dev.of_node, i2s)) != NULL) rackmeter_probe()
386 while ((np = of_get_next_child(i2s, np)) != NULL) { rackmeter_probe()
H A Dwindfarm_smu_sat.c232 while ((child = of_get_next_child(dev, child)) != NULL) { wf_sat_probe()
H A Dwindfarm_fcu_controls.c433 while ((np = of_get_next_child(fcu, np)) != NULL) { wf_fcu_lookup_fans()
H A Dsmu.c634 for (np = NULL; (np = of_get_next_child(smu->of_node, np)) != NULL;) smu_expose_childs()
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_of.c46 (dp = of_get_next_child(parent, dp)) != NULL;) { nvidia_probe_of_connector()
/linux-4.1.27/arch/powerpc/platforms/pasemi/
H A Dmisc.c64 while ((node = of_get_next_child(adap_node, node))) { pasemi_register_i2c_devices()
H A Dpci.c227 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) pas_pci_init()
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dpfunc_base.c104 (gparent = of_get_next_child(macio->of_node, gparent)) != NULL;) macio_gpio_init_one()
117 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) { macio_gpio_init_one()
136 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) macio_gpio_init_one()
314 for (np = NULL; (np = of_get_next_child(uninorth_node, np)) != NULL;) uninorth_install_pfunc()
H A Dudbg_scc.c87 for (ch = NULL; (ch = of_get_next_child(escc, ch)) != NULL;) { udbg_scc_init()
H A Dlow_i2c.c619 child = of_get_next_child(np, NULL); kw_i2c_probe()
637 (child = of_get_next_child(np, child)) != NULL;) { kw_i2c_probe()
920 (busnode = of_get_next_child(controller, busnode)) != NULL;) { smu_i2c_probe()
1200 (np = of_get_next_child(bus->busnode, np)) != NULL;) { pmac_i2c_devscan()
H A Dpci.c894 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) { pmac_pci_init()
H A Dfeature.c1423 phy = of_get_next_child(node, NULL); g5_eth_phy_reset()
/linux-4.1.27/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c408 child = of_get_next_child(np, NULL); mxs_pinctrl_probe_dt()
452 * of_get_next_child(np, * child) for_each_child_of_node()
464 for (child2 = of_get_next_child(np, child); for_each_child_of_node()
466 child2 = of_get_next_child(np, child2)) { for_each_child_of_node()
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Defika.c86 pcictrl = of_get_next_child(root, pcictrl); efika_pcisetup()
/linux-4.1.27/arch/arm/mach-mvebu/
H A Dmvebu-soc-id.c74 child = of_get_next_child(np, NULL); get_soc_id_by_pci()
/linux-4.1.27/arch/sparc/kernel/
H A Dvio.c303 dp = of_get_next_child(cdev_node, NULL);
308 dp = of_get_next_child(cdev_node, dp);
H A Dpci.c554 while ((child = of_get_next_child(node, child)) != NULL) { pci_of_scan_bus()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Ddlpar.c294 child = of_get_next_child(dn, NULL); dlpar_detach_node()
297 child = of_get_next_child(dn, child); dlpar_detach_node()
H A Dreconfig.c107 if ((child = of_get_next_child(np, NULL))) { pSeries_reconfig_remove_node()
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
H A Dcore.c179 while ((child = of_get_next_child(np, child))) { i2sbus_add_dev()
344 while ((np = of_get_next_child(dev->ofdev.dev.of_node, np))) { i2sbus_probe()
/linux-4.1.27/drivers/mtd/nand/
H A Dfsl_upm.c181 flash_np = of_get_next_child(upm_np, NULL); fun_chip_init()
H A Dndfc.c176 flash_np = of_get_next_child(node, NULL); ndfc_chip_init()
/linux-4.1.27/drivers/hwmon/
H A Dads1015.c183 || !of_get_next_child(client->dev.of_node, NULL)) ads1015_get_channels_config_of()
/linux-4.1.27/drivers/video/
H A Dof_display_timing.c163 entry = of_get_next_child(timings_np, NULL); of_get_display_timings()
/linux-4.1.27/include/linux/
H A Dof.h262 extern struct device_node *of_get_next_child(const struct device_node *node,
436 static inline struct device_node *of_get_next_child( of_get_next_child() function
894 for (child = of_get_next_child(parent, NULL); child != NULL; \
895 child = of_get_next_child(parent, child))
/linux-4.1.27/sound/ppc/
H A Dtumbler.c1067 for (np = of_get_next_child(gpiop, NULL); np; find_audio_device()
1068 np = of_get_next_child(gpiop, np)) { find_audio_device()
1087 for (np = of_get_next_child(gpiop, NULL); np; find_compatible_audio_device()
1088 np = of_get_next_child(gpiop, np)) { find_compatible_audio_device()
/linux-4.1.27/drivers/pci/host/
H A Dpci-dra7xx.c176 struct device_node *pcie_intc_node = of_get_next_child(node, NULL); dra7xx_pcie_init_irq_domain()
H A Dpcie-xilinx.c561 pcie_intc_node = of_get_next_child(node, NULL); xilinx_pcie_init_irq_domain()
/linux-4.1.27/drivers/pci/hotplug/
H A Drpadlpar_core.c53 while ((dn = of_get_next_child(parent, dn))) { find_vio_slot_node()
/linux-4.1.27/drivers/gpu/drm/imx/
H A Dipuv3-crtc.c423 port = of_get_next_child(parent, port); ipu_drm_get_port_by_id()
/linux-4.1.27/sound/aoa/core/
H A Dgpio-feature.c76 while ((np = of_get_next_child(gpio, np))) { get_gpio()
/linux-4.1.27/drivers/of/
H A Dbase.c660 * of_get_next_child - Iterate a node childs
668 struct device_node *of_get_next_child(const struct device_node *node, of_get_next_child() function
679 EXPORT_SYMBOL(of_get_next_child); variable
686 * This function is like of_get_next_child(), except that it
2215 endpoint = of_get_next_child(port, prev); of_graph_get_next_endpoint()
2225 port = of_get_next_child(parent, port); of_graph_get_next_endpoint()
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dmedia-dev.c338 ep = of_get_next_child(port, NULL); fimc_md_parse_port_node()
428 port = of_get_next_child(node, NULL); for_each_available_child_of_node()
/linux-4.1.27/drivers/media/platform/xilinx/
H A Dxilinx-tpg.c746 endpoint = of_get_next_child(port, NULL); for_each_child_of_node()
/linux-4.1.27/drivers/staging/octeon/
H A Dethernet.c594 node = of_get_next_child(parent, node); cvm_oct_of_get_child()
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dpci.c586 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) { maple_pci_init()
/linux-4.1.27/sound/aoa/fabrics/
H A Dlayout.c1003 while ((sound = of_get_next_child(sdev->ofdev.dev.of_node, sound))) { aoa_fabric_layout_probe()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c1950 while ((pp = of_get_next_child(np, pp))) atmel_udc_of_init()
1964 while ((pp = of_get_next_child(np, pp))) { atmel_udc_of_init()
/linux-4.1.27/arch/powerpc/kernel/
H A Dvio.c1478 node_child = of_get_next_child(node_root, NULL); vio_bus_scan_register_devices()
1481 node_child = of_get_next_child(node_root, node_child); vio_bus_scan_register_devices()
/linux-4.1.27/drivers/mtd/devices/
H A Dspear_smi.c780 while ((pp = of_get_next_child(np, pp))) { spear_smi_probe_config_dt()
/linux-4.1.27/drivers/edac/
H A Dcpc925_edac.c613 while ((cpunode = of_get_next_child(cpus, cpunode)) != NULL) { cpc925_cpu_mask_disabled()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c3106 while ((eth_dn = of_get_next_child(lhea_dn, eth_dn))) { ehea_setup_ports()
3144 while ((eth_dn = of_get_next_child(lhea_dn, eth_dn))) { ehea_get_eth_dn()
/linux-4.1.27/drivers/tty/serial/
H A Dpmac_zilog.c1665 for (np = NULL; (np = of_get_next_child(node_p, np)) != NULL;) { pmz_probe()

Completed in 1405 milliseconds