Searched refs:cfg_res (Results 1 – 3 of 3) sorted by relevance
100 struct resource *cfg_res; member262 val = priv->cfg_res->start + RCAR_AHBPCI_PCICOM_OFFSET; in rcar_pci_setup()338 struct resource *cfg_res, *mem_res; in rcar_pci_probe() local344 cfg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in rcar_pci_probe()345 reg = devm_ioremap_resource(dev, cfg_res); in rcar_pci_probe()361 priv->cfg_res = cfg_res; in rcar_pci_probe()
32 struct resource *cfg_res; member144 struct resource *cfg_res = rc->cfg_res; in cdns_pcie_host_init_address_translation() local165 cpu_addr = cfg_res->start - mem_res->start; in cdns_pcie_host_init_address_translation()295 rc->cfg_res = res; in cdns_pcie_host_probe()
347 struct resource *cfg_res; in dw_pcie_host_init() local352 cfg_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "config"); in dw_pcie_host_init()353 if (cfg_res) { in dw_pcie_host_init()354 pp->cfg0_size = resource_size(cfg_res) >> 1; in dw_pcie_host_init()355 pp->cfg1_size = resource_size(cfg_res) >> 1; in dw_pcie_host_init()356 pp->cfg0_base = cfg_res->start; in dw_pcie_host_init()357 pp->cfg1_base = cfg_res->start + pp->cfg0_size; in dw_pcie_host_init()