Searched refs:busr (Results 1 – 10 of 10) sorted by relevance
37 if (busr->start > busr->end) in pci_ecam_create()50 cfg->busr.start = busr->start; in pci_ecam_create()51 cfg->busr.end = busr->end; in pci_ecam_create()58 cfg->busr.end = busr->start + bus_range - 1; in pci_ecam_create()60 cfgres, &cfg->busr, busr); in pci_ecam_create()136 if (busn < cfg->busr.start || busn > cfg->busr.end) in pci_ecam_add_bus()139 busn -= cfg->busr.start; in pci_ecam_add_bus()154 if (!per_bus_mapping || busn < cfg->busr.start || busn > cfg->busr.end) in pci_ecam_remove_bus()157 busn -= cfg->busr.start; in pci_ecam_remove_bus()177 if (busn < cfg->busr.start || busn > cfg->busr.end) in pci_ecam_map_bus()[all …]
95 struct resource *cfgres, struct resource *busr, const struct pci_ecam_ops *ops) in arch_pci_ecam_create() argument101 if (busr->start > busr->end) in arch_pci_ecam_create()110 cfg->busr.start = busr->start; in arch_pci_ecam_create()111 cfg->busr.end = busr->end; in arch_pci_ecam_create()112 cfg->busr.flags = IORESOURCE_BUS; in arch_pci_ecam_create()139 dev_info(dev, "ECAM at %pR for %pR\n", &cfg->res, &cfg->busr); in arch_pci_ecam_create()
74 if (bus->number < cfg->busr.start || bus->number > cfg->busr.end) in tegra194_map_bus()77 if (bus->number == cfg->busr.start) { in tegra194_map_bus()87 if (bus->parent->number == cfg->busr.start) { in tegra194_map_bus()
31 if (bus->number == cfg->busr.start) { in hisi_pcie_rd_conf()49 if (bus->number == cfg->busr.start) { in hisi_pcie_wr_conf()67 if (bus->number == cfg->busr.start) in hisi_pcie_map_bus()
29 if (bus->number == cfg->busr.start) { in al_pcie_map_bus()
142 if (bus->number < cfg->busr.start || in thunder_pem_config_read()143 bus->number > cfg->busr.end) in thunder_pem_config_read()150 if (bus->number == cfg->busr.start) in thunder_pem_config_read()291 if (bus->number < cfg->busr.start || in thunder_pem_config_write()292 bus->number > cfg->busr.end) in thunder_pem_config_write()298 if (bus->number == cfg->busr.start) in thunder_pem_config_write()
36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0) in pci_dw_valid_device()
395 priv->cfg1_base = cfg->win - (cfg->busr.start << 16); in loongson_pci_ecam_init()
57 struct resource busr; member70 struct resource *cfgres, struct resource *busr,
182 + busn < cfg->busr.start || busn > cfg->busr.end)197 + busn -= cfg->busr.start;