Searched refs:shared_hcd (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/drivers/usb/host/ |
D | xhci-histb.c | 268 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, dev_name(dev), in xhci_histb_probe() 270 if (!xhci->shared_hcd) { in xhci_histb_probe() 291 xhci->shared_hcd->can_do_streams = 1; in xhci_histb_probe() 293 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_histb_probe() 311 usb_put_hcd(xhci->shared_hcd); in xhci_histb_probe() 331 usb_remove_hcd(xhci->shared_hcd); in xhci_histb_remove() 335 usb_put_hcd(xhci->shared_hcd); in xhci_histb_remove()
|
D | xhci-mtk.c | 543 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe() 545 if (!xhci->shared_hcd) { in xhci_mtk_probe() 555 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe() 557 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe() 568 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe() 594 usb_remove_hcd(xhci->shared_hcd); in xhci_mtk_remove() 598 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_remove() 625 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_mtk_suspend() 626 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_mtk_suspend() 645 set_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_mtk_resume() [all …]
|
D | xhci-plat.c | 269 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe() 271 if (!xhci->shared_hcd) { in xhci_plat_probe() 313 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe() 315 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe() 338 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe() 365 usb_remove_hcd(xhci->shared_hcd); in xhci_plat_remove() 369 usb_put_hcd(xhci->shared_hcd); in xhci_plat_remove()
|
D | xhci-pci.c | 312 xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, in xhci_pci_probe() 314 if (!xhci->shared_hcd) { in xhci_pci_probe() 323 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe() 331 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe() 342 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe() 356 if (xhci->shared_hcd) { in xhci_pci_remove() 357 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 358 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
|
D | xhci-tegra.c | 1171 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe() 1175 if (!xhci->shared_hcd) { in tegra_xusb_probe() 1181 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe() 1214 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1216 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe() 1241 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove() 1242 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove()
|
D | xhci.c | 499 hcd = xhci->shared_hcd; in compliance_mode_recovery() 612 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished() 723 xhci->shared_hcd = NULL; in xhci_stop() 978 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend() 991 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend() 992 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend() 999 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend() 1080 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume() 1122 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume() 1150 secondary_hcd = xhci->shared_hcd; in xhci_resume() [all …]
|
D | xhci-hub.c | 627 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
|
D | xhci.h | 1712 struct usb_hcd *shared_hcd; member
|
D | xhci-mem.c | 1080 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
|
/Linux-v4.19/drivers/usb/core/ |
D | hcd-pci.c | 417 if (hcd->shared_hcd) { in check_root_hub_suspended() 418 hcd = hcd->shared_hcd; in check_root_hub_suspended() 448 if (do_wakeup && hcd->shared_hcd && in suspend_common() 449 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common() 456 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common() 457 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common() 489 (hcd->shared_hcd && in resume_common() 490 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
|
D | port.c | 434 if (peer_hcd != hcd->shared_hcd) in match_location() 472 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
|
D | hcd.c | 2491 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died() 2492 hcd = hcd->shared_hcd; in usb_hc_died() 2553 hcd->shared_hcd = primary_hcd; in __usb_create_hcd() 2554 primary_hcd->shared_hcd = hcd; in __usb_create_hcd() 2638 if (hcd->shared_hcd) { in hcd_release() 2639 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release() 2641 peer->shared_hcd = NULL; in hcd_release()
|
/Linux-v4.19/include/linux/usb/ |
D | hcd.h | 193 struct usb_hcd *shared_hcd; member 456 struct usb_hcd *shared_hcd);
|