/linux-6.6.21/include/linux/ |
D | of_address.h | 62 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/ |
D | tsi108_dev.c | 49 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()
|
D | of_rtc.c | 44 err = of_address_to_resource(node, 0, res); in of_instantiate_rtc()
|
D | rtc_cmos_setup.c | 34 ret = of_address_to_resource(np, 0, &res[0]); in add_rtc()
|
/linux-6.6.21/arch/mips/lantiq/falcon/ |
D | sysctrl.c | 204 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/ |
D | ehci-ppc-of.c | 110 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()
|
D | ohci-ppc-of.c | 106 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/ |
D | pata_of_platform.c | 35 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/ |
D | devicetree.c | 117 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/ |
D | tegra-apbmisc.c | 211 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/ |
D | of_device_common.c | 27 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/ |
D | pci.c | 140 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/ |
D | armada_ap_cp_helper.c | 25 of_address_to_resource(np, 0, &res); in ap_cp_unique_name()
|
/linux-6.6.21/drivers/cpufreq/ |
D | pasemi-cpufreq.c | 154 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()
|
D | mvebu-cpufreq.c | 44 ret = of_address_to_resource(np, 1, &res); in armada_xp_pmsu_cpufreq_init()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | rtas_pci.c | 161 if (of_address_to_resource(dev, 0, ®isters)) { 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/ |
D | dwmac-socfpga.c | 138 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/ |
D | irq-orion.c | 79 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/ |
D | setup.c | 75 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/ |
D | reset-sunxi.c | 34 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
|
/linux-6.6.21/drivers/input/serio/ |
D | xilinx_ps2.c | 243 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/ |
D | cpu-reset.c | 45 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map()
|
/linux-6.6.21/arch/arm/mach-ux500/ |
D | cpu-db8500.c | 86 of_address_to_resource(np, 0, &r); in ux500_init_irq()
|
/linux-6.6.21/arch/mips/kernel/ |
D | mips-cpc.c | 30 err = of_address_to_resource(cpc_node, 0, &res); in mips_cpc_default_phys_base()
|
/linux-6.6.21/drivers/soc/aspeed/ |
D | aspeed-lpc-ctrl.c | 242 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()
|