Searched refs:cfg_res (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/pci/host/ |
D | pci-rcar-gen2.c | 101 struct resource *cfg_res; member 257 val = priv->cfg_res->start + RCAR_AHBPCI_PCICOM_OFFSET; in rcar_pci_setup() 289 struct resource *cfg_res, *mem_res; in rcar_pci_probe() local 295 cfg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in rcar_pci_probe() 296 reg = devm_ioremap_resource(&pdev->dev, cfg_res); in rcar_pci_probe() 321 priv->cfg_res = cfg_res; in rcar_pci_probe()
|
D | pcie-designware.c | 351 struct resource *cfg_res; in dw_pcie_host_init() local 362 cfg_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "config"); in dw_pcie_host_init() 363 if (cfg_res) { in dw_pcie_host_init() 364 pp->cfg0_size = resource_size(cfg_res)/2; in dw_pcie_host_init() 365 pp->cfg1_size = resource_size(cfg_res)/2; in dw_pcie_host_init() 366 pp->cfg0_base = cfg_res->start; in dw_pcie_host_init() 367 pp->cfg1_base = cfg_res->start + pp->cfg0_size; in dw_pcie_host_init()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | pci.c | 710 struct resource cfg_res, self_res; in setup_u3_ht() local 717 if (of_address_to_resource(np, 0, &cfg_res) || in setup_u3_ht() 726 hose->cfg_data = ioremap(cfg_res.start, 0x02000000); in setup_u3_ht()
|