Lines Matching defs:companion
41 * Coordinate handoffs between EHCI and companion controllers
57 struct pci_dev *companion, struct usb_hcd *companion_hcd);
63 struct pci_dev *companion;
72 companion = NULL;
73 for_each_pci_dev(companion) {
74 if (companion->bus != pdev->bus ||
75 PCI_SLOT(companion->devfn) != slot)
77 companion_hcd = pci_get_drvdata(companion);
80 fn(pdev, hcd, companion, companion_hcd);
87 * error messages, lock the companion's root hub and gracefully unconfigure
91 struct pci_dev *companion, struct usb_hcd *companion_hcd)
95 if (is_ohci_or_uhci(companion)) {
104 * companion pointer accordingly, and in either case, reconfigure and
108 struct pci_dev *companion, struct usb_hcd *companion_hcd)
112 if (is_ohci_or_uhci(companion)) {
114 dev_dbg(&pdev->dev, "HS companion for %s\n",
115 dev_name(&companion->dev));
126 * which it is a companion, and store a pointer to the bus structure.
129 struct pci_dev *companion, struct usb_hcd *companion_hcd)
131 if (is_ohci_or_uhci(pdev) && companion->class == CL_EHCI) {
132 dev_dbg(&pdev->dev, "FS/LS companion for %s\n",
133 dev_name(&companion->dev));
140 struct pci_dev *companion, struct usb_hcd *companion_hcd)
142 if (is_ohci_or_uhci(companion))
150 struct pci_dev *companion, struct usb_hcd *companion_hcd)
152 if (is_ohci_or_uhci(companion))
153 device_pm_wait_for_dev(&pdev->dev, &companion->dev);
348 /* Not EHCI; just clear the companion pointer */