Home
last modified time | relevance | path

Searched refs:of_address_to_resource (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/openbmc/linux/include/linux/
H A Dof_address.h62 extern int of_address_to_resource(struct device_node *dev, int index,
161 extern int of_address_to_resource(struct device_node *dev, int index,
165 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource() function
195 while (of_address_to_resource(np, count, &res) == 0) in of_address_count()
/openbmc/linux/arch/powerpc/sysdev/
H A Dtsi108_dev.c49 of_address_to_resource(tsi, 0, &res); in get_csrbase()
81 ret = of_address_to_resource(np, 0, &r[0]); in tsi108_eth_of_init()
107 ret = of_address_to_resource(mdio, 0, &res); in tsi108_eth_of_init()
H A Dof_rtc.c44 err = of_address_to_resource(node, 0, res); in of_instantiate_rtc()
H A Drtc_cmos_setup.c34 ret = of_address_to_resource(np, 0, &res[0]); in add_rtc()
/openbmc/linux/arch/mips/lantiq/falcon/
H A Dsysctrl.c204 if (of_address_to_resource(np_status, 0, &res_status) || in ltq_soc_init()
205 of_address_to_resource(np_ebu, 0, &res_ebu) || in ltq_soc_init()
206 of_address_to_resource(np_sys1, 0, &res_sys[0]) || in ltq_soc_init()
207 of_address_to_resource(np_syseth, 0, &res_sys[1]) || in ltq_soc_init()
208 of_address_to_resource(np_sysgpe, 0, &res_sys[2])) in ltq_soc_init()
/openbmc/linux/drivers/usb/host/
H A Dehci-ppc-of.c110 rv = of_address_to_resource(dn, 0, &res); in ehci_hcd_ppc_of_probe()
139 if (!of_address_to_resource(np, 0, &res)) in ehci_hcd_ppc_of_probe()
207 if (!of_address_to_resource(np, 0, &res)) in ehci_hcd_ppc_of_remove()
H A Dohci-ppc-of.c106 rv = of_address_to_resource(dn, 0, &res); in ohci_hcd_ppc_of_probe()
161 if (!of_address_to_resource(np, 0, &res)) { in ohci_hcd_ppc_of_probe()
/openbmc/linux/drivers/ata/
H A Dpata_of_platform.c35 ret = of_address_to_resource(dn, 0, &io_res); in pata_of_platform_probe()
42 ret = of_address_to_resource(dn, 1, &ctl_res); in pata_of_platform_probe()
/openbmc/linux/arch/x86/kernel/
H A Ddevicetree.c117 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
152 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
246 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
/openbmc/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c211 if (of_address_to_resource(np, 0, &apbmisc) < 0) { in tegra_init_apbmisc()
216 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
/openbmc/linux/arch/sparc/kernel/
H A Dof_device_common.c27 int of_address_to_resource(struct device_node *node, int index, in of_address_to_resource() function
38 EXPORT_SYMBOL_GPL(of_address_to_resource);
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dpci.c140 if (np == NULL || of_address_to_resource(np, 0, &r)) { in hydra_init()
170 if (of_address_to_resource(dev, 0, &r)) { in setup_python()
237 if (of_address_to_resource(dev, 0, &r) && !is_longtrail) { in chrp_find_bridges()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c138 ret = of_address_to_resource(np_splitter, 0, &res_splitter); in socfpga_dwmac_parse_data()
159 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
181 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
203 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
/openbmc/linux/drivers/clk/mvebu/
H A Darmada_ap_cp_helper.c25 of_address_to_resource(np, 0, &res); in ap_cp_unique_name()
/openbmc/linux/drivers/cpufreq/
H A Dpasemi-cpufreq.c154 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
172 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
H A Dmvebu-cpufreq.c44 ret = of_address_to_resource(np, 1, &res); in armada_xp_pmsu_cpufreq_init()
/openbmc/linux/arch/powerpc/kernel/
H A Drtas_pci.c161 if (of_address_to_resource(dev, 0, &registers)) { in python_countermeasures()
206 if (of_address_to_resource(phb, 0, &r)) in get_phb_buid()
/openbmc/u-boot/include/dm/
H A Dof_addr.h60 int of_address_to_resource(const struct device_node *no, int index,
/openbmc/linux/drivers/irqchip/
H A Dirq-orion.c79 of_address_to_resource(np, n, &r); in orion_irq_init()
163 ret = of_address_to_resource(np, 0, &r); in orion_bridge_irq_init()
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dsetup.c75 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
312 ret = of_address_to_resource(np, 0, &r); in maple_cpc925_edac_setup()
/openbmc/linux/drivers/reset/
H A Dreset-sunxi.c34 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
/openbmc/linux/drivers/input/serio/
H A Dxilinx_ps2.c243 error = of_address_to_resource(dev->of_node, 0, &r_mem); in xps2_of_probe()
341 if (of_address_to_resource(of_dev->dev.of_node, 0, &r_mem)) in xps2_of_remove()
/openbmc/linux/arch/arm/mach-ux500/
H A Dcpu-db8500.c86 of_address_to_resource(np, 0, &r); in ux500_init_irq()
/openbmc/linux/arch/arm/mach-mvebu/
H A Dcpu-reset.c45 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map()
/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-lpc-ctrl.c242 rc = of_address_to_resource(node, 1, &resm); in aspeed_lpc_ctrl_probe()
261 rc = of_address_to_resource(node, 0, &resm); in aspeed_lpc_ctrl_probe()

12345678910>>...14