Lines Matching defs:dev
40 struct pci_dev *dev;
42 dev = acpi_get_pci_dev(device->handle);
43 if (!dev)
46 device_set_run_wake(&dev->dev, false);
49 if (!dev->subordinate)
52 acpi_pci_irq_del_prt(dev->subordinate);
58 pci_dev_put(dev);
67 struct pci_dev *dev;
69 dev = acpi_get_pci_dev(device->handle);
70 if (!dev)
73 pci_acpi_add_pm_notifier(device, dev);
75 device_set_run_wake(&dev->dev, true);
81 if (dev->subordinate) {
84 pci_domain_nr(dev->bus), dev->bus->number,
85 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)));
102 if (dev->subordinate)
103 bus = dev->subordinate;
105 bus = dev->bus;
110 pci_dev_put(dev);