dwc3-pci.c (c13aca79ff3c4af5fd31a5b2743a90eba6e36a26) dwc3-pci.c (00908693c481f7298adf8cf4d2ff3dfbea8c375f)
1// SPDX-License-Identifier: GPL-2.0
2/**
3 * dwc3-pci.c - PCI Specific glue layer
4 *
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com
6 *
7 * Authors: Felipe Balbi <balbi@ti.com>,
8 * Sebastian Andrzej Siewior <bigeasy@linutronix.de>

--- 20 unchanged lines hidden (view full) ---

29#define PCI_DEVICE_ID_INTEL_SPTH 0xa130
30#define PCI_DEVICE_ID_INTEL_BXT 0x0aaa
31#define PCI_DEVICE_ID_INTEL_BXT_M 0x1aaa
32#define PCI_DEVICE_ID_INTEL_APL 0x5aaa
33#define PCI_DEVICE_ID_INTEL_KBP 0xa2b0
34#define PCI_DEVICE_ID_INTEL_GLK 0x31aa
35#define PCI_DEVICE_ID_INTEL_CNPLP 0x9dee
36#define PCI_DEVICE_ID_INTEL_CNPH 0xa36e
1// SPDX-License-Identifier: GPL-2.0
2/**
3 * dwc3-pci.c - PCI Specific glue layer
4 *
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com
6 *
7 * Authors: Felipe Balbi <balbi@ti.com>,
8 * Sebastian Andrzej Siewior <bigeasy@linutronix.de>

--- 20 unchanged lines hidden (view full) ---

29#define PCI_DEVICE_ID_INTEL_SPTH 0xa130
30#define PCI_DEVICE_ID_INTEL_BXT 0x0aaa
31#define PCI_DEVICE_ID_INTEL_BXT_M 0x1aaa
32#define PCI_DEVICE_ID_INTEL_APL 0x5aaa
33#define PCI_DEVICE_ID_INTEL_KBP 0xa2b0
34#define PCI_DEVICE_ID_INTEL_GLK 0x31aa
35#define PCI_DEVICE_ID_INTEL_CNPLP 0x9dee
36#define PCI_DEVICE_ID_INTEL_CNPH 0xa36e
37#define PCI_DEVICE_ID_INTEL_ICLLP 0x34ee
37
38#define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511"
39#define PCI_INTEL_BXT_FUNC_PMU_PWR 4
40#define PCI_INTEL_BXT_STATE_D0 0
41#define PCI_INTEL_BXT_STATE_D3 3
42
43/**
44 * struct dwc3_pci - Driver private structure

--- 239 unchanged lines hidden (view full) ---

284 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), },
285 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT), },
286 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT_M), },
287 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_APL), },
288 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_KBP), },
289 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_GLK), },
290 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CNPLP), },
291 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CNPH), },
38
39#define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511"
40#define PCI_INTEL_BXT_FUNC_PMU_PWR 4
41#define PCI_INTEL_BXT_STATE_D0 0
42#define PCI_INTEL_BXT_STATE_D3 3
43
44/**
45 * struct dwc3_pci - Driver private structure

--- 239 unchanged lines hidden (view full) ---

285 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), },
286 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT), },
287 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT_M), },
288 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_APL), },
289 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_KBP), },
290 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_GLK), },
291 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CNPLP), },
292 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CNPH), },
293 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICLLP), },
292 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL_USB), },
293 { } /* Terminating Entry */
294};
295MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table);
296
297#if defined(CONFIG_PM) || defined(CONFIG_PM_SLEEP)
298static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param)
299{

--- 86 unchanged lines hidden ---
294 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL_USB), },
295 { } /* Terminating Entry */
296};
297MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table);
298
299#if defined(CONFIG_PM) || defined(CONFIG_PM_SLEEP)
300static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param)
301{

--- 86 unchanged lines hidden ---