Searched refs:cfg_res (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/pci/controller/ |
D | pci-rcar-gen2.c | 100 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()
|
D | pcie-cadence-host.c | 32 struct resource *cfg_res; member 139 struct resource *cfg_res = rc->cfg_res; in cdns_pcie_host_init_address_translation() local 160 cpu_addr = cfg_res->start - mem_res->start; in cdns_pcie_host_init_address_translation() 290 rc->cfg_res = res; in cdns_pcie_host_probe()
|
/Linux-v4.19/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 334 struct resource *cfg_res; in dw_pcie_host_init() local 339 cfg_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "config"); in dw_pcie_host_init() 340 if (cfg_res) { in dw_pcie_host_init() 341 pp->cfg0_size = resource_size(cfg_res) >> 1; in dw_pcie_host_init() 342 pp->cfg1_size = resource_size(cfg_res) >> 1; in dw_pcie_host_init() 343 pp->cfg0_base = cfg_res->start; in dw_pcie_host_init() 344 pp->cfg1_base = cfg_res->start + pp->cfg0_size; in dw_pcie_host_init()
|
/Linux-v4.19/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()
|