Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.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()
Dxhci-mtk.c550 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe()
552 if (!xhci->shared_hcd) { in xhci_mtk_probe()
563 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe()
565 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe()
576 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe()
601 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local
606 usb_remove_hcd(shared_hcd); in xhci_mtk_remove()
607 xhci->shared_hcd = NULL; in xhci_mtk_remove()
611 usb_put_hcd(shared_hcd); in xhci_mtk_remove()
636 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_mtk_suspend()
[all …]
Dxhci-pci.c431 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe()
433 if (!xhci->shared_hcd) { in xhci_pci_probe()
442 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
450 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
461 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
482 if (xhci->shared_hcd) { in xhci_pci_remove()
483 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
484 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
485 xhci->shared_hcd = NULL; in xhci_pci_remove()
Dxhci-tegra.c1108 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power()
1184 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work()
1580 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe()
1584 if (!xhci->shared_hcd) { in tegra_xusb_probe()
1590 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe()
1620 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1622 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1655 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1656 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1657 xhci->shared_hcd = NULL; in tegra_xusb_remove()
Dxhci.c502 hcd = xhci->shared_hcd; in compliance_mode_recovery()
615 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
984 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()
1008 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1107 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1161 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
1191 secondary_hcd = xhci->shared_hcd; in xhci_resume()
1206 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
[all …]
Dxhci-hub.c644 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
Dxhci.h1740 struct usb_hcd *shared_hcd; member
Dxhci-mem.c1089 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
Dxhci-ring.c1702 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
/kernel/linux/linux-5.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.c2402 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2403 hcd = hcd->shared_hcd; in usb_hc_died()
2471 hcd->shared_hcd = primary_hcd; in __usb_create_hcd()
2472 primary_hcd->shared_hcd = hcd; in __usb_create_hcd()
2557 if (hcd->shared_hcd) { in hcd_release()
2558 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2560 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()
/kernel/linux/linux-5.10/include/linux/usb/
Dhcd.h198 struct usb_hcd *shared_hcd; member
464 struct usb_hcd *shared_hcd);