Lines Matching defs:dev
31 static void __init gapspci_fixup_resources(struct pci_dev *dev)
33 struct pci_channel *p = dev->sysdata;
35 printk(KERN_NOTICE "PCI: Fixing up device %s\n", pci_name(dev));
37 switch (dev->device) {
40 * We also assume that dev->devfn == 0
42 dev->resource[1].start = p->resources[0].start + 0x100;
43 dev->resource[1].end = dev->resource[1].start + 0x200 - 1;
49 dev->resource[1].flags |= IORESOURCE_PCI_FIXED;
54 BUG_ON(!dma_declare_coherent_memory(&dev->dev,
67 int __init pcibios_map_platform_irq(struct pci_dev *dev, u8 slot, u8 pin)