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
262 xhci = hcd_to_xhci(hcd); in xhci_histb_probe()
266 xhci->main_hcd = hcd; in xhci_histb_probe()
267 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, dev_name(dev), in xhci_histb_probe()
269 if (!xhci->shared_hcd) { in xhci_histb_probe()
275 xhci->quirks |= XHCI_HW_LPM_DISABLE; in xhci_histb_probe()
278 xhci->quirks |= XHCI_LPM_SUPPORT; in xhci_histb_probe()
281 xhci->imod_interval = 40000; in xhci_histb_probe()
283 &xhci->imod_interval); in xhci_histb_probe()
289 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
290 xhci->shared_hcd->can_do_streams = 1; in xhci_histb_probe()
292 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_histb_probe()
310 usb_put_hcd(xhci->shared_hcd); in xhci_histb_probe()
326 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_remove() local
327 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_histb_remove()
329 xhci->xhc_state |= XHCI_STATE_REMOVING; in xhci_histb_remove()
332 xhci->shared_hcd = NULL; in xhci_histb_remove()
350 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_suspend() local
353 ret = xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_histb_suspend()
365 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_resume() local
370 return xhci_resume(xhci, 0); in xhci_histb_resume()