Lines Matching refs:driver
188 struct hc_driver *driver; in usb_hcd_pci_probe() local
198 driver = (struct hc_driver *)id->driver_data; in usb_hcd_pci_probe()
199 if (!driver) in usb_hcd_pci_probe()
209 if ((driver->flags & HCD_MASK) != HCD_USB3) { in usb_hcd_pci_probe()
220 hcd = usb_create_hcd(driver, &dev->dev, pci_name(dev)); in usb_hcd_pci_probe()
227 driver->flags & (HCD_USB11 | HCD_USB3)) ? 1 : 0; in usb_hcd_pci_probe()
229 if (driver->flags & HCD_MEMORY) { in usb_hcd_pci_probe()
234 driver->description)) { in usb_hcd_pci_probe()
258 driver->description)) in usb_hcd_pci_probe()
300 if (driver->flags & HCD_MEMORY) { in usb_hcd_pci_probe()
365 if (hcd->driver->flags & HCD_MEMORY) { in usb_hcd_pci_remove()
390 hcd->driver->shutdown) { in usb_hcd_pci_shutdown()
391 hcd->driver->shutdown(hcd); in usb_hcd_pci_shutdown()
456 if (hcd->driver->pci_suspend && !HCD_DEAD(hcd)) { in suspend_common()
465 retval = hcd->driver->pci_suspend(hcd, do_wakeup); in suspend_common()
466 suspend_report_result(hcd->driver->pci_suspend, retval); in suspend_common()
472 if (hcd->driver->pci_resume) in suspend_common()
473 hcd->driver->pci_resume(hcd, false); in suspend_common()
517 if (hcd->driver->pci_resume && !HCD_DEAD(hcd)) { in resume_common()
528 retval = hcd->driver->pci_resume(hcd, in resume_common()