Home
last modified time | relevance | path

Searched refs:busr (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/pci/
H A Decam.c37 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 …]
/openbmc/linux/arch/loongarch/pci/
H A Dacpi.c95 struct resource *cfgres, struct resource *busr, const struct pci_ecam_ops *ops) in arch_pci_ecam_create() argument
101 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()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-tegra194-acpi.c74 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()
H A Dpcie-hisi.c31 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()
H A Dpcie-al.c29 if (bus->number == cfg->busr.start) { in al_pcie_map_bus()
/openbmc/linux/drivers/pci/controller/
H A Dpci-thunder-pem.c142 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()
H A Dpci-host-generic.c36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0) in pci_dw_valid_device()
H A Dpci-loongson.c395 priv->cfg1_base = cfg->win - (cfg->busr.start << 16); in loongson_pci_ecam_init()
/openbmc/linux/include/linux/
H A Dpci-ecam.h57 struct resource busr; member
70 struct resource *cfgres, struct resource *busr,
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/
H A D0003-pcie-Add-quirk-for-the-Arm-Neoverse-N1SDP-platform.patch182 + busn < cfg->busr.start || busn > cfg->busr.end)
197 + busn -= cfg->busr.start;