Lines Matching defs:dev
40 int __devinit pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
44 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12)
45 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)];
50 static void rc32434_pci_early_fixup(struct pci_dev *dev)
52 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) {
54 pci_write_config_word(dev, PCI_PREF_MEMORY_LIMIT, 0);
55 pci_write_config_word(dev, PCI_PREF_MEMORY_BASE, 0x10);
57 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 4);
67 int pcibios_plat_dev_init(struct pci_dev *dev)