Home
last modified time | relevance | path

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

12345678910>>...15

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_thunderboot_mmc.c65 if (of_address_to_resource(rds, 0, &src) >= 0 && in rk_tb_mmc_thread()
66 of_address_to_resource(rdd, 0, &dst) >= 0) { in rk_tb_mmc_thread()
90 ret = of_address_to_resource(dma, 0, &idmac); in rk_tb_mmc_thread()
H A Drockchip_thunderboot_sfc.c70 if (of_address_to_resource(rds, 0, &src) >= 0 && in rk_tb_sfc_thread()
71 of_address_to_resource(rdd, 0, &dst) >= 0) { in rk_tb_sfc_thread()
/OK3568_Linux_fs/kernel/include/linux/
H A Dof_address.h44 extern int of_address_to_resource(struct device_node *dev, int index,
110 extern int of_address_to_resource(struct device_node *dev, int index,
114 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource() function
/OK3568_Linux_fs/kernel/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.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()
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dpata_of_platform.c34 ret = of_address_to_resource(dn, 0, &io_res); in pata_of_platform_probe()
41 ret = of_address_to_resource(dn, 1, &ctl_res); in pata_of_platform_probe()
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A 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()
H A Dirq-tango.c185 err = of_address_to_resource(node, 0, &res); in tangox_irq_init()
220 of_address_to_resource(node, 0, &res); in tangox_of_irq_init()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Ddevicetree.c127 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
164 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
255 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
/OK3568_Linux_fs/kernel/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c181 if (of_address_to_resource(np, 0, &apbmisc) < 0) { in tegra_init_apbmisc()
186 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H A Dtsi108_dev.c82 ret = of_address_to_resource(np, 0, &r[0]); in tsi108_eth_of_init()
110 ret = of_address_to_resource(mdio, 0, &res); in tsi108_eth_of_init()
H A Dof_rtc.c42 err = of_address_to_resource(node, 0, res); in of_instantiate_rtc()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c134 ret = of_address_to_resource(np_splitter, 0, &res_splitter); in socfpga_dwmac_parse_data()
155 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
177 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
199 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/chrp/
H A 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()
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/drivers/of/
H A Dplatform.c120 while (of_address_to_resource(np, num_reg, &temp_res) == 0) in of_device_alloc()
135 rc = of_address_to_resource(np, i, res); in of_device_alloc()
261 ret = of_address_to_resource(node, 0, &dev->res); in of_amba_device_create()
311 if (!of_address_to_resource(np, 0, &res)) in of_dev_lookup()
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dpasemi-cpufreq.c155 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
173 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Drtas_pci.c160 if (of_address_to_resource(dev, 0, &registers)) { in python_countermeasures()
205 if (of_address_to_resource(phb, 0, &r)) in get_phb_buid()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/maple/
H A Dsetup.c74 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
314 ret = of_address_to_resource(np, 0, &r); in maple_cpc925_edac_setup()
/OK3568_Linux_fs/u-boot/include/dm/
H A Dof_addr.h61 int of_address_to_resource(const struct device_node *no, int index,
/OK3568_Linux_fs/kernel/drivers/soc/aspeed/
H A Daspeed-lpc-ctrl.c216 rc = of_address_to_resource(node, 1, &resm); in aspeed_lpc_ctrl_probe()
235 rc = of_address_to_resource(node, 0, &resm); in aspeed_lpc_ctrl_probe()
/OK3568_Linux_fs/u-boot/drivers/core/
H A Dof_addr.su
/OK3568_Linux_fs/u-boot/spl/drivers/core/
H A Dof_addr.su
/OK3568_Linux_fs/kernel/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()

12345678910>>...15