Lines Matching refs:dev2
427 struct pci_dev *dev2; in pdc20270_get_dev2() local
429 dev2 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn) + 1, in pdc20270_get_dev2()
432 if (dev2 && in pdc20270_get_dev2()
433 dev2->vendor == dev->vendor && in pdc20270_get_dev2()
434 dev2->device == dev->device) { in pdc20270_get_dev2()
436 if (dev2->irq != dev->irq) { in pdc20270_get_dev2()
437 dev2->irq = dev->irq; in pdc20270_get_dev2()
442 return dev2; in pdc20270_get_dev2()
490 struct pci_dev *dev2; in pdc202new_init_one() local
495 dev2 = pdc20270_get_dev2(dev); in pdc202new_init_one()
497 if (dev2) { in pdc202new_init_one()
498 int ret = ide_pci_init_two(dev, dev2, d, NULL); in pdc202new_init_one()
500 pci_dev_put(dev2); in pdc202new_init_one()
520 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in pdc202new_remove() local
523 pci_dev_put(dev2); in pdc202new_remove()