Lines Matching refs:retval
62 int retval; in usb_hcd_pci_probe() local
81 retval = -ENODEV; in usb_hcd_pci_probe()
87 retval = -ENOMEM; in usb_hcd_pci_probe()
98 retval = -EBUSY; in usb_hcd_pci_probe()
104 retval = -EFAULT; in usb_hcd_pci_probe()
125 retval = -EBUSY; in usb_hcd_pci_probe()
132 retval = usb_add_hcd(hcd, dev->irq, IRQF_DISABLED | IRQF_SHARED); in usb_hcd_pci_probe()
133 if (retval != 0) in usb_hcd_pci_probe()
135 return retval; in usb_hcd_pci_probe()
148 dev_err(&dev->dev, "init %s fail, %d\n", pci_name(dev), retval); in usb_hcd_pci_probe()
149 return retval; in usb_hcd_pci_probe()
201 int retval = 0; in usb_hcd_pci_suspend() local
216 retval = -EBUSY; in usb_hcd_pci_suspend()
225 retval = hcd->driver->pci_suspend(hcd, message); in usb_hcd_pci_suspend()
226 suspend_report_result(hcd->driver->pci_suspend, retval); in usb_hcd_pci_suspend()
227 if (retval) in usb_hcd_pci_suspend()
270 retval = pci_set_power_state(dev, PCI_D3hot); in usb_hcd_pci_suspend()
271 suspend_report_result(pci_set_power_state, retval); in usb_hcd_pci_suspend()
272 if (retval == 0) { in usb_hcd_pci_suspend()
276 retval); in usb_hcd_pci_suspend()
282 if (retval == 0) { in usb_hcd_pci_suspend()
296 return retval; in usb_hcd_pci_suspend()
309 int retval; in usb_hcd_pci_resume() local
334 retval = pci_enable_device(dev); in usb_hcd_pci_resume()
335 if (retval < 0) { in usb_hcd_pci_resume()
337 retval); in usb_hcd_pci_resume()
338 return retval; in usb_hcd_pci_resume()
349 retval = hcd->driver->pci_resume(hcd); in usb_hcd_pci_resume()
350 if (retval) { in usb_hcd_pci_resume()
352 "PCI post-resume error %d!\n", retval); in usb_hcd_pci_resume()
356 return retval; in usb_hcd_pci_resume()