Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/host/
Dxhci-plat.c333 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
335 if (!xhci->shared_hcd) { in xhci_plat_probe()
340 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe()
347 if (xhci->shared_hcd) { in xhci_plat_probe()
348 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
366 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
396 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local
401 if (shared_hcd) { in xhci_plat_remove()
402 usb_remove_hcd(shared_hcd); in xhci_plat_remove()
403 xhci->shared_hcd = NULL; in xhci_plat_remove()
[all …]
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.c605 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe()
607 if (!xhci->shared_hcd) { in xhci_mtk_probe()
618 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe()
620 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe()
641 usb_remove_hcd(xhci->shared_hcd); in xhci_mtk_probe()
642 xhci->shared_hcd = NULL; in xhci_mtk_probe()
649 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe()
674 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local
682 usb_remove_hcd(shared_hcd); in xhci_mtk_remove()
683 xhci->shared_hcd = NULL; in xhci_mtk_remove()
[all …]
Dxhci-pci.c429 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe()
431 if (!xhci->shared_hcd) { in xhci_pci_probe()
440 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
448 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
459 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
478 if (xhci->shared_hcd) { in xhci_pci_remove()
479 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
480 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
481 xhci->shared_hcd = NULL; in xhci_pci_remove()
Dxhci.c806 if (xhci->shared_hcd) { in xhci_shutdown()
807 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown()
808 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown()
1017 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend()
1034 if (xhci->shared_hcd) { in xhci_suspend()
1035 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
1036 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
1044 if (xhci->shared_hcd) in xhci_suspend()
1045 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1144 if (xhci->shared_hcd) in xhci_resume()
[all …]
Dxhci-tegra.c1158 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power()
1234 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.h1754 struct usb_hcd *shared_hcd; member
1970 if (xhci->shared_hcd) in xhci_get_usb3_hcd()
1971 return xhci->shared_hcd; in xhci_get_usb3_hcd()
Dxhci-ring.c1870 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/Linux-v6.1/drivers/usb/core/
Dhcd-pci.c408 if (hcd->shared_hcd) { in check_root_hub_suspended()
409 hcd = hcd->shared_hcd; in check_root_hub_suspended()
439 if (do_wakeup && hcd->shared_hcd && in suspend_common()
440 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
447 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
448 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
480 (hcd->shared_hcd && in resume_common()
481 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
Dhcd.c2532 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2533 hcd = hcd->shared_hcd; in usb_hc_died()
2601 hcd->shared_hcd = primary_hcd; in __usb_create_hcd()
2602 primary_hcd->shared_hcd = hcd; in __usb_create_hcd()
2689 if (hcd->shared_hcd) { in hcd_release()
2690 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2692 peer->shared_hcd = NULL; in hcd_release()
2816 struct usb_hcd *shared_hcd; in usb_add_hcd() local
2979 shared_hcd = hcd->shared_hcd; in usb_add_hcd()
2980 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd()
[all …]
Dport.c543 if (peer_hcd != hcd->shared_hcd) in match_location()
581 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
/Linux-v6.1/include/linux/usb/
Dhcd.h187 struct usb_hcd *shared_hcd; member
456 struct usb_hcd *shared_hcd);