Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/host/
Dxhci-pci.c187 xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, in xhci_pci_probe()
189 if (!xhci->shared_hcd) { in xhci_pci_probe()
197 *((struct xhci_hcd **) xhci->shared_hcd->hcd_priv) = xhci; in xhci_pci_probe()
199 retval = usb_add_hcd(xhci->shared_hcd, dev->irq, in xhci_pci_probe()
207 usb_put_hcd(xhci->shared_hcd); in xhci_pci_probe()
218 if (xhci->shared_hcd) { in xhci_pci_remove()
219 usb_remove_hcd(xhci->shared_hcd); in xhci_pci_remove()
220 usb_put_hcd(xhci->shared_hcd); in xhci_pci_remove()
233 xhci->shared_hcd->state != HC_STATE_SUSPENDED) in xhci_pci_suspend()
Dxhci.c390 xhci->shared_hcd->state = HC_STATE_RUNNING; in xhci_run_finished()
514 xhci->shared_hcd = NULL; in xhci_only_stop_hcd()
533 xhci_only_stop_hcd(xhci->shared_hcd); in xhci_stop()
693 clear_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_suspend()
779 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub); in xhci_resume()
813 secondary_hcd = xhci->shared_hcd; in xhci_resume()
829 &xhci->shared_hcd->flags); in xhci_resume()
833 xhci->shared_hcd->state = HC_STATE_SUSPENDED; in xhci_resume()
854 set_bit(HCD_FLAG_HW_ACCESSIBLE, &xhci->shared_hcd->flags); in xhci_resume()
Dxhci-ring.c1291 hcd = xhci->shared_hcd; in handle_port_status()
2337 if (xhci->shared_hcd) in xhci_msi_irq()
2338 set_bit(HCD_FLAG_SAW_IRQ, &xhci->shared_hcd->flags); in xhci_msi_irq()
Dxhci.h1199 struct usb_hcd *shared_hcd; member
/linux-2.6.39/drivers/usb/core/
Dhcd-pci.c370 if (hcd->shared_hcd) { in check_root_hub_suspended()
371 hcd = hcd->shared_hcd; in check_root_hub_suspended()
401 if (do_wakeup && hcd->shared_hcd && in suspend_common()
402 HCD_WAKEUP_PENDING(hcd->shared_hcd)) in suspend_common()
409 (retval == 0 && do_wakeup && hcd->shared_hcd && in suspend_common()
410 HCD_WAKEUP_PENDING(hcd->shared_hcd))) { in suspend_common()
442 (hcd->shared_hcd && in resume_common()
443 HCD_RH_RUNNING(hcd->shared_hcd))) { in resume_common()
457 if (hcd->shared_hcd) in resume_common()
458 clear_bit(HCD_FLAG_SAW_IRQ, &hcd->shared_hcd->flags); in resume_common()
[all …]
Dhcd.c1156 if (hcd->shared_hcd) in usb_hcd_check_unlink_urb()
1157 set_bit(HCD_FLAG_SAW_IRQ, &hcd->shared_hcd->flags); in usb_hcd_check_unlink_urb()
2129 if (hcd->shared_hcd) in usb_hcd_irq()
2130 set_bit(HCD_FLAG_SAW_IRQ, &hcd->shared_hcd->flags); in usb_hcd_irq()
2171 if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) { in usb_hc_died()
2172 hcd = hcd->shared_hcd; in usb_hc_died()
2229 hcd->shared_hcd = primary_hcd; in usb_create_shared_hcd()
2230 primary_hcd->shared_hcd = hcd; in usb_create_shared_hcd()
2292 hcd->shared_hcd->shared_hcd = NULL; in hcd_release()
/linux-2.6.39/include/linux/usb/
Dhcd.h150 struct usb_hcd *shared_hcd; member
378 struct usb_hcd *shared_hcd);