/linux-6.1.9/drivers/pci/ |
D | ecam.c | 130 unsigned int busn = bus->number; in pci_ecam_add_bus() local 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() 140 start = cfg->res.start + busn * bsz; in pci_ecam_add_bus() 142 cfg->winp[busn] = pci_remap_cfgspace(start, bsz); in pci_ecam_add_bus() 143 if (!cfg->winp[busn]) in pci_ecam_add_bus() 152 unsigned int busn = bus->number; in pci_ecam_remove_bus() local 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() 158 if (cfg->winp[busn]) { in pci_ecam_remove_bus() [all …]
|
/linux-6.1.9/arch/x86/pci/ |
D | legacy.c | 37 void pcibios_scan_specific_bus(int busn) in pcibios_scan_specific_bus() argument 43 if (pci_find_bus(0, busn)) in pcibios_scan_specific_bus() 47 if (!raw_pci_read(0, busn, devfn, PCI_VENDOR_ID, 2, &l) && in pcibios_scan_specific_bus() 49 DBG("Found device at %02x:%02x [%04x]\n", busn, devfn, l); in pcibios_scan_specific_bus() 50 pr_info("PCI: Discovered peer bus %02x\n", busn); in pcibios_scan_specific_bus() 51 pcibios_scan_root(busn); in pcibios_scan_specific_bus()
|
D | bus_numa.c | 15 if (info->busn.start == bus) in x86_find_pci_root_info() 52 pci_add_resource(resources, &info->busn); in x86_pci_root_bus_resources() 83 info->busn.name = info->name; in alloc_pci_root_info() 84 info->busn.start = bus_min; in alloc_pci_root_info() 85 info->busn.end = bus_max; in alloc_pci_root_info() 86 info->busn.flags = IORESOURCE_BUS; in alloc_pci_root_info()
|
D | bus_numa.h | 17 struct resource busn; member
|
D | amd_bus.c | 319 busnum = info->busn.start; in early_root_info_init() 321 &info->busn, info->node, info->link); in early_root_info_init()
|
/linux-6.1.9/drivers/pci/pcie/ |
D | rcec.c | 152 u32 rcec, hdr, busn; in pci_rcec_init() local 174 pci_read_config_dword(dev, rcec + PCI_RCEC_BUSN, &busn); in pci_rcec_init() 175 rcec_ea->nextbusn = PCI_RCEC_BUSN_NEXT(busn); in pci_rcec_init() 176 rcec_ea->lastbusn = PCI_RCEC_BUSN_LAST(busn); in pci_rcec_init()
|
/linux-6.1.9/arch/mips/pci/ |
D | ops-bcm63xx.c | 64 static int bcm63xx_setup_cfg_access(int type, unsigned int busn, in bcm63xx_setup_cfg_access() argument 100 static int bcm63xx_do_cfg_read(int type, unsigned int busn, in bcm63xx_do_cfg_read() argument 109 if (bcm63xx_setup_cfg_access(type, busn, devfn, where)) in bcm63xx_do_cfg_read() 121 static int bcm63xx_do_cfg_write(int type, unsigned int busn, in bcm63xx_do_cfg_write() argument 130 if (bcm63xx_setup_cfg_access(type, busn, devfn, where)) in bcm63xx_do_cfg_write()
|
D | pci-xtalk-bridge.c | 646 bc->busn.name = "Bridge PCI busn"; in bridge_probe() 647 bc->busn.start = 0; in bridge_probe() 648 bc->busn.end = 0xff; in bridge_probe() 649 bc->busn.flags = IORESOURCE_BUS; in bridge_probe() 655 pci_add_resource(&host->windows, &bc->busn); in bridge_probe()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | leon_pci.c | 39 info->busn.flags = IORESOURCE_BUS; in leon_pci_init() 40 pci_add_resource(&resources, &info->busn); in leon_pci_init()
|
D | pci.c | 704 pbm->busn.start = pbm->pci_first_busno; in pci_scan_one_pbm() 705 pbm->busn.end = pbm->pci_last_busno; in pci_scan_one_pbm() 706 pbm->busn.flags = IORESOURCE_BUS; in pci_scan_one_pbm() 707 pci_add_resource(&resources, &pbm->busn); in pci_scan_one_pbm()
|
D | leon_pci_grpci1.c | 624 priv->info.busn.name = "GRPCI1 busn"; in grpci1_of_probe() 625 priv->info.busn.start = 0; in grpci1_of_probe() 626 priv->info.busn.end = 15; in grpci1_of_probe()
|
D | pci_impl.h | 102 struct resource busn; member
|
D | leon_pci_grpci2.c | 804 priv->info.busn.name = "GRPCI2 busn"; in grpci2_of_probe() 805 priv->info.busn.start = 0; in grpci2_of_probe() 806 priv->info.busn.end = 255; in grpci2_of_probe()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | leon_pci.h | 16 struct resource busn; member
|
/linux-6.1.9/drivers/pci/controller/cadence/ |
D | pcie-cadence-host.c | 32 unsigned int busn = bus->number; in cdns_pci_map_bus() local 55 CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_BUS(busn); in cdns_pci_map_bus() 65 if (busn == bridge->busnr + 1) in cdns_pci_map_bus()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | pci_x86.h | 68 void pcibios_scan_specific_bus(int busn);
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | pci-bridge.h | 65 struct resource busn; member
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | pci-common.c | 1661 hose->busn.start = hose->first_busno; in pcibios_scan_phb() 1662 hose->busn.end = hose->last_busno; in pcibios_scan_phb() 1663 hose->busn.flags = IORESOURCE_BUS; in pcibios_scan_phb() 1664 pci_add_resource(&resources, &hose->busn); in pcibios_scan_phb()
|
/linux-6.1.9/arch/um/drivers/ |
D | virt-pci.c | 434 unsigned int busn = bus->number; in um_pci_map_bus() local 436 if (busn > 0) in um_pci_map_bus()
|
/linux-6.1.9/arch/mips/include/asm/pci/ |
D | bridge.h | 804 struct resource busn; member
|
/linux-6.1.9/drivers/pci/controller/ |
D | pci-mvebu.c | 89 struct resource busn; member
|
/linux-6.1.9/include/linux/ |
D | pci.h | 1099 void pcibios_scan_specific_bus(int busn);
|