Skip to content

Instantly share code, notes, and snippets.

@ErnyTech
Last active August 8, 2022 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ErnyTech/d265f760f1e23de139f9236f82692d02 to your computer and use it in GitHub Desktop.
Save ErnyTech/d265f760f1e23de139f9236f82692d02 to your computer and use it in GitHub Desktop.
Huawei Matebook 16 [AMD] S3 Deep Sleep Patch
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20220331 (64-bit version)
* Copyright (c) 2000 - 2022 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Mon Aug 8 14:02:02 2022
*
* Original Table Header:
* Signature "DSDT"
* Length 0x0000D67D (54909)
* Revision 0x01 **** 32-bit table (V1), no 64-bit math support
* Checksum 0xEF
* OEM ID "HUAWEI"
* OEM Table ID "EDK2 "
* OEM Revision 0x00000002 (2)
* Compiler ID "ACPI"
* Compiler Version 0x00040000 (262144)
*/
DefinitionBlock ("", "DSDT", 1, "HUAWEI", "EDK2 ", 0x00000003)
{
External (_SB_.ALIB, MethodObj) // 2 Arguments
External (_SB_.APTS, MethodObj) // 1 Arguments
External (_SB_.AWAK, MethodObj) // 1 Arguments
External (_SB_.PCI0.GP17.VGA_.AFN7, MethodObj) // 1 Arguments
External (_SB_.PCI0.GPP0.PEGP, UnknownObj)
External (_SB_.TPM2.PTS_, MethodObj) // 1 Arguments
External (_SB_.WMIW, UnknownObj)
External (AFN4, MethodObj) // 1 Arguments
External (DAIN, FieldUnitObj)
External (DAOU, FieldUnitObj)
External (M017, MethodObj) // 6 Arguments
External (M019, MethodObj) // 4 Arguments
External (M020, MethodObj) // 5 Arguments
External (MPTS, MethodObj) // 1 Arguments
External (MWAK, MethodObj) // 1 Arguments
OperationRegion (SPRT, SystemIO, 0xB0, 0x02)
Field (SPRT, ByteAcc, Lock, Preserve)
{
SSMP, 8
}
Method (HSMI, 0, NotSerialized)
{
SSMP = 0xC1
}
Method (GVER, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, INVL)
CreateByteField (BUFF, 0x02, INVH)
CreateByteField (BUFF, 0x03, DEVL)
CreateByteField (BUFF, 0x04, DEVH)
INVL = One
INVH = Zero
DEVL = 0x11
DEVH = Zero
DAIN = Local0
HSMI ()
Return (BUFF) /* \GVER.BUFF */
}
Method (GTSI, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, TSB0)
CreateByteField (BUFF, 0x02, TSB1)
CreateByteField (BUFF, 0x03, TSB2)
TSB0 = 0xE3
TSB1 = 0xC9
TSB2 = 0xE0
Return (BUFF) /* \GTSI.BUFF */
}
Method (GTMP, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, TSSN)
CreateByteField (BUFF, One, SIGN)
CreateByteField (BUFF, 0x02, TSE1)
CreateByteField (BUFF, 0x03, TSE2)
Switch (TSSN)
{
Case (Zero)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TCPU
}
Case (One)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TGPU
}
Case (0x05)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TCNC
}
Case (0x06)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TGVN
}
Case (0x07)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TTC1
}
Case (0x08)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TCGN
}
Case (0x0B)
{
TSE1 = \_SB.PCI0.LPC0.EC0.DDRN
}
Case (0x0E)
{
TSE1 = \_SB.PCI0.LPC0.EC0.BTMP
}
Case (0x0F)
{
TSE1 = \_SB.PCI0.LPC0.EC0.MBNT
}
Case (0x15)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TTC2
}
Case (0x16)
{
TSE1 = \_SB.PCI0.LPC0.EC0.TCVN
}
Case (0x17)
{
TSE1 = \_SB.PCI0.LPC0.EC0.CPTN
}
Default
{
STAT = One
}
}
Return (BUFF) /* \GTMP.BUFF */
}
Method (STMT, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (Local0, 0x02, INSN)
CreateByteField (Local0, 0x04, SIGH)
CreateByteField (Local0, 0x05, TMHL)
CreateByteField (Local0, 0x06, SIGL)
CreateByteField (Local0, 0x07, TMLL)
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
If (((SIGH > One) || (SIGL > One)))
{
STAT = One
Return (BUFF) /* \STMT.BUFF */
}
Switch (INSN)
{
Case (Zero)
{
\_SB.PCI0.LPC0.EC0.CDTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.CDTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.CDUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.CDLP = SIGL /* \STMT.SIGL */
}
Case (One)
{
\_SB.PCI0.LPC0.EC0.GDTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.GDTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.GDUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.GDLP = SIGL /* \STMT.SIGL */
}
Case (0x05)
{
\_SB.PCI0.LPC0.EC0.SCTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.SCTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.SCUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.SCLP = SIGL /* \STMT.SIGL */
}
Case (0x06)
{
\_SB.PCI0.LPC0.EC0.GVTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.GVTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.GVUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.GVLP = SIGL /* \STMT.SIGL */
}
Case (0x07)
{
\_SB.PCI0.LPC0.EC0.T1TU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.T1TL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.T1UP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.T1LP = SIGL /* \STMT.SIGL */
}
Case (0x08)
{
\_SB.PCI0.LPC0.EC0.CGTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.CGTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.CGUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.CGLP = SIGL /* \STMT.SIGL */
}
Case (0x0B)
{
\_SB.PCI0.LPC0.EC0.DRTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.DRTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.DRUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.DRLP = SIGL /* \STMT.SIGL */
}
Case (0x0F)
{
\_SB.PCI0.LPC0.EC0.ABTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.ABTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.ABUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.ABLP = SIGL /* \STMT.SIGL */
}
Case (0x15)
{
\_SB.PCI0.LPC0.EC0.T2TU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.T2TL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.T2UP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.T2LP = SIGL /* \STMT.SIGL */
}
Case (0x16)
{
\_SB.PCI0.LPC0.EC0.SVTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.SVTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.SVUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.SVLP = SIGL /* \STMT.SIGL */
}
Case (0x17)
{
\_SB.PCI0.LPC0.EC0.CTTU = TMHL /* \STMT.TMHL */
\_SB.PCI0.LPC0.EC0.CTTL = TMLL /* \STMT.TMLL */
\_SB.PCI0.LPC0.EC0.CTUP = SIGH /* \STMT.SIGH */
\_SB.PCI0.LPC0.EC0.CTLP = SIGL /* \STMT.SIGL */
}
Default
{
STAT = One
}
}
Return (BUFF) /* \STMT.BUFF */
}
Method (GPSI, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, PWSI)
PWSI = 0x0D
Return (BUFF) /* \GPSI.BUFF */
}
Method (GPCI, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, PSNO)
CreateByteField (BUFF, One, PWRV)
Switch (PSNO)
{
Case (Zero)
{
If ((\_SB.PCI0.LPC0.EC0.UCPS == Zero))
{
Local1 = \_SB.PCI0.LPC0.EC0.BTCL
Local2 = \_SB.PCI0.LPC0.EC0.BTCH
Local1 &= 0xFF
Local2 <<= 0x08
Local2 &= 0xFF00
Local5 = (Local1 | Local2)
Local3 = \_SB.PCI0.LPC0.EC0.BTVL
Local4 = \_SB.PCI0.LPC0.EC0.BTVH
Local3 &= 0xFF
Local4 <<= 0x08
Local4 &= 0xFF00
Local6 = (Local3 | Local4)
Local7 = (Local5 * Local6)
PWRV = (Local7 / 0x000F4240)
}
ElseIf ((\_SB.PCI0.LPC0.EC0.UCPS == One))
{
Local1 = \_SB.PCI0.LPC0.EC0.U0CV
Local2 = \_SB.PCI0.LPC0.EC0.U0VV
Local1 &= 0xFFFF
Local2 &= 0xFFFF
Local3 = (Local1 * Local2)
PWRV = (Local3 / 0x000F4240)
}
ElseIf ((\_SB.PCI0.LPC0.EC0.UCPS == 0x02))
{
Local1 = \_SB.PCI0.LPC0.EC0.U1CV
Local2 = \_SB.PCI0.LPC0.EC0.U1VV
Local1 &= 0xFFFF
Local2 &= 0xFFFF
Local3 = (Local1 * Local2)
PWRV = (Local3 / 0x000F4240)
}
Else
{
PWRV = Zero
}
}
Case (0x02)
{
If ((\_SB.PCI0.LPC0.EC0.UCPS == Zero))
{
Local1 = \_SB.PCI0.LPC0.EC0.BTCL
Local2 = \_SB.PCI0.LPC0.EC0.BTCH
Local1 &= 0xFF
Local2 <<= 0x08
Local2 &= 0xFF00
Local5 = (Local1 | Local2)
Local3 = \_SB.PCI0.LPC0.EC0.BTVL
Local4 = \_SB.PCI0.LPC0.EC0.BTVH
Local3 &= 0xFF
Local4 <<= 0x08
Local4 &= 0xFF00
Local6 = (Local3 | Local4)
Local7 = (Local5 * Local6)
PWRV = (Local7 / 0x000F4240)
}
Else
{
PWRV = Zero
}
}
Case (0x03)
{
If ((\_SB.PCI0.LPC0.EC0.UCPS == One))
{
Local1 = \_SB.PCI0.LPC0.EC0.U0CV
Local2 = \_SB.PCI0.LPC0.EC0.U0VV
}
ElseIf ((\_SB.PCI0.LPC0.EC0.UCPS == 0x02))
{
Local1 = \_SB.PCI0.LPC0.EC0.U1CV
Local2 = \_SB.PCI0.LPC0.EC0.U1VV
}
Else
{
Local1 = Zero
Local2 = Zero
}
Local1 &= 0xFFFF
Local2 &= 0xFFFF
Local3 = (Local1 * Local2)
PWRV = (Local3 / 0x000F4240)
}
Default
{
STAT = One
}
}
Return (BUFF) /* \GPCI.BUFF */
}
Method (GLIV, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, 0x03, LOKB)
Local1 = \_SB.PCI0.LPC0.EC0.KBBL
If ((Local1 > 0x02))
{
STAT = One
}
Else
{
LOKB = (Local1 * 0x32)
}
Return (BUFF) /* \GLIV.BUFF */
}
Method (SLIV, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, KBLV)
If ((KBLV > 0x04))
{
STAT = One
}
Else
{
Local1 = (KBLV / 0x02)
\_SB.PCI0.LPC0.EC0.KBBL = Local1
}
Return (BUFF) /* \SLIV.BUFF */
}
Method (GFNS, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, FNUM)
CreateWordField (BUFF, One, FRPM)
Switch (FNUM)
{
Case (Zero)
{
FRPM = \_SB.PCI0.LPC0.EC0.LFSV
}
Case (One)
{
FRPM = \_SB.PCI0.LPC0.EC0.RFSV
}
Default
{
STAT = One
}
}
Return (BUFF) /* \GFNS.BUFF */
}
Method (GCVA, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, RNUM)
CreateByteField (BUFF, One, SIGN)
CreateWordField (BUFF, 0x02, UBVC)
Switch (RNUM)
{
Case (Zero)
{
SIGN = Zero
UBVC = \_SB.PCI0.LPC0.EC0.U0VV
}
Case (One)
{
SIGN = Zero
UBVC = \_SB.PCI0.LPC0.EC0.U1VV
}
Case (0x10)
{
SIGN = Zero
UBVC = \_SB.PCI0.LPC0.EC0.U0CV
}
Case (0x11)
{
SIGN = Zero
UBVC = \_SB.PCI0.LPC0.EC0.U1CV
}
Case (0x20)
{
SIGN = Zero
UBVC = \_SB.PCI0.LPC0.EC0.BTVH
(UBVC << 0x08)
UBVC = \_SB.PCI0.LPC0.EC0.BTVL
}
Case (0x21)
{
STAT = One
}
Case (0x30)
{
If (\_SB.PCI0.LPC0.EC0.ACIN)
{
SIGN = Zero
}
Else
{
SIGN = One
}
UBVC = \_SB.PCI0.LPC0.EC0.BTCH
(UBVC << 0x08)
UBVC = \_SB.PCI0.LPC0.EC0.BTCL
}
Case (0x31)
{
STAT = One
}
Default
{
STAT = One
}
}
Return (BUFF) /* \GCVA.BUFF */
}
Method (GFRQ, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \GFRQ.BUFF */
}
Method (STMP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \STMP.BUFF */
}
Method (SPSL, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \SPSL.BUFF */
}
Method (RDTB, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \RDTB.BUFF */
}
Method (STTB, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \STTB.BUFF */
}
Method (GHWP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GHWP.BUFF */
}
Method (SHWP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \SHWP.BUFF */
}
Method (GEEP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GEEP.BUFF */
}
Method (SEEP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \SEEP.BUFF */
}
Method (GTDP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GTDP.BUFF */
}
Method (STDP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \STDP.BUFF */
}
Method (GCPL, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \GCPL.BUFF */
}
Method (SPLV, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \SPLV.BUFF */
}
Method (GODP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GODP.BUFF */
}
Method (SODP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \SODP.BUFF */
}
Method (SBTT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, BSCP)
CreateByteField (Local0, 0x03, BTCP)
\_SB.PCI0.LPC0.EC0.SCRS = BSCP /* \SBTT.BSCP */
\_SB.PCI0.LPC0.EC0.TCRS = BTCP /* \SBTT.BTCP */
Return (BUFF) /* \SBTT.BUFF */
}
Method (GBTT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, BSCP)
CreateByteField (BUFF, 0x02, BTCP)
BSCP = \_SB.PCI0.LPC0.EC0.SCRS
BTCP = \_SB.PCI0.LPC0.EC0.TCRS
Return (BUFF) /* \GBTT.BUFF */
}
Method (STSL, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \STSL.BUFF */
}
Method (GGDS, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \GGDS.BUFF */
}
Method (SCRP, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \SCRP.BUFF */
}
Method (PAFS, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \PAFS.BUFF */
}
Method (PAFF, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \PAFF.BUFF */
}
Method (GFRS, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, FKRS)
FKRS = \_SB.PCI0.LPC0.EC0.FNMD
FKRS = (FKRS + One)
Return (BUFF) /* \GFRS.BUFF */
}
Method (SFRS, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, SFNS)
\_SB.PCI0.LPC0.EC0.FNMD = (SFNS - One)
Return (BUFF) /* \SFRS.BUFF */
}
Method (SPDT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \SPDT.BUFF */
}
Method (RPDT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \RPDT.BUFF */
}
Method (RPPT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \RPPT.BUFF */
}
OperationRegion (ECAC, SystemIO, 0x62, 0x05)
Field (ECAC, ByteAcc, NoLock, Preserve)
{
EC62, 8,
Offset (0x04),
EC66, 8
}
Method (EIBF, 0, NotSerialized)
{
Local0 = 0x2710
While ((Local0 != Zero))
{
Local1 = Zero
Local1 = EC66 /* \EC66 */
Local1 &= 0x02
If ((Local1 == 0x02))
{
Break
}
Local0--
}
}
Method (ECD6, 1, NotSerialized)
{
EIBF ()
EC66 = Arg0
EIBF ()
}
Method (SMLS, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, MICL)
If ((MICL == Zero))
{
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.MUTX = Zero
}
}
ElseIf (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.MUTX = One
}
Return (BUFF) /* \SMLS.BUFF */
}
Method (GFNM, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, CFMD)
CFMD = \_SB.PCI0.LPC0.EC0.FWMD
Return (BUFF) /* \GFNM.BUFF */
}
Method (SFNM, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, CFMD)
\_SB.PCI0.LPC0.EC0.FWMD = CFMD /* \SFNM.CFMD */
Return (BUFF) /* \SFNM.BUFF */
}
Method (GTUB, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, OTBS)
OTBS = \_SB.PCI0.LPC0.EC0.OKTS
Return (BUFF) /* \GTUB.BUFF */
}
Method (STUB, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, OTBS)
\_SB.PCI0.LPC0.EC0.OKTS = OTBS /* \STUB.OTBS */
If (OTBS)
{
\_SB.PCI0.LPC0.EC0.WMEN = 0x02A1
}
Else
{
\_SB.PCI0.LPC0.EC0.WMEN = 0x02A0
}
Notify (\_SB.WMIW, 0xA0) // Device-Specific
Return (BUFF) /* \STUB.BUFF */
}
Method (GWKM, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (BUFF, One, CWKM)
CWKM = \_SB.PCI0.LPC0.EC0.CWMD
Return (BUFF) /* \GWKM.BUFF */
}
Method (SWKM, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, CWKM)
\_SB.PCI0.LPC0.EC0.CWMD = CWKM /* \SWKM.CWKM */
Return (BUFF) /* \SWKM.BUFF */
}
Method (GSTP, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, ITEM)
Switch (ITEM)
{
Case (Package (0x0F)
{
Zero,
0x10,
0x20,
0x21,
0x22,
0x23,
0x24,
0x25,
0x26,
0x27,
0x2C,
0x30,
0x40,
0x41,
0x50
}
)
{
STAT = Zero
}
Default
{
STAT = One
Return (BUFF) /* \GSTP.BUFF */
}
}
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GSTP.BUFF */
}
Method (SSTP, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateByteField (Local0, 0x02, ITEM)
CreateByteField (Local0, 0x03, ISET)
Switch (ITEM)
{
Case (Package (0x0D)
{
Zero,
0x20,
0x21,
0x22,
0x23,
0x24,
0x25,
0x26,
0x27,
0x2C,
0x30,
0x40,
0x41
}
)
{
If ((ISET > One))
{
STAT = One
Return (BUFF) /* \SSTP.BUFF */
}
}
Case (0x10)
{
If ((ISET > 0x02))
{
STAT = One
Return (BUFF) /* \SSTP.BUFF */
}
}
Case (0x50)
{
If ((ISET > 0x05))
{
STAT = One
Return (BUFF) /* \SSTP.BUFF */
}
}
Case (0xDF)
{
STAT = Zero
}
Default
{
STAT = One
Return (BUFF) /* \SSTP.BUFF */
}
}
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
CreateByteField (Local0, 0x02, SULD)
If ((SULD == 0xDF))
{
STAT = Zero
}
Return (BUFF) /* \SSTP.BUFF */
}
Method (SLGO, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \SLGO.BUFF */
}
Method (GLGO, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GLGO.BUFF */
}
Method (GLOG, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
BUFF [One] = 0xB0
Local1 = Zero
Local1 = \_SB.PCI0.LPC0.EC0.OPC1
Local1 &= 0x07
Local1 <<= 0x04
Local2 = Zero
Local2 = \_SB.PCI0.LPC0.EC0.OPC2
Local2 &= 0x07
BUFF [0x02] = (Local1 | Local2)
Local1 = Zero
Local2 = Zero
BUFF [0x03] = 0xB1
BUFF [0x04] = 0xCC
BUFF [0x05] = \_SB.PCI0.LPC0.EC0.NPD2
BUFF [0x06] = Zero
BUFF [0x07] = \_SB.PCI0.LPC0.EC0.NPD1
BUFF [0x08] = Zero
BUFF [0x09] = \_SB.PCI0.LPC0.EC0.NPT1
BUFF [0x0A] = \_SB.PCI0.LPC0.EC0.NPT2
BUFF [0x0B] = \_SB.PCI0.LPC0.EC0.NPT3
BUFF [0x0C] = \_SB.PCI0.LPC0.EC0.NPT4
BUFF [0x0D] = 0xB1
BUFF [0x0E] = 0xCC
BUFF [0x0F] = \_SB.PCI0.LPC0.EC0.PPD2
BUFF [0x10] = Zero
BUFF [0x11] = \_SB.PCI0.LPC0.EC0.PPD1
BUFF [0x12] = Zero
BUFF [0x13] = \_SB.PCI0.LPC0.EC0.PPT1
BUFF [0x14] = \_SB.PCI0.LPC0.EC0.PPT2
BUFF [0x15] = \_SB.PCI0.LPC0.EC0.PPT3
BUFF [0x16] = \_SB.PCI0.LPC0.EC0.PPT4
Local1 = 0x17
Local2 = Zero
While ((Local1 < 0x5F))
{
Switch (Local1)
{
Case (Package (0x04)
{
0x17,
0x20,
0x29,
0x32
}
)
{
Local2 = 0xE0
}
Case (Package (0x04)
{
0x3B,
0x44,
0x4D,
0x56
}
)
{
Local2 = 0xE1
}
Default
{
Local2 = 0xFF
}
}
BUFF [Local1] = Local2
Local1++
}
Local1 = Zero
Local2 = Zero
Local1 = \_SB.PCI0.LPC0.EC0.CLCN
Local2 = Zero
Local3 = Zero
While ((Local1 > Zero))
{
\_SB.PCI0.LPC0.EC0.CLAN = Local1
Stall (0x64)
\_SB.PCI0.LPC0.EC0.CLAR = One
Sleep (0x02)
Local4 = \_SB.PCI0.LPC0.EC0.CLAR
If ((Local4 == 0x80))
{
Local5 = \_SB.PCI0.LPC0.EC0.SDCL
Local7 = \_SB.PCI0.LPC0.EC0.WUCL
If ((Local5 != Zero))
{
Local2++
Local6 = Zero
Switch (Local5)
{
Case (Package (0x06)
{
One,
0x02,
0x03,
0x59,
0xFC,
0xFD
}
)
{
Local6 = 0xCC
}
Case (Package (0x14)
{
0x06,
0x07,
0x0B,
0x0D,
0x0E,
0x30,
0x31,
0x35,
0x37,
0x39,
0x50,
0x51,
0x52,
0x53,
0x54,
0x55,
0x56,
0x57,
0x58,
0xD2
}
)
{
Local6 = 0xEE
}
}
If ((Local6 != Zero))
{
Switch (Local2)
{
Case (One)
{
BUFF [0x18] = Local6
BUFF [0x19] = Local5
BUFF [0x1A] = \_SB.PCI0.LPC0.EC0.SDCV
BUFF [0x1C] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x1D] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x1E] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x1F] = \_SB.PCI0.LPC0.EC0.CTS4
}
Case (0x02)
{
BUFF [0x21] = Local6
BUFF [0x22] = Local5
BUFF [0x23] = \_SB.PCI0.LPC0.EC0.SDCV
BUFF [0x25] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x26] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x27] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x28] = \_SB.PCI0.LPC0.EC0.CTS4
}
Case (0x03)
{
BUFF [0x2A] = Local6
BUFF [0x2B] = Local5
BUFF [0x2C] = \_SB.PCI0.LPC0.EC0.SDCV
BUFF [0x2E] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x2F] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x30] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x31] = \_SB.PCI0.LPC0.EC0.CTS4
}
Case (0x04)
{
BUFF [0x33] = Local6
BUFF [0x34] = Local5
BUFF [0x35] = \_SB.PCI0.LPC0.EC0.SDCV
BUFF [0x37] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x38] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x39] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x3A] = \_SB.PCI0.LPC0.EC0.CTS4
}
}
}
Local6 = Zero
}
If ((Local7 != Zero))
{
Local3++
Local6 = 0xCC
Switch (Local3)
{
Case (One)
{
BUFF [0x3C] = Local6
BUFF [0x3D] = Local7
BUFF [0x40] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x41] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x42] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x43] = \_SB.PCI0.LPC0.EC0.CTS4
}
Case (0x02)
{
BUFF [0x45] = Local6
BUFF [0x46] = Local7
BUFF [0x49] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x4A] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x4B] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x4C] = \_SB.PCI0.LPC0.EC0.CTS4
}
Case (0x03)
{
BUFF [0x4E] = Local6
BUFF [0x4F] = Local7
BUFF [0x52] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x53] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x54] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x55] = \_SB.PCI0.LPC0.EC0.CTS4
}
Case (0x04)
{
BUFF [0x57] = Local6
BUFF [0x58] = Local7
BUFF [0x5B] = \_SB.PCI0.LPC0.EC0.CTS1
BUFF [0x5C] = \_SB.PCI0.LPC0.EC0.CTS2
BUFF [0x5D] = \_SB.PCI0.LPC0.EC0.CTS3
BUFF [0x5E] = \_SB.PCI0.LPC0.EC0.CTS4
}
}
}
}
If (((Local2 >= 0x04) && (Local3 >= 0x04)))
{
Local1 = One
}
Local1--
}
Return (BUFF) /* \GLOG.BUFF */
}
Method (GNTB, 1, NotSerialized)
{
DAIN = Arg0
HSMI ()
Return (DAOU) /* External reference */
}
Method (SNTB, 1, NotSerialized)
{
DAIN = Arg0
HSMI ()
Return (DAOU) /* External reference */
}
Method (GSWL, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
DAIN = Local0
HSMI ()
BUFF = DAOU /* External reference */
Return (BUFF) /* \GSWL.BUFF */
}
Method (GECL, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \GECL.BUFF */
}
Method (SPDV, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \SPDV.BUFF */
}
Method (GPDV, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \GPDV.BUFF */
}
Method (SOSF, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \SOSF.BUFF */
}
Method (GOSF, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
Return (BUFF) /* \GOSF.BUFF */
}
Method (SKBT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateWordField (Local0, 0x02, KBLT)
\_SB.PCI0.LPC0.EC0.KBLD = KBLT /* \SKBT.KBLT */
Return (BUFF) /* \SKBT.BUFF */
}
Method (GKBT, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
CreateWordField (BUFF, One, KBLT)
KBLT = \_SB.PCI0.LPC0.EC0.KBLD
Return (BUFF) /* \GKBT.BUFF */
}
Method (SMDC, 1, NotSerialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (Local0, 0x02, ITM2)
CreateByteField (Local0, 0x03, ITM3)
\_SB.PCI0.LPC0.EC0.PDUE = ITM2 /* \SMDC.ITM2 */
CreateByteField (BUFF, Zero, STAT)
STAT = Zero
If ((ITM3 == 0x04))
{
If ((ITM2 == One))
{
\_SB.PCI0.LPC0.EC0.PDIN = ITM3 /* \SMDC.ITM3 */
CreateDWordField (BUFF, One, PD01)
PD01 = 0xFE702900
CreateDWordField (BUFF, 0x05, PD02)
CreateDWordField (BUFF, 0x09, PD03)
PD03 = 0xFE702900
CreateDWordField (BUFF, 0x0D, PD04)
CreateDWordField (BUFF, 0x11, PD05)
PD05 = 0xFE702901
CreateDWordField (BUFF, 0x15, PD06)
CreateDWordField (BUFF, 0x19, PD07)
PD07 = 0xFE702902
CreateDWordField (BUFF, 0x1D, PD08)
CreateDWordField (BUFF, 0x21, PD09)
PD09 = 0xFE702903
CreateDWordField (BUFF, 0x25, PD0A)
CreateDWordField (BUFF, 0x29, PD0B)
PD0B = 0xFE702904
CreateDWordField (BUFF, 0x2D, PD0C)
CreateDWordField (BUFF, 0x31, PD0D)
PD0D = 0xFE702924
Return (BUFF) /* \SMDC.BUFF */
}
Else
{
STAT = One
Return (BUFF) /* \SMDC.BUFF */
}
}
Else
{
STAT = One
Return (BUFF) /* \SMDC.BUFF */
}
}
Method (RPDV, 1, Serialized)
{
Name (BUFF, Buffer (0x0100) {})
Local0 = Arg0
CreateByteField (Local0, 0x02, ITEM)
CreateByteField (BUFF, Zero, STAT)
CreateByteField (BUFF, One, PDNM)
CreateByteField (BUFF, 0x02, PDTP)
CreateByteField (BUFF, 0x03, DVNO)
CreateByteField (BUFF, 0x04, SBVR)
CreateByteField (BUFF, 0x05, MVRL)
CreateByteField (BUFF, 0x06, MVRH)
Switch (ITEM)
{
Case (Zero)
{
PDTP = \_SB.PCI0.LPC0.EC0.PDIT
DVNO = \_SB.PCI0.LPC0.EC0.P1DV
SBVR = \_SB.PCI0.LPC0.EC0.P1MN
MVRL = \_SB.PCI0.LPC0.EC0.P1ML
MVRH = \_SB.PCI0.LPC0.EC0.P1MH
STAT = Zero
Return (BUFF) /* \RPDV.BUFF */
}
Case (One)
{
PDTP = \_SB.PCI0.LPC0.EC0.PDIT
DVNO = \_SB.PCI0.LPC0.EC0.P2DV
SBVR = \_SB.PCI0.LPC0.EC0.P2MN
MVRL = \_SB.PCI0.LPC0.EC0.P2ML
MVRH = \_SB.PCI0.LPC0.EC0.P2MH
STAT = Zero
Return (BUFF) /* \RPDV.BUFF */
}
Case (0xFE)
{
PDNM = \_SB.PCI0.LPC0.EC0.PI2N
PDTP = 0xFF
DVNO = 0xFF
SBVR = 0xFF
MVRL = 0xFF
MVRH = 0xFF
STAT = Zero
Return (BUFF) /* \RPDV.BUFF */
}
Default
{
If ((ITEM > 0xFE))
{
PDTP = 0xFF
DVNO = 0xFF
SBVR = 0xFF
MVRL = 0xFF
MVRH = 0xFF
STAT = One
Return (BUFF) /* \RPDV.BUFF */
}
Else
{
STAT = One
Return (BUFF) /* \RPDV.BUFF */
}
}
}
}
OperationRegion (DBG0, SystemIO, 0x80, One)
Field (DBG0, ByteAcc, NoLock, Preserve)
{
IO80, 8
}
OperationRegion (DBG1, SystemIO, 0x80, 0x02)
Field (DBG1, WordAcc, NoLock, Preserve)
{
P80H, 16
}
OperationRegion (ACMS, SystemIO, 0x72, 0x02)
Field (ACMS, ByteAcc, NoLock, Preserve)
{
ACMX, 8,
ACMA, 8
}
IndexField (ACMX, ACMA, ByteAcc, NoLock, Preserve)
{
Offset (0xB9),
IMEN, 8
}
OperationRegion (PSMI, SystemIO, 0xB0, 0x02)
Field (PSMI, ByteAcc, NoLock, Preserve)
{
APMC, 8,
APMD, 8
}
OperationRegion (PMRG, SystemMemory, 0xFED80300, 0x0100)
Field (PMRG, AnyAcc, NoLock, Preserve)
{
, 6,
HPEN, 1,
Offset (0x60),
P1EB, 16,
Offset (0xF0),
, 3,
RSTU, 1
}
OperationRegion (GSMG, SystemMemory, 0xFED81500, 0x03FF)
Field (GSMG, AnyAcc, NoLock, Preserve)
{
Offset (0x5C),
Offset (0x5E),
GS23, 1,
, 5,
GV23, 1,
GE23, 1,
Offset (0xA0),
Offset (0xA2),
GS40, 1,
, 5,
GV40, 1,
GE40, 1
}
OperationRegion (GSMM, SystemMemory, 0xFED80000, 0x1000)
Field (GSMM, AnyAcc, NoLock, Preserve)
{
Offset (0x288),
, 1,
CLPS, 1,
Offset (0x2B0),
, 2,
SLPS, 2
}
OperationRegion (PMI2, SystemMemory, 0xFED80300, 0x0100)
Field (PMI2, AnyAcc, NoLock, Preserve)
{
Offset (0xBB),
, 6,
PWDE, 1,
Offset (0xBC)
}
OperationRegion (P1E0, SystemIO, P1EB, 0x04)
Field (P1E0, ByteAcc, NoLock, Preserve)
{
, 14,
PEWS, 1,
WSTA, 1,
, 14,
PEWD, 1
}
OperationRegion (IOCC, SystemIO, 0x0400, 0x80)
Field (IOCC, ByteAcc, NoLock, Preserve)
{
Offset (0x01),
, 2,
RTCS, 1
}
Name (PRWP, Package (0x02)
{
Zero,
Zero
})
Method (GPRW, 2, NotSerialized)
{
PRWP [Zero] = Arg0
PRWP [One] = Arg1
If ((DAS3 == Zero))
{
If ((Arg1 <= 0x03))
{
PRWP [One] = Zero
}
}
Return (PRWP) /* \PRWP */
}
Method (SPTS, 1, NotSerialized)
{
If ((Arg0 == 0x03))
{
RSTU = Zero
}
CLPS = One
SLPS = One
PEWS = PEWS /* \PEWS */
}
Method (SWAK, 1, NotSerialized)
{
If ((Arg0 == 0x03))
{
RSTU = One
}
PEWS = PEWS /* \PEWS */
PEWD = Zero
}
Method (TPST, 1, Serialized)
{
Local0 = (Arg0 + 0xB0000000)
OperationRegion (VARM, SystemIO, 0x80, 0x04)
Field (VARM, DWordAcc, NoLock, Preserve)
{
VARR, 32
}
VARR = Local0
}
OperationRegion (GNVS, SystemMemory, 0xCDF3CA98, 0x0000018B)
Field (GNVS, AnyAcc, NoLock, Preserve)
{
SMIF, 8,
PRM0, 8,
PRM1, 8,
BRTL, 8,
TLST, 8,
IGDS, 8,
LCDA, 16,
CSTE, 16,
NSTE, 16,
CADL, 16,
PADL, 16,
LIDS, 8,
PWRS, 8,
BVAL, 32,
ADDL, 16,
BCMD, 8,
SBFN, 8,
DID, 32,
INFO, 2048,
TOML, 8,
TOMH, 8,
CEBP, 8,
C0LS, 8,
C1LS, 8,
C0HS, 8,
C1HS, 8,
ROMS, 32,
MUXF, 8,
PDDN, 8,
CNSB, 8,
RDHW, 8,
DAS3, 8,
TNBH, 8,
TCP0, 8,
TCP1, 8,
ATNB, 8,
PCP0, 8,
PCP1, 8,
PWMN, 8,
LPTY, 8,
M92D, 8,
WKPM, 8,
ALST, 8,
AFUC, 8,
EXUS, 8,
GV0E, 8,
WLSH, 8,
TSSS, 8,
AOZP, 8,
TZFG, 8,
BPS0, 8,
NAPC, 8,
PCBA, 32,
PCBL, 32,
WLAN, 8,
BLTH, 8,
GPSS, 8,
NFCS, 8,
SBTY, 8,
BDID, 16,
MWTT, 8,
ACPM, 8,
KBCS, 8,
ACEC, 8,
DPTC, 8,
ECTL, 8,
MM64, 8,
HMB1, 64,
HMB2, 64,
HMM1, 64,
HMM2, 64,
HML1, 64,
HML2, 64,
WOVS, 8,
TCNT, 8,
NPWD, 8
}
OperationRegion (OGNS, SystemMemory, 0xCDF3CF18, 0x00000014)
Field (OGNS, AnyAcc, Lock, Preserve)
{
OG00, 8,
OG01, 8,
M2WL, 8,
THPN, 8,
PBAR, 8,
THPD, 8,
DTEN, 8,
SDMO, 8,
TBEN, 8,
TBNH, 8,
RV2I, 8,
ISDS, 8,
TPTY, 8,
REST, 16,
PWEN, 16,
STXE, 8,
SKID, 8,
PBID, 8
}
Method (SCMP, 2, NotSerialized)
{
Name (STG1, Buffer (0x50) {})
Name (STG2, Buffer (0x50) {})
STG1 = Arg0
STG2 = Arg1
If ((SizeOf (Arg0) != SizeOf (Arg1)))
{
Return (Zero)
}
Local0 = Zero
While ((Local0 < SizeOf (Arg0)))
{
If ((DerefOf (STG1 [Local0]) != DerefOf (STG2 [Local0]
)))
{
Return (Zero)
}
Local0++
}
Return (One)
}
Name (WNOS, Zero)
Name (MYOS, Zero)
Name (HTTS, Zero)
Name (OSTB, Ones)
Name (TPOS, Zero)
Name (LINX, Zero)
Name (OSSP, Zero)
Method (SEQL, 2, Serialized)
{
Local0 = SizeOf (Arg0)
Local1 = SizeOf (Arg1)
If ((Local0 != Local1))
{
Return (Zero)
}
Name (BUF0, Buffer (Local0) {})
BUF0 = Arg0
Name (BUF1, Buffer (Local0) {})
BUF1 = Arg1
Local2 = Zero
While ((Local2 < Local0))
{
Local3 = DerefOf (BUF0 [Local2])
Local4 = DerefOf (BUF1 [Local2])
If ((Local3 != Local4))
{
Return (Zero)
}
Local2++
}
Return (One)
}
Method (OSTP, 0, NotSerialized)
{
If ((OSTB == Ones))
{
If (CondRefOf (\_OSI, Local0))
{
OSTB = Zero
TPOS = Zero
If (_OSI ("Windows 2001"))
{
OSTB = 0x08
TPOS = 0x08
}
If (_OSI ("Windows 2001.1"))
{
OSTB = 0x20
TPOS = 0x20
}
If (_OSI ("Windows 2001 SP1"))
{
OSTB = 0x10
TPOS = 0x10
}
If (_OSI ("Windows 2001 SP2"))
{
OSTB = 0x11
TPOS = 0x11
}
If (_OSI ("Windows 2001 SP3"))
{
OSTB = 0x12
TPOS = 0x12
}
If (_OSI ("Windows 2006"))
{
OSTB = 0x40
TPOS = 0x40
}
If (_OSI ("Windows 2006 SP1"))
{
OSTB = 0x41
TPOS = 0x41
OSSP = One
}
If (_OSI ("Windows 2009"))
{
OSSP = One
OSTB = 0x50
TPOS = 0x50
}
If (_OSI ("Windows 2012"))
{
OSSP = One
OSTB = 0x60
TPOS = 0x60
}
If (_OSI ("Windows 2013"))
{
OSSP = One
OSTB = 0x61
TPOS = 0x61
}
If (_OSI ("Windows 2015"))
{
OSSP = One
OSTB = 0x70
TPOS = 0x70
}
If (_OSI ("Linux"))
{
LINX = One
OSTB = 0x80
TPOS = 0x80
}
}
ElseIf (CondRefOf (\_OS, Local0))
{
If (SEQL (_OS, "Microsoft Windows"))
{
OSTB = One
TPOS = One
}
ElseIf (SEQL (_OS, "Microsoft WindowsME: Millennium Edition"))
{
OSTB = 0x02
TPOS = 0x02
}
ElseIf (SEQL (_OS, "Microsoft Windows NT"))
{
OSTB = 0x04
TPOS = 0x04
}
Else
{
OSTB = Zero
TPOS = Zero
}
}
Else
{
OSTB = Zero
TPOS = Zero
}
}
Return (OSTB) /* \OSTB */
}
Name (BUFN, Zero)
Name (MBUF, Buffer (0x1000) {})
OperationRegion (MDBG, SystemMemory, 0xCDEB3018, 0x00001004)
Field (MDBG, AnyAcc, Lock, Preserve)
{
MDG0, 32768
}
Method (DB2H, 1, Serialized)
{
SHOW (Arg0)
MDGC (0x20)
MDG0 = MBUF /* \MBUF */
}
Method (DW2H, 1, Serialized)
{
Local0 = Arg0
Local1 = (Arg0 >> 0x08)
Local0 &= 0xFF
Local1 &= 0xFF
DB2H (Local1)
BUFN--
DB2H (Local0)
}
Method (DD2H, 1, Serialized)
{
Local0 = Arg0
Local1 = (Arg0 >> 0x10)
Local0 &= 0xFFFF
Local1 &= 0xFFFF
DW2H (Local1)
BUFN--
DW2H (Local0)
}
Method (MBGS, 1, Serialized)
{
Local0 = SizeOf (Arg0)
Name (BUFS, Buffer (Local0) {})
BUFS = Arg0
MDGC (0x20)
While (Local0)
{
MDGC (DerefOf (BUFS [(SizeOf (Arg0) - Local0)]))
Local0--
}
MDG0 = MBUF /* \MBUF */
}
Method (SHOW, 1, Serialized)
{
MDGC (NTOC ((Arg0 >> 0x04)))
MDGC (NTOC (Arg0))
}
Method (LINE, 0, Serialized)
{
Local0 = BUFN /* \BUFN */
Local0 &= 0x0F
While (Local0)
{
MDGC (Zero)
Local0++
Local0 &= 0x0F
}
}
Method (MDGC, 1, Serialized)
{
MBUF [BUFN] = Arg0
BUFN += One
If ((BUFN > 0x0FFF))
{
BUFN &= 0x0FFF
UP_L (One)
}
}
Method (UP_L, 1, Serialized)
{
Local2 = Arg0
Local2 <<= 0x04
MOVE (Local2)
Local3 = (0x1000 - Local2)
While (Local2)
{
MBUF [Local3] = Zero
Local3++
Local2--
}
}
Method (MOVE, 1, Serialized)
{
Local4 = Arg0
BUFN = Zero
Local5 = (0x1000 - Local4)
While (Local5)
{
Local5--
MBUF [BUFN] = DerefOf (MBUF [Local4])
BUFN++
Local4++
}
}
Method (NTOC, 1, Serialized)
{
Local0 = (Arg0 & 0x0F)
If ((Local0 < 0x0A))
{
Local0 += 0x30
}
Else
{
Local0 += 0x37
}
Return (Local0)
}
Scope (_SB)
{
Device (PLTF)
{
Name (_HID, "ACPI0010" /* Processor Container Device */) // _HID: Hardware ID
Name (_CID, EisaId ("PNP0A05") /* Generic Container Device */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Device (C000)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
}
Device (C001)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
}
Device (C002)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x02) // _UID: Unique ID
}
Device (C003)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x03) // _UID: Unique ID
}
Device (C004)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x04) // _UID: Unique ID
}
Device (C005)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x05) // _UID: Unique ID
}
Device (C006)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x06) // _UID: Unique ID
}
Device (C007)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x07) // _UID: Unique ID
}
Device (C008)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x08) // _UID: Unique ID
}
Device (C009)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x09) // _UID: Unique ID
}
Device (C00A)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x0A) // _UID: Unique ID
}
Device (C00B)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x0B) // _UID: Unique ID
}
Device (C00C)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x0C) // _UID: Unique ID
}
Device (C00D)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x0D) // _UID: Unique ID
}
Device (C00E)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x0E) // _UID: Unique ID
}
Device (C00F)
{
Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID
Name (_UID, 0x0F) // _UID: Unique ID
}
}
}
Name (_S0, Package (0x04) // _S0_: S0 System State
{
Zero,
Zero,
Zero,
Zero
})
Name (_S3, Package (0x04) // _S3_: S3 System State
{
0x03,
0x03,
Zero,
Zero
})
Name (_S4, Package (0x04) // _S4_: S4 System State
{
0x04,
0x04,
Zero,
Zero
})
Name (_S5, Package (0x04) // _S5_: S5 System State
{
0x05,
0x05,
Zero,
Zero
})
Scope (_GPE)
{
Method (XL08, 0, NotSerialized)
{
TPST (0x3908)
If ((TBEN == Zero))
{
Notify (\_SB.PCI0.GPP0, 0x02) // Device Wake
Notify (\_SB.PCI0.GPP1, 0x02) // Device Wake
}
Notify (\_SB.PCI0.GPP5, 0x02) // Device Wake
Notify (\_SB.PCI0.GP17, 0x02) // Device Wake
Notify (\_SB.PCI0.GP18, 0x02) // Device Wake
Notify (\_SB.PWRB, 0x02) // Device Wake
}
Method (XL0D, 0, NotSerialized)
{
TPST (0x390D)
Notify (\_SB.PCI0.GPP2, 0x02) // Device Wake
}
Method (XL0E, 0, NotSerialized)
{
TPST (0x390E)
Notify (\_SB.PCI0.GPP4, 0x02) // Device Wake
}
Method (XL0F, 0, NotSerialized)
{
TPST (0x390F)
Notify (\_SB.PCI0.GPP3, 0x02) // Device Wake
}
Method (XL19, 0, NotSerialized)
{
TPST (0x3919)
Notify (\_SB.PCI0.GP17.XHC0, 0x02) // Device Wake
Notify (\_SB.PCI0.GP17.XHC1, 0x02) // Device Wake
Notify (\_SB.PWRB, 0x02) // Device Wake
}
}
Name (PICM, Zero)
Name (GPIC, Zero)
Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model
{
PICM = Arg0
GPIC = Arg0
If (PICM)
{
\_SB.DSPI ()
If (NAPC)
{
\_SB.PCI0.NAPE ()
}
}
}
Method (WRCM, 2, Serialized)
{
OperationRegion (CMOS, SystemIO, 0x70, 0x04)
Field (CMOS, AnyAcc, NoLock, Preserve)
{
LIND, 8,
LDAT, 8,
HIND, 8,
HDAT, 8
}
HIND = Arg0
HDAT = Arg1
}
Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
{
WRCM (0x65, One)
SPTS (Arg0)
If ((Arg0 == One))
{
\_SB.S80H (0x51)
}
If ((Arg0 == 0x03))
{
\_SB.S80H (0x53)
SLPS = One
}
If ((Arg0 == 0x04))
{
\_SB.S80H (0x54)
SLPS = One
RSTU = One
ACMX = Zero
ACMA = \_SB.PCI0.LPC0.EC0.FNLE
ACMX = One
ACMA = One
ACMX = 0x02
ACMA = \_SB.PCI0.LPC0.EC0.FNMD
TPTY = Zero
}
If ((Arg0 == 0x05))
{
\_SB.S80H (0x55)
If ((WKPM == One))
{
PWDE = One
}
ACMX = Zero
ACMA = \_SB.PCI0.LPC0.EC0.FNLE
ACMX = One
ACMA = One
ACMX = 0x02
ACMA = \_SB.PCI0.LPC0.EC0.FNMD
TPTY = Zero
BCMD = 0x90
\_SB.BSMI (Zero)
\_SB.GSMI (0x03)
}
If ((CNSB == One))
{
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.ACEN = Zero
}
}
If (CondRefOf (\_SB.TPM2.PTS))
{
\_SB.TPM2.PTS (Arg0)
}
\_SB.APTS (Arg0)
MPTS (Arg0)
}
Method (_WAK, 1, NotSerialized) // _WAK: Wake
{
SWAK (Arg0)
\_SB.AWAK (Arg0)
If (((Arg0 == 0x03) || (Arg0 == 0x04)))
{
If ((GPIC != Zero))
{
\_SB.DSPI ()
If (NAPC)
{
\_SB.PCI0.NAPE ()
}
}
}
If ((Arg0 == 0x03))
{
\_SB.S80H (0xE3)
}
If ((Arg0 == 0x04))
{
\_SB.S80H (0xE4)
}
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.ACEN = One
If ((Arg0 == 0x04))
{
\_SB.PCI0.LPC0.EC0.OPC2 = One
}
}
\_SB.ACAD.ACDC = 0xFF
MWAK (Arg0)
Return (Zero)
}
Scope (_SB)
{
Device (PWRB)
{
Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0B)
}
}
Device (PCI0)
{
Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID
Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Name (_BBN, Zero) // _BBN: BIOS Bus Number
Name (_ADR, Zero) // _ADR: Address
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
If ((GPIC != Zero))
{
DSPI ()
If (NAPC)
{
NAPE ()
}
}
OSTP ()
}
Name (SUPP, Zero)
Name (CTRL, Zero)
Method (_OSC, 4, NotSerialized) // _OSC: Operating System Capabilities
{
CreateDWordField (Arg3, Zero, CDW1)
CreateDWordField (Arg3, 0x04, CDW2)
CreateDWordField (Arg3, 0x08, CDW3)
If ((Arg0 == ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */))
{
SUPP = CDW2 /* \_SB_.PCI0._OSC.CDW2 */
CTRL = CDW3 /* \_SB_.PCI0._OSC.CDW3 */
If ((TBEN == One))
{
If ((TBNH != Zero))
{
CTRL &= 0xFFFFFFF5
}
Else
{
CTRL &= 0xFFFFFFF4
}
}
If (((SUPP & 0x16) != 0x16))
{
CTRL &= 0x1E
}
CTRL &= 0x1D
If (~(CDW1 & One))
{
If ((CTRL & One)) {}
If ((CTRL & 0x04)) {}
If ((CTRL & 0x10)) {}
}
If ((Arg1 != One))
{
CDW1 |= 0x08
}
If ((CDW3 != CTRL))
{
CDW1 |= 0x10
}
CDW3 = CTRL /* \_SB_.PCI0.CTRL */
Return (Arg3)
}
Else
{
CDW1 |= 0x04
Return (Arg3)
}
}
Method (TOM, 0, NotSerialized)
{
Local0 = (TOML * 0x00010000)
Local1 = (TOMH * 0x01000000)
Local0 += Local1
Return (Local0)
}
Name (CRES, ResourceTemplate ()
{
WordBusNumber (ResourceProducer, MinFixed, MaxFixed, SubDecode,
0x0000, // Granularity
0x0000, // Range Minimum
0x00FF, // Range Maximum
0x0000, // Translation Offset
0x0100, // Length
0x00,, )
WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x0000, // Granularity
0x0000, // Range Minimum
0x0CF7, // Range Maximum
0x0000, // Translation Offset
0x0CF8, // Length
0x00,, , TypeStatic, DenseTranslation)
WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x0000, // Granularity
0x0D00, // Range Minimum
0xFFFF, // Range Maximum
0x0000, // Translation Offset
0xF300, // Length
,, , TypeStatic, DenseTranslation)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0x000A0000, // Range Minimum
0x000BFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00020000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadOnly,
0x00000000, // Granularity
0x000C0000, // Range Minimum
0x000C3FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadOnly,
0x00000000, // Granularity
0x000C4000, // Range Minimum
0x000C7FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadOnly,
0x00000000, // Granularity
0x000C8000, // Range Minimum
0x000CBFFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadOnly,
0x00000000, // Granularity
0x000CC000, // Range Minimum
0x000CFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0x000D0000, // Range Minimum
0x000D3FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0x000D4000, // Range Minimum
0x000D7FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0x000D8000, // Range Minimum
0x000DBFFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0x000DC000, // Range Minimum
0x000DFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000E0000, // Range Minimum
0x000E3FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000E4000, // Range Minimum
0x000E7FFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000E8000, // Range Minimum
0x000EBFFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x000EC000, // Range Minimum
0x000EFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00004000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0x80000000, // Range Minimum
0xF7FFFFFF, // Range Maximum
0x00000000, // Translation Offset
0x78000000, // Length
0x00,, _Y00, AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0xFC000000, // Range Minimum
0xFEAFFFFF, // Range Maximum
0x00000000, // Translation Offset
0x02B00000, // Length
0x00,, _Y01, AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0xFED45000, // Range Minimum
0xFED811FF, // Range Maximum
0x00000000, // Translation Offset
0x0003C200, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0xFED81900, // Range Minimum
0xFED81FFF, // Range Maximum
0x00000000, // Translation Offset
0x00000700, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0xFEDC0000, // Range Minimum
0xFEDC0FFF, // Range Maximum
0x00000000, // Translation Offset
0x00001000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x00000000, // Granularity
0xFEDC6000, // Range Minimum
0xFEDC6FFF, // Range Maximum
0x00000000, // Translation Offset
0x00001000, // Length
0x00,, , AddressRangeMemory, TypeStatic)
IO (Decode16,
0x0CF8, // Range Minimum
0x0CF8, // Range Maximum
0x01, // Alignment
0x08, // Length
)
QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000000000000, // Range Minimum
0x0000000000000000, // Range Maximum
0x0000000000000000, // Translation Offset
0x0000000000000000, // Length
,, _Y02, AddressRangeMemory, TypeStatic)
QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000000000000, // Range Minimum
0x0000000000000000, // Range Maximum
0x0000000000000000, // Translation Offset
0x0000000000000000, // Length
,, _Y03, AddressRangeMemory, TypeStatic)
})
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateDWordField (CRES, \_SB.PCI0._Y00._MIN, BTMN) // _MIN: Minimum Base Address
CreateDWordField (CRES, \_SB.PCI0._Y00._MAX, BTMX) // _MAX: Maximum Base Address
CreateDWordField (CRES, \_SB.PCI0._Y00._LEN, BTLN) // _LEN: Length
CreateDWordField (CRES, \_SB.PCI0._Y01._MIN, BTN1) // _MIN: Minimum Base Address
CreateDWordField (CRES, \_SB.PCI0._Y01._MAX, BTX1) // _MAX: Maximum Base Address
CreateDWordField (CRES, \_SB.PCI0._Y01._LEN, BTL1) // _LEN: Length
BTMN = TOM ()
BTMX = (PCBA - One)
BTLN = (PCBA - BTMN) /* \_SB_.PCI0._CRS.BTMN */
BTN1 = (PCBL + One)
BTL1 = (BTX1 - BTN1) /* \_SB_.PCI0._CRS.BTN1 */
BTL1 += One
If ((MM64 == One))
{
CreateQWordField (CRES, \_SB.PCI0._Y02._MIN, M1MN) // _MIN: Minimum Base Address
CreateQWordField (CRES, \_SB.PCI0._Y02._MAX, M1MX) // _MAX: Maximum Base Address
CreateQWordField (CRES, \_SB.PCI0._Y02._LEN, M1LN) // _LEN: Length
M1MN = HMB1 /* \HMB1 */
M1MX = HMM1 /* \HMM1 */
M1LN = HML1 /* \HML1 */
CreateQWordField (CRES, \_SB.PCI0._Y03._MIN, M2MN) // _MIN: Minimum Base Address
CreateQWordField (CRES, \_SB.PCI0._Y03._MAX, M2MX) // _MAX: Maximum Base Address
CreateQWordField (CRES, \_SB.PCI0._Y03._LEN, M2LN) // _LEN: Length
M2MN = HMB2 /* \HMB2 */
M2MX = HMM2 /* \HMM2 */
M2LN = HML2 /* \HML2 */
}
Return (CRES) /* \_SB_.PCI0.CRES */
}
Device (MEMR)
{
Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
Name (BAR3, 0xFDE00000)
Name (MEM1, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x00000000, // Address Base
0x00000000, // Address Length
_Y04)
Memory32Fixed (ReadWrite,
0x00000000, // Address Base
0x00000000, // Address Length
_Y05)
Memory32Fixed (ReadWrite,
0x00000000, // Address Base
0x00000000, // Address Length
_Y06)
})
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y04._BAS, MB01) // _BAS: Base Address
CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y04._LEN, ML01) // _LEN: Length
CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y05._BAS, MB02) // _BAS: Base Address
CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y05._LEN, ML02) // _LEN: Length
CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y06._BAS, MB03) // _BAS: Base Address
CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y06._LEN, ML03) // _LEN: Length
If (GPIC)
{
MB01 = 0xFEC00000
MB02 = 0xFEE00000
ML01 = 0x1000
If (NAPC)
{
ML01 += 0x1000
}
ML02 = 0x1000
}
If ((BAR3 != 0xFFF00000))
{
MB03 = BAR3 /* \_SB_.PCI0.MEMR.BAR3 */
ML03 = 0x00100000
}
Return (MEM1) /* \_SB_.PCI0.MEMR.MEM1 */
}
}
Mutex (NAPM, 0x00)
Method (NAPE, 0, NotSerialized)
{
Acquire (NAPM, 0xFFFF)
Local0 = (PCBA + 0xB8)
OperationRegion (VARM, SystemMemory, Local0, 0x08)
Field (VARM, DWordAcc, NoLock, Preserve)
{
NAPX, 32,
NAPD, 32
}
Local1 = NAPX /* \_SB_.PCI0.NAPE.NAPX */
NAPX = 0x14300000
Local0 = NAPD /* \_SB_.PCI0.NAPE.NAPD */
Local0 &= 0xFFFFFFEF
NAPD = Local0
NAPX = Local1
Release (NAPM)
}
Name (PR00, Package (0x0E)
{
Package (0x04)
{
0x0001FFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0x0001FFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0x0001FFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0x0002FFFF,
Zero,
LNKE,
Zero
},
Package (0x04)
{
0x0002FFFF,
One,
LNKF,
Zero
},
Package (0x04)
{
0x0002FFFF,
0x02,
LNKG,
Zero
},
Package (0x04)
{
0x0002FFFF,
0x03,
LNKH,
Zero
},
Package (0x04)
{
0x0008FFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0x0008FFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0x0008FFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0x0014FFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0x0014FFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0x0014FFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0x0014FFFF,
0x03,
LNKD,
Zero
}
})
Name (AR00, Package (0x0E)
{
Package (0x04)
{
0x0001FFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0x0001FFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0x0001FFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0x0002FFFF,
Zero,
Zero,
0x14
},
Package (0x04)
{
0x0002FFFF,
One,
Zero,
0x15
},
Package (0x04)
{
0x0002FFFF,
0x02,
Zero,
0x16
},
Package (0x04)
{
0x0002FFFF,
0x03,
Zero,
0x17
},
Package (0x04)
{
0x0008FFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0x0008FFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0x0008FFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0x0014FFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0x0014FFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0x0014FFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0x0014FFFF,
0x03,
Zero,
0x13
}
})
Name (NR00, Package (0x0E)
{
Package (0x04)
{
0x0001FFFF,
Zero,
Zero,
0x28
},
Package (0x04)
{
0x0001FFFF,
One,
Zero,
0x29
},
Package (0x04)
{
0x0001FFFF,
0x02,
Zero,
0x2A
},
Package (0x04)
{
0x0002FFFF,
Zero,
Zero,
0x24
},
Package (0x04)
{
0x0002FFFF,
One,
Zero,
0x25
},
Package (0x04)
{
0x0002FFFF,
0x02,
Zero,
0x26
},
Package (0x04)
{
0x0002FFFF,
0x03,
Zero,
0x27
},
Package (0x04)
{
0x0008FFFF,
Zero,
Zero,
0x20
},
Package (0x04)
{
0x0008FFFF,
One,
Zero,
0x21
},
Package (0x04)
{
0x0008FFFF,
One,
Zero,
0x22
},
Package (0x04)
{
0x0014FFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0x0014FFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0x0014FFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0x0014FFFF,
0x03,
Zero,
0x13
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR00) /* \_SB_.PCI0.NR00 */
}
Else
{
Return (AR00) /* \_SB_.PCI0.AR00 */
}
}
Else
{
Return (PR00) /* \_SB_.PCI0.PR00 */
}
}
Device (GPP0)
{
Name (_ADR, 0x00010001) // _ADR: Address
Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
{
If ((WKPM == One))
{
Return (GPRW (0x08, 0x04))
}
Else
{
Return (GPRW (0x08, Zero))
}
}
Name (PR01, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKD,
Zero
}
})
Name (AR01, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x13
}
})
Name (NR01, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x18
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x19
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x1A
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x1B
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR01) /* \_SB_.PCI0.GPP0.NR01 */
}
Else
{
Return (AR01) /* \_SB_.PCI0.GPP0.AR01 */
}
}
Else
{
Return (PR01) /* \_SB_.PCI0.GPP0.PR01 */
}
}
}
Device (GPP1)
{
Name (_ADR, 0x00010002) // _ADR: Address
Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
{
If ((WKPM == One))
{
Return (GPRW (0x08, 0x04))
}
Else
{
Return (GPRW (0x08, Zero))
}
}
Name (PR02, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKE,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKF,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKG,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKH,
Zero
}
})
Name (AR02, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x14
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x15
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x16
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x17
}
})
Name (NR02, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x1C
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x1D
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x1E
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x1F
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR02) /* \_SB_.PCI0.GPP1.NR02 */
}
Else
{
Return (AR02) /* \_SB_.PCI0.GPP1.AR02 */
}
}
Else
{
Return (PR02) /* \_SB_.PCI0.GPP1.PR02 */
}
}
Device (DEV0)
{
Name (_ADR, Zero) // _ADR: Address
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("f21202bf-8f78-4dc6-a5b3-1f738e285ade") /* Unknown UUID */))
{
If ((Arg2 == Zero))
{
Return (Buffer (One)
{
0x51 // Q
})
}
If ((Arg2 == One))
{
Return (Buffer (One)
{
0x00 // .
})
}
If ((Arg2 == 0x02))
{
Return (Buffer (One)
{
0x00 // .
})
}
If ((Arg2 == 0x03))
{
Return (Buffer (One)
{
0x00 // .
})
}
If ((Arg2 == 0x04))
{
Return (Buffer (One)
{
0x03 // .
})
}
If ((Arg2 == 0x06))
{
Return (Buffer (One)
{
0x0F // .
})
}
Return (Zero)
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
{
Return (Zero)
}
Name (WRDY, Package (0x02)
{
Zero,
Package (0x0C)
{
0x07,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80
}
})
Method (WRDS, 0, Serialized)
{
DerefOf (WRDY [One]) [One] = STXE /* \STXE */
DerefOf (WRDY [One]) [0x02] = 0x40
DerefOf (WRDY [One]) [0x03] = 0x38
DerefOf (WRDY [One]) [0x04] = 0x40
DerefOf (WRDY [One]) [0x05] = 0x38
DerefOf (WRDY [One]) [0x06] = 0x40
DerefOf (WRDY [One]) [0x07] = 0x40
DerefOf (WRDY [One]) [0x08] = 0x38
DerefOf (WRDY [One]) [0x09] = 0x40
DerefOf (WRDY [One]) [0x0A] = 0x38
DerefOf (WRDY [One]) [0x0B] = 0x40
Return (WRDY) /* \_SB_.PCI0.GPP1.DEV0.WRDY */
}
Name (WGDY, Package (0x02)
{
Zero,
Package (0x13)
{
0x07,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80,
0x80
}
})
Method (WGDS, 0, Serialized)
{
DerefOf (WGDY [One]) [One] = 0xFF
DerefOf (WGDY [One]) [0x02] = 0x20
DerefOf (WGDY [One]) [0x03] = 0x20
DerefOf (WGDY [One]) [0x04] = 0x50
DerefOf (WGDY [One]) [0x05] = 0x18
DerefOf (WGDY [One]) [0x06] = 0x18
DerefOf (WGDY [One]) [0x07] = 0xFF
DerefOf (WGDY [One]) [0x08] = 0x40
DerefOf (WGDY [One]) [0x09] = 0x40
DerefOf (WGDY [One]) [0x0A] = 0xFF
DerefOf (WGDY [One]) [0x0B] = 0x40
DerefOf (WGDY [One]) [0x0C] = 0x40
DerefOf (WGDY [One]) [0x0D] = 0xFF
DerefOf (WGDY [One]) [0x0E] = 0x60
DerefOf (WGDY [One]) [0x0F] = 0x60
DerefOf (WGDY [One]) [0x10] = 0xFF
DerefOf (WGDY [One]) [0x11] = 0x60
DerefOf (WGDY [One]) [0x12] = 0x60
Return (WGDY) /* \_SB_.PCI0.GPP1.DEV0.WGDY */
}
}
Device (DEV1)
{
Name (_ADR, One) // _ADR: Address
Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
{
Return (Zero)
}
}
}
Device (GPP2)
{
Name (_ADR, 0x00010003) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
If ((WKPM == One))
{
Return (GPRW (0x0D, 0x04))
}
Else
{
Return (GPRW (0x0D, Zero))
}
}
Name (PR03, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKD,
Zero
}
})
Name (AR03, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x13
}
})
Name (NR03, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x20
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x21
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x22
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x23
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR03) /* \_SB_.PCI0.GPP2.NR03 */
}
Else
{
Return (AR03) /* \_SB_.PCI0.GPP2.AR03 */
}
}
Else
{
Return (PR03) /* \_SB_.PCI0.GPP2.PR03 */
}
}
Device (WWAN)
{
Name (_ADR, Zero) // _ADR: Address
}
}
Device (GPP3)
{
Name (_ADR, 0x00020001) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
If ((WKPM == One))
{
Return (GPRW (0x0F, 0x04))
}
Else
{
Return (GPRW (0x0F, Zero))
}
}
Name (PR04, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKE,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKF,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKG,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKH,
Zero
}
})
Name (AR04, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x14
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x15
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x16
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x17
}
})
Name (NR04, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x24
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x25
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x26
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x27
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR04) /* \_SB_.PCI0.GPP3.NR04 */
}
Else
{
Return (AR04) /* \_SB_.PCI0.GPP3.AR04 */
}
}
Else
{
Return (PR04) /* \_SB_.PCI0.GPP3.PR04 */
}
}
Device (RTL8)
{
Name (_ADR, Zero) // _ADR: Address
}
}
Device (GPP4)
{
Name (_ADR, 0x00020002) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
If ((WKPM == One))
{
Return (GPRW (0x0E, 0x04))
}
Else
{
Return (GPRW (0x0E, Zero))
}
}
Name (PR05, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKD,
Zero
}
})
Name (AR05, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x13
}
})
Name (NR05, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x28
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x29
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x2A
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x2B
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR05) /* \_SB_.PCI0.GPP4.NR05 */
}
Else
{
Return (AR05) /* \_SB_.PCI0.GPP4.AR05 */
}
}
Else
{
Return (PR05) /* \_SB_.PCI0.GPP4.PR05 */
}
}
Device (BTH0)
{
Name (_HID, "QCOM6390") // _HID: Hardware ID
Name (_S4W, 0x02) // _S4W: S4 Device Wake State
Name (_S0W, 0x02) // _S0W: S0 Device Wake State
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((BLTH == Zero))
{
Return (Zero)
}
Else
{
Return (0x0F)
}
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (UBUF, ResourceTemplate ()
{
UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne,
0xC0, LittleEndian, ParityTypeNone, FlowControlHardware,
0x0020, 0x0020, "\\_SB.FUR0",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0003
}
})
Return (UBUF) /* \_SB_.PCI0.GPP4.BTH0._CRS.UBUF */
}
}
}
Device (GPP5)
{
Name (_ADR, 0x00020003) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
If ((WKPM == One))
{
Return (GPRW (0x08, 0x04))
}
Else
{
Return (GPRW (0x08, Zero))
}
}
Name (PR06, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKE,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKF,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKG,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKH,
Zero
}
})
Name (AR06, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x14
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x15
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x16
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x17
}
})
Name (NR06, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x2C
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x2D
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x2E
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x2F
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR06) /* \_SB_.PCI0.GPP5.NR06 */
}
Else
{
Return (AR06) /* \_SB_.PCI0.GPP5.AR06 */
}
}
Else
{
Return (PR06) /* \_SB_.PCI0.GPP5.PR06 */
}
}
Device (DEV0)
{
Name (_ADR, Zero) // _ADR: Address
}
}
Device (GPP6)
{
Name (_ADR, 0x00020004) // _ADR: Address
Name (PR07, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKA,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKB,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKC,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKD,
Zero
}
})
Name (AR07, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x10
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x11
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x12
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x13
}
})
Name (NR07, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x30
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x31
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x32
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x33
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR07) /* \_SB_.PCI0.GPP6.NR07 */
}
Else
{
Return (AR07) /* \_SB_.PCI0.GPP6.AR07 */
}
}
Else
{
Return (PR07) /* \_SB_.PCI0.GPP6.PR07 */
}
}
}
Device (GP17)
{
Name (_ADR, 0x00080001) // _ADR: Address
Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
{
If ((WKPM == One))
{
Return (GPRW (0x19, 0x03))
}
Else
{
Return (GPRW (0x19, Zero))
}
}
Name (PR17, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKG,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKH,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKE,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKF,
Zero
}
})
Name (AR17, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x16
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x17
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x14
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x15
}
})
Name (NR17, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x26
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x27
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x24
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x25
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR17) /* \_SB_.PCI0.GP17.NR17 */
}
Else
{
Return (AR17) /* \_SB_.PCI0.GP17.AR17 */
}
}
Else
{
Return (PR17) /* \_SB_.PCI0.GP17.PR17 */
}
}
Device (VGA)
{
Name (_ADR, Zero) // _ADR: Address
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (DOSA, Zero)
Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching
{
DOSA = Arg0
}
Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices
{
Return (Package (0x07)
{
0x00010110,
0x00010210,
0x00010220,
0x00010230,
0x00010240,
0x00031000,
0x00032000
})
}
Device (LCD)
{
Name (_ADR, 0x0110) // _ADR: Address
Name (BCLB, Package (0x34)
{
0x5A,
0x3C,
0x02,
0x04,
0x06,
0x08,
0x0A,
0x0C,
0x0E,
0x10,
0x12,
0x14,
0x16,
0x18,
0x1A,
0x1C,
0x1E,
0x20,
0x22,
0x24,
0x26,
0x28,
0x2A,
0x2C,
0x2E,
0x30,
0x32,
0x34,
0x36,
0x38,
0x3A,
0x3C,
0x3E,
0x40,
0x42,
0x44,
0x46,
0x48,
0x4A,
0x4C,
0x4E,
0x50,
0x52,
0x54,
0x56,
0x58,
0x5A,
0x5C,
0x5E,
0x60,
0x62,
0x64
})
Method (_BCL, 0, NotSerialized) // _BCL: Brightness Control Levels
{
Return (BCLB) /* \_SB_.PCI0.GP17.VGA_.LCD_.BCLB */
}
Method (_BCM, 1, NotSerialized) // _BCM: Brightness Control Method
{
Divide ((Arg0 * 0xFF), 0x64, Local1, Local0)
AFN7 (Local0)
BRTL = Arg0
}
}
}
Device (PSP)
{
Name (_ADR, 0x02) // _ADR: Address
}
Device (ACP)
{
Name (_ADR, 0x05) // _ADR: Address
Method (_WOV, 0, NotSerialized)
{
Return (WOVS) /* \WOVS */
}
}
Device (AZAL)
{
Name (_ADR, 0x06) // _ADR: Address
}
Device (HDAU)
{
Name (_ADR, One) // _ADR: Address
}
Device (XHC0)
{
Name (_ADR, 0x03) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
Return (GPRW (0x19, 0x03))
}
Device (RHUB)
{
Name (_ADR, Zero) // _ADR: Address
Device (PRT1)
{
Name (_ADR, One) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x09,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT1.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x11, 0x0C, 0x80, 0x00, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT1.PLD1 */
}
}
Device (PRT2)
{
Name (_ADR, 0x02) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x03,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT2.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x0C, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT2.PLD1 */
}
}
Device (PRT3)
{
Name (_ADR, 0x03) // _ADR: Address
Name (UPC1, Package (0x04)
{
One,
0xFF,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT3.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x90, 0x1C, 0x80, 0x01, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT3.PLD1 */
}
Device (CAM0)
{
Name (_ADR, 0x03) // _ADR: Address
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Name (PLDP, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x20, 0x01, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, // .......
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Return (PLDP) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT3.CAM0._PLD.PLDP */
}
}
}
Device (PRT4)
{
Name (WEDN, One)
Name (_ADR, 0x04) // _ADR: Address
Name (UPC1, Package (0x04)
{
Zero,
0xFF,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT4.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x1D, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT4.PLD1 */
}
}
Device (PRT5)
{
Name (_ADR, 0x05) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x09,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT5.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x11, 0x0C, 0x80, 0x00, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT5.PLD1 */
}
}
Device (PRT6)
{
Name (_ADR, 0x06) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x03,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT6.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x0C, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC0.RHUB.PRT6.PLD1 */
}
}
}
}
Device (XHC1)
{
Name (_ADR, 0x04) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
Return (GPRW (0x19, 0x03))
}
Device (RHUB)
{
Name (_ADR, Zero) // _ADR: Address
Device (PRT1)
{
Name (_ADR, One) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x09,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT1.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x11, 0x0C, 0x80, 0x02, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT1.PLD1 */
}
}
Device (PRT2)
{
Name (_ADR, 0x02) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0xFF,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT2.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x0C, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT2.PLD1 */
}
}
Device (PRT4)
{
Name (_ADR, 0x04) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x03,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT4.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x1C, 0x80, 0x03, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT4.PLD1 */
}
Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
{
If ((THPN == 0x04))
{
Return (Zero)
}
Else
{
Return (One)
}
}
}
Device (PRT3)
{
Name (_ADR, 0x03) // _ADR: Address
Name (UPC1, Package (0x04)
{
Zero,
0xFF,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT3.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x1D, 0x00, 0x04, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT3.PLD1 */
}
}
Device (PRT5)
{
Name (_ADR, 0x05) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0x09,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT5.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x11, 0x0C, 0x80, 0x02, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT5.PLD1 */
}
}
Device (PRT6)
{
Name (_ADR, 0x06) // _ADR: Address
Name (UPC1, Package (0x04)
{
0xFF,
0xFF,
Zero,
Zero
})
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Return (UPC1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT6.UPC1 */
}
Name (PLD1, Package (0x01)
{
Buffer (0x14)
{
/* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........
/* 0008 */ 0x91, 0x0C, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, // ........
/* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // ....
}
})
Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
{
Return (PLD1) /* \_SB_.PCI0.GP17.XHC1.RHUB.PRT6.PLD1 */
}
}
}
}
Device (MP2C)
{
Name (_ADR, 0x07) // _ADR: Address
}
}
Device (GP18)
{
Name (_ADR, 0x00080002) // _ADR: Address
Name (PR18, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKC,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKD,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKA,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKB,
Zero
}
})
Name (AR18, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x12
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x13
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x10
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x11
}
})
Name (NR18, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x22
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x23
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x20
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x21
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR18) /* \_SB_.PCI0.GP18.NR18 */
}
Else
{
Return (AR18) /* \_SB_.PCI0.GP18.AR18 */
}
}
Else
{
Return (PR18) /* \_SB_.PCI0.GP18.PR18 */
}
}
Device (SATA)
{
Name (_ADR, Zero) // _ADR: Address
}
Device (SAT1)
{
Name (_ADR, One) // _ADR: Address
}
}
Device (GP19)
{
Name (_ADR, 0x00080003) // _ADR: Address
Method (RHRW, 0, NotSerialized)
{
If ((WKPM == One))
{
Return (GPRW (0x08, 0x04))
}
Else
{
Return (GPRW (0x08, Zero))
}
}
Name (PR19, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
LNKG,
Zero
},
Package (0x04)
{
0xFFFF,
One,
LNKH,
Zero
},
Package (0x04)
{
0xFFFF,
0x02,
LNKE,
Zero
},
Package (0x04)
{
0xFFFF,
0x03,
LNKF,
Zero
}
})
Name (AR19, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x16
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x17
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x14
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x15
}
})
Name (NR19, Package (0x04)
{
Package (0x04)
{
0xFFFF,
Zero,
Zero,
0x1E
},
Package (0x04)
{
0xFFFF,
One,
Zero,
0x1F
},
Package (0x04)
{
0xFFFF,
0x02,
Zero,
0x1C
},
Package (0x04)
{
0xFFFF,
0x03,
Zero,
0x1D
}
})
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
If (NAPC)
{
Return (NR19) /* \_SB_.PCI0.GP19.NR19 */
}
Else
{
Return (AR19) /* \_SB_.PCI0.GP19.AR19 */
}
}
Else
{
Return (PR19) /* \_SB_.PCI0.GP19.PR19 */
}
}
}
Device (HPET)
{
Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _HID: Hardware ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((HPEN == One))
{
If ((OSTB >= 0x40))
{
Return (0x0F)
}
HPEN = Zero
Return (One)
}
Return (One)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (BUF0, ResourceTemplate ()
{
IRQNoFlags ()
{0}
IRQNoFlags ()
{8}
Memory32Fixed (ReadOnly,
0xFED00000, // Address Base
0x00000400, // Address Length
_Y07)
})
CreateDWordField (BUF0, \_SB.PCI0.HPET._CRS._Y07._BAS, HPEB) // _BAS: Base Address
Local0 = 0xFED00000
HPEB = (Local0 & 0xFFFFFC00)
Return (BUF0) /* \_SB_.PCI0.HPET._CRS.BUF0 */
}
}
Device (SMBS)
{
Name (_ADR, 0x00140000) // _ADR: Address
}
Device (LPC0)
{
Name (_ADR, 0x00140003) // _ADR: Address
Device (DMAC)
{
Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x0000, // Range Minimum
0x0000, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x0081, // Range Minimum
0x0081, // Range Maximum
0x01, // Alignment
0x0F, // Length
)
IO (Decode16,
0x00C0, // Range Minimum
0x00C0, // Range Maximum
0x01, // Alignment
0x20, // Length
)
DMA (Compatibility, NotBusMaster, Transfer8_16, )
{4}
})
}
Device (COPR)
{
Name (_HID, EisaId ("PNP0C04") /* x87-compatible Floating Point Processing Unit */) // _HID: Hardware ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x00F0, // Range Minimum
0x00F0, // Range Maximum
0x01, // Alignment
0x0F, // Length
)
IRQNoFlags ()
{13}
})
}
Device (PIC)
{
Name (_HID, EisaId ("PNP0000") /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x0020, // Range Minimum
0x0020, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x00A0, // Range Minimum
0x00A0, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IRQNoFlags ()
{2}
})
}
Device (RTC)
{
Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x0070, // Range Minimum
0x0070, // Range Maximum
0x01, // Alignment
0x02, // Length
)
})
Name (BUF1, ResourceTemplate ()
{
IO (Decode16,
0x0070, // Range Minimum
0x0070, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IRQNoFlags ()
{8}
})
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
If ((HPEN == One))
{
Return (BUF0) /* \_SB_.PCI0.LPC0.RTC_.BUF0 */
}
Return (BUF1) /* \_SB_.PCI0.LPC0.RTC_.BUF1 */
}
}
Device (SPKR)
{
Name (_HID, EisaId ("PNP0800") /* Microsoft Sound System Compatible Device */) // _HID: Hardware ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x0061, // Range Minimum
0x0061, // Range Maximum
0x01, // Alignment
0x01, // Length
)
})
}
Device (TMR)
{
Name (_HID, EisaId ("PNP0100") /* PC-class System Timer */) // _HID: Hardware ID
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x0040, // Range Minimum
0x0040, // Range Maximum
0x01, // Alignment
0x04, // Length
)
})
Name (BUF1, ResourceTemplate ()
{
IO (Decode16,
0x0040, // Range Minimum
0x0040, // Range Maximum
0x01, // Alignment
0x04, // Length
)
IRQNoFlags ()
{0}
})
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
If ((HPEN == One))
{
Return (BUF0) /* \_SB_.PCI0.LPC0.TMR_.BUF0 */
}
Return (BUF1) /* \_SB_.PCI0.LPC0.TMR_.BUF1 */
}
}
Device (PS2K)
{
Name (_HID, "MSFT0001") // _HID: Hardware ID
Name (_CID, EisaId ("PNP0303") /* IBM Enhanced Keyboard (101/102-key, PS/2 Mouse) */) // _CID: Compatible ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x0060, // Range Minimum
0x0060, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0064, // Range Minimum
0x0064, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IRQNoFlags ()
{1}
})
}
Device (SYSR)
{
Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IO (Decode16,
0x0010, // Range Minimum
0x0010, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x0072, // Range Minimum
0x0072, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0080, // Range Minimum
0x0080, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x00B0, // Range Minimum
0x00B0, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0092, // Range Minimum
0x0092, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0400, // Range Minimum
0x0400, // Range Maximum
0x01, // Alignment
0xD0, // Length
)
IO (Decode16,
0x04D0, // Range Minimum
0x04D0, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x04D6, // Range Minimum
0x04D6, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0C00, // Range Minimum
0x0C00, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0C14, // Range Minimum
0x0C14, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0C50, // Range Minimum
0x0C50, // Range Maximum
0x01, // Alignment
0x03, // Length
)
IO (Decode16,
0x0C6C, // Range Minimum
0x0C6C, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0C6F, // Range Minimum
0x0C6F, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0CD0, // Range Minimum
0x0CD0, // Range Maximum
0x01, // Alignment
0x0C, // Length
)
})
}
Device (MEM)
{
Name (_HID, EisaId ("PNP0C01") /* System Board */) // _HID: Hardware ID
Name (MSRC, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0xFFF00000, // Address Base
0x00100000, // Address Length
_Y08)
})
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y08._LEN, PSIZ) // _LEN: Length
CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y08._BAS, PBAS) // _BAS: Base Address
PSIZ = ROMS /* \ROMS */
Local0 = (ROMS - One)
PBAS = (Ones - Local0)
Return (MSRC) /* \_SB_.PCI0.LPC0.MEM_.MSRC */
}
}
Method (ECOK, 0, NotSerialized)
{
If ((^EC0.OKEC == One))
{
Return (One)
}
Else
{
Return (Zero)
}
}
Device (EC0)
{
Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
Name (_GPE, 0x03) // _GPE: General Purpose Events
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (OKEC, Zero)
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x0062, // Range Minimum
0x0062, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0066, // Range Minimum
0x0066, // Range Maximum
0x01, // Alignment
0x01, // Length
)
})
Name (BUF1, ResourceTemplate ()
{
IO (Decode16,
0x0062, // Range Minimum
0x0062, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0066, // Range Minimum
0x0066, // Range Maximum
0x01, // Alignment
0x01, // Length
)
GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0016
}
})
If ((RDHW == Zero))
{
Return (BUF0) /* \_SB_.PCI0.LPC0.EC0_._CRS.BUF0 */
}
Else
{
Return (BUF1) /* \_SB_.PCI0.LPC0.EC0_._CRS.BUF1 */
}
}
Method (_REG, 2, NotSerialized) // _REG: Region Availability
{
If ((Arg0 == 0x03))
{
If (KOBF)
{
Local0 = KB60 /* \_SB_.PCI0.LPC0.EC0_.KB60 */
}
If ((EC66 & One))
{
Local0 = EC62 /* \EC62 */
}
OKEC = Arg1
Notify (ACAD, 0x80) // Status Change
Notify (BATT, 0x80) // Status Change
Notify (BATT, 0x81) // Information Change
Notify (LID, 0x80) // Status Change
If (OKEC)
{
ACEN = One
OPC2 = One
}
}
}
Method (ECPC, 1, Serialized)
{
OperationRegion (PCPT, SystemIO, 0x80, 0x04)
Field (PCPT, DWordAcc, NoLock, Preserve)
{
PC80, 32
}
Local0 = (Arg0 & 0x00FFFFFF)
PC80 = (Local0 | 0xEC000000)
}
Mutex (Z009, 0x00)
Mutex (QEVT, 0x00)
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
Field (ERAM, ByteAcc, NoLock, Preserve)
{
ECMV, 8,
ECSV, 8,
ECTV, 8,
Offset (0x04),
FNMD, 1,
FNLE, 1,
Offset (0x05),
REV0, 1,
BTPR, 1,
Offset (0x08),
S4S5, 8,
Offset (0x0B),
UADP, 8,
Offset (0x0F),
ACPW, 8,
TCPU, 8,
TGPU, 8,
TTC1, 8,
TCNC, 8,
TGVN, 8,
TCGN, 8,
TCVN, 8,
DDRN, 8,
TTC2, 8,
MBNT, 8,
CPTN, 8,
Offset (0x20),
PPD1, 8,
PPD2, 8,
PPT4, 8,
PPT3, 8,
PPT2, 8,
PPT1, 8,
NPD1, 8,
NPD2, 8,
NPT4, 8,
NPT3, 8,
NPT2, 8,
NPT1, 8,
Offset (0x2D),
OPC1, 8,
OPC2, 8,
Offset (0x32),
CSPL, 8,
SPPT, 8,
FPPT, 8,
GPUW, 8,
THST, 8,
Offset (0x38),
PDUE, 8,
PDIN, 8,
PDIT, 8,
PI2N, 8,
Offset (0x45),
BIOR, 8,
Offset (0x4D),
CDUP, 1,
CDLP, 1,
GDUP, 1,
GDLP, 1,
SVUP, 1,
SVLP, 1,
GVUP, 1,
GVLP, 1,
CTUP, 1,
CTLP, 1,
SCUP, 1,
SCLP, 1,
DRUP, 1,
DRLP, 1,
CGUP, 1,
CGLP, 1,
T1UP, 1,
T1LP, 1,
T2UP, 1,
T2LP, 1,
ABUP, 1,
ABLP, 1,
Offset (0x50),
ACIN, 1,
BATI, 1,
LIDS, 1,
DCHG, 1,
RESV, 4,
, 2,
BCHG, 1,
BFCG, 1,
DISG, 1,
Offset (0x52),
Offset (0x53),
ACEN, 1,
Offset (0x54),
Offset (0x5C),
ECDT, 8,
ECSX, 8,
ECTL, 8,
ECTH, 8,
KBLD, 16,
FWMD, 8,
OKTS, 8,
CWMD, 8,
Offset (0x6A),
CDTU, 8,
CDTL, 8,
GDTU, 8,
GDTL, 8,
SVTU, 8,
SVTL, 8,
GVTU, 8,
GVTL, 8,
CTTU, 8,
CTTL, 8,
SCTU, 8,
SCTL, 8,
DRTU, 8,
DRTL, 8,
CGTU, 8,
CGTL, 8,
T1TU, 8,
T1TL, 8,
T2TU, 8,
T2TL, 8,
ABTU, 8,
ABTL, 8,
BTML, 8,
BTMH, 8,
SNML, 8,
SNMH, 8,
DECL, 8,
DECH, 8,
DEVL, 8,
DEVH, 8,
BMEL, 8,
BMEH, 8,
BTPL, 8,
BTPH, 8,
BTCL, 8,
BTCH, 8,
BTVL, 8,
BTVH, 8,
BCCL, 8,
BCCH, 8,
BCVL, 8,
BCVH, 8,
CAPL, 8,
CAPH, 8,
FCCL, 8,
FCCH, 8,
RSOC, 8,
RSVD, 8,
Offset (0x9C),
BCTL, 8,
BCTH, 8,
Offset (0xA6),
LFCL, 8,
LFCH, 8,
Offset (0xAA),
BTMP, 8,
BMNO, 8,
BMFG, 8,
ADPC, 8,
MUTX, 8,
Offset (0xB0),
SCRS, 8,
TCRS, 8,
KBFG, 8,
SYSK, 8,
P1MH, 8,
P1ML, 8,
P1MN, 8,
P1DV, 8,
P2MH, 8,
P2ML, 8,
P2MN, 8,
P2DV, 8,
Offset (0xC6),
P80D, 8,
TESP, 32,
LFSV, 16,
RFSV, 16,
UCPS, 8,
U0VV, 16,
U1VV, 16,
U0CV, 16,
U1CV, 16,
Offset (0xDE),
CLCN, 8,
Offset (0xE0),
CLAR, 8,
CLAN, 8,
WUCL, 8,
SDCL, 8,
SDCV, 8,
CTS4, 8,
CTS3, 8,
CTS2, 8,
CTS1, 8,
KBBL, 8
}
Method (_Q10, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC10
If (!Acquire (QEVT, 0x012C))
{
Notify (LID, 0x80) // Status Change
Release (QEVT)
}
}
Method (_Q11, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC11
If (!Acquire (QEVT, 0x012C))
{
Notify (LID, 0x80) // Status Change
Release (QEVT)
}
}
Method (_Q12, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC12
If (!Acquire (QEVT, 0x012C))
{
Notify (^^^GP17.VGA.LCD, 0x86) // Device-Specific
WMEN = 0x0282
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_Q13, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC13
If (!Acquire (QEVT, 0x012C))
{
Notify (^^^GP17.VGA.LCD, 0x87) // Device-Specific
WMEN = 0x0281
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_Q30, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC30
If (!Acquire (QEVT, 0x012C))
{
Notify (ACAD, 0x80) // Status Change
Notify (BATT, 0x80) // Status Change
Notify (BATT, 0x81) // Information Change
Release (QEVT)
}
}
Method (_Q31, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC31
If (!Acquire (QEVT, 0x012C))
{
Notify (ACAD, 0x80) // Status Change
Notify (BATT, 0x80) // Status Change
Notify (BATT, 0x81) // Information Change
Release (QEVT)
}
}
Method (_Q32, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC32
If (!Acquire (QEVT, 0x012C))
{
Notify (BATT, 0x80) // Status Change
Notify (BATT, 0x81) // Information Change
Release (QEVT)
}
}
Method (_Q34, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC34
If (!Acquire (QEVT, 0x012C))
{
Notify (\_TZ.TZ01, 0x80) // Thermal Status Change
Release (QEVT)
}
}
Method (_Q35, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC35
If (!Acquire (QEVT, 0x012C))
{
Notify (\_TZ.TZ01, 0x80) // Thermal Status Change
Release (QEVT)
}
}
Name (DPTI, Buffer (0x07) {})
Method (_Q71, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC71
Name (OTOB, Buffer (0x08) {})
If (ECOK ())
{
Local0 = UADP /* \_SB_.PCI0.LPC0.EC0_.UADP */
Local1 = THST /* \_SB_.PCI0.LPC0.EC0_.THST */
}
CreateWordField (OTOB, Zero, SSZE)
CreateByteField (OTOB, 0x02, SMUI)
CreateDWordField (OTOB, 0x03, SMUD)
SSZE = 0x07
If ((Local0 == Zero))
{
Local1 = Zero
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, OTOB)
SMUI = 0x22
SMUD = 0x2C00
ALIB (0x0C, OTOB)
SMUI = 0x24
SMUD = 0xC5
ALIB (0x0C, OTOB)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, OTOB)
SMUI = 0x26
SMUD = 0x66
ALIB (0x0C, OTOB)
SMUI = 0x27
SMUD = 0x0434
ALIB (0x0C, OTOB)
SMUI = 0x2C
SMUD = 0xEC7D
ALIB (0x0C, OTOB)
SMUI = 0x2E
SMUD = 0xD2F0
ALIB (0x0C, OTOB)
}
Else
{
}
If ((Local1 == Zero))
{
SMUI = 0x05
SMUD = 0xD2F0
ALIB (0x0C, OTOB)
}
WMEN = 0x02A1
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
If ((Local0 == One))
{
Notify (^^^GPP0.PEGP, 0xC0) // Hardware-Specific
}
Release (QEVT)
}
}
Method (_Q72, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC72
Name (OTFB, Buffer (0x08) {})
If (ECOK ())
{
Local0 = UADP /* \_SB_.PCI0.LPC0.EC0_.UADP */
Local1 = THST /* \_SB_.PCI0.LPC0.EC0_.THST */
}
CreateWordField (OTFB, Zero, SSZE)
CreateByteField (OTFB, 0x02, SMUI)
CreateDWordField (OTFB, 0x03, SMUD)
SSZE = 0x07
If ((Local0 == Zero))
{
Local1 = Zero
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, OTFB)
SMUI = 0x22
SMUD = 0x2900
ALIB (0x0C, OTFB)
SMUI = 0x24
SMUD = 0xC5
ALIB (0x0C, OTFB)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, OTFB)
SMUI = 0x26
SMUD = 0x63
ALIB (0x0C, OTFB)
SMUI = 0x27
SMUD = 0x048D
ALIB (0x0C, OTFB)
SMUI = 0x2C
SMUD = 0xE1F9
ALIB (0x0C, OTFB)
SMUI = 0x2E
SMUD = 0xAFC8
ALIB (0x0C, OTFB)
}
Else
{
}
If ((Local1 == Zero))
{
SMUI = 0x05
SMUD = 0xAFC8
ALIB (0x0C, OTFB)
}
WMEN = 0x02A0
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
If ((Local0 == One))
{
Notify (^^^GPP0.PEGP, 0xC0) // Hardware-Specific
}
Release (QEVT)
}
}
Method (_Q74, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC74
If (!Acquire (QEVT, 0x012C))
{
WMEN = 0x02A6
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QC5, 0, Serialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECC5
Name (ANTB, Buffer (0x08) {})
If (ECOK ())
{
Local0 = UADP /* \_SB_.PCI0.LPC0.EC0_.UADP */
Local1 = ADPC /* \_SB_.PCI0.LPC0.EC0_.ADPC */
Local2 = OKTS /* \_SB_.PCI0.LPC0.EC0_.OKTS */
}
CreateWordField (ANTB, Zero, SSZE)
CreateByteField (ANTB, 0x02, SMUI)
CreateDWordField (ANTB, 0x03, SMUD)
SSZE = 0x07
If ((Local0 == Zero))
{
Local1 = Zero
}
ElseIf ((Local2 == One))
{
If ((Local1 == Zero))
{
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x21
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x22
SMUD = 0x2C00
ALIB (0x0C, ANTB)
SMUI = 0x23
SMUD = 0x2C00
ALIB (0x0C, ANTB)
SMUI = 0x24
SMUD = 0x0148
ALIB (0x0C, ANTB)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, ANTB)
SMUI = 0x26
SMUD = 0xFF79
ALIB (0x0C, ANTB)
SMUI = 0x27
SMUD = 0x01F1
ALIB (0x0C, ANTB)
SMUI = 0x28
SMUD = 0x0322
ALIB (0x0C, ANTB)
SMUI = 0x29
SMUD = 0xFFC8
ALIB (0x0C, ANTB)
SMUI = 0x2A
SMUD = 0x0198
ALIB (0x0C, ANTB)
SMUI = 0x2B
SMUD = 0x01E7
ALIB (0x0C, ANTB)
SMUI = 0x2C
SMUD = 0xDEF8
ALIB (0x0C, ANTB)
SMUI = 0x2D
SMUD = 0x0755
ALIB (0x0C, ANTB)
SMUI = 0x2E
SMUD = 0xD2F0
ALIB (0x0C, ANTB)
}
Else
{
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x21
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x22
SMUD = 0x2C00
ALIB (0x0C, ANTB)
SMUI = 0x23
SMUD = 0x2C00
ALIB (0x0C, ANTB)
SMUI = 0x24
SMUD = 0x0148
ALIB (0x0C, ANTB)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, ANTB)
SMUI = 0x26
SMUD = 0x87
ALIB (0x0C, ANTB)
SMUI = 0x27
SMUD = 0x046C
ALIB (0x0C, ANTB)
SMUI = 0x28
SMUD = 0xFF84
ALIB (0x0C, ANTB)
SMUI = 0x29
SMUD = 0x15
ALIB (0x0C, ANTB)
SMUI = 0x2A
SMUD = 0x02ED
ALIB (0x0C, ANTB)
SMUI = 0x2B
SMUD = 0x53
ALIB (0x0C, ANTB)
SMUI = 0x2C
SMUD = 0xE6A8
ALIB (0x0C, ANTB)
SMUI = 0x2D
SMUD = 0x08A9
ALIB (0x0C, ANTB)
SMUI = 0x2E
SMUD = 0x88B8
ALIB (0x0C, ANTB)
}
}
ElseIf ((Local1 == Zero))
{
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x21
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x22
SMUD = 0x2900
ALIB (0x0C, ANTB)
SMUI = 0x23
SMUD = 0x2900
ALIB (0x0C, ANTB)
SMUI = 0x24
SMUD = 0x0148
ALIB (0x0C, ANTB)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, ANTB)
SMUI = 0x26
SMUD = 0xFF7E
ALIB (0x0C, ANTB)
SMUI = 0x27
SMUD = 0x02D9
ALIB (0x0C, ANTB)
SMUI = 0x28
SMUD = 0x02C4
ALIB (0x0C, ANTB)
SMUI = 0x29
SMUD = 0xFFA3
ALIB (0x0C, ANTB)
SMUI = 0x2A
SMUD = 0x0209
ALIB (0x0C, ANTB)
SMUI = 0x2B
SMUD = 0x0215
ALIB (0x0C, ANTB)
SMUI = 0x2C
SMUD = 0xCD98
ALIB (0x0C, ANTB)
SMUI = 0x2D
SMUD = 0xF528
ALIB (0x0C, ANTB)
SMUI = 0x2E
SMUD = 0xAFC8
ALIB (0x0C, ANTB)
}
Else
{
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x21
SMUD = 0x199A
ALIB (0x0C, ANTB)
SMUI = 0x22
SMUD = 0x2B00
ALIB (0x0C, ANTB)
SMUI = 0x23
SMUD = 0x2B00
ALIB (0x0C, ANTB)
SMUI = 0x24
SMUD = 0x0148
ALIB (0x0C, ANTB)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, ANTB)
SMUI = 0x26
SMUD = 0xD0
ALIB (0x0C, ANTB)
SMUI = 0x27
SMUD = 0x04F7
ALIB (0x0C, ANTB)
SMUI = 0x28
SMUD = 0xFF0E
ALIB (0x0C, ANTB)
SMUI = 0x29
SMUD = 0x47
ALIB (0x0C, ANTB)
SMUI = 0x2A
SMUD = 0x0342
ALIB (0x0C, ANTB)
SMUI = 0x2B
SMUD = 0x04
ALIB (0x0C, ANTB)
SMUI = 0x2C
SMUD = 0xDAA6
ALIB (0x0C, ANTB)
SMUI = 0x2D
SMUD = 0xC9
ALIB (0x0C, ANTB)
SMUI = 0x2E
SMUD = 0x88B8
ALIB (0x0C, ANTB)
}
Switch (Local1)
{
Case (Zero)
{
If ((Local2 == One))
{
SMUD = 0xD2F0
}
Else
{
SMUD = 0xAFC8
}
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0xFDE8
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0xD2F0
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, ANTB)
SMUI = One
SMUD = 0xC8
ALIB (0x0C, ANTB)
}
Case (One)
{
SMUD = 0x88B8
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0xEA60
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0xA410
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, ANTB)
SMUI = One
SMUD = 0x64
ALIB (0x0C, ANTB)
}
Case (0x02)
{
SMUD = 0x7530
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0x7530
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0x7530
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = One
ALIB (0x0C, ANTB)
SMUI = One
SMUD = One
ALIB (0x0C, ANTB)
}
Case (0x03)
{
SMUD = 0x61A8
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0x61A8
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0x61A8
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = One
ALIB (0x0C, ANTB)
SMUI = One
SMUD = One
ALIB (0x0C, ANTB)
}
Case (0x04)
{
SMUD = 0x4E20
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0x4E20
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0x4E20
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = One
ALIB (0x0C, ANTB)
SMUI = One
SMUD = One
ALIB (0x0C, ANTB)
}
Case (0x05)
{
SMUD = 0x2710
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0x2710
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0x2710
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = One
ALIB (0x0C, ANTB)
SMUI = One
SMUD = One
ALIB (0x0C, ANTB)
}
Case (0x06)
{
SMUD = 0x1388
SMUI = 0x05
ALIB (0x0C, ANTB)
SMUI = 0x06
SMUD = 0x1388
ALIB (0x0C, ANTB)
SMUI = 0x07
SMUD = 0x1388
ALIB (0x0C, ANTB)
SMUI = 0x08
SMUD = One
ALIB (0x0C, ANTB)
SMUI = One
SMUD = One
ALIB (0x0C, ANTB)
}
Default
{
}
}
If ((Local0 == One))
{
If (!Acquire (QEVT, 0x012C))
{
Notify (^^^GPP0.PEGP, 0xC0) // Hardware-Specific
Release (QEVT)
}
}
}
Name (WMEN, Zero)
Method (_QE0, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE0
If (ECOK ())
{
CDUP = Zero
CDLP = Zero
CDTU = Zero
CDTL = Zero
}
WMEN = 0x0100
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE1, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE1
If (ECOK ())
{
GDUP = Zero
GDLP = Zero
GDTU = Zero
GDTL = Zero
}
WMEN = 0x0101
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE2, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE2
If (ECOK ())
{
SVUP = Zero
SVLP = Zero
SVTU = Zero
SVTL = Zero
}
WMEN = 0x0116
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE3, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE3
If (ECOK ())
{
GVUP = Zero
GVLP = Zero
GVTU = Zero
GVTL = Zero
}
WMEN = 0x0106
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE4, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE4
If (ECOK ())
{
CTUP = Zero
CTLP = Zero
CTTU = Zero
CTTL = Zero
}
WMEN = 0x0117
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE5, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE5
If (ECOK ())
{
SCUP = Zero
SCLP = Zero
SCTU = Zero
SCTL = Zero
}
WMEN = 0x0105
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE6, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE6
If (ECOK ())
{
DRUP = Zero
DRLP = Zero
DRTU = Zero
DRTL = Zero
}
WMEN = 0x010B
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE7, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE7
If (ECOK ())
{
CGUP = Zero
CGLP = Zero
CGTU = Zero
CGTL = Zero
}
WMEN = 0x0108
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE8, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE8
If (ECOK ())
{
T1UP = Zero
T1LP = Zero
T1TU = Zero
T1TL = Zero
}
WMEN = 0x0107
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QE9, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECE9
If (ECOK ())
{
T2UP = Zero
T2LP = Zero
T2TU = Zero
T2TL = Zero
}
WMEN = 0x0115
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QEA, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECEA
If (ECOK ())
{
ABUP = Zero
ABLP = Zero
ABTU = Zero
ABTL = Zero
}
WMEN = 0x010F
If (!Acquire (QEVT, 0x012C))
{
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_Q14, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC14
If (!Acquire (QEVT, 0x012C))
{
WMEN = 0x0287
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_Q15, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC15
If (!Acquire (QEVT, 0x012C))
{
WMEN = 0x0289
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_Q16, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC16
If (!Acquire (QEVT, 0x012C))
{
WMEN = 0x028A
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_Q73, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xEC73
If (!Acquire (QEVT, 0x012C))
{
WMEN = 0x0296
Notify (WMIW, 0xA0) // Device-Specific
Release (QEVT)
}
}
Method (_QC1, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECC1
If (ECOK ())
{
Local0 = ACPW /* \_SB_.PCI0.LPC0.EC0_.ACPW */
Local1 = BTMP /* \_SB_.PCI0.LPC0.EC0_.BTMP */
Local2 = RSOC /* \_SB_.PCI0.LPC0.EC0_.RSOC */
}
Local7 = Zero
Name (ABUF, Buffer (0x08) {})
CreateWordField (ABUF, Zero, SSZE)
CreateByteField (ABUF, 0x02, SMUI)
CreateDWordField (ABUF, 0x03, SMUD)
SSZE = 0x07
If ((Local0 >= 0x82))
{
If (((Local2 >= 0x0B) && (Local2 < 0x14)))
{
Local3 = 0xAFC8
Local4 = 0xD2F0
Local5 = 0xFDE8
Local6 = 0xD1
}
ElseIf (((Local2 > Zero) && (Local2 <= 0x0A)))
{
Local3 = 0xAFC8
Local4 = 0xAFC8
Local5 = 0xAFC8
Local6 = 0xD1
}
ElseIf ((Local2 == Zero))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0x88B8
Local6 = 0xD1
}
Else
{
Local7 = 0xFF
}
}
ElseIf (((Local0 >= 0x55) && (Local0 < 0x82)))
{
If (((Local2 >= 0x0B) && (Local2 < 0x14)))
{
Local3 = 0xAFC8
Local4 = 0xD2F0
Local5 = 0xFDE8
Local6 = 0xD1
}
ElseIf (((Local2 > Zero) && (Local2 <= 0x0A)))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0x88B8
Local6 = 0xD2
}
ElseIf ((Local2 == Zero))
{
Local3 = 0x7530
Local4 = 0x7530
Local5 = 0x7530
Local6 = 0xD5
}
Else
{
Local7 = 0xFF
}
}
Else
{
Local7 = 0xFF
}
If ((Local1 == 0x37))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0x88B8
Local6 = 0xD1
Local7 = Zero
}
If ((Local7 == Zero))
{
SMUI = 0x05
SMUD = Local3
ALIB (0x0C, ABUF)
SMUI = 0x06
SMUD = Local5
ALIB (0x0C, ABUF)
SMUI = 0x07
SMUD = Local4
ALIB (0x0C, ABUF)
If (!Acquire (QEVT, 0x012C))
{
Notify (^^^GPP0.PEGP, 0xC0) // Hardware-Specific
Notify (^^^GPP0.PEGP, Local6)
Release (QEVT)
}
}
}
Method (_QC2, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECC2
If (ECOK ())
{
Local1 = BTMP /* \_SB_.PCI0.LPC0.EC0_.BTMP */
Local2 = RSOC /* \_SB_.PCI0.LPC0.EC0_.RSOC */
}
Local7 = Zero
Name (BBUF, Buffer (0x08) {})
CreateWordField (BBUF, Zero, SSZE)
CreateByteField (BBUF, 0x02, SMUI)
CreateDWordField (BBUF, 0x03, SMUD)
SSZE = 0x07
If ((Local1 >= 0x14))
{
If ((Local2 >= 0x50))
{
Local3 = 0x88B8
Local4 = 0xA410
Local5 = 0xEA60
Local6 = 0xD2
}
ElseIf (((Local2 >= 0x3C) && (Local2 <= 0x4F)))
{
Local3 = 0x88B8
Local4 = 0xA410
Local5 = 0xA410
Local6 = 0xD2
}
ElseIf (((Local2 >= 0x28) && (Local2 <= 0x3B)))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0x88B8
Local6 = 0xD2
}
ElseIf (((Local2 >= 0x14) && (Local2 <= 0x27)))
{
Local3 = 0x7530
Local4 = 0x88B8
Local5 = 0x88B8
Local6 = 0xD2
}
ElseIf (((Local2 >= Zero) && (Local2 <= 0x13)))
{
Local3 = 0x4E20
Local4 = 0x4E20
Local5 = 0x88B8
Local6 = 0xD3
}
Else
{
Local7 = 0xFF
}
If ((Local1 >= 0x37))
{
Local6 = 0xD5
}
}
ElseIf (((Local1 >= 0x0F) && (Local1 <= 0x11)))
{
If ((Local2 >= 0x50))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0xA410
Local6 = 0xD3
}
ElseIf (((Local2 >= 0x3C) && (Local2 <= 0x4F)))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0xA410
Local6 = 0xD3
}
ElseIf (((Local2 >= 0x28) && (Local2 <= 0x3B)))
{
Local3 = 0x88B8
Local4 = 0x88B8
Local5 = 0x88B8
Local6 = 0xD3
}
ElseIf (((Local2 >= 0x14) && (Local2 <= 0x27)))
{
Local3 = 0x7530
Local4 = 0x7530
Local5 = 0x88B8
Local6 = 0xD4
}
ElseIf (((Local2 >= Zero) && (Local2 <= 0x13)))
{
Local3 = 0x4E20
Local4 = 0x4E20
Local5 = 0x88B8
Local6 = 0xD5
}
Else
{
Local7 = 0xFF
}
}
ElseIf (((Local1 >= 0x0A) && (Local1 <= 0x0C)))
{
If ((Local2 >= 0x50))
{
Local3 = 0x7530
Local4 = 0x7530
Local5 = 0x9C40
Local6 = 0xD3
}
ElseIf (((Local2 >= 0x3C) && (Local2 <= 0x4F)))
{
Local3 = 0x7530
Local4 = 0x7530
Local5 = 0x9C40
Local6 = 0xD4
}
ElseIf (((Local2 >= 0x28) && (Local2 <= 0x3B)))
{
Local3 = 0x7530
Local4 = 0x7530
Local5 = 0x9C40
Local6 = 0xD4
}
ElseIf (((Local2 >= 0x14) && (Local2 <= 0x27)))
{
Local3 = 0x4E20
Local4 = 0x4E20
Local5 = 0x88B8
Local6 = 0xD4
}
ElseIf (((Local2 >= Zero) && (Local2 <= 0x13)))
{
Local3 = 0x4E20
Local4 = 0x4E20
Local5 = 0x4E20
Local6 = 0xD5
}
Else
{
Local7 = 0xFF
}
}
ElseIf (((Local1 >= 0x05) && (Local1 <= 0x07)))
{
If ((Local2 >= 0x50))
{
Local3 = 0x61A8
Local4 = 0x61A8
Local5 = 0x7530
Local6 = 0xD4
}
ElseIf (((Local2 >= 0x3C) && (Local2 <= 0x4F)))
{
Local3 = 0x61A8
Local4 = 0x61A8
Local5 = 0x7530
Local6 = 0xD4
}
ElseIf (((Local2 >= 0x28) && (Local2 <= 0x3B)))
{
Local3 = 0x61A8
Local4 = 0x61A8
Local5 = 0x7530
Local6 = 0xD4
}
ElseIf (((Local2 >= 0x14) && (Local2 <= 0x27)))
{
Local3 = 0x4E20
Local4 = 0x4E20
Local5 = 0x7530
Local6 = 0xD5
}
ElseIf (((Local2 >= Zero) && (Local2 <= 0x13)))
{
Local3 = 0x3A98
Local4 = 0x3A98
Local5 = 0x3A98
Local6 = 0xD5
}
Else
{
Local7 = 0xFF
}
}
ElseIf ((Local1 <= 0x03))
{
If ((Local2 >= 0x50))
{
Local3 = 0x61A8
Local4 = 0x61A8
Local5 = 0x7530
Local6 = 0xD5
}
ElseIf (((Local2 >= 0x3C) && (Local2 <= 0x4F)))
{
Local3 = 0x61A8
Local4 = 0x61A8
Local5 = 0x7530
Local6 = 0xD5
}
ElseIf (((Local2 >= 0x28) && (Local2 <= 0x3B)))
{
Local3 = 0x4E20
Local4 = 0x4E20
Local5 = 0x61A8
Local6 = 0xD5
}
ElseIf (((Local2 >= 0x14) && (Local2 <= 0x27)))
{
Local3 = 0x2710
Local4 = 0x3A98
Local5 = 0x3A98
Local6 = 0xD5
}
ElseIf (((Local2 >= Zero) && (Local2 <= 0x13)))
{
Local3 = 0x1388
Local4 = 0x2710
Local5 = 0x2710
Local6 = 0xD5
}
Else
{
Local7 = 0xFF
}
}
Else
{
Local7 = 0xFF
}
If ((Local7 == Zero))
{
SMUI = 0x05
SMUD = Local3
ALIB (0x0C, BBUF)
SMUI = 0x06
SMUD = Local5
ALIB (0x0C, BBUF)
SMUI = 0x07
SMUD = Local4
ALIB (0x0C, BBUF)
If (!Acquire (QEVT, 0x012C))
{
Notify (^^^GPP0.PEGP, Local6)
Release (QEVT)
}
}
}
Method (UPHK, 1, Serialized)
{
Arg0 &= 0x0F
ECPC ((0xF0 | Arg0))
If (((Arg0 >= 0x03) && (Arg0 <= 0x08)))
{
SYSK = Arg0
Sleep (One)
Switch (Arg0)
{
Case (0x03)
{
}
Case (0x04)
{
KBRS ()
}
Default
{
}
}
}
}
OperationRegion (ESPM, SystemMemory, 0xFEC20000, 0x0100)
Field (ESPM, DWordAcc, NoLock, Preserve)
{
ES00, 32,
ES04, 32,
ES08, 32,
ES0C, 32,
Offset (0x68),
ES68, 32,
Offset (0x9C),
ES9C, 32
}
OperationRegion (PMI1, SystemMemory, 0xFED80300, 0x0100)
Field (PMI1, AnyAcc, NoLock, Preserve)
{
Offset (0x40),
, 1,
EMI1, 1,
Offset (0x41)
}
OperationRegion (KBCS, SystemIO, 0x60, 0x05)
Field (KBCS, ByteAcc, NoLock, Preserve)
{
KB60, 8,
Offset (0x04),
KB64, 8
}
OperationRegion (SC64, SystemIO, 0x64, One)
Field (SC64, ByteAcc, NoLock, Preserve)
{
KOBF, 1,
KIBF, 1
}
Method (KBRS, 0, Serialized)
{
Local0 = KBFG /* \_SB_.PCI0.LPC0.EC0_.KBFG */
ECPC ((0x00F10000 | Local0))
If ((Local0 != 0xFF))
{
If ((Local0 & One))
{
ENVW ()
}
If ((Local0 & 0x02))
{
ENKB ()
}
If ((Local0 & 0x04))
{
WKB4 (Zero)
}
If ((Local0 & 0x08))
{
SIQ1 (One)
}
If ((Local0 & 0x10))
{
SIQ1 (Zero)
}
If ((Local0 & 0x20))
{
SIQ1 (One)
}
}
ECPC ((0x00E10000 | Local0))
}
Method (ENVW, 0, Serialized)
{
ECPC (0x00F20000)
ES04 = Zero
ES00 = 0x00200009
Local0 = ES00 /* \_SB_.PCI0.LPC0.EC0_.ES00 */
Local2 = 0xC8
While ((Local2 && (Local0 & 0x08)))
{
Sleep (One)
Local0 = ES00 /* \_SB_.PCI0.LPC0.EC0_.ES00 */
Local2--
}
ECPC (Local2)
ECPC (Local0)
Local0 = ES04 /* \_SB_.PCI0.LPC0.EC0_.ES04 */
Local1 = (Local0 | One)
If ((Local0 != Local1))
{
ES04 = Local1
ES00 = 0x00200008
Local0 = ES00 /* \_SB_.PCI0.LPC0.EC0_.ES00 */
Local2 = 0xC8
While ((Local2 && (Local0 & 0x08)))
{
Sleep (One)
Local0 = ES00 /* \_SB_.PCI0.LPC0.EC0_.ES00 */
Local2--
}
}
Local0 = ES68 /* \_SB_.PCI0.LPC0.EC0_.ES68 */
Local3 = (Local0 >> 0x10)
ECPC ((Local3 | 0x00A20000))
Local3 = (Local0 & 0xFFFF)
ECPC ((Local3 | 0x00B20000))
Local1 = (Local0 | 0x04)
If ((Local0 != Local1))
{
ES68 = Local1
}
ECPC (0x00E20000)
}
Method (RIQS, 1, Serialized)
{
Arg0 &= 0x1F
Local0 = ES9C /* \_SB_.PCI0.LPC0.EC0_.ES9C */
Local1 = (Local0 & 0xFFFFFFE0)
Local1 |= Arg0
If ((Local0 != Local1))
{
ES9C = Local1
Local0 = ES9C /* \_SB_.PCI0.LPC0.EC0_.ES9C */
If ((Local0 == Local1))
{
ES9C = Local1
Local0 = ES9C /* \_SB_.PCI0.LPC0.EC0_.ES9C */
}
}
Local1 = (Local0 & 0xE0)
Local1 >>= 0x05
Return (Local1)
}
Method (SIQ1, 1, Serialized)
{
Arg0 &= 0x0F
ECPC ((0x00F40000 | Arg0))
EMI1 = Zero
Local3 = Zero
Local0 = RIQS (One)
If ((Local0 == 0x03))
{
Local3 = One
Local2 = 0xA0
While ((Local2 != Zero))
{
Sleep (0x02)
Local0 = RIQS (One)
If ((Local0 != 0x03))
{
Local3 = Zero
Break
}
Local2--
}
}
If ((Local3 == One))
{
Local0 = KB64 /* \_SB_.PCI0.LPC0.EC0_.KB64 */
If (!(Local0 & One))
{
WKB4 (Zero)
}
ECPC ((Local0 | 0x00016400))
ECPC ((KB64 | 0x00026400))
EMBF (0x64)
If (Arg0)
{
WKB4 (Zero)
}
ECPC ((0x00E4EEE0 | Arg0))
Return (One)
}
EMI1 = One
Local2 = 0x0A
Local4 = Zero
Local0 = RIQS (One)
ECPC ((Local0 | 0x000300C0))
While (Local2)
{
Switch (Local0)
{
Case (Zero)
{
ECPC (0x000400D0)
If ((KB64 & One))
{
EMBF (0x32)
}
Else
{
WKB4 (Zero)
}
Sleep (0x05)
}
Case (0x02)
{
ECPC (0x000400D2)
WKB4 (Zero)
Local4 |= One
If ((Local4 == 0x03))
{
Local2 = One
}
}
Case (0x03)
{
ECPC (0x000400D3)
EMBF (0x32)
Local4 |= 0x02
If ((Local4 == 0x03))
{
Local2 = One
}
}
Default
{
ECPC (0x000400DF)
ENKB ()
WKB4 (Zero)
EMBF (0x32)
}
}
ECPC ((0x00056400 | KB64))
Sleep (One)
Local0 = RIQS (One)
ECPC ((Local0 | 0x000600C0))
Local2--
}
EMBF (0x32)
EMI1 = Zero
If ((Arg0 != Zero))
{
WKB4 (Zero)
}
ECPC ((0x00E4FFF0 | Arg0))
Return (Zero)
}
Method (EMBF, 1, Serialized)
{
Local2 = Arg0
Local0 = One
While ((Local2 && (Local0 & One)))
{
Sleep (One)
Local1 = KB60 /* \_SB_.PCI0.LPC0.EC0_.KB60 */
ECPC ((0x00F56000 | Local1))
Sleep (One)
Local0 = KB64 /* \_SB_.PCI0.LPC0.EC0_.KB64 */
ECPC ((0x00F56400 | Local1))
Local2--
}
}
Method (WIBE, 0, Serialized)
{
Local2 = 0x32
While (Local2)
{
If (!KIBF)
{
Return (Zero)
}
Sleep (One)
Local2--
}
If (KIBF)
{
ECPC (0x00F600EE)
}
Return (One)
}
Method (WKB4, 1, Serialized)
{
Local0 = (Arg0 & 0xFF)
ECPC ((Local0 | 0x00F76400))
WIBE ()
KB64 = Local0
WIBE ()
ECPC ((Local0 | 0x00E76400))
}
Method (WKB0, 1, Serialized)
{
Local0 = (Arg0 & 0xFF)
ECPC ((Local0 | 0x00F86000))
WIBE ()
KB60 = Local0
WIBE ()
ECPC ((Local0 | 0x00E86000))
}
Method (ENKB, 0, Serialized)
{
ECPC (0x00F90000)
WKB4 (0x60)
WKB0 (0x65)
ECPC (0x00E90000)
}
Method (_Q70, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
ECPC (0x70)
SYSK = 0x70
KBRS ()
ECPC (0xEE70)
}
Method (_QC6, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80H = 0xECC6
If (ECOK ())
{
Local1 = CSPL /* \_SB_.PCI0.LPC0.EC0_.CSPL */
Local2 = SPPT /* \_SB_.PCI0.LPC0.EC0_.SPPT */
Local3 = FPPT /* \_SB_.PCI0.LPC0.EC0_.FPPT */
Local4 = GPUW /* \_SB_.PCI0.LPC0.EC0_.GPUW */
Local5 = THST /* \_SB_.PCI0.LPC0.EC0_.THST */
Local6 = UADP /* \_SB_.PCI0.LPC0.EC0_.UADP */
Local7 = OKTS /* \_SB_.PCI0.LPC0.EC0_.OKTS */
}
Name (CBUF, Buffer (0x08) {})
CreateWordField (CBUF, Zero, SSZE)
CreateByteField (CBUF, 0x02, SMUI)
CreateDWordField (CBUF, 0x03, SMUD)
SSZE = 0x07
SMUI = 0x05
SMUD = (Local1 * 0x03E8)
ALIB (0x0C, CBUF)
SMUI = 0x06
SMUD = (Local3 * 0x03E8)
ALIB (0x0C, CBUF)
SMUI = 0x07
SMUD = (Local2 * 0x03E8)
ALIB (0x0C, CBUF)
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, CBUF)
SMUI = One
SMUD = One
ALIB (0x0C, CBUF)
If (((Local1 == Local2) & (Local2 == Local3)))
{
SMUI = 0x08
SMUD = One
ALIB (0x0C, CBUF)
SMUI = One
SMUD = One
ALIB (0x0C, CBUF)
}
If ((Local6 == Zero))
{
If ((Local7 == One))
{
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, CBUF)
SMUI = 0x22
SMUD = 0x2C00
ALIB (0x0C, CBUF)
SMUI = 0x24
SMUD = 0xC5
ALIB (0x0C, CBUF)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, CBUF)
SMUI = 0x26
SMUD = 0x66
ALIB (0x0C, CBUF)
SMUI = 0x27
SMUD = 0x0434
ALIB (0x0C, CBUF)
SMUI = 0x2C
SMUD = 0xEC7D
ALIB (0x0C, CBUF)
SMUI = 0x2E
SMUD = 0xD2F0
ALIB (0x0C, CBUF)
}
Else
{
SMUI = 0x20
SMUD = 0x199A
ALIB (0x0C, CBUF)
SMUI = 0x22
SMUD = 0x2900
ALIB (0x0C, CBUF)
SMUI = 0x24
SMUD = 0xC5
ALIB (0x0C, CBUF)
SMUI = 0x25
SMUD = 0x2666
ALIB (0x0C, CBUF)
SMUI = 0x26
SMUD = 0x63
ALIB (0x0C, CBUF)
SMUI = 0x27
SMUD = 0x048D
ALIB (0x0C, CBUF)
SMUI = 0x2C
SMUD = 0xE1F9
ALIB (0x0C, CBUF)
SMUI = 0x2E
SMUD = 0xAFC8
ALIB (0x0C, CBUF)
}
}
ElseIf ((Local7 == One))
{
If ((Local5 == One))
{
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, CBUF)
SMUI = One
SMUD = 0x64
ALIB (0x0C, CBUF)
}
Else
{
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, CBUF)
SMUI = One
SMUD = 0xC8
ALIB (0x0C, CBUF)
}
}
ElseIf ((Local5 == One))
{
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, CBUF)
SMUI = One
SMUD = 0x64
ALIB (0x0C, CBUF)
}
Else
{
SMUI = 0x08
SMUD = 0x05
ALIB (0x0C, CBUF)
SMUI = One
SMUD = 0xC8
ALIB (0x0C, CBUF)
}
If (!Acquire (QEVT, 0x012C))
{
Notify (^^^GPP0.PEGP, Local4)
Release (QEVT)
}
}
}
Mutex (PSMX, 0x00)
}
Scope (GPP1)
{
}
Scope (GPP1.DEV0)
{
Name (_S0W, 0x04) // _S0W: S0 Device Wake State
}
Scope (GPP2)
{
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0011
}
GpioInt (Edge, ActiveHigh, SharedAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x00AC
}
})
Return (RBUF) /* \_SB_.PCI0.GPP2._CRS.RBUF */
}
}
Scope (GPP2.WWAN)
{
Name (_S0W, 0x04) // _S0W: S0 Device Wake State
}
Scope (GPP3)
{
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0018
}
GpioInt (Edge, ActiveHigh, SharedAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x00AC
}
})
Return (RBUF) /* \_SB_.PCI0.GPP3._CRS.RBUF */
}
}
Scope (GPP3.RTL8)
{
Name (_S0W, 0x04) // _S0W: S0 Device Wake State
}
Scope (GPP4)
{
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0012
}
GpioInt (Edge, ActiveHigh, SharedAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x00AC
}
})
Return (RBUF) /* \_SB_.PCI0.GPP4._CRS.RBUF */
}
Device (WLAN)
{
Name (_ADR, Zero) // _ADR: Address
Name (_S0W, 0x04) // _S0W: S0 Device Wake State
}
}
Method (PXCR, 3, Serialized)
{
Local0 = Zero
Local1 = M017 (Arg0, Arg1, Arg2, 0x34, Zero, 0x08)
While ((Local1 != Zero))
{
Local2 = M017 (Arg0, Arg1, Arg2, Local1, Zero, 0x08)
If (((Local2 == Zero) || (Local2 == 0xFF)))
{
Break
}
If ((Local2 == 0x10))
{
Local0 = Local1
Break
}
Local1 = M017 (Arg0, Arg1, Arg2, (Local1 + One), Zero, 0x08)
}
Return (Local0)
}
Scope (\_SB)
{
OperationRegion (PMIO, SystemMemory, 0xFED80300, 0x0100)
Field (PMIO, AnyAcc, NoLock, Preserve)
{
Offset (0x80),
SI3R, 1
}
Name (NBRI, Zero)
Name (NBAR, Zero)
Name (NCMD, Zero)
Name (PXDC, Zero)
Name (PXLC, Zero)
Name (PXD2, Zero)
}
Scope (GPP6)
{
PowerResource (P0NV, 0x00, 0x0000)
{
Name (D0NV, One)
Method (_STA, 0, NotSerialized) // _STA: Status
{
TPST (0x60AA)
Return (D0NV) /* \_SB_.PCI0.GPP6.P0NV.D0NV */
}
Method (_ON, 0, NotSerialized) // _ON_: Power On
{
TPST (0x60D0)
If ((SI3R && NPWD))
{
TPST (0x60E0)
Local1 = PXCR (NBRI, Zero, Zero)
M020 (NBRI, Zero, Zero, (Local1 + 0x08), PXDC)
M020 (NBRI, Zero, Zero, (Local1 + 0x10), (PXLC & 0xFFFFFEFC))
M020 (NBRI, Zero, Zero, (Local1 + 0x28), PXD2)
M020 (NBRI, Zero, Zero, 0x10, NBAR)
M020 (NBRI, Zero, Zero, 0x04, (NCMD | 0x06))
APMC = 0xE3
SI3R = Zero
TPST (0x60E1)
}
D0NV = One
}
Method (_OFF, 0, NotSerialized) // _OFF: Power Off
{
TPST (0x60D3)
Local0 = M019 (Zero, 0x02, 0x04, 0x18)
NBRI = ((Local0 & 0xFF00) >> 0x08)
NCMD = M019 (NBRI, Zero, Zero, 0x04)
NBAR = M019 (NBRI, Zero, Zero, 0x10)
Local1 = PXCR (NBRI, Zero, Zero)
PXDC = M019 (NBRI, Zero, Zero, (Local1 + 0x08))
PXLC = M019 (NBRI, Zero, Zero, (Local1 + 0x10))
PXD2 = M019 (NBRI, Zero, Zero, (Local1 + 0x28))
D0NV = Zero
}
}
Device (NVME)
{
Name (_ADR, Zero) // _ADR: Address
Name (_S0W, 0x04) // _S0W: S0 Device Wake State
Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
{
P0NV
})
Name (_PR2, Package (0x01) // _PR2: Power Resources for D2
{
P0NV
})
Name (_PR3, Package (0x01) // _PR3: Power Resources for D3hot
{
P0NV
})
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
TPST (0x6050)
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
TPST (0x6053)
}
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("5025030f-842f-4ab4-a561-99a5189762d0") /* Unknown UUID */,
Package (0x01)
{
Package (0x02)
{
"StorageD3Enable",
One
}
}
})
}
}
}
OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02)
Field (PIRQ, ByteAcc, NoLock, Preserve)
{
PIDX, 8,
PDAT, 8
}
IndexField (PIDX, PDAT, ByteAcc, NoLock, Preserve)
{
PIRA, 8,
PIRB, 8,
PIRC, 8,
PIRD, 8,
PIRE, 8,
PIRF, 8,
PIRG, 8,
PIRH, 8,
Offset (0x0C),
SIRA, 8,
SIRB, 8,
SIRC, 8,
SIRD, 8,
PIRS, 8,
Offset (0x13),
HDAD, 8,
Offset (0x17),
SDCL, 8,
Offset (0x1A),
SDIO, 8,
Offset (0x30),
USB1, 8,
Offset (0x34),
USB3, 8,
Offset (0x41),
SATA, 8,
Offset (0x62),
GIOC, 8,
Offset (0x70),
I2C0, 8,
I2C1, 8,
I2C2, 8,
I2C3, 8,
URT0, 8,
URT1, 8
}
Method (DSPI, 0, NotSerialized)
{
INTA (0x1F)
INTB (0x1F)
INTC (0x1F)
INTD (0x1F)
PIRE = 0x1F
PIRF = 0x1F
PIRG = 0x1F
PIRH = 0x1F
}
Method (INTA, 1, NotSerialized)
{
PIRA = Arg0
If (PICM)
{
HDAD = Arg0
SDCL = Arg0
}
}
Method (INTB, 1, NotSerialized)
{
PIRB = Arg0
}
Method (INTC, 1, NotSerialized)
{
PIRC = Arg0
If (PICM)
{
USB1 = Arg0
USB3 = Arg0
}
}
Method (INTD, 1, NotSerialized)
{
PIRD = Arg0
If (PICM)
{
SATA = Arg0
}
}
Name (PRS1, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,5,6,10,11}
})
Name (BUFA, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{15}
})
Device (LNKA)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRA && (PIRA != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
INTA (0x1F)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRA) /* \_SB_.PIRA */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRA = Local0
}
}
Device (LNKB)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x02) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRB && (PIRB != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
INTB (0x1F)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRB) /* \_SB_.PIRB */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRB = Local0
}
}
Device (LNKC)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x03) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRC && (PIRC != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
INTC (0x1F)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRC) /* \_SB_.PIRC */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRC = Local0
}
}
Device (LNKD)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x04) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRD && (PIRD != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
INTD (0x1F)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRD) /* \_SB_.PIRD */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRD = Local0
}
}
Device (LNKE)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x05) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRE && (PIRE != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
PIRE = 0x1F
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRE) /* \_SB_.PIRE */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRE = Local0
}
}
Device (LNKF)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x06) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRF && (PIRF != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
PIRF = 0x1F
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRF) /* \_SB_.PIRF */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRF = Local0
}
}
Device (LNKG)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x07) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRG && (PIRG != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
PIRG = 0x1F
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRG) /* \_SB_.PIRG */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRG = Local0
}
}
Device (LNKH)
{
Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
Name (_UID, 0x08) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((PIRH && (PIRH != 0x1F)))
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings
{
Return (PRS1) /* \_SB_.PRS1 */
}
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
PIRH = 0x1F
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
CreateWordField (BUFA, One, IRQX)
IRQX = (One << PIRH) /* \_SB_.PIRH */
Return (BUFA) /* \_SB_.BUFA */
}
Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateWordField (Arg0, One, IRA)
FindSetRightBit (IRA, Local0)
Local0--
PIRH = Local0
}
}
Method (GSMI, 1, NotSerialized)
{
APMD = Arg0
APMC = 0xE4
Sleep (0x02)
}
Method (S80H, 1, NotSerialized)
{
P80H = Arg0
}
Method (BSMI, 1, NotSerialized)
{
APMD = Arg0
APMC = 0xBE
Sleep (One)
}
Device (ACAD)
{
Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
Name (_PCL, Package (0x01) // _PCL: Power Consumer List
{
_SB
})
Name (XX00, Buffer (0x03) {})
Name (ACDC, 0xFF)
Method (_PSR, 0, NotSerialized) // _PSR: Power Source
{
Local0 = One
If (^^PCI0.LPC0.ECOK ())
{
Local0 = ^^PCI0.LPC0.EC0.ACIN /* \_SB_.PCI0.LPC0.EC0_.ACIN */
CreateWordField (XX00, Zero, SSZE)
CreateByteField (XX00, 0x02, ACST)
SSZE = 0x03
If ((Local0 != ACDC))
{
If (Local0)
{
P80H = 0xECAC
AFN4 (One)
ACST = Zero
}
Else
{
P80H = 0xECDC
AFN4 (0x02)
ACST = One
}
ALIB (One, XX00)
ACDC = Local0
}
}
Return (Local0)
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
}
Device (BATT)
{
Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Name (_PCL, Package (0x01) // _PCL: Power Consumer List
{
_SB
})
Name (PBIX, Package (0x15)
{
One,
One,
0x0D5C,
0x0D48,
One,
0x3C28,
0x01F4,
0x96,
Ones,
0x00017318,
0x000927C0,
0x7530,
0xEA60,
0xEA60,
One,
One,
"KC04XL",
"486298-01",
"LION",
"HP",
Zero
})
Method (_BTP, 1, NotSerialized) // _BTP: Battery Trip Point
{
If (^^PCI0.LPC0.ECOK ())
{
If ((Arg0 == Zero))
{
Local0 = Zero
Local1 = Zero
}
Else
{
Local0 = (Arg0 & 0xFF)
Local1 = (Arg0 >> 0x08)
Local1 &= 0xFF
}
^^PCI0.LPC0.EC0.BTPL = Local0
^^PCI0.LPC0.EC0.BTPH = Local1
}
}
Name (PBST, Package (0x04)
{
Zero,
Zero,
0x0AF0,
0x38A4
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (^^PCI0.LPC0.ECOK ())
{
Local0 = ^^PCI0.LPC0.EC0.BATI /* \_SB_.PCI0.LPC0.EC0_.BATI */
If (Local0)
{
Return (0x1F)
}
Else
{
Return (0x0F)
}
}
Return (0x0F)
}
Method (_BIX, 0, NotSerialized) // _BIX: Battery Information Extended
{
If (^^PCI0.LPC0.ECOK ())
{
Local1 = ^^PCI0.LPC0.EC0.DECH /* \_SB_.PCI0.LPC0.EC0_.DECH */
Local1 <<= 0x08
Local1 &= 0xFF00
Local0 = ^^PCI0.LPC0.EC0.DECL /* \_SB_.PCI0.LPC0.EC0_.DECL */
Local0 &= 0xFF
Local0 |= Local1
PBIX [0x02] = Local0
Local1 = ^^PCI0.LPC0.EC0.FCCH /* \_SB_.PCI0.LPC0.EC0_.FCCH */
Local1 <<= 0x08
Local1 &= 0xFF00
Local0 = ^^PCI0.LPC0.EC0.FCCL /* \_SB_.PCI0.LPC0.EC0_.FCCL */
Local0 &= 0xFF
Local0 |= Local1
PBIX [0x03] = Local0
Local1 = ^^PCI0.LPC0.EC0.DEVH /* \_SB_.PCI0.LPC0.EC0_.DEVH */
Local1 <<= 0x08
Local1 &= 0xFF00
Local0 = ^^PCI0.LPC0.EC0.DEVL /* \_SB_.PCI0.LPC0.EC0_.DEVL */
Local0 &= 0xFF
Local0 |= Local1
PBIX [0x05] = Local0
Local1 = ^^PCI0.LPC0.EC0.BCTH /* \_SB_.PCI0.LPC0.EC0_.BCTH */
Local1 <<= 0x08
Local1 &= 0xFF00
Local0 = ^^PCI0.LPC0.EC0.BCTL /* \_SB_.PCI0.LPC0.EC0_.BCTL */
Local0 &= 0xFF
Local0 |= Local1
PBIX [0x08] = Local0
If ((^^PCI0.LPC0.EC0.BMNO == One))
{
PBIX [0x10] = "HB9790T7ECW-32R0"
}
ElseIf ((^^PCI0.LPC0.EC0.BMNO == 0x02))
{
PBIX [0x10] = "HB9790T7ECW-32T0"
}
ElseIf ((^^PCI0.LPC0.EC0.BMNO == 0x03))
{
PBIX [0x10] = "HB9790T7ECW-32S0"
}
ElseIf ((^^PCI0.LPC0.EC0.BMNO == Zero))
{
PBIX [0x10] = "Unknown"
}
Local1 = ^^PCI0.LPC0.EC0.SNMH /* \_SB_.PCI0.LPC0.EC0_.SNMH */
Local1 <<= 0x08
Local1 &= 0xFF00
Local0 = ^^PCI0.LPC0.EC0.SNML /* \_SB_.PCI0.LPC0.EC0_.SNML */
Local0 &= 0xFF
Local0 |= Local1
ToDecimalString (Local0, Local1)
PBIX [0x11] = Local1
If ((^^PCI0.LPC0.EC0.BMFG == One))
{
PBIX [0x13] = "DYNAPACK"
}
ElseIf ((^^PCI0.LPC0.EC0.BMFG == 0x02))
{
PBIX [0x13] = "SUNWODA-H"
}
ElseIf ((^^PCI0.LPC0.EC0.BMFG == 0x03))
{
PBIX [0x13] = "Sunwoda-H"
}
ElseIf ((^^PCI0.LPC0.EC0.BMFG == Zero))
{
PBIX [0x13] = "Unknown"
}
}
Return (PBIX) /* \_SB_.BATT.PBIX */
}
Method (_BST, 0, NotSerialized) // _BST: Battery Status
{
If (^^PCI0.LPC0.ECOK ())
{
Local1 = ^^PCI0.LPC0.EC0.CAPH /* \_SB_.PCI0.LPC0.EC0_.CAPH */
Local0 = ^^PCI0.LPC0.EC0.CAPL /* \_SB_.PCI0.LPC0.EC0_.CAPL */
Local0 &= 0xFF
Local1 <<= 0x08
Local1 &= 0xFF00
Local6 = (Local0 | Local1)
PBST [0x02] = Local6
Local1 = ^^PCI0.LPC0.EC0.BTCH /* \_SB_.PCI0.LPC0.EC0_.BTCH */
Local0 = ^^PCI0.LPC0.EC0.BTCL /* \_SB_.PCI0.LPC0.EC0_.BTCL */
Local0 &= 0xFF
Local1 <<= 0x08
Local1 &= 0xFF00
Local5 = (Local0 | Local1)
If ((Local5 & 0x8000))
{
Local5 = (~Local5 & 0x7FFF)
Local4 = One
}
ElseIf ((Local5 == Zero))
{
Local4 = Zero
}
Else
{
Local4 = 0x02
}
If ((Local6 < 0x32))
{
Local4 |= 0x04
}
PBST [Zero] = Local4
PBST [One] = Local5
Local1 = ^^PCI0.LPC0.EC0.BTVH /* \_SB_.PCI0.LPC0.EC0_.BTVH */
Local0 = ^^PCI0.LPC0.EC0.BTVL /* \_SB_.PCI0.LPC0.EC0_.BTVL */
Local0 &= 0xFF
Local1 <<= 0x08
Local1 &= 0xFF00
Local7 = (Local0 | Local1)
PBST [0x03] = Local7
}
Return (PBST) /* \_SB_.BATT.PBST */
}
Name (BCTR, One)
}
Device (LID)
{
Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID
Method (_LID, 0, NotSerialized) // _LID: Lid Status
{
If (^^PCI0.LPC0.ECOK ())
{
Local0 = 0xFF
Local0 = ^^PCI0.LPC0.EC0.LIDS /* \_SB_.PCI0.LPC0.EC0_.LIDS */
If (Local0)
{
Return (One)
}
Else
{
Return (Zero)
}
}
Return (One)
}
}
}
Name (TSOS, 0x75)
If (CondRefOf (\_OSI))
{
If (_OSI ("Windows 2009"))
{
TSOS = 0x50
}
If (_OSI ("Windows 2015"))
{
TSOS = 0x70
}
}
Scope (_SB)
{
OperationRegion (SMIC, SystemMemory, 0xFED80000, 0x00800000)
Field (SMIC, ByteAcc, NoLock, Preserve)
{
Offset (0x36A),
SMIB, 8
}
OperationRegion (SSMI, SystemIO, SMIB, 0x02)
Field (SSMI, AnyAcc, NoLock, Preserve)
{
SMIW, 16
}
OperationRegion (ECMC, SystemIO, 0x72, 0x02)
Field (ECMC, AnyAcc, NoLock, Preserve)
{
ECMI, 8,
ECMD, 8
}
IndexField (ECMI, ECMD, ByteAcc, NoLock, Preserve)
{
Offset (0x08),
FRTB, 32
}
OperationRegion (FRTP, SystemMemory, FRTB, 0x0100)
Field (FRTP, AnyAcc, NoLock, Preserve)
{
PEBA, 32,
, 5,
IC0E, 1,
IC1E, 1,
IC2E, 1,
IC3E, 1,
IC4E, 1,
IC5E, 1,
UT0E, 1,
UT1E, 1,
, 1,
, 1,
ST_E, 1,
UT2E, 1,
, 1,
EMMD, 2,
, 3,
XHCE, 1,
, 1,
, 1,
UT3E, 1,
ESPI, 1,
EMME, 1,
HFPE, 1,
Offset (0x08),
PCEF, 1,
, 4,
IC0D, 1,
IC1D, 1,
IC2D, 1,
IC3D, 1,
IC4D, 1,
IC5D, 1,
UT0D, 1,
UT1D, 1,
, 1,
, 1,
ST_D, 1,
UT2D, 1,
, 1,
EHCD, 1,
, 4,
XHCD, 1,
SD_D, 1,
, 1,
UT3D, 1,
, 1,
EMD3, 1,
, 2,
S03D, 1,
FW00, 16,
FW01, 32,
FW02, 16,
FW03, 32,
SDS0, 8,
SDS1, 8,
CZFG, 1,
Offset (0x20),
SD10, 32,
EH10, 32,
XH10, 32,
STBA, 32
}
OperationRegion (FCFG, SystemMemory, PEBA, 0x01000000)
Field (FCFG, DWordAcc, NoLock, Preserve)
{
Offset (0xA3044),
IPDE, 32,
IMPE, 32,
Offset (0xA3078),
, 2,
LDQ0, 1,
Offset (0xA30CB),
, 7,
AUSS, 1
}
OperationRegion (IOMX, SystemMemory, 0xFED80D00, 0x0100)
Field (IOMX, AnyAcc, NoLock, Preserve)
{
Offset (0x15),
IM15, 8,
IM16, 8,
Offset (0x1F),
IM1F, 8,
IM20, 8,
Offset (0x44),
IM44, 8,
Offset (0x46),
IM46, 8,
Offset (0x4A),
IM4A, 8,
IM4B, 8,
Offset (0x57),
IM57, 8,
IM58, 8,
Offset (0x68),
IM68, 8,
IM69, 8,
IM6A, 8,
IM6B, 8,
Offset (0x6D),
IM6D, 8
}
OperationRegion (FACR, SystemMemory, 0xFED81E00, 0x0100)
Field (FACR, AnyAcc, NoLock, Preserve)
{
Offset (0x80),
, 28,
RD28, 1,
, 1,
RQTY, 1,
Offset (0x84),
, 28,
SD28, 1,
, 1,
Offset (0xA0),
PG1A, 1
}
OperationRegion (EMMX, SystemMemory, 0xFEDD5800, 0x0130)
Field (EMMX, AnyAcc, NoLock, Preserve)
{
Offset (0xD0),
, 17,
FC18, 1,
FC33, 1,
, 7,
CD_T, 1,
WP_T, 1
}
OperationRegion (EMMB, SystemMemory, 0xFEDD5800, 0x0130)
Field (EMMB, AnyAcc, NoLock, Preserve)
{
Offset (0xA4),
E0A4, 32,
E0A8, 32,
Offset (0xB0),
E0B0, 32,
Offset (0xD0),
E0D0, 32,
Offset (0x116),
E116, 32
}
Name (SVBF, Buffer (0x0100)
{
0x00 // .
})
CreateDWordField (SVBF, Zero, S0A4)
CreateDWordField (SVBF, 0x04, S0A8)
CreateDWordField (SVBF, 0x08, S0B0)
CreateDWordField (SVBF, 0x0C, S0D0)
CreateDWordField (SVBF, 0x10, S116)
Method (SECR, 0, Serialized)
{
S116 = E116 /* \_SB_.E116 */
RQTY = Zero
RD28 = One
Local0 = SD28 /* \_SB_.SD28 */
While (Local0)
{
Local0 = SD28 /* \_SB_.SD28 */
}
}
Method (RECR, 0, Serialized)
{
E116 = S116 /* \_SB_.S116 */
}
OperationRegion (LUIE, SystemMemory, 0xFEDC0020, 0x04)
Field (LUIE, AnyAcc, NoLock, Preserve)
{
IER0, 1,
IER1, 1,
IER2, 1,
IER3, 1,
UOL0, 1,
UOL1, 1,
UOL2, 1,
UOL3, 1,
WUR0, 2,
WUR1, 2,
WUR2, 2,
WUR3, 2
}
Method (FRUI, 2, Serialized)
{
If ((Arg0 == Zero))
{
Arg1 = IUA0 /* \_SB_.IUA0 */
}
If ((Arg0 == One))
{
Arg1 = IUA1 /* \_SB_.IUA1 */
}
If ((Arg0 == 0x02))
{
Arg1 = IUA2 /* \_SB_.IUA2 */
}
If ((Arg0 == 0x03))
{
Arg1 = IUA3 /* \_SB_.IUA3 */
}
}
Method (FUIO, 1, Serialized)
{
If ((IER0 == One))
{
If ((WUR0 == Arg0))
{
Return (Zero)
}
}
If ((IER1 == One))
{
If ((WUR1 == Arg0))
{
Return (One)
}
}
If ((IER2 == One))
{
If ((WUR2 == Arg0))
{
Return (0x02)
}
}
If ((IER3 == One))
{
If ((WUR3 == Arg0))
{
Return (0x03)
}
}
Return (0x0F)
}
Method (SRAD, 2, Serialized)
{
Local0 = (Arg0 << One)
Local0 += 0xFED81E40
OperationRegion (ADCR, SystemMemory, Local0, 0x02)
Field (ADCR, ByteAcc, NoLock, Preserve)
{
ADTD, 2,
ADPS, 1,
ADPD, 1,
ADSO, 1,
ADSC, 1,
ADSR, 1,
ADIS, 1,
ADDS, 3
}
ADIS = One
ADSR = Zero
Stall (Arg1)
ADSR = One
ADIS = Zero
Stall (Arg1)
}
Method (DSAD, 2, Serialized)
{
Local0 = (Arg0 << One)
Local0 += 0xFED81E40
OperationRegion (ADCR, SystemMemory, Local0, 0x02)
Field (ADCR, ByteAcc, NoLock, Preserve)
{
ADTD, 2,
ADPS, 1,
ADPD, 1,
ADSO, 1,
ADSC, 1,
ADSR, 1,
ADIS, 1,
ADDS, 3
}
If ((Arg0 != ADTD))
{
If ((Arg1 == Zero))
{
ADTD = Zero
ADPD = One
Local0 = ADDS /* \_SB_.DSAD.ADDS */
While ((Local0 != 0x07))
{
Local0 = ADDS /* \_SB_.DSAD.ADDS */
}
}
If ((Arg1 == 0x03))
{
ADPD = Zero
Local0 = ADDS /* \_SB_.DSAD.ADDS */
While ((Local0 != Zero))
{
Local0 = ADDS /* \_SB_.DSAD.ADDS */
}
ADTD = 0x03
}
}
}
Method (HSAD, 2, Serialized)
{
Local3 = (One << Arg0)
Local0 = (Arg0 << One)
Local0 += 0xFED81E40
OperationRegion (ADCR, SystemMemory, Local0, 0x02)
Field (ADCR, ByteAcc, NoLock, Preserve)
{
ADTD, 2,
ADPS, 1,
ADPD, 1,
ADSO, 1,
ADSC, 1,
ADSR, 1,
ADIS, 1,
ADDS, 3
}
If ((Arg1 != ADTD))
{
If ((Arg1 == Zero))
{
PG1A = One
ADTD = Zero
ADPD = One
Local0 = ADDS /* \_SB_.HSAD.ADDS */
While ((Local0 != 0x07))
{
Local0 = ADDS /* \_SB_.HSAD.ADDS */
}
RQTY = One
RD28 = One
Local0 = SD28 /* \_SB_.SD28 */
While (!Local0)
{
Local0 = SD28 /* \_SB_.SD28 */
}
}
If ((Arg1 == 0x03))
{
RQTY = Zero
RD28 = One
Local0 = SD28 /* \_SB_.SD28 */
While (Local0)
{
Local0 = SD28 /* \_SB_.SD28 */
}
ADPD = Zero
Local0 = ADDS /* \_SB_.HSAD.ADDS */
While ((Local0 != Zero))
{
Local0 = ADDS /* \_SB_.HSAD.ADDS */
}
ADTD = 0x03
PG1A = Zero
}
}
}
OperationRegion (FPIC, SystemIO, 0x0C00, 0x02)
Field (FPIC, AnyAcc, NoLock, Preserve)
{
FPII, 8,
FPID, 8
}
IndexField (FPII, FPID, ByteAcc, NoLock, Preserve)
{
Offset (0xF4),
IUA0, 8,
IUA1, 8,
Offset (0xF8),
IUA2, 8,
IUA3, 8
}
Device (HFP1)
{
Name (_HID, "AMDI0060") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (HFPE)
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0xFEC11000, // Address Base
0x00000100, // Address Length
)
})
Return (RBUF) /* \_SB_.HFP1._CRS.RBUF */
}
}
Device (GPIO)
{
Name (_HID, "AMDI0030") // _HID: Hardware ID
Name (_CID, "AMDI0030") // _CID: Compatible ID
Name (_UID, Zero) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
{
0x00000007,
}
Memory32Fixed (ReadWrite,
0xFED81500, // Address Base
0x00000400, // Address Length
)
Memory32Fixed (ReadWrite,
0xFED81200, // Address Base
0x00000100, // Address Length
)
})
Return (RBUF) /* \_SB_.GPIO._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (FUR0)
{
Name (_HID, "AMDI0020") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{3}
Memory32Fixed (ReadWrite,
0xFEDC9000, // Address Base
0x00001000, // Address Length
)
Memory32Fixed (ReadWrite,
0xFEDC7000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((UT0E == One))
{
If ((FUIO (Zero) != 0x0F))
{
Return (Zero)
}
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
}
Device (FUR1)
{
Name (_HID, "AMDI0020") // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{4}
Memory32Fixed (ReadWrite,
0xFEDCA000, // Address Base
0x00001000, // Address Length
)
Memory32Fixed (ReadWrite,
0xFEDC8000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((UT1E == One))
{
If ((FUIO (One) != 0x0F))
{
Return (Zero)
}
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
}
Device (FUR2)
{
Name (_HID, "AMDI0020") // _HID: Hardware ID
Name (_UID, 0x02) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{3}
Memory32Fixed (ReadWrite,
0xFEDCE000, // Address Base
0x00001000, // Address Length
)
Memory32Fixed (ReadWrite,
0xFEDCC000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((UT2E == One))
{
If ((FUIO (0x02) != 0x0F))
{
Return (Zero)
}
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
}
Device (FUR3)
{
Name (_HID, "AMDI0020") // _HID: Hardware ID
Name (_UID, 0x03) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{4}
Memory32Fixed (ReadWrite,
0xFEDCF000, // Address Base
0x00001000, // Address Length
)
Memory32Fixed (ReadWrite,
0xFEDCD000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((UT3E == One))
{
If ((FUIO (0x03) != 0x0F))
{
Return (Zero)
}
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
}
Device (I2CA)
{
Name (_HID, "AMDI0010") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{10}
Memory32Fixed (ReadWrite,
0xFEDC2000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((IC0E == One))
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (RSET, 0, NotSerialized)
{
SRAD (0x05, 0xC8)
}
}
Device (I2CB)
{
Name (_HID, "AMDI0010") // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{11}
Memory32Fixed (ReadWrite,
0xFEDC3000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((IC1E == One))
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (RSET, 0, NotSerialized)
{
SRAD (0x06, 0xC8)
}
}
Device (I2CC)
{
Name (_HID, "AMDI0010") // _HID: Hardware ID
Name (_UID, 0x02) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{4}
Memory32Fixed (ReadWrite,
0xFEDC4000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((IC2E == One))
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (RSET, 0, NotSerialized)
{
SRAD (0x07, 0xC8)
}
}
Device (I2CD)
{
Name (_HID, "AMDI0010") // _HID: Hardware ID
Name (_UID, 0x03) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{6}
Memory32Fixed (ReadWrite,
0xFEDC5000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((IC3E == One))
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (RSET, 0, NotSerialized)
{
SRAD (0x08, 0xC8)
}
}
Device (I2CE)
{
Name (_HID, "AMDI0010") // _HID: Hardware ID
Name (_UID, 0x04) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{14}
Memory32Fixed (ReadWrite,
0xFEDC6000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((IC4E == One))
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (RSET, 0, NotSerialized)
{
SRAD (0x09, 0xC8)
}
}
Device (I2CF)
{
Name (_HID, "AMDI0010") // _HID: Hardware ID
Name (_UID, 0x05) // _UID: Unique ID
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
IRQ (Edge, ActiveHigh, Exclusive, )
{15}
Memory32Fixed (ReadWrite,
0xFEDCB000, // Address Base
0x00001000, // Address Length
)
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If ((IC5E == One))
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (RSET, 0, NotSerialized)
{
SRAD (0x0A, 0xC8)
}
}
Method (EPIN, 0, NotSerialized)
{
IPDE = Zero
IMPE = Zero
IM15 = One
IM16 = One
IM20 = One
IM44 = One
IM46 = One
IM68 = One
IM69 = One
IM6A = One
IM6B = One
IM4A = One
IM58 = One
IM4B = One
IM57 = One
IM6D = One
IM1F = One
SECR ()
}
Name (NCRS, ResourceTemplate ()
{
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
{
0x00000005,
}
Memory32Fixed (ReadWrite,
0xFEDD5000, // Address Base
0x00001000, // Address Length
)
})
Name (DCRS, ResourceTemplate ()
{
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
{
0x00000005,
}
Memory32Fixed (ReadWrite,
0xFEDD5000, // Address Base
0x00001000, // Address Length
)
GpioInt (Edge, ActiveBoth, SharedAndWake, PullUp, 0x0BB8,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0044
}
GpioIo (Shared, PullUp, 0x0000, 0x0000, IoRestrictionNone,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0044
}
})
Name (AHID, "AMDI0040")
Name (ACID, "AMDI0040")
Name (SHID, 0x400DD041)
Name (SCID, "PCICC_080501")
Device (EMM0)
{
Method (_HID, 0, Serialized) // _HID: Hardware ID
{
If (EMMD)
{
Return (SHID) /* \_SB_.SHID */
}
Else
{
Return (AHID) /* \_SB_.AHID */
}
}
Method (_CID, 0, Serialized) // _CID: Compatible ID
{
If (EMMD)
{
Return (SCID) /* \_SB_.SCID */
}
Else
{
Return (ACID) /* \_SB_.ACID */
}
}
Name (_UID, Zero) // _UID: Unique ID
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
If (EMD3)
{
Return (DCRS) /* \_SB_.DCRS */
}
Else
{
Return (NCRS) /* \_SB_.NCRS */
}
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((TSOS >= 0x70))
{
If (EMME)
{
Return (0x0F)
}
Return (Zero)
}
Else
{
Return (Zero)
}
}
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
If (EMME)
{
EPIN ()
}
}
Method (_S0W, 0, NotSerialized) // _S0W: S0 Device Wake State
{
If ((EMD3 && EMME))
{
Return (0x04)
}
Else
{
Return (Zero)
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
If ((EMD3 && EMME))
{
HSAD (0x1C, Zero)
RECR ()
}
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
If ((EMD3 && EMME))
{
HSAD (0x1C, 0x03)
}
}
}
}
Scope (_SB.PCI0)
{
Device (UAR1)
{
Name (_HID, EisaId ("PNP0500") /* Standard PC COM Serial Port */) // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Name (_DDN, "COM1") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((FUIO (Zero) != 0x0F))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x02E8, // Range Minimum
0x02E8, // Range Maximum
0x01, // Alignment
0x08, // Length
_Y09)
IRQNoFlags (_Y0A)
{3}
})
CreateByteField (BUF0, \_SB.PCI0.UAR1._CRS._Y09._MIN, IOLO) // _MIN: Minimum Base Address
CreateByteField (BUF0, 0x03, IOHI)
CreateByteField (BUF0, \_SB.PCI0.UAR1._CRS._Y09._MAX, IORL) // _MAX: Maximum Base Address
CreateByteField (BUF0, 0x05, IORH)
CreateWordField (BUF0, \_SB.PCI0.UAR1._CRS._Y0A._INT, IRQL) // _INT: Interrupts
Local0 = FUIO (Zero)
Switch (ToInteger (Local0))
{
Case (Zero)
{
IOLO = 0xE8
IOHI = 0x02
IORL = 0xE8
IORH = 0x02
}
Case (One)
{
IOLO = 0xF8
IOHI = 0x02
IORL = 0xF8
IORH = 0x02
}
Case (0x02)
{
IOLO = 0xE8
IOHI = 0x03
IORL = 0xE8
IORH = 0x03
}
Case (0x03)
{
IOLO = 0xF8
IOHI = 0x03
IORL = 0xF8
IORH = 0x03
}
}
Local1 = IUA0 /* \_SB_.IUA0 */
IRQL = (One << (Local1 & 0x0F))
Return (BUF0) /* \_SB_.PCI0.UAR1._CRS.BUF0 */
}
}
Device (UAR2)
{
Name (_HID, EisaId ("PNP0500") /* Standard PC COM Serial Port */) // _HID: Hardware ID
Name (_UID, 0x02) // _UID: Unique ID
Name (_DDN, "COM2") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((FUIO (One) != 0x0F))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x02F8, // Range Minimum
0x02F8, // Range Maximum
0x01, // Alignment
0x08, // Length
_Y0B)
IRQNoFlags (_Y0C)
{4}
})
CreateByteField (BUF0, \_SB.PCI0.UAR2._CRS._Y0B._MIN, IOLO) // _MIN: Minimum Base Address
CreateByteField (BUF0, 0x03, IOHI)
CreateByteField (BUF0, \_SB.PCI0.UAR2._CRS._Y0B._MAX, IORL) // _MAX: Maximum Base Address
CreateByteField (BUF0, 0x05, IORH)
CreateWordField (BUF0, \_SB.PCI0.UAR2._CRS._Y0C._INT, IRQL) // _INT: Interrupts
Local0 = FUIO (One)
Switch (ToInteger (Local0))
{
Case (Zero)
{
IOLO = 0xE8
IOHI = 0x02
IORL = 0xE8
IORH = 0x02
}
Case (One)
{
IOLO = 0xF8
IOHI = 0x02
IORL = 0xF8
IORH = 0x02
}
Case (0x02)
{
IOLO = 0xE8
IOHI = 0x03
IORL = 0xE8
IORH = 0x03
}
Case (0x03)
{
IOLO = 0xF8
IOHI = 0x03
IORL = 0xF8
IORH = 0x03
}
}
Local1 = IUA1 /* \_SB_.IUA1 */
IRQL = (One << (Local1 & 0x0F))
Return (BUF0) /* \_SB_.PCI0.UAR2._CRS.BUF0 */
}
}
Device (UAR3)
{
Name (_HID, EisaId ("PNP0500") /* Standard PC COM Serial Port */) // _HID: Hardware ID
Name (_UID, 0x03) // _UID: Unique ID
Name (_DDN, "COM3") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((FUIO (0x02) != 0x0F))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x03E8, // Range Minimum
0x03E8, // Range Maximum
0x01, // Alignment
0x08, // Length
_Y0D)
IRQNoFlags (_Y0E)
{3}
})
CreateByteField (BUF0, \_SB.PCI0.UAR3._CRS._Y0D._MIN, IOLO) // _MIN: Minimum Base Address
CreateByteField (BUF0, 0x03, IOHI)
CreateByteField (BUF0, \_SB.PCI0.UAR3._CRS._Y0D._MAX, IORL) // _MAX: Maximum Base Address
CreateByteField (BUF0, 0x05, IORH)
CreateWordField (BUF0, \_SB.PCI0.UAR3._CRS._Y0E._INT, IRQL) // _INT: Interrupts
Local0 = FUIO (0x02)
Switch (ToInteger (Local0))
{
Case (Zero)
{
IOLO = 0xE8
IOHI = 0x02
IORL = 0xE8
IORH = 0x02
}
Case (One)
{
IOLO = 0xF8
IOHI = 0x02
IORL = 0xF8
IORH = 0x02
}
Case (0x02)
{
IOLO = 0xE8
IOHI = 0x03
IORL = 0xE8
IORH = 0x03
}
Case (0x03)
{
IOLO = 0xF8
IOHI = 0x03
IORL = 0xF8
IORH = 0x03
}
}
Local1 = IUA2 /* \_SB_.IUA2 */
IRQL = (One << (Local1 & 0x0F))
Return (BUF0) /* \_SB_.PCI0.UAR3._CRS.BUF0 */
}
}
Device (UAR4)
{
Name (_HID, EisaId ("PNP0500") /* Standard PC COM Serial Port */) // _HID: Hardware ID
Name (_UID, 0x04) // _UID: Unique ID
Name (_DDN, "COM4") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((FUIO (0x03) != 0x0F))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Name (BUF0, ResourceTemplate ()
{
IO (Decode16,
0x03F8, // Range Minimum
0x03F8, // Range Maximum
0x01, // Alignment
0x08, // Length
_Y0F)
IRQNoFlags (_Y10)
{4}
})
CreateByteField (BUF0, \_SB.PCI0.UAR4._CRS._Y0F._MIN, IOLO) // _MIN: Minimum Base Address
CreateByteField (BUF0, 0x03, IOHI)
CreateByteField (BUF0, \_SB.PCI0.UAR4._CRS._Y0F._MAX, IORL) // _MAX: Maximum Base Address
CreateByteField (BUF0, 0x05, IORH)
CreateWordField (BUF0, \_SB.PCI0.UAR4._CRS._Y10._INT, IRQL) // _INT: Interrupts
Local0 = FUIO (0x03)
Switch (ToInteger (Local0))
{
Case (Zero)
{
IOLO = 0xE8
IOHI = 0x02
IORL = 0xE8
IORH = 0x02
}
Case (One)
{
IOLO = 0xF8
IOHI = 0x02
IORL = 0xF8
IORH = 0x02
}
Case (0x02)
{
IOLO = 0xE8
IOHI = 0x03
IORL = 0xE8
IORH = 0x03
}
Case (0x03)
{
IOLO = 0xF8
IOHI = 0x03
IORL = 0xF8
IORH = 0x03
}
}
Local1 = IUA3 /* \_SB_.IUA3 */
IRQL = (One << (Local1 & 0x0F))
Return (BUF0) /* \_SB_.PCI0.UAR4._CRS.BUF0 */
}
}
}
Scope (_SB.FUR0)
{
Device (UART)
{
Name (_HID, "UTK0001") // _HID: Hardware ID
Name (_CID, "UARTTest") // _CID: Compatible ID
Name (_UID, Zero) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne,
0xC0, LittleEndian, ParityTypeNone, FlowControlHardware,
0x0020, 0x0020, "\\_SB.FUR0",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.FUR0.UART._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.FUR1)
{
Device (UART)
{
Name (_HID, "UTK0001") // _HID: Hardware ID
Name (_CID, "UARTTest") // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne,
0xC0, LittleEndian, ParityTypeNone, FlowControlHardware,
0x0020, 0x0020, "\\_SB.FUR1",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.FUR1.UART._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CA)
{
Device (WTP1)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK0001") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x007F, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.WTP1._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MTP1)
{
Name (_HID, "STK0001") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB_.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.MTP1._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WTP2)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK0002") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.WTP2._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MTP2)
{
Name (_HID, "STK0002") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB_.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.MTP2._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WTP3)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK0003") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.WTP3._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MTP3)
{
Name (_HID, "STK0003") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB_.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.MTP3._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WTP4)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK0004") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.WTP4._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MTP4)
{
Name (_HID, "STK0004") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0014, ControllerInitiated, 0x000222E0,
AddressingMode7Bit, "\\_SB_.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.MTP4._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MTP5)
{
Name (_HID, "STK0005") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00053020,
AddressingMode7Bit, "\\_SB_.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CA.MTP5._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CB)
{
Device (WT21)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00012") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF2") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x007F, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.WT21._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT21)
{
Name (_HID, "STK00012") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB_.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.MT21._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT22)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00022") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF2") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.WT22._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT22)
{
Name (_HID, "STK00022") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB_.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.MT22._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT23)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00032") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF2") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.WT23._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT23)
{
Name (_HID, "STK00032") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB_.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.MT23._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT24)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00042") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF2") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.WT24._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT24)
{
Name (_HID, "STK00042") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0014, ControllerInitiated, 0x000222E0,
AddressingMode7Bit, "\\_SB_.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.MT24._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT25)
{
Name (_HID, "STK00052") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00053020,
AddressingMode7Bit, "\\_SB_.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CB.MT25._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CC)
{
Device (WT31)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00013") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF3") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x007F, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.WT31._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT31)
{
Name (_HID, "STK00013") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB_.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.MT31._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT32)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00023") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF3") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.WT32._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT32)
{
Name (_HID, "STK00023") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB_.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.MT32._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT33)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00033") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF3") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.WT33._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT33)
{
Name (_HID, "STK00033") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB_.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.MT33._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT34)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00043") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF3") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.WT34._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT34)
{
Name (_HID, "STK00043") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0014, ControllerInitiated, 0x000222E0,
AddressingMode7Bit, "\\_SB_.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.MT34._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT35)
{
Name (_HID, "STK00053") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00053020,
AddressingMode7Bit, "\\_SB_.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CC.MT35._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CD)
{
Device (HWSP)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "HWSP0001") // _HID: Hardware ID
Name (_SUB, "1EC9324C") // _SUB: Subsystem ID
Name (_CID, "HWSP0001") // _CID: Compatible ID
Name (_DDN, "HWSP0001") // _DDN: DOS Device Name
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBFB, ResourceTemplate ()
{
I2cSerialBusV2 (0x001A, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Name (PBUF, ResourceTemplate ()
{
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x001E
}
})
Name (UBUF, ResourceTemplate ()
{
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0083
}
})
Name (XBUF, ResourceTemplate ()
{
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0008
}
})
Name (GBUF, ResourceTemplate ()
{
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0004
}
})
Name (IBUF, ResourceTemplate ()
{
GpioInt (Edge, ActiveLow, Exclusive, PullDefault, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0073
}
})
If ((PBID == 0x02))
{
Return (ConcatenateResTemplate (SBFB, ConcatenateResTemplate (PBUF, ConcatenateResTemplate (UBUF, ConcatenateResTemplate (GBUF, IBUF))
)))
}
Else
{
Return (ConcatenateResTemplate (SBFB, ConcatenateResTemplate (PBUF, ConcatenateResTemplate (XBUF, ConcatenateResTemplate (GBUF, IBUF))
)))
}
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
}
Device (WT41)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00014") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF4") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x007F, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.WT41._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT41)
{
Name (_HID, "STK00014") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB_.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.MT41._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT42)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00024") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF4") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0011, ControllerInitiated, 0x000186A0,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.WT42._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT42)
{
Name (_HID, "STK00024") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB_.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.MT42._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT43)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00034") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF4") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0012, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.WT43._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT43)
{
Name (_HID, "STK00034") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB_.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.MT43._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (WT44)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "STK00044") // _HID: Hardware ID
Name (_CID, "SPBTestKMDF4") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0013, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.WT44._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == One))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT44)
{
Name (_HID, "STK00044") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0014, ControllerInitiated, 0x000222E0,
AddressingMode7Bit, "\\_SB_.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.MT44._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
Device (MT45)
{
Name (_HID, "STK00054") // _HID: Hardware ID
Name (_CID, "WITTTest") // _CID: Compatible ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00053020,
AddressingMode7Bit, "\\_SB_.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (RBUF) /* \_SB_.I2CD.MT45._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MWTT == Zero))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CA)
{
Device (NFC1)
{
Name (_HID, EisaId ("NXP8013")) // _HID: Hardware ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0029, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0045
}
GpioIo (Exclusive, PullNone, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0057
}
GpioIo (Exclusive, PullNone, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0059
}
})
Return (RBUF) /* \_SB_.I2CA.NFC1._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (NFCS == Zero)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CB)
{
Device (NFC1)
{
Name (_HID, EisaId ("NXP8013")) // _HID: Hardware ID
Name (_UID, 0x02) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0029, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0045
}
GpioIo (Exclusive, PullNone, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0057
}
GpioIo (Exclusive, PullNone, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0059
}
})
Return (RBUF) /* \_SB_.I2CB.NFC1._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (NFCS == One)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CC)
{
Device (NFC1)
{
Name (_HID, EisaId ("NXP8013")) // _HID: Hardware ID
Name (_UID, 0x03) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0029, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0045
}
GpioIo (Exclusive, PullNone, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0057
}
GpioIo (Exclusive, PullNone, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0059
}
})
Return (RBUF) /* \_SB_.I2CC.NFC1._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (NFCS == 0x02)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CD)
{
Device (NFC1)
{
Name (_HID, "NTAG0001") // _HID: Hardware ID
Name (_UID, 0x04) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0057, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullDown, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0059
}
})
Return (RBUF) /* \_SB_.I2CD.NFC1._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (NFCS == 0x03)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
Scope (_SB.I2CA)
{
Device (TPNL)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x004A, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CA.TPNL._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == Zero)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (Zero)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Device (ELAN)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CA.ELAN._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == 0x10)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (One)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CB)
{
Device (TPNL)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x02) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x004A, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CB.TPNL._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == One)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (Zero)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Device (ELAN)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CB.ELAN._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == 0x11)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (One)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CC)
{
Device (TPNL)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x03) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x004A, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CC.TPNL._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == 0x02)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (Zero)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Device (ELAN)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CC.ELAN._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == 0x12)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (One)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CD)
{
Device (TPNL)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x04) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x004A, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CD.TPNL._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == 0x03)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (Zero)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Device (ELAN)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x000F4240,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, Shared, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x000C
}
})
Return (RBUF) /* \_SB_.I2CD.ELAN._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPN == 0x13)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (One)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CA)
{
Device (TPDD)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x05) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0054
}
})
Return (RBUF) /* \_SB_.I2CA.TPDD._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPD == Zero)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (One)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CB)
{
Device (TPDD)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x06) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x002C, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0009
}
})
Return (RBUF) /* \_SB_.I2CB.TPDD._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPD == One)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (0x20)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CC)
{
Device (TPDD)
{
Name (_HID, EisaId ("PNP0C50") /* HID Protocol Device (I2C bus) */) // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x07) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x002C, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0009
}
})
Return (RBUF) /* \_SB_.I2CC.TPDD._CRS.RBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPD == 0x02)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
Return (0x20)
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CD)
{
Device (TPDD)
{
Name (_HID, "PNP0C500") // _HID: Hardware ID
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
If ((TPTY == 0x03))
{
_HID = "QXTP7868"
}
}
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
Name (_UID, 0x08) // _UID: Unique ID
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
If ((TPTY == 0x02))
{
Name (SBFS, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
}
If ((TPTY == 0x03))
{
Name (SBFG, ResourceTemplate ()
{
I2cSerialBusV2 (0x005D, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
}
Name (SBFI, ResourceTemplate ()
{
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0009
}
})
If ((TPTY == 0x02))
{
Return (ConcatenateResTemplate (SBFS, SBFI))
}
If ((TPTY == 0x03))
{
Return (ConcatenateResTemplate (SBFG, SBFI))
}
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (THPD == 0x03)))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
If (Arg0) {}
Else
{
}
}
Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
{
}
Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
{
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (Zero)
{
Switch (ToInteger (Arg1))
{
Case (One)
{
Return (Buffer (One)
{
0x03 // .
})
}
Default
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Case (One)
{
If ((TPTY == 0x02))
{
Return (0x20)
}
If ((TPTY == 0x03))
{
Return (One)
}
}
Default
{
Return (Zero)
}
}
}
Else
{
Return (Buffer (One)
{
0x00 // .
})
}
}
}
}
Scope (_SB.I2CA)
{
Device (CMSR)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _HID: Hardware ID
Name (_CID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Name (_DEP, Package (0x01) // _DEP: Dependencies
{
I2CA
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (ALST == Zero)))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CA",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0090
}
})
Return (SBUF) /* \_SB_.I2CA.CMSR._CRS.SBUF */
}
Name (CPM0, Package (0x07)
{
0x7DB5,
One,
0x0F,
0x0840,
0x013B,
0x011D,
Zero
})
Name (CPM1, Package (0x03)
{
0x0898,
0x000186A0,
0x000186A0
})
Name (CPM2, Package (0x06)
{
0x61A8,
0x000186A0,
0x000186A0,
0x000186A0,
0x00030D40,
0x00186A00
})
Name (CPM3, Package (0x04)
{
Package (0x02)
{
0x3C,
0x0A
},
Package (0x02)
{
0x64,
0x0B
},
Package (0x02)
{
0x64,
0x1F40
},
Package (0x02)
{
0x01F4,
0x1F41
}
})
Name (CPM5, Package (0x07)
{
Zero,
0x000249F0,
0x0190,
0x03E8,
0x02,
0x32,
0x05
})
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("0703c6b6-1cca-4144-9fe7-4654f53a0bd9") /* Unknown UUID */))
{
If ((Arg2 == Zero))
{
Return (Buffer (One)
{
0x03 // .
})
}
If ((Arg2 == One))
{
If ((ToInteger (Arg3) == Zero))
{
Return (CPM0) /* \_SB_.I2CA.CMSR.CPM0 */
}
If ((ToInteger (Arg3) == One))
{
Return (CPM1) /* \_SB_.I2CA.CMSR.CPM1 */
}
If ((ToInteger (Arg3) == 0x02))
{
Return (CPM2) /* \_SB_.I2CA.CMSR.CPM2 */
}
If ((ToInteger (Arg3) == 0x03))
{
Return (CPM3) /* \_SB_.I2CA.CMSR.CPM3 */
}
If ((ToInteger (Arg3) == 0x05))
{
Return (CPM5) /* \_SB_.I2CA.CMSR.CPM5 */
}
}
}
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Scope (_SB.I2CB)
{
Device (CMSR)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _HID: Hardware ID
Name (_CID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Name (_DEP, Package (0x01) // _DEP: Dependencies
{
I2CB
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (ALST == One)))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CB",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0090
}
})
Return (SBUF) /* \_SB_.I2CB.CMSR._CRS.SBUF */
}
Name (CPM0, Package (0x07)
{
0x7DB5,
One,
0x0F,
0x0840,
0x013B,
0x011D,
Zero
})
Name (CPM1, Package (0x03)
{
0x0898,
0x000186A0,
0x000186A0
})
Name (CPM2, Package (0x06)
{
0x61A8,
0x000186A0,
0x000186A0,
0x000186A0,
0x00030D40,
0x00186A00
})
Name (CPM3, Package (0x04)
{
Package (0x02)
{
0x3C,
0x0A
},
Package (0x02)
{
0x64,
0x0B
},
Package (0x02)
{
0x64,
0x1F40
},
Package (0x02)
{
0x01F4,
0x1F41
}
})
Name (CPM5, Package (0x07)
{
Zero,
0x000249F0,
0x0190,
0x03E8,
0x02,
0x32,
0x05
})
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("0703c6b6-1cca-4144-9fe7-4654f53a0bd9") /* Unknown UUID */))
{
If ((Arg2 == Zero))
{
Return (Buffer (One)
{
0x03 // .
})
}
If ((Arg2 == One))
{
If ((ToInteger (Arg3) == Zero))
{
Return (CPM0) /* \_SB_.I2CB.CMSR.CPM0 */
}
If ((ToInteger (Arg3) == One))
{
Return (CPM1) /* \_SB_.I2CB.CMSR.CPM1 */
}
If ((ToInteger (Arg3) == 0x02))
{
Return (CPM2) /* \_SB_.I2CB.CMSR.CPM2 */
}
If ((ToInteger (Arg3) == 0x03))
{
Return (CPM3) /* \_SB_.I2CB.CMSR.CPM3 */
}
If ((ToInteger (Arg3) == 0x05))
{
Return (CPM5) /* \_SB_.I2CB.CMSR.CPM5 */
}
}
}
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Scope (_SB.I2CC)
{
Device (CMSR)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _HID: Hardware ID
Name (_CID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Name (_DEP, Package (0x01) // _DEP: Dependencies
{
I2CC
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (ALST == 0x02)))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CC",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0090
}
})
Return (SBUF) /* \_SB_.I2CC.CMSR._CRS.SBUF */
}
Name (CPM0, Package (0x07)
{
0x7DB5,
One,
0x0F,
0x0840,
0x013B,
0x011D,
Zero
})
Name (CPM1, Package (0x03)
{
0x0898,
0x000186A0,
0x000186A0
})
Name (CPM2, Package (0x06)
{
0x61A8,
0x000186A0,
0x000186A0,
0x000186A0,
0x00030D40,
0x00186A00
})
Name (CPM3, Package (0x04)
{
Package (0x02)
{
0x3C,
0x0A
},
Package (0x02)
{
0x64,
0x0B
},
Package (0x02)
{
0x64,
0x1F40
},
Package (0x02)
{
0x01F4,
0x1F41
}
})
Name (CPM5, Package (0x07)
{
Zero,
0x000249F0,
0x0190,
0x03E8,
0x02,
0x32,
0x05
})
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("0703c6b6-1cca-4144-9fe7-4654f53a0bd9") /* Unknown UUID */))
{
If ((Arg2 == Zero))
{
Return (Buffer (One)
{
0x03 // .
})
}
If ((Arg2 == One))
{
If ((ToInteger (Arg3) == Zero))
{
Return (CPM0) /* \_SB_.I2CC.CMSR.CPM0 */
}
If ((ToInteger (Arg3) == One))
{
Return (CPM1) /* \_SB_.I2CC.CMSR.CPM1 */
}
If ((ToInteger (Arg3) == 0x02))
{
Return (CPM2) /* \_SB_.I2CC.CMSR.CPM2 */
}
If ((ToInteger (Arg3) == 0x03))
{
Return (CPM3) /* \_SB_.I2CC.CMSR.CPM3 */
}
If ((ToInteger (Arg3) == 0x05))
{
Return (CPM5) /* \_SB_.I2CC.CMSR.CPM5 */
}
}
}
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Scope (_SB.I2CD)
{
Device (CMSR)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _HID: Hardware ID
Name (_CID, "CPLM3218" /* Capella Micro CM3218x Ambient Light Sensor */) // _CID: Compatible ID
Name (_UID, One) // _UID: Unique ID
Name (_DEP, Package (0x01) // _DEP: Dependencies
{
I2CD
})
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (((TPOS >= 0x60) & (ALST == 0x03)))
{
Return (0x0F)
}
Return (Zero)
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0090
}
})
Return (SBUF) /* \_SB_.I2CD.CMSR._CRS.SBUF */
}
Name (CPM0, Package (0x07)
{
0x7DB5,
One,
0x0F,
0x0840,
0x013B,
0x011D,
Zero
})
Name (CPM1, Package (0x03)
{
0x0898,
0x000186A0,
0x000186A0
})
Name (CPM2, Package (0x06)
{
0x61A8,
0x000186A0,
0x000186A0,
0x000186A0,
0x00030D40,
0x00186A00
})
Name (CPM3, Package (0x04)
{
Package (0x02)
{
0x3C,
0x0A
},
Package (0x02)
{
0x64,
0x0B
},
Package (0x02)
{
0x64,
0x1F40
},
Package (0x02)
{
0x01F4,
0x1F41
}
})
Name (CPM5, Package (0x07)
{
Zero,
0x000249F0,
0x0190,
0x03E8,
0x02,
0x32,
0x05
})
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("0703c6b6-1cca-4144-9fe7-4654f53a0bd9") /* Unknown UUID */))
{
If ((Arg2 == Zero))
{
Return (Buffer (One)
{
0x03 // .
})
}
If ((Arg2 == One))
{
If ((ToInteger (Arg3) == Zero))
{
Return (CPM0) /* \_SB_.I2CD.CMSR.CPM0 */
}
If ((ToInteger (Arg3) == One))
{
Return (CPM1) /* \_SB_.I2CD.CMSR.CPM1 */
}
If ((ToInteger (Arg3) == 0x02))
{
Return (CPM2) /* \_SB_.I2CD.CMSR.CPM2 */
}
If ((ToInteger (Arg3) == 0x03))
{
Return (CPM3) /* \_SB_.I2CD.CMSR.CPM3 */
}
If ((ToInteger (Arg3) == 0x05))
{
Return (CPM5) /* \_SB_.I2CD.CMSR.CPM5 */
}
}
}
Return (Buffer (One)
{
0x00 // .
})
}
}
}
Scope (_TZ)
{
ThermalZone (TZ01)
{
Name (CRTT, 0x78)
Name (PSVT, 0x6E)
Name (TSPS, 0x14)
Method (_TMP, 0, Serialized) // _TMP: Temperature
{
If (\_SB.PCI0.LPC0.ECOK ())
{
Local0 = \_SB.PCI0.LPC0.EC0.TCPU
Return ((0x0AAC + (Local0 * 0x0A)))
}
Else
{
Return (0x0B74)
}
}
Method (_PSL, 0, Serialized) // _PSL: Passive List
{
Return (Package (0x10)
{
\_SB.PLTF.C000,
\_SB.PLTF.C001,
\_SB.PLTF.C002,
\_SB.PLTF.C003,
\_SB.PLTF.C004,
\_SB.PLTF.C005,
\_SB.PLTF.C006,
\_SB.PLTF.C007,
\_SB.PLTF.C008,
\_SB.PLTF.C009,
\_SB.PLTF.C00A,
\_SB.PLTF.C00B,
\_SB.PLTF.C00C,
\_SB.PLTF.C00D,
\_SB.PLTF.C00E,
\_SB.PLTF.C00F
})
}
Method (_CRT, 0, Serialized) // _CRT: Critical Temperature
{
Return ((0x0AAC + (CRTT * 0x0A)))
}
Method (_TC1, 0, Serialized) // _TC1: Thermal Constant 1
{
Return (One)
}
Method (_TC2, 0, Serialized) // _TC2: Thermal Constant 2
{
Return (0x02)
}
Method (_TSP, 0, Serialized) // _TSP: Thermal Sampling Period
{
Return (TSPS) /* \_TZ_.TZ01.TSPS */
}
}
}
Device (HWWD)
{
Name (_HID, EisaId ("WDT0001")) // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Method (GFUC, 0, Serialized)
{
Return (0x06)
}
Method (OWDT, 0, NotSerialized)
{
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.ECDT = One
}
Return (0xFF01)
}
Method (CWDT, 0, NotSerialized)
{
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.ECDT = Zero
}
Return (0xFF02)
}
Method (SWDT, 1, NotSerialized)
{
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.ECTL = 0x68
\_SB.PCI0.LPC0.EC0.ECTH = One
}
Return (Arg0)
}
Method (FWDT, 1, NotSerialized)
{
If (\_SB.PCI0.LPC0.ECOK ())
{
\_SB.PCI0.LPC0.EC0.ECSX = Arg0
}
Return (0xFF04)
}
Method (SSMI, 0, NotSerialized)
{
Return (0xFF05)
}
Method (SSXS, 1, Serialized)
{
ACMX = 0x10
ACMA = Arg0
Return (0xFF06)
}
Method (GSXS, 0, Serialized)
{
ACMX = 0x10
Local0 = ACMA /* \ACMA */
Return (Local0)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment