Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/host/
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()
Dxhci-plat.c293 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
295 if (!xhci->shared_hcd) { in xhci_plat_probe()
332 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe()
341 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe()
343 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
366 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
390 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local
395 usb_remove_hcd(shared_hcd); in xhci_plat_remove()
396 xhci->shared_hcd = NULL; in xhci_plat_remove()
400 usb_put_hcd(shared_hcd); in xhci_plat_remove()
Dxhci-mtk.c538 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe()
540 if (!xhci->shared_hcd) { in xhci_mtk_probe()
550 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe()
552 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe()
563 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe()
588 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local
593 usb_remove_hcd(shared_hcd); in xhci_mtk_remove()
594 xhci->shared_hcd = NULL; in xhci_mtk_remove()
598 usb_put_hcd(shared_hcd); in xhci_mtk_remove()
623 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_mtk_suspend()
[all …]
Dxhci-pci.c387 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe()
389 if (!xhci->shared_hcd) { in xhci_pci_probe()
398 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
406 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
417 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
438 if (xhci->shared_hcd) { in xhci_pci_remove()
439 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
440 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
441 xhci->shared_hcd = NULL; in xhci_pci_remove()
Dxhci-tegra.c1101 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power()
1177 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work()
1573 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe()
1577 if (!xhci->shared_hcd) { in tegra_xusb_probe()
1583 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe()
1613 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1615 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1648 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1649 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1650 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()
998 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
999 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
1006 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1104 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1158 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
1188 secondary_hcd = xhci->shared_hcd; in xhci_resume()
1203 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
[all …]
Dxhci-hub.c642 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
Dxhci.h1736 struct usb_hcd *shared_hcd; member
Dxhci-mem.c1089 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
Dxhci-ring.c1627 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/Linux-v5.10/drivers/usb/core/
Dhcd-pci.c412 if (hcd->shared_hcd) { in check_root_hub_suspended()
413 hcd = hcd->shared_hcd; in check_root_hub_suspended()
443 if (do_wakeup && hcd->shared_hcd && in suspend_common()
444 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
451 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
452 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
484 (hcd->shared_hcd && in resume_common()
485 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
Dhcd.c2374 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2375 hcd = hcd->shared_hcd; in usb_hc_died()
2443 hcd->shared_hcd = primary_hcd; in __usb_create_hcd()
2444 primary_hcd->shared_hcd = hcd; in __usb_create_hcd()
2529 if (hcd->shared_hcd) { in hcd_release()
2530 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2532 peer->shared_hcd = NULL; in hcd_release()
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-v5.10/include/linux/usb/
Dhcd.h198 struct usb_hcd *shared_hcd; member
464 struct usb_hcd *shared_hcd);