Home
last modified time | relevance | path

Searched refs:devfdt_get_addr_index (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/u-boot/drivers/core/
H A Dfdtaddr.c19 fdt_addr_t devfdt_get_addr_index(struct udevice *dev, int index) in devfdt_get_addr_index() function
107 return devfdt_get_addr_index(dev, index); in devfdt_get_addr_size_index()
123 return devfdt_get_addr_index(dev, index); in devfdt_get_addr_name()
131 return devfdt_get_addr_index(dev, 0); in devfdt_get_addr()
136 return (void *)(uintptr_t)devfdt_get_addr_index(dev, 0); in devfdt_get_addr_ptr()
141 fdt_addr_t addr = devfdt_get_addr_index(dev, index); in devfdt_remap_addr_index()
H A Dread.c82 return devfdt_get_addr_index(dev, index); in dev_read_addr_index()
/openbmc/u-boot/drivers/phy/marvell/
H A Dcomphy_core.c87 chip_cfg->comphy_base_addr = (void *)devfdt_get_addr_index(dev, 0); in comphy_probe()
91 chip_cfg->hpipe3_base_addr = (void *)devfdt_get_addr_index(dev, 1); in comphy_probe()
/openbmc/u-boot/drivers/misc/
H A Daspeed_dp.c88 dp->ctrl_base = (void *)devfdt_get_addr_index(dev, 0); in aspeed_dp_probe()
160 dp->ctrl_base = (void *)devfdt_get_addr_index(dev, 0); in dp_aspeed_ofdata_to_platdata()
/openbmc/u-boot/drivers/crypto/
H A Daspeed_acry.c145 acry->base = devfdt_get_addr_index(dev, 0); in aspeed_acry_probe()
151 acry->sram_base = devfdt_get_addr_index(dev, 1); in aspeed_acry_probe()
/openbmc/u-boot/include/dm/
H A Dfdtaddr.h93 fdt_addr_t devfdt_get_addr_index(struct udevice *dev, int index);
H A Dread.h588 return devfdt_get_addr_index(dev, index); in dev_read_addr_index()
/openbmc/u-boot/drivers/thermal/
H A Dti-bandgap.c179 bgp->base = devfdt_get_addr_index(dev, 1); in ti_bandgap_probe()
/openbmc/u-boot/drivers/ata/
H A Ddwc_ahci.c40 addr = devfdt_get_addr_index(dev, 1); in dwc_ahci_ofdata_to_platdata()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-mvebu.c62 board_xhci_enable(devfdt_get_addr_index(dev, 1)); in xhci_usb_probe()
/openbmc/u-boot/drivers/pci/
H A Dpci-rcar-gen2.c237 priv->cfg_base = devfdt_get_addr_index(dev, 0); in rcar_gen2_pci_ofdata_to_platdata()
238 priv->mem_base = devfdt_get_addr_index(dev, 1); in rcar_gen2_pci_ofdata_to_platdata()
H A Dpcie_dw_mvebu.c551 pcie->ctrl_base = (void *)devfdt_get_addr_index(dev, 0); in pcie_dw_mvebu_ofdata_to_platdata()
H A Dpcie_aspeed.c469 pcie->h2x_reg = (void *)devfdt_get_addr_index(dev, 0); in pcie_aspeed_ofdata_to_platdata()
/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi.c287 plat->regbase = (void *)devfdt_get_addr_index(bus, 0); in cadence_spi_ofdata_to_platdata()
288 plat->ahbbase = (void *)devfdt_get_addr_index(bus, 1); in cadence_spi_ofdata_to_platdata()
H A Dti_qspi.c586 addr = devfdt_get_addr_index(bus, 2); in map_syscon_chipselects()
601 priv->memory_map = map_physmem(devfdt_get_addr_index(bus, 1), 0, in ti_qspi_ofdata_to_platdata()
/openbmc/u-boot/drivers/gpio/
H A Dimx_rgpio2p.c166 addr = devfdt_get_addr_index(dev, 1); in imx_rgpio2p_bind()
/openbmc/u-boot/drivers/ram/aspeed/
H A Dsdram_ast2500.c522 priv->regs = (void *)(uintptr_t)devfdt_get_addr_index(dev, 0); in ast2500_sdrammc_ofdata_to_platdata()
523 priv->phy = (void *)(uintptr_t)devfdt_get_addr_index(dev, 1); in ast2500_sdrammc_ofdata_to_platdata()
H A Dsdram_ast2600.c1028 priv->regs = (void *)(uintptr_t)devfdt_get_addr_index(dev, 0); in ast2600_sdrammc_ofdata_to_platdata()
1029 priv->phy_setting = (void *)(uintptr_t)devfdt_get_addr_index(dev, 1); in ast2600_sdrammc_ofdata_to_platdata()
1030 priv->phy_status = (void *)(uintptr_t)devfdt_get_addr_index(dev, 2); in ast2600_sdrammc_ofdata_to_platdata()
/openbmc/u-boot/drivers/clk/
H A Dclk-hsdk-cgu.c696 pll_clk->cgu_regs = (void __iomem *)devfdt_get_addr_index(dev, 0); in hsdk_cgu_clk_probe()
700 pll_clk->creg_regs = (void __iomem *)devfdt_get_addr_index(dev, 1); in hsdk_cgu_clk_probe()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dti-musb.c88 platdata->base = (void *)devfdt_get_addr_index(dev, 1); in ti_musb_ofdata_to_platdata()
/openbmc/u-boot/drivers/mmc/
H A Dxenon_sdhci.c457 priv->pad_ctrl_reg = (void *)devfdt_get_addr_index(dev, 1); in xenon_sdhci_ofdata_to_platdata()
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-at91.c427 addr_base = devfdt_get_addr_index(dev, index); in at91_pinctrl_probe()
/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c760 aspeed_udc->udc_base = (u32)devfdt_get_addr_index(dev, 0); in aspeed_udc_ofdata_to_platdata()
/openbmc/u-boot/drivers/net/
H A Dftgmac100.c564 priv->mdio_addr = devfdt_get_addr_index(dev, 1); in ftgmac100_ofdata_to_platdata()
/openbmc/u-boot/test/dm/
H A Dtest-fdt.c544 addr = devfdt_get_addr_index(dev, 0); in dm_test_fdt_remap_addr_index_flat()

12