Searched refs:shared_hcd (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/usb/host/ |
| 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-plat.c | 306 if (!xhci->shared_hcd) { in xhci_plat_probe() 314 if (IS_ERR(xhci->shared_hcd->usb_phy)) { in xhci_plat_probe() 315 xhci->shared_hcd->usb_phy = NULL; in xhci_plat_probe() 331 if (xhci->shared_hcd) { in xhci_plat_probe() 350 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe() 423 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local 428 if (shared_hcd) { in xhci_plat_remove() 429 usb_remove_hcd(shared_hcd); in xhci_plat_remove() 430 xhci->shared_hcd = NULL; in xhci_plat_remove() 437 if (shared_hcd) in xhci_plat_remove() [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 | 618 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_common_probe() 620 if (!xhci->shared_hcd) { in xhci_pci_common_probe() 629 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_common_probe() 637 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_common_probe() 652 usb_put_hcd(xhci->shared_hcd); in xhci_pci_common_probe() 691 if (xhci->shared_hcd) { in xhci_pci_remove() 692 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 693 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove() 694 xhci->shared_hcd = NULL; in xhci_pci_remove()
|
| A D | xhci.c | 682 if (xhci->shared_hcd) { in xhci_shutdown() 902 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend() 919 if (xhci->shared_hcd) { in xhci_suspend() 929 if (xhci->shared_hcd) in xhci_suspend() 1027 if (xhci->shared_hcd) in xhci_resume() 1090 if (xhci->shared_hcd) in xhci_resume() 1124 if (!retval && xhci->shared_hcd) { in xhci_resume() 1126 retval = xhci_run(xhci->shared_hcd); in xhci_resume() 1136 if (xhci->shared_hcd) { in xhci_resume() 1185 if (xhci->shared_hcd) in xhci_resume() [all …]
|
| A D | xhci-tegra.c | 1293 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power() 1372 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work() 1821 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe() 1825 if (!xhci->shared_hcd) { in tegra_xusb_probe() 1832 xhci->shared_hcd->can_do_streams = 1; in tegra_xusb_probe() 1874 device_init_wakeup(&xhci->shared_hcd->self.root_hub->dev, true); in tegra_xusb_probe() 1889 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1891 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1932 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove() 1933 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove() [all …]
|
| A D | xhci.h | 1484 struct usb_hcd *shared_hcd; member 1697 if (xhci->shared_hcd) in xhci_get_usb3_hcd() 1698 return xhci->shared_hcd; in xhci_get_usb3_hcd()
|
| A D | xhci-ring.c | 1928 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
|
| /linux/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() 442 if (do_wakeup && hcd->shared_hcd && in suspend_common() 443 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common() 450 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common() 451 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common() 483 (hcd->shared_hcd && in resume_common() 484 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
|
| A D | hcd.c | 2513 hcd = hcd->shared_hcd; in usb_hc_died() 2581 hcd->shared_hcd = primary_hcd; in __usb_create_hcd() 2582 primary_hcd->shared_hcd = hcd; in __usb_create_hcd() 2669 if (hcd->shared_hcd) { in hcd_release() 2670 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release() 2672 peer->shared_hcd = NULL; in hcd_release() 2796 struct usb_hcd *shared_hcd; in usb_add_hcd() local 2958 shared_hcd = hcd->shared_hcd; in usb_add_hcd() 2959 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd() 2964 if (shared_hcd->uses_new_polling && HCD_POLL_RH(shared_hcd)) in usb_add_hcd() [all …]
|
| A D | port.c | 619 if (peer_hcd != hcd->shared_hcd) in match_location() 658 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
|
| /linux/include/linux/usb/ |
| A D | hcd.h | 186 struct usb_hcd *shared_hcd; member 458 struct usb_hcd *shared_hcd);
|
Completed in 53 milliseconds