Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.4/arch/mips/lantiq/falcon/
Dsysctrl.c202 if (of_address_to_resource(np_status, 0, &res_status) || in ltq_soc_init()
203 of_address_to_resource(np_ebu, 0, &res_ebu) || in ltq_soc_init()
204 of_address_to_resource(np_sys1, 0, &res_sys[0]) || in ltq_soc_init()
205 of_address_to_resource(np_syseth, 0, &res_sys[1]) || in ltq_soc_init()
206 of_address_to_resource(np_sysgpe, 0, &res_sys[2])) in ltq_soc_init()
/Linux-v5.4/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-v5.4/drivers/ata/
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()
/Linux-v5.4/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-v5.4/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-v5.4/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c151 if (of_address_to_resource(np, 0, &apbmisc) < 0) { in tegra_init_apbmisc()
156 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
/Linux-v5.4/arch/x86/kernel/
Ddevicetree.c126 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
163 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
254 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
/Linux-v5.4/arch/powerpc/sysdev/
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()
Dof_rtc.c42 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-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c135 ret = of_address_to_resource(np_splitter, 0, &res_splitter); in socfpga_dwmac_parse_data()
156 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
178 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
200 if (of_address_to_resource(np_sgmii_adapter, index, in socfpga_dwmac_parse_data()
/Linux-v5.4/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-v5.4/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-v5.4/arch/powerpc/kernel/
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()
/Linux-v5.4/drivers/cpufreq/
Dpasemi-cpufreq.c153 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
171 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
/Linux-v5.4/drivers/of/
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()
/Linux-v5.4/arch/powerpc/platforms/maple/
Dsetup.c75 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
335 ret = of_address_to_resource(np, 0, &r); in maple_cpc925_edac_setup()
/Linux-v5.4/arch/powerpc/platforms/83xx/
Dmpc834x_mds.c50 of_address_to_resource(np, 0, &res); in mpc834xemds_usb_cfg()
Dmpc832x_mds.c64 of_address_to_resource(np, 0, &res); in mpc832x_sys_setup_arch()
/Linux-v5.4/sound/soc/fsl/
Dfsl_utils.c55 ret = of_address_to_resource(dma_channel_np, 0, &res); in fsl_asoc_get_dma_channel()
/Linux-v5.4/arch/powerpc/platforms/82xx/
Dpq2.c48 if (of_address_to_resource(np, 0, &r) || r.end - r.start < 0x10b) in pq2_pci_add_bridge()
/Linux-v5.4/drivers/soc/aspeed/
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()
/Linux-v5.4/drivers/reset/
Dreset-sunxi.c35 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
/Linux-v5.4/arch/nds32/kernel/
Datl2c.c30 if (of_address_to_resource(np, 0, &res)) in atl2c_of_init()

12345678910>>...13