Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v4.19/arch/mips/lantiq/falcon/
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()
/Linux-v4.19/include/linux/
Dof_address.h34 extern int of_address_to_resource(struct device_node *dev, int index,
120 extern int of_address_to_resource(struct device_node *dev, int index,
124 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource() function
/Linux-v4.19/drivers/ata/
Dpata_of_platform.c36 ret = of_address_to_resource(dn, 0, &io_res); in pata_of_platform_probe()
43 ret = of_address_to_resource(dn, 1, &ctl_res); in pata_of_platform_probe()
/Linux-v4.19/drivers/usb/host/
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()
206 if (!of_address_to_resource(np, 0, &res)) in ehci_hcd_ppc_of_remove()
Dohci-ppc-of.c108 rv = of_address_to_resource(dn, 0, &res); in ohci_hcd_ppc_of_probe()
163 if (!of_address_to_resource(np, 0, &res)) { in ohci_hcd_ppc_of_probe()
/Linux-v4.19/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c163 if (of_address_to_resource(np, 0, &apbmisc) < 0) { in tegra_init_apbmisc()
168 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
/Linux-v4.19/arch/x86/kernel/
Ddevicetree.c125 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
162 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
253 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
/Linux-v4.19/drivers/irqchip/
Dirq-orion.c60 while (of_address_to_resource(np, num_chips, &r) == 0) in orion_irq_init()
80 of_address_to_resource(np, n, &r); in orion_irq_init()
164 ret = of_address_to_resource(np, 0, &r); in orion_bridge_irq_init()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c139 ret = of_address_to_resource(np_splitter, 0, &res_splitter); in socfpga_dwmac_parse_data()
160 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
182 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
204 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
/Linux-v4.19/arch/powerpc/sysdev/
Dtsi108_dev.c85 ret = of_address_to_resource(np, 0, &r[0]); in tsi108_eth_of_init()
113 ret = of_address_to_resource(mdio, 0, &res); in tsi108_eth_of_init()
Dof_rtc.c46 err = of_address_to_resource(node, 0, res); in of_instantiate_rtc()
Drtc_cmos_setup.c34 ret = of_address_to_resource(np, 0, &res[0]); in add_rtc()
/Linux-v4.19/arch/sparc/kernel/
Dof_device_common.c26 int of_address_to_resource(struct device_node *node, int index, in of_address_to_resource() function
37 EXPORT_SYMBOL_GPL(of_address_to_resource);
/Linux-v4.19/arch/powerpc/platforms/chrp/
Dpci.c141 if (np == NULL || of_address_to_resource(np, 0, &r)) { in hydra_init()
171 if (of_address_to_resource(dev, 0, &r)) { in setup_python()
238 if (of_address_to_resource(dev, 0, &r) && !is_longtrail) { in chrp_find_bridges()
/Linux-v4.19/drivers/cpufreq/
Dpasemi-cpufreq.c158 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
176 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
Dmvebu-cpufreq.c47 ret = of_address_to_resource(np, 1, &res); in armada_xp_pmsu_cpufreq_init()
/Linux-v4.19/arch/powerpc/kernel/
Drtas_pci.c173 if (of_address_to_resource(dev, 0, &registers)) { in python_countermeasures()
218 if (of_address_to_resource(phb, 0, &r)) in get_phb_buid()
/Linux-v4.19/drivers/of/
Dplatform.c126 while (of_address_to_resource(np, num_reg, &temp_res) == 0) in of_device_alloc()
141 rc = of_address_to_resource(np, i, res); in of_device_alloc()
267 ret = of_address_to_resource(node, 0, &dev->res); in of_amba_device_create()
317 if (!of_address_to_resource(np, 0, &res)) in of_dev_lookup()
/Linux-v4.19/arch/powerpc/platforms/maple/
Dsetup.c80 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
340 ret = of_address_to_resource(np, 0, &r); in maple_cpc925_edac_setup()
/Linux-v4.19/arch/powerpc/platforms/83xx/
Dmpc834x_mds.c54 of_address_to_resource(np, 0, &res); in mpc834xemds_usb_cfg()
/Linux-v4.19/sound/soc/fsl/
Dfsl_utils.c55 ret = of_address_to_resource(dma_channel_np, 0, &res); in fsl_asoc_get_dma_channel()
/Linux-v4.19/arch/powerpc/platforms/82xx/
Dpq2.c52 if (of_address_to_resource(np, 0, &r) || r.end - r.start < 0x10b) in pq2_pci_add_bridge()
/Linux-v4.19/drivers/misc/
Daspeed-lpc-ctrl.c205 rc = of_address_to_resource(node, 1, &resm); in aspeed_lpc_ctrl_probe()
223 rc = of_address_to_resource(node, 0, &resm); in aspeed_lpc_ctrl_probe()
/Linux-v4.19/drivers/reset/
Dreset-sunxi.c38 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
/Linux-v4.19/arch/nds32/kernel/
Datl2c.c30 if (of_address_to_resource(np, 0, &res)) in atl2c_of_init()

12345678910>>...12