Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/host/
Dxhci-plat.c140 xhci->shared_hcd = usb_create_shared_hcd(driver, &pdev->dev, in xhci_plat_probe()
142 if (!xhci->shared_hcd) { in xhci_plat_probe()
154 *((struct xhci_hcd **) xhci->shared_hcd->hcd_priv) = xhci; in xhci_plat_probe()
157 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe()
171 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
181 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
202 usb_remove_hcd(xhci->shared_hcd); in xhci_plat_remove()
204 usb_put_hcd(xhci->shared_hcd); in xhci_plat_remove()
Dxhci-pci.c257 xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, in xhci_pci_probe()
259 if (!xhci->shared_hcd) { in xhci_pci_probe()
267 *((struct xhci_hcd **) xhci->shared_hcd->hcd_priv) = xhci; in xhci_pci_probe()
269 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
277 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
288 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
302 if (xhci->shared_hcd) { in xhci_pci_remove()
303 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
304 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
Dxhci.c460 hcd = xhci->shared_hcd; in compliance_mode_recovery()
575 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
680 xhci->shared_hcd = NULL; in xhci_only_stop_hcd()
701 xhci_only_stop_hcd(xhci->shared_hcd); in xhci_stop()
917 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend()
928 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
929 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
933 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1011 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1048 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
[all …]
Dxhci.h1449 struct usb_hcd *shared_hcd; member
Dxhci-mem.c1076 hcd = xhci->shared_hcd; in xhci_find_real_port_number()
Dxhci-ring.c1519 hcd = xhci->shared_hcd; in handle_port_status()
/linux-4.1.27/drivers/usb/core/
Dhcd-pci.c431 if (hcd->shared_hcd) { in check_root_hub_suspended()
432 hcd = hcd->shared_hcd; in check_root_hub_suspended()
462 if (do_wakeup && hcd->shared_hcd && in suspend_common()
463 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
470 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
471 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
503 (hcd->shared_hcd && in resume_common()
504 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
532 if (hcd->shared_hcd) in resume_common()
533 usb_hc_died(hcd->shared_hcd); in resume_common()
Dport.c329 if (peer_hcd != hcd->shared_hcd) in match_location()
367 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
Dhcd.c2395 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2396 hcd = hcd->shared_hcd; in usb_hc_died()
2472 hcd->shared_hcd = primary_hcd; in usb_create_shared_hcd()
2473 primary_hcd->shared_hcd = hcd; in usb_create_shared_hcd()
2539 if (hcd->shared_hcd) { in hcd_release()
2540 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2542 peer->shared_hcd = NULL; in hcd_release()
/linux-4.1.27/include/linux/usb/
Dhcd.h174 struct usb_hcd *shared_hcd; member
431 struct usb_hcd *shared_hcd);