Home
last modified time | relevance | path

Searched refs:bus_res (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/
Dbus.c50 struct pci_bus_resource *bus_res; in pci_bus_add_resource() local
52 bus_res = kzalloc(sizeof(struct pci_bus_resource), GFP_KERNEL); in pci_bus_add_resource()
53 if (!bus_res) { in pci_bus_add_resource()
58 bus_res->res = res; in pci_bus_add_resource()
59 bus_res->flags = flags; in pci_bus_add_resource()
60 list_add_tail(&bus_res->list, &bus->resources); in pci_bus_add_resource()
65 struct pci_bus_resource *bus_res; in pci_bus_resource_n() local
71 list_for_each_entry(bus_res, &bus->resources, list) { in pci_bus_resource_n()
73 return bus_res->res; in pci_bus_resource_n()
82 struct pci_bus_resource *bus_res, *tmp; in pci_bus_remove_resources() local
[all …]
/kernel/linux/linux-5.10/drivers/eisa/
Dpci_eisa.c24 struct resource *res, *bus_res = NULL; in pci_eisa_init() local
43 bus_res = res; in pci_eisa_init()
47 if (!bus_res) { in pci_eisa_init()
53 pci_eisa_root.res = bus_res; in pci_eisa_init()
54 pci_eisa_root.bus_base_addr = bus_res->start; in pci_eisa_init()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dpci.c118 struct resource *bus_res = &root->secondary; in pci_acpi_setup_ecam_mapping() local
128 dev_err(dev, "%04x:%pR ECAM region not found\n", seg, bus_res); in pci_acpi_setup_ecam_mapping()
140 cfg = pci_ecam_create(dev, &cfgres, bus_res, ecam_ops); in pci_acpi_setup_ecam_mapping()
142 dev_err(dev, "%04x:%pR error %ld mapping ECAM\n", seg, bus_res, in pci_acpi_setup_ecam_mapping()
/kernel/linux/linux-5.10/drivers/acpi/
Dpci_mcfg.c217 struct resource *bus_res = &root->secondary; in pci_mcfg_lookup() local
230 if (e->segment == seg && e->bus_start <= bus_res->start && in pci_mcfg_lookup()
231 e->bus_end >= bus_res->end) { in pci_mcfg_lookup()
240 res.start = root->mcfg_addr + (bus_res->start << 20); in pci_mcfg_lookup()
241 res.end = res.start + (resource_size(bus_res) << 20) - 1; in pci_mcfg_lookup()