Home
last modified time | relevance | path

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

12345678910>>...13

/linux/include/linux/
H A Dof_address.h63 extern int of_address_to_resource(struct device_node *dev, int index,
162 extern int of_address_to_resource(struct device_node *dev, int index,
166 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource() function
196 while (of_address_to_resource(np, count, &res) == 0) in of_address_count()
/linux/arch/mips/lantiq/falcon/
H A Dsysctrl.c200 if (of_address_to_resource(np_status, 0, &res_status) || in ltq_soc_init()
201 of_address_to_resource(np_ebu, 0, &res_ebu) || in ltq_soc_init()
202 of_address_to_resource(np_sys1, 0, &res_sys[0]) || in ltq_soc_init()
203 of_address_to_resource(np_syseth, 0, &res_sys[1]) || in ltq_soc_init()
204 of_address_to_resource(np_sysgpe, 0, &res_sys[2])) in ltq_soc_init()
/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()
/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()
/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()
/linux/arch/x86/kernel/
H A Ddevicetree.c119 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
155 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
249 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
/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()
/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);
/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c240 if (of_address_to_resource(np, 0, &apbmisc) < 0) { in tegra_init_apbmisc()
245 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
/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()
/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()
/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()
/linux/drivers/clk/mvebu/
H A Darmada_ap_cp_helper.c25 of_address_to_resource(np, 0, &res); in ap_cp_unique_name()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c150 ret = of_address_to_resource(np_splitter, 0, &res_splitter); in socfpga_dwmac_parse_data()
171 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
193 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
215 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
/linux/drivers/input/serio/
H A Dxilinx_ps2.c237 error = of_address_to_resource(dev->of_node, 0, &r_mem); in xps2_of_probe()
335 if (of_address_to_resource(of_dev->dev.of_node, 0, &r_mem)) in xps2_of_remove()
/linux/arch/powerpc/platforms/83xx/
H A Dsuspend.c365 ret = of_address_to_resource(np, 0, &res); in pmc_probe()
385 ret = of_address_to_resource(np, 1, &res); in pmc_probe()
/linux/drivers/reset/
H A Dreset-sunxi.c34 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
/linux/drivers/of/
H A Dplatform.c123 rc = of_address_to_resource(np, i, res); in of_device_alloc()
240 ret = of_address_to_resource(node, 0, &dev->res); in of_amba_device_create()
290 if (!of_address_to_resource(np, 0, &res)) in of_dev_lookup()
/linux/arch/arm/mach-mvebu/
H A Dcpu-reset.c45 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map()
/linux/arch/arm/mach-ux500/
H A Dcpu-db8500.c86 of_address_to_resource(np, 0, &r); in ux500_init_irq()
/linux/arch/mips/kernel/
H A Dmips-cpc.c30 err = of_address_to_resource(cpc_node, 0, &res); in mips_cpc_default_phys_base()

12345678910>>...13