Searched refs:shared_hcd (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/usb/host/ |
| H A D | xhci-mtk.c | 644 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe() 646 if (!xhci->shared_hcd) { in xhci_mtk_probe() 657 if (xhci->shared_hcd) { in xhci_mtk_probe() 658 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe() 679 usb_remove_hcd(xhci->shared_hcd); in xhci_mtk_probe() 682 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe() 711 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local 719 if (shared_hcd) { in xhci_mtk_remove() 720 usb_remove_hcd(shared_hcd); in xhci_mtk_remove() 721 xhci->shared_hcd = NULL; in xhci_mtk_remove() [all …]
|
| H A D | xhci-pci.c | 643 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_common_probe() 645 if (!xhci->shared_hcd) { in xhci_pci_common_probe() 654 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, IRQF_SHARED); in xhci_pci_common_probe() 683 usb_put_hcd(xhci->shared_hcd); in xhci_pci_common_probe() 723 if (xhci->shared_hcd) { in xhci_pci_remove() 724 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 725 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove() 726 xhci->shared_hcd = NULL; in xhci_pci_remove()
|
| H A D | xhci.c | 779 if (xhci->shared_hcd) { in xhci_shutdown() 780 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown() 781 timer_delete_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown() 980 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend() 997 if (xhci->shared_hcd) { in xhci_suspend() 998 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend() 999 timer_delete_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend() 1007 if (xhci->shared_hcd) in xhci_suspend() 1008 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend() 1103 if (xhci->shared_hcd) in xhci_resume() [all …]
|
| H A D | xhci-tegra.c | 1299 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power() 1379 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work() 1887 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe() 1891 if (!xhci->shared_hcd) { in tegra_xusb_probe() 1898 xhci->shared_hcd->can_do_streams = 1; in tegra_xusb_probe() 1900 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe() 1940 device_init_wakeup(&xhci->shared_hcd->self.root_hub->dev, true); in tegra_xusb_probe() 1955 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1957 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe() 2000 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove() [all …]
|
| H A D | xhci.h | 1503 struct usb_hcd *shared_hcd; member 1717 if (xhci->shared_hcd) in xhci_get_usb3_hcd() 1718 return xhci->shared_hcd; in xhci_get_usb3_hcd()
|
| H A D | xhci-ring.c | 2028 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
|
| /linux/drivers/usb/core/ |
| H A D | hcd-pci.c | 408 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 D | hcd.c | 2529 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died() 2530 hcd = hcd->shared_hcd; in usb_hc_died() 2598 hcd->shared_hcd = primary_hcd; in __usb_create_hcd() 2599 primary_hcd->shared_hcd = hcd; in __usb_create_hcd() 2686 if (hcd->shared_hcd) { in hcd_release() 2687 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release() 2689 peer->shared_hcd = NULL; in hcd_release() 2813 struct usb_hcd *shared_hcd; in usb_add_hcd() local 2981 shared_hcd = hcd->shared_hcd; in usb_add_hcd() 2982 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd() [all …]
|
| H A D | port.c | 622 if (peer_hcd != hcd->shared_hcd) in match_location() 661 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
|
| /linux/include/linux/usb/ |
| H A D | hcd.h | 186 struct usb_hcd *shared_hcd; member 458 struct usb_hcd *shared_hcd);
|