Lines Matching refs:pdev
69 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit() argument
78 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
87 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks() local
90 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
91 (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || in xhci_pci_quirks()
92 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { in xhci_pci_quirks()
93 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
94 pdev->revision == 0x0) { in xhci_pci_quirks()
100 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
101 pdev->revision == 0x4) { in xhci_pci_quirks()
106 pdev->revision); in xhci_pci_quirks()
108 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK) in xhci_pci_quirks()
118 pdev->revision); in xhci_pci_quirks()
122 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
123 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1009) in xhci_pci_quirks()
126 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks()
129 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks()
133 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) in xhci_pci_quirks()
136 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
137 (pdev->device == 0x15e0 || in xhci_pci_quirks()
138 pdev->device == 0x15e1 || in xhci_pci_quirks()
139 pdev->device == 0x43bb)) in xhci_pci_quirks()
142 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
143 (pdev->device == 0x15e0 || pdev->device == 0x15e1)) in xhci_pci_quirks()
146 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks()
149 if ((pdev->vendor == PCI_VENDOR_ID_AMD) && in xhci_pci_quirks()
150 ((pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4) || in xhci_pci_quirks()
151 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_3) || in xhci_pci_quirks()
152 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_2) || in xhci_pci_quirks()
153 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_1))) in xhci_pci_quirks()
156 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks()
161 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
162 pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI) { in xhci_pci_quirks()
176 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
177 (pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI || in xhci_pci_quirks()
178 pdev->device == PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_XHCI)) { in xhci_pci_quirks()
182 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
183 (pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
184 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
185 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
186 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI || in xhci_pci_quirks()
187 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI || in xhci_pci_quirks()
188 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI || in xhci_pci_quirks()
189 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI)) { in xhci_pci_quirks()
192 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
193 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) in xhci_pci_quirks()
195 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
196 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
197 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
198 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI)) in xhci_pci_quirks()
200 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
201 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
202 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
203 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
204 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI || in xhci_pci_quirks()
205 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI)) in xhci_pci_quirks()
208 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
209 (pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI || in xhci_pci_quirks()
210 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI || in xhci_pci_quirks()
211 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI || in xhci_pci_quirks()
212 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI || in xhci_pci_quirks()
213 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI || in xhci_pci_quirks()
214 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_XHCI || in xhci_pci_quirks()
215 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_XHCI)) in xhci_pci_quirks()
218 if (pdev->vendor == PCI_VENDOR_ID_ETRON && in xhci_pci_quirks()
219 pdev->device == PCI_DEVICE_ID_EJ168) { in xhci_pci_quirks()
224 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
225 pdev->device == 0x0014) { in xhci_pci_quirks()
229 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
230 pdev->device == 0x0015) { in xhci_pci_quirks()
234 if (pdev->vendor == PCI_VENDOR_ID_VIA) in xhci_pci_quirks()
238 if (pdev->vendor == PCI_VENDOR_ID_VIA && in xhci_pci_quirks()
239 pdev->device == 0x3432) in xhci_pci_quirks()
242 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
243 pdev->device == 0x1042) in xhci_pci_quirks()
245 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
246 pdev->device == 0x1142) in xhci_pci_quirks()
249 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
250 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042A_XHCI) in xhci_pci_quirks()
253 if (pdev->vendor == PCI_VENDOR_ID_TI && pdev->device == 0x8241) in xhci_pci_quirks()
256 if ((pdev->vendor == PCI_VENDOR_ID_BROADCOM || in xhci_pci_quirks()
257 pdev->vendor == PCI_VENDOR_ID_CAVIUM) && in xhci_pci_quirks()
258 pdev->device == 0x9026) in xhci_pci_quirks()
286 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup() local
291 pci_read_config_byte(pdev, XHCI_SBRN_OFFSET, &xhci->sbrn); in xhci_pci_setup()
306 return xhci_pci_reinit(xhci, pdev); in xhci_pci_setup()
461 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend() local
469 pci_d3cold_disable(pdev); in xhci_pci_suspend()
487 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume() local
508 if (pdev->vendor == PCI_VENDOR_ID_INTEL) in xhci_pci_resume()
509 usb_enable_intel_xhci_ports(pdev); in xhci_pci_resume()