Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/pci/
Decam.c135 unsigned int busn = bus->number; in pci_ecam_map_bus() local
138 if (busn < cfg->busr.start || busn > cfg->busr.end) in pci_ecam_map_bus()
141 busn -= cfg->busr.start; in pci_ecam_map_bus()
143 base = cfg->winp[busn]; in pci_ecam_map_bus()
145 base = cfg->win + (busn << cfg->ops->bus_shift); in pci_ecam_map_bus()
/kernel/linux/linux-5.10/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()
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
Dpci.c705 pbm->busn.start = pbm->pci_first_busno; in pci_scan_one_pbm()
706 pbm->busn.end = pbm->pci_last_busno; in pci_scan_one_pbm()
707 pbm->busn.flags = IORESOURCE_BUS; in pci_scan_one_pbm()
708 pci_add_resource(&resources, &pbm->busn); in pci_scan_one_pbm()
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()
/kernel/linux/linux-5.10/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.c645 bc->busn.name = "Bridge PCI busn"; in bridge_probe()
646 bc->busn.start = 0; in bridge_probe()
647 bc->busn.end = 0xff; in bridge_probe()
648 bc->busn.flags = IORESOURCE_BUS; in bridge_probe()
654 pci_add_resource(&host->windows, &bc->busn); in bridge_probe()
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/
Dpci-mt7621.c134 struct resource busn; member
327 err = of_pci_parse_bus_range(node, &pcie->busn); in mt7621_pci_parse_request_of_pci_ranges()
330 pcie->busn.name = node->name; in mt7621_pci_parse_request_of_pci_ranges()
331 pcie->busn.start = 0; in mt7621_pci_parse_request_of_pci_ranges()
332 pcie->busn.end = 0xff; in mt7621_pci_parse_request_of_pci_ranges()
333 pcie->busn.flags = IORESOURCE_BUS; in mt7621_pci_parse_request_of_pci_ranges()
669 host->busnr = pcie->busn.start; in mt7621_pcie_register_host()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dleon_pci.h16 struct resource busn; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpci_x86.h63 void pcibios_scan_specific_bus(int busn);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dpci-common.c1580 hose->busn.start = hose->first_busno; in pcibios_scan_phb()
1581 hose->busn.end = hose->last_busno; in pcibios_scan_phb()
1582 hose->busn.flags = IORESOURCE_BUS; in pcibios_scan_phb()
1583 pci_add_resource(&resources, &hose->busn); in pcibios_scan_phb()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpci-bridge.h65 struct resource busn; member
/kernel/linux/linux-5.10/arch/mips/include/asm/pci/
Dbridge.h804 struct resource busn; member
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-mvebu.c75 struct resource busn; member
/kernel/linux/linux-5.10/include/linux/
Dpci.h1018 void pcibios_scan_specific_bus(int busn);