Home
last modified time | relevance | path

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

/arch/x86/pci/
Dlegacy.c37 void pcibios_scan_specific_bus(int busn) in pcibios_scan_specific_bus() argument
42 if (pci_find_bus(0, busn)) in pcibios_scan_specific_bus()
46 if (!raw_pci_read(0, busn, devfn, PCI_VENDOR_ID, 2, &l) && in pcibios_scan_specific_bus()
48 DBG("Found device at %02x:%02x [%04x]\n", busn, devfn, l); in pcibios_scan_specific_bus()
49 printk(KERN_INFO "PCI: Discovered peer bus %02x\n", busn); in pcibios_scan_specific_bus()
50 pcibios_scan_root(busn); in pcibios_scan_specific_bus()
Dbus_numa.c14 if (info->busn.start == bus) in x86_find_pci_root_info()
51 pci_add_resource(resources, &info->busn); in x86_pci_root_bus_resources()
91 info->busn.name = info->name; in alloc_pci_root_info()
92 info->busn.start = bus_min; in alloc_pci_root_info()
93 info->busn.end = bus_max; in alloc_pci_root_info()
94 info->busn.flags = IORESOURCE_BUS; in alloc_pci_root_info()
Dbus_numa.h16 struct resource busn; member
Damd_bus.c317 busnum = info->busn.start; in early_root_info_init()
319 &info->busn, info->node, info->link); in early_root_info_init()
/arch/sparc/kernel/
Dleon_pci.c32 info->busn.flags = IORESOURCE_BUS; in leon_pci_init()
33 pci_add_resource(&resources, &info->busn); in leon_pci_init()
Dpci_impl.h100 struct resource busn; member
Dleon_pci_grpci1.c623 priv->info.busn.name = "GRPCI1 busn"; in grpci1_of_probe()
624 priv->info.busn.start = 0; in grpci1_of_probe()
625 priv->info.busn.end = 15; in grpci1_of_probe()
Dpci.c663 pbm->busn.start = pbm->pci_first_busno; in pci_scan_one_pbm()
664 pbm->busn.end = pbm->pci_last_busno; in pci_scan_one_pbm()
665 pbm->busn.flags = IORESOURCE_BUS; in pci_scan_one_pbm()
666 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()
/arch/sparc/include/asm/
Dleon_pci.h15 struct resource busn; member
/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()
/arch/x86/include/asm/
Dpci_x86.h59 void pcibios_scan_specific_bus(int busn);
/arch/powerpc/include/asm/
Dpci-bridge.h33 struct resource busn; member
/arch/powerpc/kernel/
Dpci-common.c1600 hose->busn.start = hose->first_busno; in pcibios_scan_phb()
1601 hose->busn.end = hose->last_busno; in pcibios_scan_phb()
1602 hose->busn.flags = IORESOURCE_BUS; in pcibios_scan_phb()
1603 pci_add_resource(&resources, &hose->busn); in pcibios_scan_phb()