Home
last modified time | relevance | path

Searched refs:busn (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/pci/
Decam.c130 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/
Dlegacy.c37 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()
Dbus_numa.c15 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()
Dbus_numa.h17 struct resource busn; member
Damd_bus.c319 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/
Drcec.c152 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/
Dops-bcm63xx.c64 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()
Dpci-xtalk-bridge.c646 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/
Dleon_pci.c39 info->busn.flags = IORESOURCE_BUS; in leon_pci_init()
40 pci_add_resource(&resources, &info->busn); in leon_pci_init()
Dpci.c704 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()
Dleon_pci_grpci1.c624 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()
Dpci_impl.h102 struct resource busn; member
Dleon_pci_grpci2.c804 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/
Dleon_pci.h16 struct resource busn; member
/linux-6.1.9/drivers/pci/controller/cadence/
Dpcie-cadence-host.c32 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/
Dpci_x86.h68 void pcibios_scan_specific_bus(int busn);
/linux-6.1.9/arch/powerpc/include/asm/
Dpci-bridge.h65 struct resource busn; member
/linux-6.1.9/arch/powerpc/kernel/
Dpci-common.c1661 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/
Dvirt-pci.c434 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/
Dbridge.h804 struct resource busn; member
/linux-6.1.9/drivers/pci/controller/
Dpci-mvebu.c89 struct resource busn; member
/linux-6.1.9/include/linux/
Dpci.h1099 void pcibios_scan_specific_bus(int busn);