Lines Matching refs:companion
42 struct pci_dev *companion, struct usb_hcd *companion_hcd);
48 struct pci_dev *companion; in for_each_companion() local
57 companion = NULL; in for_each_companion()
58 for_each_pci_dev(companion) { in for_each_companion()
59 if (companion->bus != pdev->bus || in for_each_companion()
60 PCI_SLOT(companion->devfn) != slot) in for_each_companion()
67 if (companion->class != CL_UHCI && companion->class != CL_OHCI && in for_each_companion()
68 companion->class != CL_EHCI) in for_each_companion()
71 companion_hcd = pci_get_drvdata(companion); in for_each_companion()
74 fn(pdev, hcd, companion, companion_hcd); in for_each_companion()
85 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_pre_add() argument
89 if (is_ohci_or_uhci(companion)) { in ehci_pre_add()
102 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_post_add() argument
106 if (is_ohci_or_uhci(companion)) { in ehci_post_add()
109 dev_name(&companion->dev)); in ehci_post_add()
123 struct pci_dev *companion, struct usb_hcd *companion_hcd) in non_ehci_add() argument
125 if (is_ohci_or_uhci(pdev) && companion->class == CL_EHCI) { in non_ehci_add()
127 dev_name(&companion->dev)); in non_ehci_add()
134 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_remove() argument
136 if (is_ohci_or_uhci(companion)) in ehci_remove()
144 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_wait_for_companions() argument
146 if (is_ohci_or_uhci(companion)) in ehci_wait_for_companions()
147 device_pm_wait_for_dev(&pdev->dev, &companion->dev); in ehci_wait_for_companions()