Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pci/
Decam.c28 struct resource *cfgres, struct resource *busr, in pci_ecam_create() argument
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()
52 cfg->busr.flags = IORESOURCE_BUS; in pci_ecam_create()
54 bus_range = resource_size(&cfg->busr); 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()
92 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 …]
/Linux-v6.6/arch/loongarch/pci/
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()
/Linux-v6.6/drivers/pci/controller/dwc/
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()
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()
Dpcie-al.c29 if (bus->number == cfg->busr.start) { in al_pcie_map_bus()
/Linux-v6.6/drivers/pci/controller/
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()
Dpci-host-generic.c36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0) in pci_dw_valid_device()
Dpci-loongson.c346 priv->cfg1_base = cfg->win - (cfg->busr.start << 16); in loongson_pci_ecam_init()
/Linux-v6.6/include/linux/
Dpci-ecam.h57 struct resource busr; member
70 struct resource *cfgres, struct resource *busr,