Home
last modified time | relevance | path

Searched refs:cfg_res (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/pci/controller/
Dpci-rcar-gen2.c100 struct resource *cfg_res; member
262 val = priv->cfg_res->start + RCAR_AHBPCI_PCICOM_OFFSET; in rcar_pci_setup()
338 struct resource *cfg_res, *mem_res; in rcar_pci_probe() local
344 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()
Dpcie-cadence-host.c32 struct resource *cfg_res; member
144 struct resource *cfg_res = rc->cfg_res; in cdns_pcie_host_init_address_translation() local
165 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()
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-designware-host.c347 struct resource *cfg_res; in dw_pcie_host_init() local
352 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()