Searched refs:bus_res (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/pci/ |
D | bus.c | 51 struct pci_bus_resource *bus_res; in pci_bus_add_resource() local 53 bus_res = kzalloc(sizeof(struct pci_bus_resource), GFP_KERNEL); in pci_bus_add_resource() 54 if (!bus_res) { in pci_bus_add_resource() 59 bus_res->res = res; in pci_bus_add_resource() 60 bus_res->flags = flags; in pci_bus_add_resource() 61 list_add_tail(&bus_res->list, &bus->resources); in pci_bus_add_resource() 66 struct pci_bus_resource *bus_res; in pci_bus_resource_n() local 72 list_for_each_entry(bus_res, &bus->resources, list) { in pci_bus_resource_n() 74 return bus_res->res; in pci_bus_resource_n() 82 struct pci_bus_resource *bus_res, *tmp; in pci_bus_remove_resource() local [all …]
|
/Linux-v6.6/drivers/eisa/ |
D | pci_eisa.c | 23 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()
|
/Linux-v6.6/arch/loongarch/pci/ |
D | acpi.c | 162 struct resource *bus_res = &root->secondary; in pci_acpi_setup_ecam_mapping() local 168 dev_err(dev, "%04x:%pR ECAM region not found, use default value\n", seg, bus_res); 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() 182 cfg = arch_pci_ecam_create(dev, &cfgres, bus_res, ecam_ops); in pci_acpi_setup_ecam_mapping() 186 dev_err(dev, "%04x:%pR error %ld mapping ECAM\n", seg, bus_res, PTR_ERR(cfg)); in pci_acpi_setup_ecam_mapping()
|
/Linux-v6.6/arch/arm64/kernel/ |
D | pci.c | 131 struct resource *bus_res = &root->secondary; in pci_acpi_setup_ecam_mapping() local 141 dev_err(dev, "%04x:%pR ECAM region not found\n", seg, bus_res); in pci_acpi_setup_ecam_mapping() 153 cfg = pci_ecam_create(dev, &cfgres, bus_res, ecam_ops); in pci_acpi_setup_ecam_mapping() 155 dev_err(dev, "%04x:%pR error %ld mapping ECAM\n", seg, bus_res, in pci_acpi_setup_ecam_mapping()
|
/Linux-v6.6/drivers/acpi/ |
D | pci_mcfg.c | 237 struct resource *bus_res = &root->secondary; in pci_mcfg_lookup() local 250 if (e->segment == seg && e->bus_start <= bus_res->start && in pci_mcfg_lookup() 251 e->bus_end >= bus_res->end) { in pci_mcfg_lookup() 260 res.start = root->mcfg_addr + (bus_res->start << 20); in pci_mcfg_lookup() 261 res.end = res.start + (resource_size(bus_res) << 20) - 1; in pci_mcfg_lookup()
|