Lines Matching defs:dev
23 pdev_fixup_irq(struct pci_dev *dev,
31 if (pci_domain_nr(dev->bus) == 0)
41 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
48 slot = (*swizzle)(dev, &pin);
50 irq = (*map_irq)(dev, slot, pin);
54 dev->irq = irq;
56 dev_dbg(&dev->dev, "fixup irq: got %d\n", dev->irq);
60 pcibios_update_irq(dev, irq);
67 struct pci_dev *dev = NULL;
68 for_each_pci_dev(dev)
69 pdev_fixup_irq(dev, swizzle, map_irq);