Lines Matching refs:pdev
86 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit() argument
95 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
104 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks() local
108 id = pci_match_id(pdev->driver->id_table, pdev); in xhci_pci_quirks()
116 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
117 (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || in xhci_pci_quirks()
118 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { in xhci_pci_quirks()
119 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
120 pdev->revision == 0x0) { in xhci_pci_quirks()
126 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
127 pdev->revision == 0x4) { in xhci_pci_quirks()
132 pdev->revision); in xhci_pci_quirks()
134 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK) in xhci_pci_quirks()
144 pdev->revision); in xhci_pci_quirks()
148 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
149 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1009) in xhci_pci_quirks()
152 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
153 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1100) in xhci_pci_quirks()
156 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks()
159 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks()
163 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) in xhci_pci_quirks()
166 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
167 (pdev->device == 0x145c || in xhci_pci_quirks()
168 pdev->device == 0x15e0 || in xhci_pci_quirks()
169 pdev->device == 0x15e1 || in xhci_pci_quirks()
170 pdev->device == 0x43bb)) in xhci_pci_quirks()
173 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
174 (pdev->device == 0x15e0 || pdev->device == 0x15e1)) in xhci_pci_quirks()
177 if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x15e5) { in xhci_pci_quirks()
182 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks()
185 if ((pdev->vendor == PCI_VENDOR_ID_AMD) && in xhci_pci_quirks()
186 ((pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4) || in xhci_pci_quirks()
187 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_3) || in xhci_pci_quirks()
188 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_2) || in xhci_pci_quirks()
189 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_1))) in xhci_pci_quirks()
192 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks()
197 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
198 pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI) { in xhci_pci_quirks()
212 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
213 (pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI || in xhci_pci_quirks()
214 pdev->device == PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_XHCI)) { in xhci_pci_quirks()
218 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
219 (pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
220 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
221 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
222 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI || in xhci_pci_quirks()
223 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI || in xhci_pci_quirks()
224 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI || in xhci_pci_quirks()
225 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI || in xhci_pci_quirks()
226 pdev->device == PCI_DEVICE_ID_INTEL_CML_XHCI)) { in xhci_pci_quirks()
229 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
230 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) in xhci_pci_quirks()
232 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
233 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
234 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
235 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI)) in xhci_pci_quirks()
237 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
238 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
239 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
240 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
241 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI || in xhci_pci_quirks()
242 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI)) in xhci_pci_quirks()
245 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
246 (pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI || in xhci_pci_quirks()
247 pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI)) in xhci_pci_quirks()
250 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
251 (pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI || in xhci_pci_quirks()
252 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI || in xhci_pci_quirks()
253 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_XHCI || in xhci_pci_quirks()
254 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI || in xhci_pci_quirks()
255 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI || in xhci_pci_quirks()
256 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI || in xhci_pci_quirks()
257 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_XHCI || in xhci_pci_quirks()
258 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_XHCI || in xhci_pci_quirks()
259 pdev->device == PCI_DEVICE_ID_INTEL_ICE_LAKE_XHCI || in xhci_pci_quirks()
260 pdev->device == PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI || in xhci_pci_quirks()
261 pdev->device == PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI)) in xhci_pci_quirks()
264 if (pdev->vendor == PCI_VENDOR_ID_ETRON && in xhci_pci_quirks()
265 pdev->device == PCI_DEVICE_ID_EJ168) { in xhci_pci_quirks()
270 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
271 pdev->device == 0x0014) { in xhci_pci_quirks()
275 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
276 pdev->device == 0x0015) { in xhci_pci_quirks()
280 if (pdev->vendor == PCI_VENDOR_ID_VIA) in xhci_pci_quirks()
284 if (pdev->vendor == PCI_VENDOR_ID_VIA && in xhci_pci_quirks()
285 pdev->device == 0x3432) in xhci_pci_quirks()
288 if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { in xhci_pci_quirks()
293 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
294 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042_XHCI) { in xhci_pci_quirks()
302 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
303 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042A_XHCI) { in xhci_pci_quirks()
307 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
308 (pdev->device == PCI_DEVICE_ID_ASMEDIA_1142_XHCI || in xhci_pci_quirks()
309 pdev->device == PCI_DEVICE_ID_ASMEDIA_2142_XHCI || in xhci_pci_quirks()
310 pdev->device == PCI_DEVICE_ID_ASMEDIA_3242_XHCI)) in xhci_pci_quirks()
313 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
314 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042A_XHCI) in xhci_pci_quirks()
317 if (pdev->vendor == PCI_VENDOR_ID_TI && pdev->device == 0x8241) in xhci_pci_quirks()
320 if ((pdev->vendor == PCI_VENDOR_ID_BROADCOM || in xhci_pci_quirks()
321 pdev->vendor == PCI_VENDOR_ID_CAVIUM) && in xhci_pci_quirks()
322 pdev->device == 0x9026) in xhci_pci_quirks()
325 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
326 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_2 || in xhci_pci_quirks()
327 pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4)) in xhci_pci_quirks()
359 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup() local
364 pci_read_config_byte(pdev, XHCI_SBRN_OFFSET, &xhci->sbrn); in xhci_pci_setup()
377 xhci_pme_acpi_rtd3_enable(pdev); in xhci_pci_setup()
382 return xhci_pci_reinit(xhci, pdev); in xhci_pci_setup()
558 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend() local
566 pci_d3cold_disable(pdev); in xhci_pci_suspend()
587 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume() local
610 if (pdev->vendor == PCI_VENDOR_ID_INTEL) in xhci_pci_resume()
611 usb_enable_intel_xhci_ports(pdev); in xhci_pci_resume()
626 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_shutdown() local
632 pci_set_power_state(pdev, PCI_D3hot); in xhci_pci_shutdown()