Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.6.21/include/linux/
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()
/linux-6.6.21/arch/powerpc/sysdev/
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()
Dof_rtc.c44 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-6.6.21/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-6.6.21/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()
207 if (!of_address_to_resource(np, 0, &res)) in ehci_hcd_ppc_of_remove()
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-6.6.21/drivers/ata/
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-6.6.21/arch/x86/kernel/
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()
/linux-6.6.21/drivers/soc/tegra/fuse/
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()
/linux-6.6.21/arch/sparc/kernel/
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-6.6.21/arch/powerpc/platforms/chrp/
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-6.6.21/drivers/clk/mvebu/
Darmada_ap_cp_helper.c25 of_address_to_resource(np, 0, &res); in ap_cp_unique_name()
/linux-6.6.21/drivers/cpufreq/
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()
Dmvebu-cpufreq.c44 ret = of_address_to_resource(np, 1, &res); in armada_xp_pmsu_cpufreq_init()
/linux-6.6.21/arch/powerpc/kernel/
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-6.6.21/drivers/net/ethernet/stmicro/stmmac/
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()
/linux-6.6.21/drivers/irqchip/
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-6.6.21/arch/powerpc/platforms/maple/
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()
/linux-6.6.21/drivers/reset/
Dreset-sunxi.c34 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
/linux-6.6.21/drivers/input/serio/
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()
/linux-6.6.21/arch/arm/mach-mvebu/
Dcpu-reset.c45 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map()
/linux-6.6.21/arch/arm/mach-ux500/
Dcpu-db8500.c86 of_address_to_resource(np, 0, &r); in ux500_init_irq()
/linux-6.6.21/arch/mips/kernel/
Dmips-cpc.c30 err = of_address_to_resource(cpc_node, 0, &res); in mips_cpc_default_phys_base()
/linux-6.6.21/drivers/soc/aspeed/
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