Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/host/
H A Dxhci-plat.c307 if (!xhci->shared_hcd) { in xhci_plat_probe()
315 if (IS_ERR(xhci->shared_hcd->usb_phy)) { in xhci_plat_probe()
316 xhci->shared_hcd->usb_phy = NULL; in xhci_plat_probe()
332 if (xhci->shared_hcd) { in xhci_plat_probe()
353 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
426 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local
431 if (shared_hcd) { in xhci_plat_remove()
432 usb_remove_hcd(shared_hcd); in xhci_plat_remove()
433 xhci->shared_hcd = NULL; in xhci_plat_remove()
440 if (shared_hcd) in xhci_plat_remove()
[all …]
H A Dxhci-mtk.c646 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 …]
H A Dxhci-histb.c257 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()
H A Dxhci-pci.c614 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_common_probe()
616 if (!xhci->shared_hcd) { in xhci_pci_common_probe()
625 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_common_probe()
633 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_common_probe()
651 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()
H A Dxhci.c677 if (xhci->shared_hcd) { in xhci_shutdown()
895 (xhci->shared_hcd && xhci->shared_hcd->state != HC_STATE_SUSPENDED)) in xhci_suspend()
912 if (xhci->shared_hcd) { in xhci_suspend()
922 if (xhci->shared_hcd) in xhci_suspend()
1018 if (xhci->shared_hcd) in xhci_resume()
1081 if (xhci->shared_hcd) in xhci_resume()
1115 if (!retval && xhci->shared_hcd) { in xhci_resume()
1117 retval = xhci_run(xhci->shared_hcd); in xhci_resume()
1127 if (xhci->shared_hcd) { in xhci_resume()
1175 if (xhci->shared_hcd) in xhci_resume()
[all …]
H A Dxhci-tegra.c1294 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 …]
H A Dxhci.h1499 struct usb_hcd *shared_hcd; member
1710 if (xhci->shared_hcd) in xhci_get_usb3_hcd()
1711 return xhci->shared_hcd; in xhci_get_usb3_hcd()
H A Dxhci-ring.c2013 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/linux-6.15/drivers/usb/core/
H A Dhcd-pci.c408 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 Dhcd.c2513 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
2964 shared_hcd = hcd->shared_hcd; in usb_add_hcd()
2965 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd()
2970 if (shared_hcd->uses_new_polling && HCD_POLL_RH(shared_hcd)) in usb_add_hcd()
[all …]
H A Dport.c622 if (peer_hcd != hcd->shared_hcd) in match_location()
661 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
/linux-6.15/include/linux/usb/
H A Dhcd.h186 struct usb_hcd *shared_hcd; member
458 struct usb_hcd *shared_hcd);