Searched refs:busr (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/pci/ |
D | ecam.c | 28 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-6.6.21/arch/loongarch/pci/ |
D | acpi.c | 95 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-6.6.21/drivers/pci/controller/dwc/ |
D | pcie-tegra194-acpi.c | 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()
|
D | pcie-hisi.c | 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()
|
D | pcie-al.c | 29 if (bus->number == cfg->busr.start) { in al_pcie_map_bus()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pci-thunder-pem.c | 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()
|
D | pci-host-generic.c | 36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0) in pci_dw_valid_device()
|
D | pci-loongson.c | 382 priv->cfg1_base = cfg->win - (cfg->busr.start << 16); in loongson_pci_ecam_init()
|
/linux-6.6.21/include/linux/ |
D | pci-ecam.h | 57 struct resource busr; member 70 struct resource *cfgres, struct resource *busr,
|