Searched refs:pme_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/pci/
H A Dpci.c1672 struct pci_pme_device *pme_dev, *n; pci_pme_list_scan() local
1675 list_for_each_entry_safe(pme_dev, n, &pci_pme_list, list) { pci_pme_list_scan()
1676 if (pme_dev->dev->pme_poll) { pci_pme_list_scan()
1679 bridge = pme_dev->dev->bus->self; pci_pme_list_scan()
1687 pci_pme_wakeup(pme_dev->dev, NULL); pci_pme_list_scan()
1689 list_del(&pme_dev->list); pci_pme_list_scan()
1690 kfree(pme_dev); pci_pme_list_scan()
1743 struct pci_pme_device *pme_dev; pci_pme_active() local
1745 pme_dev = kmalloc(sizeof(struct pci_pme_device), pci_pme_active()
1747 if (!pme_dev) { pci_pme_active()
1751 pme_dev->dev = dev; pci_pme_active()
1753 list_add(&pme_dev->list, &pci_pme_list); pci_pme_active()
1760 list_for_each_entry(pme_dev, &pci_pme_list, list) { pci_pme_active()
1761 if (pme_dev->dev == dev) { pci_pme_active()
1762 list_del(&pme_dev->list); pci_pme_active()
1763 kfree(pme_dev); pci_pme_active()

Completed in 67 milliseconds