Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/host/
Dxhci-plat.c151 xhci->shared_hcd = usb_create_shared_hcd(driver, &pdev->dev, in xhci_plat_probe()
153 if (!xhci->shared_hcd) { in xhci_plat_probe()
163 xhci->shared_hcd->can_do_streams = 1; in xhci_plat_probe()
181 ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); in xhci_plat_probe()
195 usb_put_hcd(xhci->shared_hcd); in xhci_plat_probe()
213 usb_remove_hcd(xhci->shared_hcd); in xhci_plat_remove()
217 usb_put_hcd(xhci->shared_hcd); in xhci_plat_remove()
Dxhci-pci.c265 xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, in xhci_pci_probe()
267 if (!xhci->shared_hcd) { in xhci_pci_probe()
272 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
280 xhci->shared_hcd->can_do_streams = 1; in xhci_pci_probe()
291 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
305 if (xhci->shared_hcd) { in xhci_pci_remove()
306 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
307 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()
904 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_suspend()
915 clear_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags); in xhci_suspend()
916 del_timer_sync(&xhci->shared_hcd->rh_timer); in xhci_suspend()
920 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
1001 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
1038 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
1065 secondary_hcd = xhci->shared_hcd; in xhci_resume()
1080 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
[all …]
Dxhci.h1508 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.4.14/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.c2446 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2447 hcd = hcd->shared_hcd; in usb_hc_died()
2514 hcd->shared_hcd = primary_hcd; in usb_create_shared_hcd()
2515 primary_hcd->shared_hcd = hcd; in usb_create_shared_hcd()
2579 if (hcd->shared_hcd) { in hcd_release()
2580 struct usb_hcd *peer = hcd->shared_hcd; in hcd_release()
2582 peer->shared_hcd = NULL; in hcd_release()
/linux-4.4.14/include/linux/usb/
Dhcd.h184 struct usb_hcd *shared_hcd; member
442 struct usb_hcd *shared_hcd);