Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A Dxhci-plat.c305 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
307 if (!xhci->shared_hcd) { in xhci_plat_probe()
313 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, 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()
318 ret = usb_phy_init(xhci->shared_hcd->usb_phy); in xhci_plat_probe()
325 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe()
332 if (xhci->shared_hcd) { in xhci_plat_probe()
333 xhci->shared_hcd->rsrc_start = hcd->rsrc_start; in xhci_plat_probe()
334 xhci->shared_hcd->rsrc_len = hcd->rsrc_len; in xhci_plat_probe()
[all …]
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()
678 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown()
679 del_timer_sync(&xhci->shared_hcd->rh_timer); 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()
913 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
914 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
922 if (xhci->shared_hcd) in xhci_suspend()
923 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1020 if (xhci->shared_hcd) in xhci_resume()
[all …]
H A Dxhci.h1496 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.c1982 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/linux/drivers/usb/core/
H A Dhcd.c2512 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
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
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()
[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/include/linux/usb/
H A Dhcd.h186 struct usb_hcd *shared_hcd; member
458 struct usb_hcd *shared_hcd);