Home
last modified time | relevance | path

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

/linux/drivers/usb/core/
H A Dhcd-pci.c408 if (hcd->shared_hcd) { in check_root_hub_suspended()
409 hcd = hcd->shared_hcd; in check_root_hub_suspended()
447 if (do_wakeup && hcd->shared_hcd && in suspend_common()
448 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
455 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
456 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
488 (hcd->shared_hcd && in resume_common()
489 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
H A Dport.c637 if (peer_hcd != hcd->shared_hcd) in match_location()
676 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
/linux/drivers/usb/host/
H A Dxhci-pci.c644 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_common_probe()
646 if (!xhci->shared_hcd) { in xhci_pci_common_probe()
655 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, IRQF_SHARED); in xhci_pci_common_probe()
684 usb_put_hcd(xhci->shared_hcd); in xhci_pci_common_probe()
735 if (xhci->shared_hcd) { in xhci_pci_remove()
736 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
737 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
738 xhci->shared_hcd = NULL; in xhci_pci_remove()
H A Dxhci.c762 if (xhci->shared_hcd) { in xhci_shutdown()
763 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown()
764 timer_delete_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown()
963 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend()
980 if (xhci->shared_hcd) { in xhci_suspend()
981 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
982 timer_delete_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
990 if (xhci->shared_hcd) in xhci_suspend()
991 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1100 if (xhci->shared_hcd) in xhci_resume()
[all …]
H A Dxhci.h1506 struct usb_hcd *shared_hcd; member
1721 if (xhci->shared_hcd) in xhci_get_usb3_hcd()
1722 return xhci->shared_hcd; in xhci_get_usb3_hcd()