/Linux-v5.4/arch/mips/lantiq/falcon/ |
D | sysctrl.c | 202 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/ |
D | of_address.h | 34 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/ |
D | pata_of_platform.c | 34 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/ |
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() 206 if (!of_address_to_resource(np, 0, &res)) in ehci_hcd_ppc_of_remove()
|
D | ohci-ppc-of.c | 108 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/ |
D | irq-orion.c | 60 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/ |
D | tegra-apbmisc.c | 151 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/ |
D | devicetree.c | 126 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/ |
D | tsi108_dev.c | 82 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()
|
D | of_rtc.c | 42 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-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-socfpga.c | 135 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/ |
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-v5.4/arch/powerpc/platforms/chrp/ |
D | pci.c | 141 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/ |
D | rtas_pci.c | 160 if (of_address_to_resource(dev, 0, ®isters)) { in python_countermeasures() 205 if (of_address_to_resource(phb, 0, &r)) in get_phb_buid()
|
/Linux-v5.4/drivers/cpufreq/ |
D | pasemi-cpufreq.c | 153 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/ |
D | platform.c | 120 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/ |
D | setup.c | 75 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/ |
D | mpc834x_mds.c | 50 of_address_to_resource(np, 0, &res); in mpc834xemds_usb_cfg()
|
D | mpc832x_mds.c | 64 of_address_to_resource(np, 0, &res); in mpc832x_sys_setup_arch()
|
/Linux-v5.4/sound/soc/fsl/ |
D | fsl_utils.c | 55 ret = of_address_to_resource(dma_channel_np, 0, &res); in fsl_asoc_get_dma_channel()
|
/Linux-v5.4/arch/powerpc/platforms/82xx/ |
D | pq2.c | 48 if (of_address_to_resource(np, 0, &r) || r.end - r.start < 0x10b) in pq2_pci_add_bridge()
|
/Linux-v5.4/drivers/soc/aspeed/ |
D | aspeed-lpc-ctrl.c | 216 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/ |
D | reset-sunxi.c | 35 ret = of_address_to_resource(np, 0, &res); in sunxi_reset_init()
|
/Linux-v5.4/arch/nds32/kernel/ |
D | atl2c.c | 30 if (of_address_to_resource(np, 0, &res)) in atl2c_of_init()
|