Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/pci/
H A Dacpi.c113 bus_range = resource_size(cfgres) >> ops->bus_shift; in arch_pci_ecam_create()
117 cfg->res.start = cfgres->start; in arch_pci_ecam_create()
118 cfg->res.end = cfgres->end; in arch_pci_ecam_create()
130 cfg->win = pci_remap_cfgspace(cfgres->start, bus_range * bsz); in arch_pci_ecam_create()
161 struct resource cfgres; in pci_acpi_setup_ecam_mapping() local
166 ret = pci_mcfg_lookup(root, &cfgres, &ecam_ops); in pci_acpi_setup_ecam_mapping()
176 cfg = pci_ecam_create(dev, &cfgres, bus_res, ecam_ops); in pci_acpi_setup_ecam_mapping()
178 cfgres.start = root->mcfg_addr + (bus_res->start << bus_shift); in pci_acpi_setup_ecam_mapping()
179 cfgres.end = cfgres.start + (resource_size(bus_res) << bus_shift) - 1; in pci_acpi_setup_ecam_mapping()
181 cfgres.flags = IORESOURCE_MEM; in pci_acpi_setup_ecam_mapping()
[all …]
/openbmc/linux/arch/arm64/kernel/
H A Dpci.c134 struct resource cfgres; in pci_acpi_setup_ecam_mapping() local
139 ret = pci_mcfg_lookup(root, &cfgres, &ecam_ops); in pci_acpi_setup_ecam_mapping()
145 adev = acpi_resource_consumer(&cfgres); in pci_acpi_setup_ecam_mapping()
147 dev_info(dev, "ECAM area %pR reserved by %s\n", &cfgres, in pci_acpi_setup_ecam_mapping()
151 &cfgres); in pci_acpi_setup_ecam_mapping()
153 cfg = pci_ecam_create(dev, &cfgres, bus_res, ecam_ops); in pci_acpi_setup_ecam_mapping()
/openbmc/linux/drivers/acpi/
H A Dpci_mcfg.c33 struct resource cfgres; member
207 struct resource *cfgres, in pci_mcfg_apply_quirks() argument
218 if (f->cfgres.start) in pci_mcfg_apply_quirks()
219 *cfgres = f->cfgres; in pci_mcfg_apply_quirks()
223 cfgres, bus_range, *ecam_ops); in pci_mcfg_apply_quirks()
233 int pci_mcfg_lookup(struct acpi_pci_root *root, struct resource *cfgres, in pci_mcfg_lookup() argument
275 *cfgres = res; in pci_mcfg_lookup()
/openbmc/linux/drivers/pci/
H A Decam.c28 struct resource *cfgres, struct resource *busr, in pci_ecam_create() argument
55 bus_range_max = resource_size(cfgres) >> bus_shift; in pci_ecam_create()
60 cfgres, &cfg->busr, busr); in pci_ecam_create()
64 cfg->res.start = cfgres->start; in pci_ecam_create()
65 cfg->res.end = cfgres->end; in pci_ecam_create()
82 cfg->win = pci_remap_cfgspace(cfgres->start, bus_range * bsz); in pci_ecam_create()
/openbmc/linux/drivers/pci/controller/
H A Dpci-host-common.c27 struct resource cfgres; in gen_pci_init() local
31 err = of_address_to_resource(dev->of_node, 0, &cfgres); in gen_pci_init()
41 cfg = pci_ecam_create(dev, &cfgres, bus->res, ops); in gen_pci_init()
/openbmc/linux/include/linux/
H A Dpci-ecam.h70 struct resource *cfgres, struct resource *busr,
H A Dpci-acpi.h29 extern int pci_mcfg_lookup(struct acpi_pci_root *root, struct resource *cfgres,