Home
last modified time | relevance | path

Searched refs:cfg_base (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/pci/
Dpci-rcar-gen2.c87 fdt_addr_t cfg_base; member
114 return priv->cfg_base + (PCI_DEV(bdf) >> 1) * 0x100 + (offset & ~3); in get_bus_address()
124 writel(reg, priv->cfg_base + RCAR_AHBPCI_WIN1_CTR_REG); in setup_bus_address()
185 clrsetbits_le32(priv->cfg_base + RCAR_USBCTR_REG, in rcar_gen2_pci_probe()
189 clrbits_le32(priv->cfg_base + RCAR_USBCTR_REG, RCAR_USBCTR_PLL_RST); in rcar_gen2_pci_probe()
192 writel(RCAR_AHB_BUS_MODE, priv->cfg_base + RCAR_AHB_BUS_CTR_REG); in rcar_gen2_pci_probe()
194 priv->cfg_base + RCAR_PCIAHB_WIN1_CTR_REG); in rcar_gen2_pci_probe()
196 priv->cfg_base + RCAR_PCIAHB_WIN2_CTR_REG); in rcar_gen2_pci_probe()
198 priv->cfg_base + RCAR_AHBPCI_WIN2_CTR_REG); in rcar_gen2_pci_probe()
199 setbits_le32(priv->cfg_base + RCAR_PCI_ARBITER_CTR_REG, in rcar_gen2_pci_probe()
[all …]
Dpcie_xilinx.c19 void *cfg_base; member
36 uint32_t pscr = __raw_readl(pcie->cfg_base + XILINX_PCIE_REG_PSCR); in pcie_xilinx_link_up()
76 addr = pcie->cfg_base; in pcie_xilinx_config_address()
154 pcie->cfg_base = map_physmem(reg_res.start, in pcie_xilinx_ofdata_to_platdata()
Dpcie_ecam_generic.c21 void *cfg_base; member
44 addr = pcie->cfg_base; in pci_generic_ecam_conf_address()
118 pcie->cfg_base = map_physmem(reg_res.start, in pci_generic_ecam_ofdata_to_platdata()
Dpcie_phytium.c20 void *cfg_base; member
91 addr = pcie->cfg_base; in pci_phytium_conf_address()
176 pcie->cfg_base = map_physmem(reg_res.start, in pci_phytium_ofdata_to_platdata()
Dpcie_imx.c99 void __iomem *cfg_base; member
305 writel(lower_32_bits((uintptr_t)priv->cfg_base), in imx_pcie_regions_setup()
307 writel(upper_32_bits((uintptr_t)priv->cfg_base), in imx_pcie_regions_setup()
309 writel(lower_32_bits((uintptr_t)priv->cfg_base + MX6_ROOT_SIZE), in imx_pcie_regions_setup()
340 va_address = priv->cfg_base; in get_bus_address()
674 .cfg_base = (void __iomem *)MX6_ROOT_ADDR,
804 priv->cfg_base = (void __iomem *)devfdt_get_addr_index(dev, 1); in imx_pcie_ofdata_to_platdata()
805 if (!priv->dbi_base || !priv->cfg_base) in imx_pcie_ofdata_to_platdata()
Dpcie_dw_mvebu.c110 void *cfg_base; member
198 atu_type, (u64)pcie->cfg_base, in set_cfg_address()
200 va_address = (uintptr_t)pcie->cfg_base; in set_cfg_address()
556 pcie->cfg_base = (void *)devfdt_get_addr_size_index(dev, 1, in pcie_dw_mvebu_ofdata_to_platdata()
558 if ((fdt_addr_t)pcie->cfg_base == FDT_ADDR_T_NONE) in pcie_dw_mvebu_ofdata_to_platdata()
Dpcie_dw_ti.c107 void *cfg_base; member
246 atu_type, (u64)pcie->cfg_base, in set_cfg_address()
249 va_address = (uintptr_t)pcie->cfg_base; in set_cfg_address()
689 pcie->cfg_base = (void *)dev_read_addr_size_name(dev, "config", in pcie_dw_ti_ofdata_to_platdata()
691 if ((fdt_addr_t)pcie->cfg_base == FDT_ADDR_T_NONE) in pcie_dw_ti_ofdata_to_platdata()