Lines Matching refs:xhci
167 static void xhci_histb_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_histb_quirks() argument
174 xhci->quirks |= XHCI_PLAT; in xhci_histb_quirks()
203 struct xhci_hcd *xhci; in xhci_histb_probe() local
263 xhci = hcd_to_xhci(hcd); in xhci_histb_probe()
267 xhci->main_hcd = hcd; in xhci_histb_probe()
268 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, dev_name(dev), in xhci_histb_probe()
270 if (!xhci->shared_hcd) { in xhci_histb_probe()
276 xhci->quirks |= XHCI_HW_LPM_DISABLE; in xhci_histb_probe()
279 xhci->quirks |= XHCI_LPM_SUPPORT; in xhci_histb_probe()
282 xhci->imod_interval = 40000; in xhci_histb_probe()
284 &xhci->imod_interval); in xhci_histb_probe()
290 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
291 xhci->shared_hcd->can_do_streams = 1; in xhci_histb_probe()
293 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_histb_probe()
311 usb_put_hcd(xhci->shared_hcd); in xhci_histb_probe()
327 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_remove() local
329 xhci->xhc_state |= XHCI_STATE_REMOVING; in xhci_histb_remove()
331 usb_remove_hcd(xhci->shared_hcd); in xhci_histb_remove()
335 usb_put_hcd(xhci->shared_hcd); in xhci_histb_remove()
349 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_suspend() local
352 ret = xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_histb_suspend()
364 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_resume() local
369 return xhci_resume(xhci, 0); in xhci_histb_resume()