Home
last modified time | relevance | path

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

/drivers/usb/host/
Dxhci-histb.c267 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, dev_name(dev), in xhci_histb_probe()
269 if (!xhci->shared_hcd) { in xhci_histb_probe()
290 xhci->shared_hcd->can_do_streams = 1; in xhci_histb_probe()
292 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_histb_probe()
310 usb_put_hcd(xhci->shared_hcd); in xhci_histb_probe()
327 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_histb_remove() local
331 usb_remove_hcd(shared_hcd); in xhci_histb_remove()
332 xhci->shared_hcd = NULL; in xhci_histb_remove()
336 usb_put_hcd(shared_hcd); in xhci_histb_remove()
Dxhci-mtk.c622 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe()
624 if (!xhci->shared_hcd) { in xhci_mtk_probe()
635 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe()
637 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe()
658 usb_remove_hcd(xhci->shared_hcd); in xhci_mtk_probe()
665 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe()
690 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local
698 usb_remove_hcd(shared_hcd); in xhci_mtk_remove()
699 xhci->shared_hcd = NULL; in xhci_mtk_remove()
701 usb_put_hcd(shared_hcd); in xhci_mtk_remove()
[all …]
Dxhci-plat.c304 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
306 if (!xhci->shared_hcd) { in xhci_plat_probe()
346 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe()
365 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe()
367 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
390 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
414 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local
419 usb_remove_hcd(shared_hcd); in xhci_plat_remove()
420 xhci->shared_hcd = NULL; in xhci_plat_remove()
424 usb_put_hcd(shared_hcd); in xhci_plat_remove()
Dxhci-pci.c443 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe()
445 if (!xhci->shared_hcd) { in xhci_pci_probe()
454 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
462 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
477 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
496 if (xhci->shared_hcd) { in xhci_pci_remove()
497 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
498 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
499 xhci->shared_hcd = NULL; in xhci_pci_remove()
Dxhci-tegra.c1158 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power()
1237 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work()
1682 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe()
1686 if (!xhci->shared_hcd) { in tegra_xusb_probe()
1692 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe()
1732 device_init_wakeup(&xhci->shared_hcd->self.root_hub->dev, true); in tegra_xusb_probe()
1747 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1749 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1781 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1782 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove()
[all …]
Dxhci.c506 hcd = xhci->shared_hcd; in compliance_mode_recovery()
638 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
805 if (xhci->shared_hcd) { in xhci_shutdown()
806 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown()
807 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown()
1016 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend()
1033 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
1034 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
1041 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1142 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
[all …]
Dxhci.h1767 struct usb_hcd *shared_hcd; member
Dxhci-hub.c730 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
Dxhci-mem.c1087 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
Dxhci-ring.c1938 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/drivers/usb/core/
Dhcd-pci.c414 if (hcd->shared_hcd) { in check_root_hub_suspended()
415 hcd = hcd->shared_hcd; in check_root_hub_suspended()
445 if (do_wakeup && hcd->shared_hcd && in suspend_common()
446 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
453 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
454 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
486 (hcd->shared_hcd && in resume_common()
487 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
Dhcd.c2539 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2540 hcd = hcd->shared_hcd; in usb_hc_died()
2608 hcd->shared_hcd = primary_hcd; in __usb_create_hcd()
2609 primary_hcd->shared_hcd = hcd; in __usb_create_hcd()
2696 if (hcd->shared_hcd) { in hcd_release()
2697 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2699 peer->shared_hcd = NULL; in hcd_release()
2823 struct usb_hcd *shared_hcd; in usb_add_hcd() local
2985 shared_hcd = hcd->shared_hcd; in usb_add_hcd()
2986 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd()
[all …]
Dport.c486 if (peer_hcd != hcd->shared_hcd) in match_location()
524 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()