| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A 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()
|
| H A D | xhci-mtk.c | 551 xhci->shared_hcd = usb_create_shared_hcd(driver, dev, in xhci_mtk_probe() 553 if (!xhci->shared_hcd) { in xhci_mtk_probe() 564 xhci->shared_hcd->can_do_streams = 1; in xhci_mtk_probe() 566 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_mtk_probe() 577 usb_put_hcd(xhci->shared_hcd); in xhci_mtk_probe() 602 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_mtk_remove() local 607 usb_remove_hcd(shared_hcd); in xhci_mtk_remove() 608 xhci->shared_hcd = NULL; in xhci_mtk_remove() 612 usb_put_hcd(shared_hcd); in xhci_mtk_remove() 637 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_mtk_suspend() [all …]
|
| H A D | xhci-plat.c | 341 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe() 343 if (!xhci->shared_hcd) { in xhci_plat_probe() 391 xhci->shared_hcd->tpl_support = hcd->tpl_support; in xhci_plat_probe() 410 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe() 412 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe() 435 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe() 459 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() local 464 usb_remove_hcd(shared_hcd); in xhci_plat_remove() 465 xhci->shared_hcd = NULL; in xhci_plat_remove() 472 usb_put_hcd(shared_hcd); in xhci_plat_remove()
|
| H A D | xhci-pci.c | 427 xhci->shared_hcd = usb_create_shared_hcd(&xhci_pci_hc_driver, &dev->dev, in xhci_pci_probe() 429 if (!xhci->shared_hcd) { in xhci_pci_probe() 438 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe() 446 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe() 457 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe() 478 if (xhci->shared_hcd) { in xhci_pci_remove() 479 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove() 480 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove() 481 xhci->shared_hcd = NULL; in xhci_pci_remove()
|
| H A 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()
|
| H A D | xhci.c | 499 hcd = xhci->shared_hcd; in compliance_mode_recovery() 612 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished() 787 if (xhci->shared_hcd) { in xhci_shutdown() 788 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_shutdown() 789 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_shutdown() 998 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend() 1015 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend() 1016 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend() 1023 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend() 1123 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume() [all …]
|
| H A D | xhci-hub.c | 649 xhci_set_port_power(xhci, xhci->shared_hcd, i, false, flags); in xhci_enter_test_mode()
|
| H A D | xhci.h | 1761 struct usb_hcd *shared_hcd; member
|
| H A D | xhci-mem.c | 1157 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
|
| H A D | xhci-ring.c | 1930 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A 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()
|
| H A D | hcd.c | 2402 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() 2664 struct usb_hcd *shared_hcd; in usb_add_hcd() local 2822 shared_hcd = hcd->shared_hcd; in usb_add_hcd() 2823 if (!usb_hcd_is_primary_hcd(hcd) && shared_hcd && HCD_DEFER_RH_REGISTER(shared_hcd)) { in usb_add_hcd() [all …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | hcd.h | 201 struct usb_hcd *shared_hcd; member 476 struct usb_hcd *shared_hcd);
|