Lines Matching refs:pdev
58 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit() argument
67 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
76 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks() local
79 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
80 (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || in xhci_pci_quirks()
81 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { in xhci_pci_quirks()
82 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
83 pdev->revision == 0x0) { in xhci_pci_quirks()
89 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
90 pdev->revision == 0x4) { in xhci_pci_quirks()
95 pdev->revision); in xhci_pci_quirks()
97 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK) in xhci_pci_quirks()
107 pdev->revision); in xhci_pci_quirks()
111 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks()
114 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks()
118 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info()) in xhci_pci_quirks()
121 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks()
124 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks()
129 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
130 pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI) { in xhci_pci_quirks()
144 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
145 pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) { in xhci_pci_quirks()
149 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
150 (pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
151 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
152 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
153 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI || in xhci_pci_quirks()
154 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI)) { in xhci_pci_quirks()
157 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
158 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) { in xhci_pci_quirks()
161 if (pdev->vendor == PCI_VENDOR_ID_ETRON && in xhci_pci_quirks()
162 pdev->device == PCI_DEVICE_ID_EJ168) { in xhci_pci_quirks()
167 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
168 pdev->device == 0x0015) in xhci_pci_quirks()
170 if (pdev->vendor == PCI_VENDOR_ID_VIA) in xhci_pci_quirks()
174 if (pdev->vendor == PCI_VENDOR_ID_VIA && in xhci_pci_quirks()
175 pdev->device == 0x3432) in xhci_pci_quirks()
178 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
179 pdev->device == 0x1042) in xhci_pci_quirks()
204 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup() local
215 pci_read_config_byte(pdev, XHCI_SBRN_OFFSET, &xhci->sbrn); in xhci_pci_setup()
219 retval = xhci_pci_reinit(xhci, pdev); in xhci_pci_setup()
373 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend() local
381 pdev->no_d3cold = true; in xhci_pci_suspend()
399 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume() local
420 if (pdev->vendor == PCI_VENDOR_ID_INTEL) in xhci_pci_resume()
421 usb_enable_intel_xhci_ports(pdev); in xhci_pci_resume()