Lines Matching refs:number
54 #define CONFIG_CMD(dev, where) (0x80000000 | (dev->bus->number << 16) | (dev->devfn << 8) | (wher…
124 result = pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_byte()
140 result = pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_word()
150 return pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_dword()
157 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_byte()
163 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_word()
169 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_dword()
192 outb(dev->bus->number, 0xCFA);
272 result = pci_conf2_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_read_config_byte()
288 result = pci_conf2_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_read_config_word()
298 return pci_conf2_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_read_config_dword()
304 return pci_conf2_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_write_config_byte()
310 return pci_conf2_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_write_config_word()
316 return pci_conf2_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_write_config_dword()
351 bus.number = 0; in pci_sanity_check()
417 if (bus->number == busnum) { in pcibios_scan_root()
443 DBG("PCI: Scanning for ghost devices on bus %d\n", b->number); in pcibios_fixup_ghosts()
467 printk(KERN_INFO "PCI: Ignoring ghost devices on bus %02x\n", b->number); in pcibios_fixup_ghosts()
497 bus.number = n; in pcibios_fixup_peer_bridges()