Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
A Dxhci-mtk.c587 if (!xhci->shared_hcd) { in xhci_mtk_probe()
598 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe()
621 usb_remove_hcd(xhci->shared_hcd); in xhci_mtk_probe()
622 xhci->shared_hcd = NULL; in xhci_mtk_probe()
629 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe()
654 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local
662 usb_remove_hcd(shared_hcd); in xhci_mtk_remove()
663 xhci->shared_hcd = NULL; in xhci_mtk_remove()
665 usb_put_hcd(shared_hcd); in xhci_mtk_remove()
702 usb_hcd_poll_rh_status(xhci->shared_hcd); in xhci_mtk_suspend()
[all …]
A 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()
A Dxhci-plat.c304 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
306 if (!xhci->shared_hcd) { in xhci_plat_probe()
343 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe()
362 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe()
364 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
387 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
411 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local
416 usb_remove_hcd(shared_hcd); in xhci_plat_remove()
417 xhci->shared_hcd = NULL; in xhci_plat_remove()
421 usb_put_hcd(shared_hcd); in xhci_plat_remove()
A Dxhci-pci.c436 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe()
438 if (!xhci->shared_hcd) { in xhci_pci_probe()
447 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
455 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
466 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
485 if (xhci->shared_hcd) { in xhci_pci_remove()
486 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
487 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
488 xhci->shared_hcd = NULL; in xhci_pci_remove()
A 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 …]
A Dxhci.c501 hcd = xhci->shared_hcd; in compliance_mode_recovery()
614 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
983 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend()
1000 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
1001 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
1107 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1191 secondary_hcd = xhci->shared_hcd; in xhci_resume()
1206 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
1244 usb_hcd_resume_root_hub(xhci->shared_hcd); in xhci_resume()
1263 set_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_resume()
[all …]
A Dxhci.h1753 struct usb_hcd *shared_hcd; member
A Dxhci-hub.c730 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
A Dxhci-mem.c1076 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
A Dxhci-ring.c1936 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/linux/drivers/usb/core/
A Dhcd-pci.c414 if (hcd->shared_hcd) { in check_root_hub_suspended()
415 hcd = hcd->shared_hcd; in check_root_hub_suspended()
445 if (do_wakeup && hcd->shared_hcd && in suspend_common()
446 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
453 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
454 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
486 (hcd->shared_hcd && in resume_common()
487 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
A Dhcd.c2514 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2515 hcd = hcd->shared_hcd; in usb_hc_died()
2583 hcd->shared_hcd = primary_hcd; in __usb_create_hcd()
2584 primary_hcd->shared_hcd = hcd; in __usb_create_hcd()
2671 if (hcd->shared_hcd) { in hcd_release()
2672 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2674 peer->shared_hcd = NULL; in hcd_release()
A Dport.c459 if (peer_hcd != hcd->shared_hcd) in match_location()
497 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
/linux/include/linux/usb/
A Dhcd.h198 struct usb_hcd *shared_hcd; member
467 struct usb_hcd *shared_hcd);

Completed in 68 milliseconds