summaryrefslogtreecommitdiff
path: root/ReferenceCode/Chipset/LynxPoint/Include/PchRegs.h
blob: b37ef615c1d89e15116455c804255fe4fd7c8fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
/** @file
  Register names for PCH.

  Conventions:

  - Prefixes:
    Definitions beginning with "R_" are registers
    Definitions beginning with "B_" are bits within registers
    Definitions beginning with "V_" are meaningful values of bits within the registers
    Definitions beginning with "S_" are register sizes
    Definitions beginning with "N_" are the bit position
  - In general, PCH registers are denoted by "_PCH_" in register names
  - Registers / bits that are different between PCH generations are denoted by
    "_PCH_<generation_name>_" in register/bit names. e.g., "_PCH_LPT_"
  - Registers / bits that are different between SKUs are denoted by "_<SKU_name>"
    at the end of the register/bit names
  - Registers / bits of new devices introduced in a PCH generation will be just named
    as "_PCH_" without <generation_name> inserted.

@copyright
  Copyright (c) 1999 - 2012 Intel Corporation. All rights reserved
  This software and associated documentation (if any) is furnished
  under a license and may only be used or copied in accordance
  with the terms of the license. Except as permitted by such
  license, no part of this software or documentation may be
  reproduced, stored in a retrieval system, or transmitted in any
  form or by any means without the express written consent of
  Intel Corporation.

  This file contains an 'Intel Peripheral Driver' and uniquely
  identified as "Intel Reference Module" and is
  licensed for Intel CPUs and chipsets under the terms of your
  license agreement with Intel or your vendor.  This file may
  be modified by the user, subject to additional terms of the
  license agreement
**/
#ifndef _PCH_REGS_H_
#define _PCH_REGS_H_

//
// Bit Difinitions.
// @bug drive these definitions to code base. Should not need to be part of
// chipset modules
//
#ifndef BIT0
#define BIT0  0x0001
#define BIT1  0x0002
#define BIT2  0x0004
#define BIT3  0x0008
#define BIT4  0x0010
#define BIT5  0x0020
#define BIT6  0x0040
#define BIT7  0x0080
#define BIT8  0x0100
#define BIT9  0x0200
#define BIT10 0x0400
#define BIT11 0x0800
#define BIT12 0x1000
#define BIT13 0x2000
#define BIT14 0x4000
#define BIT15 0x8000
#define BIT16 0x00010000
#define BIT17 0x00020000
#define BIT18 0x00040000
#define BIT19 0x00080000
#define BIT20 0x00100000
#define BIT21 0x00200000
#define BIT22 0x00400000
#define BIT23 0x00800000
#define BIT24 0x01000000
#define BIT25 0x02000000
#define BIT26 0x04000000
#define BIT27 0x08000000
#define BIT28 0x10000000
#define BIT29 0x20000000
#define BIT30 0x40000000
#define BIT31 0x80000000
#define BIT32 0x100000000
#define BIT33 0x200000000
#define BIT34 0x400000000
#define BIT35 0x800000000
#define BIT36 0x1000000000
#define BIT37 0x2000000000
#define BIT38 0x4000000000
#define BIT39 0x8000000000
#define BIT40 0x10000000000
#define BIT41 0x20000000000
#define BIT42 0x40000000000
#define BIT43 0x80000000000
#define BIT44 0x100000000000
#define BIT45 0x200000000000
#define BIT46 0x400000000000
#define BIT47 0x800000000000
#define BIT48 0x1000000000000
#define BIT49 0x2000000000000
#define BIT50 0x4000000000000
#define BIT51 0x8000000000000
#define BIT52 0x10000000000000
#define BIT53 0x20000000000000
#define BIT54 0x40000000000000
#define BIT55 0x80000000000000
#define BIT56 0x100000000000000
#define BIT57 0x200000000000000
#define BIT58 0x400000000000000
#define BIT59 0x800000000000000
#define BIT60 0x1000000000000000
#define BIT61 0x2000000000000000
#define BIT62 0x4000000000000000
#define BIT63 0x8000000000000000
#endif
///
/// The default PCH PCI bus number
///
#define DEFAULT_PCI_BUS_NUMBER_PCH  0

//
// Default Vendor ID and Subsystem ID
//
#define V_PCH_INTEL_VENDOR_ID   0x8086      ///< Default Intel PCH Vendor ID
#define V_PCH_DEFAULT_SID       0x7270      ///< Default Intel PCH Subsystem ID
#define V_PCH_DEFAULT_SVID_SID  (V_INTEL_VENDOR_ID + (V_PCH_DEFAULT_SID << 16))   ///< Default INTEL PCH Vendor ID and Subsystem ID

//
// Include device register definitions
//
#include "PchRegs/PchRegsHda.h"
#include "PchRegs/PchRegsLan.h"
#include "PchRegs/PchRegsLpc.h"
#include "PchRegs/PchRegsPcie.h"
#include "PchRegs/PchRegsRcrb.h"
#include "PchRegs/PchRegsSata.h"
#include "PchRegs/PchRegsSmbus.h"
#include "PchRegs/PchRegsSpi.h"
#include "PchRegs/PchRegsThermal.h"
#include "PchRegs/PchRegsUsb.h"
#ifdef SERIAL_IO_FLAG
#include "PchRegs/PchRegsSerialIo.h"
#endif // SERIAL_IO_FLAG
#ifdef ADSP_FLAG
#include "PchRegs/PchRegsAdsp.h"
#endif // ADSP_FLAG

//
//  LPC Device ID macros
//
//
// Device IDs that are PCH LPT Desktop specific
//
#define IS_PCH_LPTH_LPC_DEVICE_ID_DESKTOP(DeviceId) \
    (  \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_0) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_1) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_3) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_4) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_5) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_6) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_2) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_DT_SUPER_SKU) \
    )

#define IS_PCH_LPTLP_LPC_DEVICE_ID_DESKTOP(DeviceId) (FALSE)

#define IS_PCH_LPT_LPC_DEVICE_ID_DESKTOP(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID_DESKTOP(DeviceId) || \
      IS_PCH_LPTLP_LPC_DEVICE_ID_DESKTOP(DeviceId) \
    )

//
// Device IDs that are PCH LPT Mobile specific
//
#define IS_PCH_LPTH_LPC_DEVICE_ID_MOBILE(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_MB_0) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_MB_2) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_MB_1) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_MB_SUPER_SKU) \
    )

#define IS_PCH_LPTLP_LPC_DEVICE_ID_MOBILE(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_SUPER_SKU) || \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_0) || \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_1) || \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_2) || \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_3) || \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_4) || \
      (DeviceId == V_PCH_LPTLP_LPC_DEVICE_ID_MB_5) \
    )

#define IS_PCH_LPT_LPC_DEVICE_ID_MOBILE(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID_MOBILE(DeviceId) || \
      IS_PCH_LPTLP_LPC_DEVICE_ID_MOBILE(DeviceId) \
    )
//
// Device IDS that are PCH LPT WorkStation specific
//
#define IS_PCH_LPTH_LPC_DEVICE_ID_WS(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_SVR_3) || \
      FALSE \
    )

#define IS_PCH_LPTLP_LPC_DEVICE_ID_WS(DeviceId) (FALSE)

#define IS_PCH_LPT_LPC_DEVICE_ID_WS(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID_WS(DeviceId) || \
      IS_PCH_LPTLP_LPC_DEVICE_ID_WS(DeviceId) \
    )

//
// Device IDS that are PCH LPT Server specific
//
#define IS_PCH_LPTH_LPC_DEVICE_ID_SERVER(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_SVR_0) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_SVR_1) || \
      (DeviceId == V_PCH_LPTH_LPC_DEVICE_ID_SVR_2) || \
      FALSE \
    )

#define IS_PCH_LPTLP_LPC_DEVICE_ID_SERVER(DeviceId) (FALSE)

#define IS_PCH_LPT_LPC_DEVICE_ID_SERVER(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID_SERVER(DeviceId) || \
      IS_PCH_LPTLP_LPC_DEVICE_ID_SERVER(DeviceId) \
    )

#define IS_PCH_LPTH_LPC_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID_DESKTOP (DeviceId) || \
      IS_PCH_LPTH_LPC_DEVICE_ID_MOBILE (DeviceId) || \
      IS_PCH_LPTH_LPC_DEVICE_ID_WS (DeviceId) || \
      IS_PCH_LPTH_LPC_DEVICE_ID_SERVER (DeviceId) \
    )

#define IS_PCH_LPTLP_LPC_DEVICE_ID(DeviceId) \
    ( \
     IS_PCH_LPTLP_LPC_DEVICE_ID_DESKTOP (DeviceId) || \
     IS_PCH_LPTLP_LPC_DEVICE_ID_MOBILE (DeviceId) || \
     IS_PCH_LPTLP_LPC_DEVICE_ID_WS (DeviceId) || \
     IS_PCH_LPTLP_LPC_DEVICE_ID_SERVER (DeviceId) \
    )

#define IS_PCH_LPT_LPC_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID(DeviceId) || \
      IS_PCH_LPTLP_LPC_DEVICE_ID(DeviceId) \
    )

//
//  SATA AHCI Device ID macros
//
#define IS_PCH_LPTH_SATA_AHCI_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_D_AHCI) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_M_AHCI) \
    )

#define IS_PCH_LPTLP_SATA_AHCI_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_AHCI0) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_AHCI1) \
    )

#define IS_PCH_LPT_SATA_AHCI_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_SATA_AHCI_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_SATA_AHCI_DEVICE_ID (DeviceId) \
    )

//
//  SATA IDE Device ID macros
//
#define IS_PCH_LPTH_SATA_IDE_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_D_IDE) || \
      (DeviceId == V_PCH_LPTH_SATA2_DEVICE_ID_D_IDE) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_M_IDE) || \
      (DeviceId == V_PCH_LPTH_SATA2_DEVICE_ID_M_IDE) \
    )

#define IS_PCH_LPTLP_SATA_IDE_DEVICE_ID(DeviceId) (FALSE)

#define IS_PCH_LPT_SATA_IDE_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_SATA_IDE_DEVICE_ID(DeviceId) || \
      IS_PCH_LPTLP_SATA_IDE_DEVICE_ID(DeviceId) \
    )

//
//  SATA RAID Device ID macros
//
#define IS_PCH_LPTH_SATA_RAID_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_D_RAID) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_D_RAID_PREM) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_D_RAID_ALTDIS) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_M_RAID) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_M_RAID_PREM) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_D_RAID_SERVER) || \
      (DeviceId == V_PCH_LPTH_SATA_DEVICE_ID_M_RAID_ALTDIS) \
    )

#define IS_PCH_LPTLP_SATA_RAID_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID0) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID1) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID2) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID3) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID_ALTDIS0) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID_ALTDIS1) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID_PREM0) || \
      (DeviceId == V_PCH_LPTLP_SATA_DEVICE_ID_M_RAID_PREM1) \
    )

#define IS_PCH_LPT_SATA_RAID_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_SATA_RAID_DEVICE_ID(DeviceId) || \
      IS_PCH_LPTLP_SATA_RAID_DEVICE_ID(DeviceId) \
    )

//
//  Combined SATA IDE/AHCI/RAID Device ID macros
//
#define IS_PCH_LPTH_SATA_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_SATA_IDE_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTH_SATA_AHCI_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTH_SATA_RAID_DEVICE_ID (DeviceId) \
    )

#define IS_PCH_LPTLP_SATA_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTLP_SATA_AHCI_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_SATA_RAID_DEVICE_ID (DeviceId) \
    )

#define IS_PCH_LPT_SATA_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_SATA_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_SATA_DEVICE_ID (DeviceId) \
    )

#define IS_PCH_LPTH_RAID_AVAILABLE(DeviceId) (TRUE)
#define IS_PCH_LPTLP_RAID_AVAILABLE(DeviceId) (TRUE)
#define IS_PCH_LPT_RAID_AVAILABLE(DeviceId) \
    ( \
      IS_PCH_LPTH_RAID_AVAILABLE(DeviceId) || \
      IS_PCH_LPTLP_RAID_AVAILABLE(DeviceId) \
    )

//
//  USB Device ID macros
//
#define IS_PCH_LPTH_USB_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_USB_DEVICE_ID_EHCI_1) || \
      (DeviceId == V_PCH_LPTH_USB_DEVICE_ID_EHCI_2) || \
      (DeviceId == V_PCH_LPTH_USB_DEVICE_ID_XHCI_1) \
    )

#define IS_PCH_LPTLP_USB_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTLP_USB_DEVICE_ID_EHCI_1) || \
      (DeviceId == V_PCH_LPTLP_USB_DEVICE_ID_XHCI_1) \
    )

#define IS_PCH_LPT_USB_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_USB_DEVICE_ID(DeviceId) || \
      IS_PCH_LPTLP_USB_DEVICE_ID(DeviceId) \
    )

//
//  PCIE Device ID macros
//
#define IS_PCH_LPTH_PCIE_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT1) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT2) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT3) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT4) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT5) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT6) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT7) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_PORT8) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_MB_SUBD) || \
      (DeviceId == V_PCH_LPTH_PCIE_DEVICE_ID_DT_SUBD) \
    )

#define IS_PCH_LPTLP_PCIE_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT1) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT1_ALT) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT2) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT2_ALT) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT3) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT3_ALT) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT4) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT4_ALT) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT5) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT5_ALT) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT6) || \
      (DeviceId == V_PCH_LPTLP_PCIE_DEVICE_ID_PORT6_ALT) \
    )

#define IS_PCH_LPT_PCIE_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_PCIE_DEVICE_ID(DeviceId) || \
      IS_PCH_LPTLP_PCIE_DEVICE_ID(DeviceId) \
    )

//
//  HD Azalia Device ID macros
//
#define IS_PCH_LPTLP_HDA_DEVICE_ID(DeviceId) \
    ( \
      (DeviceId == V_PCH_LPTLP_HDA_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_HDA_DEVICE_ID_ALT) \
    )

///
/// Any device ID that is PCH LynxPoint
///
#define IS_PCH_LPTH_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTH_LPC_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTH_SATA_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTH_USB_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTH_PCIE_DEVICE_ID (DeviceId) || \
      (DeviceId) == V_PCH_LPTH_THERMAL_DEVICE_ID || \
      (DeviceId) == V_PCH_LPTH_SMBUS_DEVICE_ID || \
      (DeviceId) == V_PCH_LPTH_LAN_DEVICE_ID || \
      (DeviceId) == V_PCH_LPTH_HDA_DEVICE_ID \
    )

///
/// Any device ID that is PCH LynxPoint-LP
///
#define IS_PCH_LPTLP_DEVICE_ID(DeviceId) \
    ( \
      IS_PCH_LPTLP_LPC_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_SATA_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_USB_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_PCIE_DEVICE_ID (DeviceId) || \
      IS_PCH_LPTLP_HDA_DEVICE_ID (DeviceId) || \
      (DeviceId == V_PCH_LPTLP_THERMAL_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_SMBUS_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_LAN_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_ADSP_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_DMA_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_I2C0_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_I2C1_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_SPI0_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_SPI1_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_UART0_DEVICE_ID) || \
      (DeviceId == V_PCH_UART1_SDIO_DEVICE_ID) || \
      (DeviceId == V_PCH_LPTLP_SDIO_DEVICE_ID) \
    )

///
/// Combined any device ID that is PCH LynxPoint or LynxPoint-LP
///
#define IS_PCH_LPT_DEVICE_ID(DeviceId) \
    (\
     IS_PCH_LPTH_DEVICE_ID(DeviceId) || \
     IS_PCH_LPTLP_DEVICE_ID(DeviceId) \
    )

#endif