Lines Matching defs:dev
28 static void gapspci_fixup_resources(struct pci_dev *dev)
30 struct pci_channel *p = dev->sysdata;
34 printk(KERN_NOTICE "PCI: Fixing up device %s\n", pci_name(dev));
36 switch (dev->device) {
39 * We also assume that dev->devfn == 0
41 dev->resource[1].start = p->resources[0].start + 0x100;
42 dev->resource[1].end = dev->resource[1].start + 0x200 - 1;
48 dev->resource[1].flags |= IORESOURCE_PCI_FIXED;
62 pcibios_resource_to_bus(dev->bus, ®ion, &res);
63 BUG_ON(dma_declare_coherent_memory(&dev->dev,
74 int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin)