/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-histb.c | 267 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()
|
D | xhci-plat.c | 304 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()
|
D | xhci-mtk.c | 550 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 …]
|
D | xhci-pci.c | 470 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe() 472 if (!xhci->shared_hcd) { in xhci_pci_probe() 481 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe() 489 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe() 502 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe() 523 if (xhci->shared_hcd) { in xhci_pci_remove() 524 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 525 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove() 526 xhci->shared_hcd = NULL; in xhci_pci_remove()
|
D | xhci-tegra.c | 1108 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()
|
D | xhci.c | 502 hcd = xhci->shared_hcd; in compliance_mode_recovery() 615 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished() 790 if (xhci->shared_hcd) { in xhci_shutdown() 791 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown() 792 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown() 1001 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend() 1017 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend() 1018 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend() 1025 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend() 1125 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume() [all …]
|
D | xhci-hub.c | 644 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
|
D | xhci.h | 1748 struct usb_hcd *shared_hcd; member
|
D | xhci-mem.c | 1102 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
|
D | xhci-ring.c | 1800 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | hcd-pci.c | 412 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()
|
D | hcd.c | 2409 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died() 2410 hcd = hcd->shared_hcd; in usb_hc_died() 2478 hcd->shared_hcd = primary_hcd; in __usb_create_hcd() 2479 primary_hcd->shared_hcd = hcd; in __usb_create_hcd() 2564 if (hcd->shared_hcd) { in hcd_release() 2565 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release() 2567 peer->shared_hcd = NULL; in hcd_release() 2671 struct usb_hcd *shared_hcd; in usb_add_hcd() local 2830 shared_hcd = hcd->shared_hcd; in usb_add_hcd() 2831 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd() [all …]
|
D | port.c | 459 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/ |
D | hcd.h | 201 struct usb_hcd *shared_hcd; member 467 struct usb_hcd *shared_hcd);
|