Searched refs:busr (Results 1 – 6 of 6) sorted by relevance
28 struct resource *cfgres, struct resource *busr, in pci_ecam_create() argument36 if (busr->start > busr->end) in pci_ecam_create()45 cfg->busr.start = busr->start; in pci_ecam_create()46 cfg->busr.end = busr->end; in pci_ecam_create()47 cfg->busr.flags = IORESOURCE_BUS; in pci_ecam_create()48 bus_range = resource_size(&cfg->busr); in pci_ecam_create()52 cfg->busr.end = busr->start + bus_range - 1; in pci_ecam_create()54 cfgres, &cfg->busr, busr); in pci_ecam_create()93 dev_info(dev, "ECAM at %pR for %pR\n", &cfg->res, &cfg->busr); in pci_ecam_create()111 for (i = 0; i < resource_size(&cfg->busr); i++) in pci_ecam_free()[all …]
134 if (bus->number < cfg->busr.start || in thunder_pem_config_read()135 bus->number > cfg->busr.end) in thunder_pem_config_read()142 if (bus->number == cfg->busr.start) in thunder_pem_config_read()283 if (bus->number < cfg->busr.start || in thunder_pem_config_write()284 bus->number > cfg->busr.end) in thunder_pem_config_write()290 if (bus->number == cfg->busr.start) in thunder_pem_config_write()
37 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0) in pci_dw_valid_device()
93 bridge->busnr = cfg->busr.start; in pci_host_common_probe()
30 struct resource busr; member42 struct resource *cfgres, struct resource *busr,
32 if (bus->number == cfg->busr.start) { in hisi_pcie_rd_conf()50 if (bus->number == cfg->busr.start) { in hisi_pcie_wr_conf()68 if (bus->number == cfg->busr.start) in hisi_pcie_map_bus()