Lines Matching refs:dev2
538 int ide_pci_init_two(struct pci_dev *dev1, struct pci_dev *dev2, in ide_pci_init_two() argument
541 struct pci_dev *pdev[] = { dev1, dev2 }; in ide_pci_init_two()
543 int ret, i, n_ports = dev2 ? 4 : 2; in ide_pci_init_two()
561 if (dev2) in ide_pci_init_two()
562 host->dev[1] = &dev2->dev; in ide_pci_init_two()
568 if (dev2) in ide_pci_init_two()
607 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in ide_pci_remove() local
624 if (dev2) in ide_pci_remove()
625 pci_release_selected_regions(dev2, bars); in ide_pci_remove()
628 if (dev2) in ide_pci_remove()
629 pci_disable_device(dev2); in ide_pci_remove()