Home
last modified time | relevance | path

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

/drivers/usb/host/
Dxhci-plat.c270 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
272 if (!xhci->shared_hcd) { in xhci_plat_probe()
309 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe()
315 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe()
317 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
340 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
364 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local
368 usb_remove_hcd(shared_hcd); in xhci_plat_remove()
369 xhci->shared_hcd = NULL; in xhci_plat_remove()
373 usb_put_hcd(shared_hcd); in xhci_plat_remove()
Dxhci-histb.c268 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()
328 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_histb_remove() local
332 usb_remove_hcd(shared_hcd); in xhci_histb_remove()
333 xhci->shared_hcd = NULL; in xhci_histb_remove()
337 usb_put_hcd(shared_hcd); in xhci_histb_remove()
Dxhci-mtk.c543 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()
593 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local
595 usb_remove_hcd(shared_hcd); in xhci_mtk_remove()
596 xhci->shared_hcd = NULL; in xhci_mtk_remove()
600 usb_put_hcd(shared_hcd); in xhci_mtk_remove()
627 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_mtk_suspend()
[all …]
Dxhci-pci.c341 xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, in xhci_pci_probe()
343 if (!xhci->shared_hcd) { in xhci_pci_probe()
352 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
360 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
374 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
393 if (xhci->shared_hcd) { in xhci_pci_remove()
394 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
395 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
396 xhci->shared_hcd = NULL; in xhci_pci_remove()
Dxhci-tegra.c1224 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe()
1228 if (!xhci->shared_hcd) { in tegra_xusb_probe()
1234 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe()
1267 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1269 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1297 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1298 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1299 xhci->shared_hcd = NULL; in tegra_xusb_remove()
Dxhci.c498 hcd = xhci->shared_hcd; in compliance_mode_recovery()
611 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
982 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend()
995 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
996 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
1003 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1101 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1155 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
1183 secondary_hcd = xhci->shared_hcd; in xhci_resume()
1198 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
[all …]
Dxhci-hub.c631 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
Dxhci.h1730 struct usb_hcd *shared_hcd; member
Dxhci-mem.c1080 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
Dxhci-ring.c1601 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/drivers/usb/core/
Dhcd-pci.c402 if (hcd->shared_hcd) { in check_root_hub_suspended()
403 hcd = hcd->shared_hcd; in check_root_hub_suspended()
433 if (do_wakeup && hcd->shared_hcd && in suspend_common()
434 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
441 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
442 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
474 (hcd->shared_hcd && in resume_common()
475 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
Dhcd.c2377 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2378 hcd = hcd->shared_hcd; in usb_hc_died()
2446 hcd->shared_hcd = primary_hcd; in __usb_create_hcd()
2447 primary_hcd->shared_hcd = hcd; in __usb_create_hcd()
2532 if (hcd->shared_hcd) { in hcd_release()
2533 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2535 peer->shared_hcd = NULL; in hcd_release()
Dport.c453 if (peer_hcd != hcd->shared_hcd) in match_location()
491 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()