Lines Matching refs:pdev

65 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev)  in xhci_pci_reinit()  argument
74 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
83 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks() local
86 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
87 (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || in xhci_pci_quirks()
88 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { in xhci_pci_quirks()
89 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
90 pdev->revision == 0x0) { in xhci_pci_quirks()
96 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
97 pdev->revision == 0x4) { in xhci_pci_quirks()
102 pdev->revision); in xhci_pci_quirks()
104 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK) in xhci_pci_quirks()
114 pdev->revision); in xhci_pci_quirks()
118 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks()
121 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks()
125 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info()) in xhci_pci_quirks()
128 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks()
131 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks()
136 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
137 pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI) { in xhci_pci_quirks()
151 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
152 pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) { in xhci_pci_quirks()
156 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks()
157 (pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || in xhci_pci_quirks()
158 pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI || in xhci_pci_quirks()
159 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || in xhci_pci_quirks()
160 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_M_XHCI || in xhci_pci_quirks()
161 pdev->device == PCI_DEVICE_ID_INTEL_BROXTON_B_XHCI)) { in xhci_pci_quirks()
164 if (pdev->vendor == PCI_VENDOR_ID_ETRON && in xhci_pci_quirks()
165 pdev->device == PCI_DEVICE_ID_EJ168) { in xhci_pci_quirks()
170 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && in xhci_pci_quirks()
171 pdev->device == 0x0015) in xhci_pci_quirks()
173 if (pdev->vendor == PCI_VENDOR_ID_VIA) in xhci_pci_quirks()
177 if (pdev->vendor == PCI_VENDOR_ID_VIA && in xhci_pci_quirks()
178 pdev->device == 0x3432) in xhci_pci_quirks()
181 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && in xhci_pci_quirks()
182 pdev->device == 0x1042) in xhci_pci_quirks()
211 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup() local
216 pci_read_config_byte(pdev, XHCI_SBRN_OFFSET, &xhci->sbrn); in xhci_pci_setup()
228 retval = xhci_pci_reinit(xhci, pdev); in xhci_pci_setup()
329 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pme_quirk() local
334 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pme_quirk()
335 pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) { in xhci_pme_quirk()
373 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend() local
380 pdev->no_d3cold = true; in xhci_pci_suspend()
391 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume() local
412 if (pdev->vendor == PCI_VENDOR_ID_INTEL) in xhci_pci_resume()
413 usb_enable_intel_xhci_ports(pdev); in xhci_pci_resume()