Searched refs:of_node_get (Results 1 - 112 of 112) sorted by relevance

/linux-4.1.27/arch/powerpc/sysdev/
H A Dmpc5xxx_clocks.c19 of_node_get(node); mpc5xxx_get_bus_frequency()
H A Dscom.c38 for (par = of_node_get(node); par;) { scom_find_parent()
196 ent->dn = of_node_get(dn); scom_debug_init_one()
H A Ddcr.c33 for (par = of_node_get(node); par;) { find_dcr_parent()
H A Dmsi_bitmap.c133 bmp->of_node = of_node_get(of_node); msi_bitmap_alloc()
H A Ddart_iommu.c335 struct device_node *np = of_node_get(dev->of_node); dart_device_on_pcie()
H A Dfsl_gtm.c430 of_node_get(np); fsl_gtm_init()
H A Dmpic.c1258 node = of_node_get(node); mpic_alloc()
H A Dppc4xx_pci.c2124 port->node = of_node_get(np); ppc4xx_probe_pciex_bridge()
/linux-4.1.27/drivers/pci/
H A Dof.c37 bus->dev.of_node = of_node_get(bus->self->dev.of_node); pci_set_bus_of_node()
57 return of_node_get(bus->bridge->of_node); pcibios_get_phb_of_node()
59 return of_node_get(bus->bridge->parent->of_node); pcibios_get_phb_of_node()
/linux-4.1.27/drivers/cpufreq/
H A Darm_big_little_dt.c51 np = of_node_get(cpu_dev->of_node); dt_init_opp_table()
68 np = of_node_get(cpu_dev->of_node); dt_get_transition_latency()
H A Dhighbank-cpufreq.c79 np = of_node_get(cpu_dev->of_node); hb_cpufreq_driver_init()
H A Dcpufreq-dt.c204 np = of_node_get(cpu_dev->of_node); cpufreq_init()
338 struct device_node *np = of_node_get(priv->cpu_dev->of_node); cpufreq_ready()
H A Dimx6q-cpufreq.c171 np = of_node_get(cpu_dev->of_node); imx6q_cpufreq_probe()
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dudbg_scc.c89 ch_def = of_node_get(ch); udbg_scc_init()
91 ch_a = of_node_get(ch); udbg_scc_init()
H A Dpic.c326 of_node_get(master); pmac_pic_probe_oldstyle()
491 master = of_node_get(np); pmac_pic_probe_mpic()
493 slave = of_node_get(np); pmac_pic_probe_mpic()
H A Dlow_i2c.c580 bus->controller = of_node_get(controller); kw_i2c_add()
581 bus->busnode = of_node_get(busnode); kw_i2c_add()
934 bus->busnode = of_node_get(busnode); smu_i2c_probe()
960 struct device_node *p = of_node_get(node); pmac_i2c_find_bus()
H A Dpfunc_core.c728 dev->node = of_node_get(np); pmf_register_driver()
810 struct device_node *actor = of_node_get(target); __pmf_find_function()
H A Dpci.c901 of_node_get(np); pmac_pci_init()
904 of_node_get(np); pmac_pci_init()
/linux-4.1.27/include/linux/
H A Dof_device.h53 return of_node_get(cpu_dev->of_node); of_cpu_device_node_get()
H A Dof.h105 extern struct device_node *of_node_get(struct device_node *node);
109 static inline struct device_node *of_node_get(struct device_node *node) of_node_get() function
/linux-4.1.27/drivers/of/
H A Dplatform.c141 dev->dev.of_node = of_node_get(np); of_device_alloc()
242 dev->dev.of_node = of_node_get(node); of_amba_device_create()
393 root = root ? of_node_get(root) : of_find_node_by_path("/"); of_platform_bus_probe()
443 root = root ? of_node_get(root) : of_find_node_by_path("/"); of_platform_populate()
H A Dirq.c60 if (!of_node_get(child)) of_irq_find_parent()
69 p = of_node_get(of_irq_dflt_pic); of_irq_find_parent()
108 ipar = of_node_get(out_irq->np); of_irq_parse_raw()
137 old = of_node_get(ipar); of_irq_parse_raw()
207 newpar = of_node_get(of_irq_dflt_pic); of_irq_parse_raw()
H A Ddynamic.c18 * of_node_get() - Increment refcount of a node
24 struct device_node *of_node_get(struct device_node *node) of_node_get() function
30 EXPORT_SYMBOL(of_node_get); variable
772 ce->np = of_node_get(np); of_changeset_action()
H A Dbase.c279 of_node_get(np); of_find_all_nodes()
607 np = of_node_get(node->parent); of_get_parent()
633 parent = of_node_get(node->parent); of_get_next_parent()
650 if (of_node_get(next)) __of_get_next_child()
703 if (of_node_get(next)) of_get_next_available_child()
785 return of_node_get(of_root); of_find_node_opts_by_path()
814 np = of_node_get(of_root);
847 && of_node_get(np)) of_find_node_by_name()
876 && of_node_get(np)) of_find_node_by_type()
907 of_node_get(np)) of_find_compatible_node()
938 of_node_get(np); for_each_of_allnodes_from()
1019 if (m && of_node_get(np)) { for_each_of_allnodes_from()
1077 of_node_get(np); of_find_node_by_phandle()
H A Dof_mdio.c73 of_node_get(child); of_mdiobus_register_phy()
H A Daddress.c555 of_node_get(dev); __of_translate_address()
932 struct device_node *node = of_node_get(np); of_dma_get_range()
1009 struct device_node *node = of_node_get(np); of_dma_is_coherent()
/linux-4.1.27/drivers/regulator/
H A Dof_regulator.c261 match->of_node = of_node_get(child); for_each_child_of_node()
321 of_node_get(child); for_each_child_of_node()
H A Daxp20x-regulator.c181 np = of_node_get(pdev->dev.parent->of_node); axp20x_regulator_parse_dt()
H A Dbcm590xx-regulator.c336 np = of_node_get(np); bcm590xx_parse_dt_reg_data()
H A Dda9055-regulator.c558 nproot = of_node_get(pdev->dev.parent->of_node); da9055_regulator_dt_init()
H A Dpfuze100-regulator.c403 np = of_node_get(dev->of_node); pfuze_parse_regulators_dt()
H A Dcore.c3668 rdev->dev.of_node = of_node_get(config->of_node); regulator_register()
/linux-4.1.27/drivers/pinctrl/
H A Ddevicetree.c120 np_pctldev = of_node_get(np_config); dt_to_map_one_config()
196 of_node_get(np); pinctrl_dt_to_map()
/linux-4.1.27/drivers/macintosh/
H A Dmacio_asic.c470 pnode = of_node_get(chip->of_node); macio_pci_add_devices()
484 of_node_get(np); macio_pci_add_devices()
501 of_node_get(np); macio_pci_add_devices()
514 of_node_get(np); macio_pci_add_devices()
702 of_node_get(np); macio_pci_probe()
H A Dwindfarm_smu_sat.c222 sat->node = of_node_get(dev); wf_sat_probe()
/linux-4.1.27/drivers/net/phy/
H A Dmdio-mux.c166 of_node_get(child_bus_node); mdio_mux_init()
H A Dfixed_phy.c295 of_node_get(np); fixed_phy_register()
/linux-4.1.27/drivers/bus/
H A Dvexpress-config.c59 of_node_get(node); vexpress_config_find_prop()
/linux-4.1.27/arch/powerpc/platforms/512x/
H A Dmpc5121_ads_cpld.c191 cpld_pic_node = of_node_get(np); mpc5121_ads_cpld_pic_init()
/linux-4.1.27/arch/c6x/platforms/
H A Dtimer64.c196 np = of_node_get(first); timer64_init()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Daxon_msi.c160 dn = of_node_get(pci_device_to_OF_node(dev)); find_msi_translator()
209 dn = of_node_get(pci_device_to_OF_node(dev)); setup_msi_msg_address()
H A Dinterrupt.c307 iic->node = of_node_get(node); init_one_iic()
H A Dspu_manage.c311 spu->devnode = of_node_get(spe); of_create_spu()
H A Diommu.c902 np = of_node_get(dev->of_node); cell_iommu_get_fixed_address()
/linux-4.1.27/arch/mips/pci/
H A Dpci-rt3883.c437 of_node_get(child)) { for_each_child_of_node()
454 of_node_get(child)) { for_each_child_of_node()
H A Dpci.c166 return of_node_get(hose->of_node); pcibios_get_phb_of_node()
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dp1022_ds.c494 of_node_get(np); p1022_ds_setup_arch()
517 of_node_get(np); p1022_ds_setup_arch()
/linux-4.1.27/drivers/irqchip/
H A Dirq-omap-intc.c393 ret = omap_init_irq(-1, of_node_get(node)); intc_of_init()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-opal.c236 adapter->dev.of_node = of_node_get(pdev->dev.of_node); i2c_opal_probe()
H A Di2c-powermac.c372 info.of_node = of_node_get(node); i2c_powermac_register_devices()
H A Di2c-cpm.c656 cpm->adap.dev.of_node = of_node_get(ofdev->dev.of_node); cpm_i2c_probe()
H A Di2c-ibm_iic.c746 adap->dev.of_node = of_node_get(np); iic_probe()
H A Di2c-mpc.c737 i2c->adap.dev.of_node = of_node_get(op->dev.of_node); fsl_i2c_probe()
H A Di2c-pnx.c644 alg_data->adapter.dev.of_node = of_node_get(pdev->dev.of_node); i2c_pnx_probe()
/linux-4.1.27/drivers/video/backlight/
H A Dsky81452-backlight.c175 struct device_node *np = of_node_get(dev->of_node); sky81452_bl_parse_dt()
H A Dtps65217_bl.c187 struct device_node *node = of_node_get(tps->dev->of_node); tps65217_bl_parse_dt()
/linux-4.1.27/arch/powerpc/platforms/pasemi/
H A Dpci.c229 of_node_get(np); pas_pci_init()
/linux-4.1.27/arch/powerpc/kernel/
H A Disa-bridge.c179 isa_bridge_devnode = of_node_get(devnode); isa_bridge_find_late()
H A Dpci_of_scan.c140 dev->dev.of_node = of_node_get(node); of_create_pci_dev()
H A Dcacheinfo.c148 cache->ofnode = of_node_get(ofnode); cache_init()
H A Dlegacy_serial.c140 legacy_serial_infos[index].np = of_node_get(np); add_legacy_port()
H A Dprom.c791 of_node_get(np); of_get_ibm_chip_id()
H A Dpci-common.c1618 return of_node_get(hose->dn); pcibios_get_phb_of_node()
H A Dvio.c1415 viodev->dev.of_node = of_node_get(of_node); vio_register_device_node()
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dpci.c594 of_node_get(np); maple_pci_init()
597 of_node_get(np); maple_pci_init()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dsetup.c152 for (old = of_node_get(found); old != NULL ; old = np) { pseries_setup_i8259_cascade()
238 pSeries_mpic_node = of_node_get(np); pseries_discover_pic()
H A Dmsi.c179 dn = of_node_get(pci_device_to_OF_node(dev)); find_pe_total_msi()
/linux-4.1.27/drivers/gpio/
H A Dgpiolib-of.c437 of_node_get(chip->of_node); of_gpiochip_add()
H A Dgpio-tz1090.c542 info.node = of_node_get(node); for_each_available_child_of_node()
H A Dgpio-omap.c1184 bank->chip.of_node = of_node_get(node); omap_gpio_probe()
/linux-4.1.27/drivers/dma/bestcomm/
H A Dbestcomm.c378 of_node_get(op->dev.of_node); mpc52xx_bcom_probe()
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_opal.c344 struct device_node *stdout_node = of_node_get(of_stdout); hvc_opal_init_early()
/linux-4.1.27/drivers/power/
H A Dltc2941-battery-gauge.c416 np = of_node_get(client->dev.of_node); ltc294x_i2c_probe()
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-imx6q.c347 np = of_node_get(cpu_dev->of_node); imx6q_opp_init()
/linux-4.1.27/drivers/mfd/
H A Dpalmas.c546 palmas->i2c_clients[i]->dev.of_node = of_node_get(node); palmas_i2c_probe()
/linux-4.1.27/drivers/pci/host/
H A Dpci-xgene.c483 port->node = of_node_get(pdev->dev.of_node); xgene_pcie_probe_bridge()
/linux-4.1.27/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c454 of_node_get(child); for_each_child_of_node()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c356 priv->phy_dn = of_node_get(dn); bcmgenet_mii_probe()
/linux-4.1.27/drivers/base/
H A Dcacheinfo.c70 np = of_node_get(np);/* cpu node itself */ cache_setup_of_node()
/linux-4.1.27/drivers/gpu/host1x/
H A Dbus.c53 subdev->np = of_node_get(np); host1x_subdev_add()
/linux-4.1.27/drivers/thermal/
H A Dof-thermal.c471 sensor_np = of_node_get(dev->of_node); thermal_zone_of_sensor_register()
705 of_node_get(np); thermal_of_populate_trip()
/linux-4.1.27/drivers/pwm/
H A Dcore.c190 of_node_get(chip->dev->of_node); of_pwmchip_add()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_mipi_dsi.c160 dsi->dev.of_node = of_node_get(node); of_mipi_dsi_device_add()
/linux-4.1.27/drivers/clocksource/
H A Darm_arch_timer.c791 best_frame = of_node_get(frame); for_each_available_child_of_node()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal.c800 consoles = of_node_get(opal_node); opal_init()
H A Dpci-ioda.c2112 return of_node_get(hose->dn); pnv_pci_get_phb_node()
/linux-4.1.27/drivers/ata/
H A Dpata_macio.c1139 priv->node = of_node_get(mdev->ofdev.dev.of_node); pata_macio_attach()
1285 priv->node = of_node_get(np); pata_macio_pci_attach()
/linux-4.1.27/drivers/tty/serial/
H A Dpmac_zilog.c1667 node_a = of_node_get(np); pmz_probe()
1669 node_b = of_node_get(np); pmz_probe()
H A Dmpc52xx_uart.c1847 of_node_get(np); mpc52xx_uart_of_assign()
/linux-4.1.27/drivers/iommu/
H A Dfsl_pamu.c1254 pdev->dev.of_node = of_node_get(np); fsl_pamu_init()
/linux-4.1.27/drivers/leds/
H A Dleds-tca6507.c656 tca->gpio.of_node = of_node_get(client->dev.of_node); tca6507_probe_gpios()
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c962 fpi->phy_node = of_node_get(ofdev->dev.of_node); fs_enet_probe()
/linux-4.1.27/arch/sparc/kernel/
H A Dpci.c288 dev->dev.of_node = of_node_get(node); of_create_pci_dev()
/linux-4.1.27/drivers/clk/bcm/
H A Dclk-kona-setup.c849 ccu->node = of_node_get(node); kona_dt_ccu_setup()
/linux-4.1.27/drivers/thermal/samsung/
H A Dexynos_tmu.c966 of_node_get(np); exynos_of_sensor_conf()
/linux-4.1.27/kernel/irq/
H A Dirqdomain.c59 domain->of_node = of_node_get(of_node); __irq_domain_add()
/linux-4.1.27/sound/aoa/codecs/
H A Donyx.c1021 onyx->codec.node = of_node_get(node); onyx_i2c_probe()
H A Dtas.c902 tas->codec.node = of_node_get(node); tas_i2c_probe()
/linux-4.1.27/sound/ppc/
H A Dpmac.c964 sound = of_node_get(chip->node); snd_pmac_detect()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.c2294 deps[i].node = of_node_get(np); emac_check_deps()
3017 emac_boot_list[i++] = of_node_get(np); emac_make_bootlist()
/linux-4.1.27/drivers/net/ethernet/altera/
H A Daltera_tse_main.c810 phynode = of_node_get(priv->device->of_node); init_phy()
/linux-4.1.27/arch/microblaze/pci/
H A Dpci-common.c1340 return of_node_get(hose->dn); pcibios_get_phb_of_node()
/linux-4.1.27/arch/powerpc/mm/
H A Dnuma.c278 of_node_get(device); of_node_to_nid()
/linux-4.1.27/drivers/base/power/
H A Ddomain.c2046 cp->node = of_node_get(np); __of_genpd_add_provider()
/linux-4.1.27/drivers/i2c/
H A Di2c-core.c1288 info.of_node = of_node_get(node); of_i2c_register_device()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_main.c3255 phy_node = of_node_get(np); fec_probe()
H A Dgianfar.c961 priv->phy_node = of_node_get(np);
H A Ducc_geth.c3796 ug_info->phy_node = of_node_get(np); ucc_geth_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c2928 port->ofdev.dev.of_node = of_node_get(dn); ehea_register_port()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvneta.c3071 phy_node = of_node_get(dn); mvneta_probe()
/linux-4.1.27/drivers/spi/
H A Dspi.c1257 of_node_get(nc); of_register_spi_device()
/linux-4.1.27/drivers/clk/
H A Dclk.c2942 cp->node = of_node_get(np); of_clk_add_provider()

Completed in 2123 milliseconds