• Home
  • Raw
  • Download

Lines Matching refs:pdev

89 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev)  in xhci_pci_reinit()  argument
98 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
107 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks() local
111 id = pci_match_id(pdev->driver->id_table, pdev); in xhci_pci_quirks()
119 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
120 (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || in xhci_pci_quirks()
121 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { in xhci_pci_quirks()
122 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
123 pdev->revision == 0x0) { in xhci_pci_quirks()
129 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
130 pdev->revision == 0x4) { in xhci_pci_quirks()
135 pdev->revision); in xhci_pci_quirks()
137 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK) in xhci_pci_quirks()
147 pdev->revision); in xhci_pci_quirks()
151 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
152 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1009) in xhci_pci_quirks()
155 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
156 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1100) in xhci_pci_quirks()
159 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks()
162 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks()
166 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) in xhci_pci_quirks()
169 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
170 (pdev->device == 0x145c || in xhci_pci_quirks()
171 pdev->device == 0x15e0 || in xhci_pci_quirks()
172 pdev->device == 0x15e1 || in xhci_pci_quirks()
173 pdev->device == 0x43bb)) in xhci_pci_quirks()
176 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
177 (pdev->device == 0x15e0 || pdev->device == 0x15e1)) in xhci_pci_quirks()
180 if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x15e5) { in xhci_pci_quirks()
185 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks()
188 if ((pdev->vendor == PCI_VENDOR_ID_AMD) && in xhci_pci_quirks()
189 ((pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4) || in xhci_pci_quirks()
190 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_3) || in xhci_pci_quirks()
191 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_2) || in xhci_pci_quirks()
192 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_1))) in xhci_pci_quirks()
195 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks()
200 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
201 pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI) { in xhci_pci_quirks()
215 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
216 (pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI || in xhci_pci_quirks()
217 pdev->device == PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_XHCI)) { in xhci_pci_quirks()
221 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
222 (pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
223 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
224 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
225 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI || in xhci_pci_quirks()
226 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI || in xhci_pci_quirks()
227 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI || in xhci_pci_quirks()
228 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI || in xhci_pci_quirks()
229 pdev->device == PCI_DEVICE_ID_INTEL_CML_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()
235 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
236 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
237 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
238 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI)) in xhci_pci_quirks()
240 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
241 (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
242 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
243 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
244 pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI || in xhci_pci_quirks()
245 pdev->device == PCI_DEVICE_ID_INTEL_DNV_XHCI)) in xhci_pci_quirks()
248 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
249 (pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI || in xhci_pci_quirks()
250 pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI)) in xhci_pci_quirks()
253 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
254 (pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI || in xhci_pci_quirks()
255 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI || in xhci_pci_quirks()
256 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_XHCI || in xhci_pci_quirks()
257 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI || in xhci_pci_quirks()
258 pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI || in xhci_pci_quirks()
259 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI || in xhci_pci_quirks()
260 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_XHCI || in xhci_pci_quirks()
261 pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_XHCI || in xhci_pci_quirks()
262 pdev->device == PCI_DEVICE_ID_INTEL_ICE_LAKE_XHCI || in xhci_pci_quirks()
263 pdev->device == PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI || in xhci_pci_quirks()
264 pdev->device == PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI)) in xhci_pci_quirks()
267 if (pdev->vendor == PCI_VENDOR_ID_ETRON && in xhci_pci_quirks()
268 pdev->device == PCI_DEVICE_ID_EJ168) { in xhci_pci_quirks()
273 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
274 pdev->device == 0x0014) { in xhci_pci_quirks()
278 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
279 pdev->device == 0x0015) { in xhci_pci_quirks()
283 if (pdev->vendor == PCI_VENDOR_ID_VIA) in xhci_pci_quirks()
287 if (pdev->vendor == PCI_VENDOR_ID_VIA && in xhci_pci_quirks()
288 pdev->device == 0x3432) in xhci_pci_quirks()
291 if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { in xhci_pci_quirks()
296 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
297 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042_XHCI) { in xhci_pci_quirks()
305 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
306 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042A_XHCI) { in xhci_pci_quirks()
310 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
311 (pdev->device == PCI_DEVICE_ID_ASMEDIA_1142_XHCI || in xhci_pci_quirks()
312 pdev->device == PCI_DEVICE_ID_ASMEDIA_2142_XHCI || in xhci_pci_quirks()
313 pdev->device == PCI_DEVICE_ID_ASMEDIA_3242_XHCI)) in xhci_pci_quirks()
316 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
317 pdev->device == PCI_DEVICE_ID_ASMEDIA_1042A_XHCI) in xhci_pci_quirks()
320 if (pdev->vendor == PCI_VENDOR_ID_TI && pdev->device == 0x8241) in xhci_pci_quirks()
323 if ((pdev->vendor == PCI_VENDOR_ID_BROADCOM || in xhci_pci_quirks()
324 pdev->vendor == PCI_VENDOR_ID_CAVIUM) && in xhci_pci_quirks()
325 pdev->device == 0x9026) in xhci_pci_quirks()
328 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks()
329 (pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_2 || in xhci_pci_quirks()
330 pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4)) in xhci_pci_quirks()
392 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup() local
397 pci_read_config_byte(pdev, XHCI_SBRN_OFFSET, &xhci->sbrn); in xhci_pci_setup()
410 xhci_pme_acpi_rtd3_enable(pdev); in xhci_pci_setup()
415 return xhci_pci_reinit(xhci, pdev); in xhci_pci_setup()
603 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend() local
611 pci_d3cold_disable(pdev); in xhci_pci_suspend()
632 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume() local
655 if (pdev->vendor == PCI_VENDOR_ID_INTEL) in xhci_pci_resume()
656 usb_enable_intel_xhci_ports(pdev); in xhci_pci_resume()
671 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_shutdown() local
677 pci_set_power_state(pdev, PCI_D3hot); in xhci_pci_shutdown()