Lines Matching refs:dev2
1402 struct pci_dev *dev2 = NULL; in pcibios_lookup_irq() local
1514 for_each_pci_dev(dev2) { in pcibios_lookup_irq()
1515 pci_read_config_byte(dev2, PCI_INTERRUPT_PIN, &dpin); in pcibios_lookup_irq()
1520 info = pirq_get_info(dev2, &pin); in pcibios_lookup_irq()
1528 if (dev2->irq && dev2->irq != irq && \ in pcibios_lookup_irq()
1530 ((1 << dev2->irq) & mask))) { in pcibios_lookup_irq()
1532 dev_info(&dev2->dev, "IRQ routing conflict: " in pcibios_lookup_irq()
1534 dev2->irq, irq); in pcibios_lookup_irq()
1538 dev2->irq = irq; in pcibios_lookup_irq()
1540 if (dev != dev2) in pcibios_lookup_irq()
1542 irq, pci_name(dev2)); in pcibios_lookup_irq()