]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/INTELISPDev2.ASL
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / INTELISPDev2.ASL
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r
4\r
7ede8060 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
6\r
7\r
8\r
9Module Name:\r
10\r
11 INTELISPDev2.ASL\r
12\r
13Abstract:\r
14\r
15 ISP Exist as B0D2F0 Software ACPI Reference Code for the Baytrail Family.\r
16\r
17--*/\r
18////Device ISP0\r
19Device(ISP0)\r
20{\r
21 Name(_ADR, 0x0F38)\r
22 //Name (_HID, "80860F38")\r
23 //Name (_CID, "80860F38")\r
24 Name(_DDN, "VLV2 ISP - 80860F38")\r
25 Name(_UID, 0x01)\r
26\r
27 Method (_STA, 0, NotSerialized)\r
28 {\r
29 If(LEqual(ISPD,1)) //Dev2 need report ISP0 as GFX0 child\r
30 {\r
31 Return (0xF)\r
32 }\r
33 Else\r
34 {\r
35 Return (0x0)\r
36 }\r
37 }\r
38 Name(SBUF,ResourceTemplate ()\r
39 {\r
40 Memory32Fixed (ReadWrite, 0x00000000, 0x00400000, ISP0)\r
41 })\r
42 Method(_CRS, 0x0, NotSerialized)\r
43 {\r
44 Return (SBUF)\r
45 }\r
46 Method (_SRS, 0x1, NotSerialized)\r
47 {\r
48 }\r
49 Method (_DIS, 0x0, NotSerialized)\r
50 {\r
51 }\r
52 Method(_DSM, 0x4, NotSerialized)\r
53 {\r
54 If (LEqual (Arg0, 0x01))\r
55 {\r
56 ///Switch ISP to D3H\r
57 Return (0x01)\r
58 }\r
59 Elseif (LEqual (Arg0, 0x02))\r
60 {\r
61 //Switch ISP to D0\r
62 Return (0x02)\r
63 }\r
64 Else\r
65 {\r
66 //Do nothing\r
67 Return (0x0F)\r
68 }\r
69 }\r
70} ///End ISP0\r
71\r