Lines Matching refs:srv
43 struct pcie_device *srv; member
217 struct pci_dev *port = data->srv->port; in pcie_pme_work_fn()
324 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe() argument
326 struct pci_dev *port = srv->port; in pcie_pme_probe()
342 data->srv = srv; in pcie_pme_probe()
343 set_service_data(srv, data); in pcie_pme_probe()
348 ret = request_irq(srv->irq, pcie_pme_irq, IRQF_SHARED, "PCIe PME", srv); in pcie_pme_probe()
354 pci_info(port, "Signaling with IRQ %d\n", srv->irq); in pcie_pme_probe()
390 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend() argument
392 struct pcie_pme_service_data *data = get_service_data(srv); in pcie_pme_suspend()
393 struct pci_dev *port = srv->port; in pcie_pme_suspend()
405 ret = enable_irq_wake(srv->irq); in pcie_pme_suspend()
412 synchronize_irq(srv->irq); in pcie_pme_suspend()
421 static int pcie_pme_resume(struct pcie_device *srv) in pcie_pme_resume() argument
423 struct pcie_pme_service_data *data = get_service_data(srv); in pcie_pme_resume()
427 struct pci_dev *port = srv->port; in pcie_pme_resume()
433 disable_irq_wake(srv->irq); in pcie_pme_resume()
444 static void pcie_pme_remove(struct pcie_device *srv) in pcie_pme_remove() argument
446 struct pcie_pme_service_data *data = get_service_data(srv); in pcie_pme_remove()
448 pcie_pme_disable_interrupt(srv->port, data); in pcie_pme_remove()
449 free_irq(srv->irq, srv); in pcie_pme_remove()