Searched refs:shared_hcd (Results 1 – 11 of 11) sorted by relevance
| /drivers/usb/host/ |
| A D | xhci-plat.c | 309 if (!xhci->shared_hcd) { in xhci_plat_probe() 317 if (IS_ERR(xhci->shared_hcd->usb_phy)) { in xhci_plat_probe() 318 xhci->shared_hcd->usb_phy = NULL; in xhci_plat_probe() 335 if (xhci->shared_hcd) { in xhci_plat_probe() 356 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe() 429 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local 434 if (shared_hcd) { in xhci_plat_remove() 435 usb_remove_hcd(shared_hcd); in xhci_plat_remove() 436 xhci->shared_hcd = NULL; in xhci_plat_remove() 443 if (shared_hcd) in xhci_plat_remove() [all …]
|
| A D | xhci-mtk.c | 646 if (!xhci->shared_hcd) { in xhci_mtk_probe() 657 if (xhci->shared_hcd) { in xhci_mtk_probe() 712 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local 720 if (shared_hcd) { in xhci_mtk_remove() 722 xhci->shared_hcd = NULL; in xhci_mtk_remove() 726 if (shared_hcd) in xhci_mtk_remove() 744 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_suspend() local 750 if (shared_hcd) { in xhci_mtk_suspend() 765 if (shared_hcd) { in xhci_mtk_suspend() 779 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_resume() local [all …]
|
| A D | xhci-histb.c | 257 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, dev_name(dev), in xhci_histb_probe() 259 if (!xhci->shared_hcd) { in xhci_histb_probe() 280 xhci->shared_hcd->can_do_streams = 1; in xhci_histb_probe() 282 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_histb_probe() 300 usb_put_hcd(xhci->shared_hcd); in xhci_histb_probe() 317 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_histb_remove() local 321 usb_remove_hcd(shared_hcd); in xhci_histb_remove() 322 xhci->shared_hcd = NULL; in xhci_histb_remove() 326 usb_put_hcd(shared_hcd); in xhci_histb_remove()
|
| A D | xhci-pci.c | 639 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_common_probe() 641 if (!xhci->shared_hcd) { in xhci_pci_common_probe() 650 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_common_probe() 658 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_common_probe() 676 usb_put_hcd(xhci->shared_hcd); in xhci_pci_common_probe() 716 if (xhci->shared_hcd) { in xhci_pci_remove() 717 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 718 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove() 719 xhci->shared_hcd = NULL; in xhci_pci_remove()
|
| A D | xhci.c | 770 if (xhci->shared_hcd) { in xhci_shutdown() 971 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend() 988 if (xhci->shared_hcd) { in xhci_suspend() 998 if (xhci->shared_hcd) in xhci_suspend() 1094 if (xhci->shared_hcd) in xhci_resume() 1157 if (xhci->shared_hcd) in xhci_resume() 1194 if (!retval && xhci->shared_hcd) { in xhci_resume() 1196 retval = xhci_run(xhci->shared_hcd); in xhci_resume() 1206 if (xhci->shared_hcd) { in xhci_resume() 1254 if (xhci->shared_hcd) in xhci_resume() [all …]
|
| A D | xhci-tegra.c | 1294 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power() 1374 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work() 1825 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe() 1829 if (!xhci->shared_hcd) { in tegra_xusb_probe() 1836 xhci->shared_hcd->can_do_streams = 1; in tegra_xusb_probe() 1878 device_init_wakeup(&xhci->shared_hcd->self.root_hub->dev, true); in tegra_xusb_probe() 1893 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1895 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1936 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove() 1937 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove() [all …]
|
| A D | xhci.h | 1504 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()
|
| A D | xhci-ring.c | 2017 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
|
| /drivers/usb/core/ |
| 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()
|
| A D | hcd.c | 2526 hcd = hcd->shared_hcd; in usb_hc_died() 2594 hcd->shared_hcd = primary_hcd; in __usb_create_hcd() 2595 primary_hcd->shared_hcd = hcd; in __usb_create_hcd() 2682 if (hcd->shared_hcd) { in hcd_release() 2683 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release() 2685 peer->shared_hcd = NULL; in hcd_release() 2809 struct usb_hcd *shared_hcd; in usb_add_hcd() local 2977 shared_hcd = hcd->shared_hcd; in usb_add_hcd() 2978 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd() 2983 if (shared_hcd->uses_new_polling && HCD_POLL_RH(shared_hcd)) in usb_add_hcd() [all …]
|
| 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()
|
Completed in 51 milliseconds