Home
last modified time | relevance | path

Searched refs:shared_hcd (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/usb/host/
Dxhci-plat.c135 xhci->shared_hcd = usb_create_shared_hcd(driver, &pdev->dev, in xhci_plat_probe()
137 if (!xhci->shared_hcd) { in xhci_plat_probe()
146 *((struct xhci_hcd **) xhci->shared_hcd->hcd_priv) = xhci; in xhci_plat_probe()
148 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
155 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
177 usb_remove_hcd(xhci->shared_hcd); in xhci_plat_remove()
178 usb_put_hcd(xhci->shared_hcd); in xhci_plat_remove()
Dxhci-pci.c197 xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, in xhci_pci_probe()
199 if (!xhci->shared_hcd) { in xhci_pci_probe()
207 *((struct xhci_hcd **) xhci->shared_hcd->hcd_priv) = xhci; in xhci_pci_probe()
209 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
217 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
228 if (xhci->shared_hcd) { in xhci_pci_remove()
229 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
230 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
248 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_pci_suspend()
Dxhci.c431 hcd = xhci->shared_hcd; in compliance_mode_recovery()
596 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
703 xhci->shared_hcd = NULL; in xhci_only_stop_hcd()
722 xhci_only_stop_hcd(xhci->shared_hcd); in xhci_stop()
907 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
981 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1017 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
1051 secondary_hcd = xhci->shared_hcd; in xhci_resume()
1066 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
1094 usb_hcd_resume_root_hub(xhci->shared_hcd); in xhci_resume()
Dxhci.h1398 struct usb_hcd *shared_hcd; member
Dxhci-ring.c1655 hcd = xhci->shared_hcd; in handle_port_status()
/linux-3.4.99/drivers/usb/core/
Dhcd-pci.c378 if (hcd->shared_hcd) { in check_root_hub_suspended()
379 hcd = hcd->shared_hcd; in check_root_hub_suspended()
410 if (do_wakeup && hcd->shared_hcd && in suspend_common()
411 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
418 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
419 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
451 (hcd->shared_hcd && in resume_common()
452 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
473 if (hcd->shared_hcd) in resume_common()
474 usb_hc_died(hcd->shared_hcd); in resume_common()
Dhcd.c2187 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2188 hcd = hcd->shared_hcd; in usb_hc_died()
2245 hcd->shared_hcd = primary_hcd; in usb_create_shared_hcd()
2246 primary_hcd->shared_hcd = hcd; in usb_create_shared_hcd()
2308 hcd->shared_hcd->shared_hcd = NULL; in hcd_release()
/linux-3.4.99/include/linux/usb/
Dhcd.h148 struct usb_hcd *shared_hcd; member
377 struct usb_hcd *shared_hcd);