/* * Intel ACPI Component Architecture * AML Disassembler version 20100528 * * Disassembly of DSDT.dat, Sun Jul 17 23:07:11 2011 * * * Original Table Header: * Signature "DSDT" * Length 0x0000C7C6 (51142) * Revision 0x02 * Checksum 0x73 * OEM ID "_ASUS_" * OEM Table ID "Notebook" * OEM Revision 0x00000000 (0) * Compiler ID "INTL" * Compiler Version 0x20091112 (537465106) */ DefinitionBlock ("DSDT.aml", "DSDT", 2, "_ASUS_", "Notebook", 0x00000000) { External (ALIB, MethodObj) // 2 Arguments External (\_PR_.P003._PPC) External (\_PR_.P002._PPC) External (\_PR_.P001._PPC) External (\_PR_.P000._PPC) External (\_PR_.P000._PSS) Name (SMBB, 0x0B20) Name (SMBL, 0x20) Name (SMB0, 0x0B00) Name (SMBM, 0x10) Name (PMBS, 0x0800) Name (PMLN, 0xA0) Name (SMIO, 0xB2) Name (GPBS, Zero) Name (GPLN, Zero) Name (APCB, 0xFEC00000) Name (APCL, 0x1000) Name (SPIB, 0xFEC10000) Name (SPIL, 0x1000) Name (HPTB, 0xFED00000) Name (HPTL, 0x1000) Name (GIOB, 0xFED80100) Name (IOMB, 0xFED80D00) Name (SMIB, 0xFED80200) Name (ACPH, 0xDE) Name (ASSB, Zero) Name (AOTB, Zero) Name (AAXB, Zero) Name (PEHP, One) Name (SHPC, Zero) Name (PEPM, One) Name (PEER, One) Name (PECS, One) Name (ITKE, Zero) Name (PEBS, 0xE0000000) Name (PEBL, 0x10000000) Name (DSSP, Zero) Name (FHPP, One) Name (ATIS, 0x55) Name (MBEC, Zero) Name (OSFG, Zero) Name (FUIF, 0xA5) Name (SMIP, 0xB2) Name (SOAO, 0x47) Name (PICM, Zero) Method (_PIC, 1, NotSerialized) { If (Arg0) { Store (0xAA, DBG8) \_SB.IRQC () } Else { Store (0xAC, DBG8) } Store (Arg0, PICM) } Name (OSVR, Ones) Method (OSFL, 0, NotSerialized) { If (LNotEqual (OSVR, Ones)) { Return (OSVR) } If (LEqual (PICM, Zero)) { Store (0xAC, DBG8) } Store (One, OSVR) If (CondRefOf (\_OSI, Local0)) { If (_OSI ("Linux")) { Store (0x03, OSVR) } If (_OSI ("Windows 2001")) { Store (0x04, OSVR) } If (_OSI ("Windows 2001.1")) { Store (0x05, OSVR) } If (_OSI ("FreeBSD")) { Store (0x06, OSVR) } If (_OSI ("HP-UX")) { Store (0x07, OSVR) } If (_OSI ("OpenVMS")) { Store (0x08, OSVR) } If (_OSI ("Windows 2001 SP1")) { Store (0x09, OSVR) } If (_OSI ("Windows 2001 SP2")) { Store (0x0A, OSVR) } If (_OSI ("Windows 2001 SP3")) { Store (0x0B, OSVR) } If (_OSI ("Windows 2006")) { Store (0x0C, OSVR) } If (_OSI ("Windows 2006 SP1")) { Store (0x0D, OSVR) } If (_OSI ("Windows 2009")) { Store (0x0E, OSVR) } } Else { If (MCTH (_OS, "Microsoft Windows NT")) { Store (Zero, OSVR) } If (MCTH (_OS, "Microsoft Windows")) { Store (One, OSVR) } If (MCTH (_OS, "Microsoft WindowsME: Millennium Edition")) { Store (0x02, OSVR) } If (MCTH (_OS, "Linux")) { Store (0x03, OSVR) } If (MCTH (_OS, "FreeBSD")) { Store (0x06, OSVR) } If (MCTH (_OS, "HP-UX")) { Store (0x07, OSVR) } If (MCTH (_OS, "OpenVMS")) { Store (0x08, OSVR) } } Return (OSVR) } Method (MCTH, 2, NotSerialized) { If (LLess (SizeOf (Arg0), SizeOf (Arg1))) { Return (Zero) } Add (SizeOf (Arg0), One, Local0) Name (BUF0, Buffer (Local0) {}) Name (BUF1, Buffer (Local0) {}) Store (Arg0, BUF0) Store (Arg1, BUF1) While (Local0) { Decrement (Local0) If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index ( BUF1, Local0)))) { Return (Zero) } } Return (One) } Name (PRWP, Package (0x02) { Zero, Zero }) Method (GPRW, 2, NotSerialized) { Store (Arg0, Index (PRWP, Zero)) Store (ShiftLeft (SS1, One), Local0) Or (Local0, ShiftLeft (SS2, 0x02), Local0) Or (Local0, ShiftLeft (SS3, 0x03), Local0) Or (Local0, ShiftLeft (SS4, 0x04), Local0) If (And (ShiftLeft (One, Arg1), Local0)) { Store (Arg1, Index (PRWP, One)) } Else { ShiftRight (Local0, One, Local0) If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) { FindSetLeftBit (Local0, Index (PRWP, One)) } Else { FindSetRightBit (Local0, Index (PRWP, One)) } } Return (PRWP) } Name (WAKP, Package (0x02) { Zero, Zero }) OperationRegion (DEB0, SystemIO, 0x80, One) Field (DEB0, ByteAcc, NoLock, Preserve) { DBG8, 8 } OperationRegion (DEB1, SystemIO, 0x90, 0x02) Field (DEB1, WordAcc, NoLock, Preserve) { DBG9, 16 } Name (SS1, One) Name (SS2, Zero) Name (SS3, One) Name (SS4, One) Name (IOST, 0x4400) Name (TOPM, 0x00000000) Name (ROMS, 0xFFE00000) Name (VGAF, One) OperationRegion (DEB2, SystemIO, 0x80, 0x02) Field (DEB2, WordAcc, NoLock, Preserve) { P80H, 16 } Name (OSTY, Ones) OperationRegion (ACMS, SystemIO, 0x72, 0x10) Field (ACMS, ByteAcc, NoLock, Preserve) { ICMS, 8, DCMS, 8, Offset (0x0E), P80, 8 } IndexField (ICMS, DCMS, ByteAcc, NoLock, Preserve) { Offset (0x01), Offset (0x04), Offset (0x08), BS_A, 32 } OperationRegion (CFGS, SystemMemory, BS_A, 0x0200) Field (CFGS, AnyAcc, NoLock, Preserve) { Offset (0x0C), PCIE, 32, Offset (0x28), EKBC, 8, Offset (0x95), GGN2, 8, Offset (0x10E), OSCF, 8, Offset (0x11E), PRS0, 8, DET0, 8, Offset (0x122), PRS1, 8, DET1, 8, Offset (0x126), PRS2, 8, DET2, 8, Offset (0x12A), PRS3, 8, DET3, 8, Offset (0x133), ABPS, 8, Offset (0x136), GPPS, 8 } OperationRegion (CMPT, SystemIO, 0x0C50, 0x03) Field (CMPT, ByteAcc, NoLock, Preserve) { CMID, 8, , 6, GPCT, 2, GP0I, 1, GP1I, 1, GP2I, 1, GP3I, 1, GP4I, 1, GP5I, 1, GP6I, 1, GP7I, 1 } OperationRegion (PCFG, SystemMemory, PCIE, 0x02000000) Field (PCFG, AnyAcc, NoLock, Preserve) { Offset (0x20078), Offset (0x2007A), PMSA, 1, Offset (0x28078), Offset (0x2807A), PMSB, 1, Offset (0x48078), Offset (0x4807A), PMSC, 1, Offset (0x8800A), STCL, 16, Offset (0x880FC), RMBA, 32, Offset (0xA0004), SMIE, 1, SMME, 1, Offset (0xA0008), RVID, 8, Offset (0xA0014), SMB1, 32, Offset (0xA0082), , 2, G31O, 1, Offset (0xA00E1), , 6, ACIR, 1, Offset (0xA4004), PCMD, 2, Offset (0xA807A), PMS0, 1, Offset (0xA8088), TLS0, 4, Offset (0xA907A), PMS1, 1, Offset (0xA9088), TLS1, 4, Offset (0xAA07A), PMS2, 1, Offset (0xAA088), TLS2, 4, Offset (0xAB07A), PMS3, 1, Offset (0xAB088), TLS3, 4 } OperationRegion (PMIO, SystemIO, 0x0CD6, 0x02) Field (PMIO, ByteAcc, NoLock, Preserve) { INPM, 8, DAPM, 8 } IndexField (INPM, DAPM, ByteAcc, NoLock, Preserve) { Offset (0x0D), EV0S, 1, EV1S, 1, Offset (0x24), MMSO, 32, Offset (0x37), EV0C, 1, EV1C, 1, , 1, Offset (0x60), P1EB, 16 } OperationRegion (ERMM, SystemMemory, MMSO, 0x1000) Field (ERMM, AnyAcc, NoLock, Preserve) { Offset (0x105), , 5, G06E, 1, G06O, 1, G06I, 1, G07B, 8, Offset (0x10A), G0BB, 8, Offset (0x10D), G0EB, 8, Offset (0x113), , 5, G14E, 1, G14O, 1, G14I, 1, , 5, G15E, 1, G15O, 1, G15I, 1, Offset (0x11B), , 7, G1CI, 1, Offset (0x11F), , 7, G20I, 1, Offset (0x122), , 5, G23E, 1, G23O, 1, G23I, 1, Offset (0x12B), , 5, G2CE, 1, G2CO, 1, G2CI, 1, , 5, G2DE, 1, G2DO, 1, G2DI, 1, Offset (0x132), , 5, G33E, 1, G33O, 1, G33I, 1, Offset (0x134), , 5, G35E, 1, G35O, 1, Offset (0x135), , 6, G36O, 1, G36I, 1, , 5, G37E, 1, G37O, 1, G37I, 1, Offset (0x13F), , 7, G40I, 1, Offset (0x164), , 7, GE05, 1, Offset (0x16E), , 7, GE15, 1, , 7, GE16, 1, Offset (0x175), , 7, GE22, 1, Offset (0x1A9), , 5, GAAE, 1, GAAO, 1, GAAI, 1, Offset (0x1AE), GAFB, 8, GB0B, 8, Offset (0x1FF), , 9, GESA, 1, , 12, E22S, 1, Offset (0x207), , 5, E05C, 1, Offset (0x208), E08C, 1, E09C, 1, Offset (0x209), , 6, E22C, 1, Offset (0x20A), , 5, E1DC, 1, Offset (0x2AF), , 2, SLPS, 2, Offset (0x376), EPNM, 1, DPPF, 1, Offset (0x3BA), , 6, PWDE, 1, Offset (0x3BD), , 5, ALLS, 1, Offset (0x3EF), PHYD, 1, , 1, , 1, US5R, 1, Offset (0x3F5), GECD, 1, Offset (0xD05), G06M, 8, G07M, 8, Offset (0xD0A), G0BM, 8, Offset (0xD0D), G0EM, 8, Offset (0xD13), G14M, 8, Offset (0xD1B), G1CM, 8, Offset (0xD1F), G20M, 8, Offset (0xD22), G23M, 8, Offset (0xD2C), G2DM, 8, Offset (0xD36), G37M, 8, Offset (0xD6F), G70M, 8, Offset (0xD75), G76M, 8, Offset (0xDAE), GAFM, 8, GB0M, 8, Offset (0xE7F), , 2, ECEN, 1 } OperationRegion (ABIO, SystemIO, 0x0CD8, 0x08) Field (ABIO, DWordAcc, NoLock, Preserve) { INAB, 32, DAAB, 32 } Method (RDAB, 1, NotSerialized) { Store (Arg0, INAB) Return (DAAB) } Method (WTAB, 2, NotSerialized) { Store (Arg0, INAB) Store (Arg1, DAAB) } Method (RWAB, 3, NotSerialized) { And (RDAB (Arg0), Arg1, Local0) Or (Local0, Arg2, Local1) WTAB (Arg0, Local1) } Method (CABR, 3, NotSerialized) { ShiftLeft (Arg0, 0x05, Local0) Add (Local0, Arg1, Local1) ShiftLeft (Local1, 0x18, Local2) Add (Local2, Arg2, Local3) Return (Local3) } Method (GHPS, 2, NotSerialized) { If (LEqual (Arg0, Zero)) { RWAB (CABR (0x06, Zero, 0xC0), 0xFFFFBFFF, Zero) RWAB (CABR (One, Zero, 0x65), 0xFFFFFBFB, Zero) Stall (0xC8) } If (LEqual (Arg0, One)) { RWAB (CABR (0x06, Zero, 0xC0), 0xFFFFBFFF, 0x4000) RWAB (CABR (One, Zero, 0x65), 0xFFFFFBFB, 0x0404) Stall (0xC8) } If (GGN2) { If (LEqual (Arg0, Zero)) { GEN2 () Store (RDAB (CABR (0x03, 0x02, 0xA5)), Local0) And (Local0, 0xFF, Local0) Store (0x01F4, Local1) While (LAnd (LGreater (Local1, Zero), LNotEqual (Local0, 0x10))) { Store (RDAB (CABR (0x03, 0x02, 0xA5)), Local0) And (Local0, 0xFF, Local0) Decrement (Local1) Stall (0xC8) Stall (0xC8) } If (LNotEqual (Local0, 0x10)) { GEN1 () } } } } Method (GEN2, 0, NotSerialized) { Store (0x02, TLS2) RWAB (CABR (0x03, 0x02, 0xA4), 0xFFFFFFFE, One) RWAB (CABR (0x03, 0x02, 0xA2), 0xFFFFDFFF, 0x2000) RWAB (CABR (0x03, 0x02, 0xC0), 0xFFFF7FFF, 0x8000) RWAB (CABR (0x03, 0x02, 0xA4), 0xDFFFFFFF, 0x20000000) Stall (0xC8) Stall (0xC8) } Method (GEN1, 0, NotSerialized) { Store (One, TLS2) RWAB (CABR (0x03, 0x02, 0xA4), 0xFFFFFFFE, Zero) RWAB (CABR (0x03, 0x02, 0xA2), 0xFFFFDFFF, 0x2000) Stall (0xC8) Stall (0xC8) } OperationRegion (P1E0, SystemIO, P1EB, 0x04) Field (P1E0, ByteAcc, NoLock, Preserve) { , 14, PEWS, 1, WSTA, 1, , 14, PEWD, 1 } Method (SPTS, 1, NotSerialized) { Store (One, PCMD) Store (Arg0, P80) CPMS () CPMS () Store (One, PEWS) } Method (SWAK, 1, NotSerialized) { CPMS () CPMS () Store (One, PEWS) } Method (TRMD, 1, NotSerialized) { } Method (CPMS, 0, NotSerialized) { If (LEqual (EPNM, Zero)) { Store (One, PMSA) Store (One, PMSB) Store (One, PMSC) Store (One, PMS0) Store (One, PMS1) Store (One, PMS2) Store (One, PMS3) } } Scope (_GPE) { } Scope (_SB) { Name (PR00, Package (0x31) { Package (0x04) { 0x0014FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0014FFFF, One, LNKB, Zero }, Package (0x04) { 0x0014FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0014FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0012FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0012FFFF, One, LNKB, Zero }, Package (0x04) { 0x0013FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0013FFFF, One, LNKB, Zero }, Package (0x04) { 0x0016FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0016FFFF, One, LNKB, Zero }, Package (0x04) { 0x0010FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0010FFFF, One, LNKB, Zero }, Package (0x04) { 0x0011FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x0015FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0015FFFF, One, LNKB, Zero }, Package (0x04) { 0x0015FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0015FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0001FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0001FFFF, One, LNKD, Zero }, Package (0x04) { 0x0001FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0001FFFF, 0x03, LNKB, Zero }, Package (0x04) { 0x0002FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0002FFFF, One, LNKD, Zero }, Package (0x04) { 0x0002FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0002FFFF, 0x03, LNKB, Zero }, Package (0x04) { 0x0003FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x0003FFFF, One, LNKA, Zero }, Package (0x04) { 0x0003FFFF, 0x02, LNKB, Zero }, Package (0x04) { 0x0003FFFF, 0x03, LNKC, Zero }, Package (0x04) { 0x0005FFFF, Zero, LNKB, Zero }, Package (0x04) { 0x0005FFFF, One, LNKC, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LNKD, Zero }, Package (0x04) { 0x0005FFFF, 0x03, LNKA, Zero }, Package (0x04) { 0x0006FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0006FFFF, One, LNKD, Zero }, Package (0x04) { 0x0006FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0006FFFF, 0x03, LNKB, Zero }, Package (0x04) { 0x0007FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x0007FFFF, One, LNKA, Zero }, Package (0x04) { 0x0007FFFF, 0x02, LNKB, Zero }, Package (0x04) { 0x0007FFFF, 0x03, LNKC, Zero }, Package (0x04) { 0x0008FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x0008FFFF, One, LNKA, Zero }, Package (0x04) { 0x0008FFFF, 0x02, LNKB, Zero }, Package (0x04) { 0x0008FFFF, 0x03, LNKC, Zero }, Package (0x04) { 0x0004FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0004FFFF, One, LNKB, Zero }, Package (0x04) { 0x0004FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0004FFFF, 0x03, LNKD, Zero } }) Name (AR00, Package (0x31) { Package (0x04) { 0x0014FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0014FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0014FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0014FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0012FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0012FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0013FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0013FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0016FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0016FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0010FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0010FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0011FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x0015FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0015FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0015FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0015FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0001FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0001FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0001FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0001FFFF, 0x03, Zero, 0x11 }, Package (0x04) { 0x0002FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0002FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0002FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0002FFFF, 0x03, Zero, 0x11 }, Package (0x04) { 0x0003FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x0003FFFF, One, Zero, 0x10 }, Package (0x04) { 0x0003FFFF, 0x02, Zero, 0x11 }, Package (0x04) { 0x0003FFFF, 0x03, Zero, 0x12 }, Package (0x04) { 0x0005FFFF, Zero, Zero, 0x11 }, Package (0x04) { 0x0005FFFF, One, Zero, 0x12 }, Package (0x04) { 0x0005FFFF, 0x02, Zero, 0x13 }, Package (0x04) { 0x0005FFFF, 0x03, Zero, 0x10 }, Package (0x04) { 0x0006FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0006FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0006FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0006FFFF, 0x03, Zero, 0x11 }, Package (0x04) { 0x0007FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x0007FFFF, One, Zero, 0x10 }, Package (0x04) { 0x0007FFFF, 0x02, Zero, 0x11 }, Package (0x04) { 0x0007FFFF, 0x03, Zero, 0x12 }, Package (0x04) { 0x0008FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x0008FFFF, One, Zero, 0x10 }, Package (0x04) { 0x0008FFFF, 0x02, Zero, 0x11 }, Package (0x04) { 0x0008FFFF, 0x03, Zero, 0x12 }, Package (0x04) { 0x0004FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0004FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0004FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0004FFFF, 0x03, Zero, 0x13 } }) Name (PR20, 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 (AR20, 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 (PR21, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKB, Zero }, Package (0x04) { 0xFFFF, One, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKA, Zero } }) Name (AR21, Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x11 }, Package (0x04) { 0xFFFF, One, Zero, 0x12 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x13 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x10 } }) Name (PR22, 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 (AR22, 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 (PR23, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKD, Zero }, Package (0x04) { 0xFFFF, One, LNKA, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKB, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKC, Zero } }) Name (AR23, Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x13 }, Package (0x04) { 0xFFFF, One, Zero, 0x10 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x11 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x12 } }) Name (PR14, 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 (AR14, 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 (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {4,5,7,10,11,14,15} }) Alias (PRSA, PRSB) Alias (PRSA, PRSC) Alias (PRSA, PRSD) Alias (PRSA, PRSE) Alias (PRSA, PRSF) Alias (PRSA, PRSG) Alias (PRSA, PRSH) Device (PCI0) { Name (_HID, EisaId ("PNP0A03")) Name (_ADR, 0x00180000) Method (^BN00, 0, NotSerialized) { Return (Zero) } Method (_BBN, 0, NotSerialized) { Return (BN00 ()) } Name (_UID, Zero) Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR00) } Return (PR00) } Name (CPRB, One) Name (LVGA, 0x01) Name (STAV, 0x0F) Name (BRB, 0x0000) Name (BRL, 0x0100) Name (IOB, 0x1000) Name (IOL, 0xF000) Name (MBB, 0xB0000000) Name (MBL, 0x50000000) Name (MABL, 0x00000000) Name (MABH, 0x00000000) Name (MALL, 0x00000000) Name (MALH, 0x00000000) Name (MAML, 0x00000000) Name (MAMH, 0x00000000) Name (CRS1, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x007F, // Range Maximum 0x0000, // Translation Offset 0x0080, // Length ,, ) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x03AF, // Range Maximum 0x0000, // Translation Offset 0x03B0, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x03E0, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0918, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0000, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0x0FFF, // Range Maximum 0x0000, // Translation Offset 0x0300, // Length ,, , TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x02000000, // Range Minimum 0xFFDFFFFF, // Range Maximum 0x00000000, // Translation Offset 0xFDFC0000, // Length ,, , AddressRangeMemory, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, , AddressRangeMemory, TypeStatic) }) Name (CRS2, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0080, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0080, // Length ,, ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0000, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0000, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x80000000, // Range Minimum 0xFFFFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x80000000, // Length ,, , AddressRangeMemory, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, , AddressRangeMemory, TypeStatic) }) Method (_STA, 0, NotSerialized) { Return (STAV) } Method (_CRS, 0, NotSerialized) { If (CPRB) { CreateWordField (CRS1, 0x08, MIN0) CreateWordField (CRS1, 0x0A, MAX0) CreateWordField (CRS1, 0x0E, LEN0) Store (BRB, MIN0) Store (BRL, LEN0) Store (LEN0, Local0) Add (MIN0, Decrement (Local0), MAX0) CreateWordField (CRS1, 0x50, MIN1) CreateWordField (CRS1, 0x52, MAX1) CreateWordField (CRS1, 0x56, LEN1) If (LEqual (IOB, 0x1000)) { Store (IOL, Local0) Add (IOB, Decrement (Local0), MAX1) Subtract (MAX1, MIN1, Local0) Add (Local0, One, LEN1) } Else { Store (IOB, MIN1) Store (IOL, LEN1) Store (LEN1, Local0) Add (MIN1, Decrement (Local0), MAX1) } If (LOr (LEqual (LVGA, One), LEqual (LVGA, 0x55))) { If (VGAF) { CreateWordField (CRS1, 0x40, IMN1) CreateWordField (CRS1, 0x42, IMX1) CreateWordField (CRS1, 0x46, ILN1) Store (0x03B0, IMN1) Store (0x03DF, IMX1) Store (0x30, ILN1) CreateDWordField (CRS1, 0x62, VMN1) CreateDWordField (CRS1, 0x66, VMX1) CreateDWordField (CRS1, 0x6E, VLN1) Store (0x000A0000, VMN1) Store (0x000BFFFF, VMX1) Store (0x00020000, VLN1) Store (Zero, VGAF) } } CreateDWordField (CRS1, 0x96, MIN3) CreateDWordField (CRS1, 0x9A, MAX3) CreateDWordField (CRS1, 0xA2, LEN3) Store (MBB, MIN3) Store (MBL, LEN3) Store (LEN3, Local0) Add (MIN3, Decrement (Local0), MAX3) If (LOr (MALH, MALL)) { CreateDWordField (CRS1, 0xB4, MN8L) Add (0xB4, 0x04, Local0) CreateDWordField (CRS1, Local0, MN8H) Store (MABL, MN8L) Store (MABH, MN8H) CreateDWordField (CRS1, 0xBC, MX8L) Add (0xBC, 0x04, Local1) CreateDWordField (CRS1, Local1, MX8H) CreateDWordField (CRS1, 0xCC, LN8L) Add (0xCC, 0x04, Local2) CreateDWordField (CRS1, Local2, LN8H) Store (MABL, MN8L) Store (MABH, MN8H) Store (MALL, LN8L) Store (MALH, LN8H) Store (MAML, MX8L) Store (MAMH, MX8H) } Return (CRS1) } Else { CreateWordField (CRS2, 0x08, MIN2) CreateWordField (CRS2, 0x0A, MAX2) CreateWordField (CRS2, 0x0E, LEN2) Store (BRB, MIN2) Store (BRL, LEN2) Store (LEN2, Local1) Add (MIN2, Decrement (Local1), MAX2) CreateWordField (CRS2, 0x28, MIN4) CreateWordField (CRS2, 0x2A, MAX4) CreateWordField (CRS2, 0x2E, LEN4) Store (IOB, MIN4) Store (IOL, LEN4) Store (LEN4, Local1) Add (MIN4, Decrement (Local1), MAX4) If (LVGA) { CreateWordField (CRS2, 0x18, IMN2) CreateWordField (CRS2, 0x1A, IMX2) CreateWordField (CRS2, 0x1E, ILN2) Store (0x03B0, IMN2) Store (0x03DF, IMX2) Store (0x30, ILN2) CreateDWordField (CRS2, 0x3A, VMN2) CreateDWordField (CRS2, 0x3E, VMX2) CreateDWordField (CRS2, 0x46, VLN2) Store (0x000A0000, VMN2) Store (0x000BFFFF, VMX2) Store (0x00020000, VLN2) } CreateDWordField (CRS2, 0x54, MIN5) CreateDWordField (CRS2, 0x58, MAX5) CreateDWordField (CRS2, 0x60, LEN5) Store (MBB, MIN5) Store (MBL, LEN5) Store (LEN5, Local1) Add (MIN5, Decrement (Local1), MAX5) If (LOr (MALH, MALL)) { CreateDWordField (CRS2, 0x72, MN9L) Add (0x72, 0x04, Local0) CreateDWordField (CRS2, Local0, MN9H) CreateDWordField (CRS2, 0x7A, MX9L) Add (0x7A, 0x04, Local1) CreateDWordField (CRS2, Local1, MX9H) CreateDWordField (CRS2, 0x8A, LN9L) Add (0x8A, 0x04, Local2) CreateDWordField (CRS2, Local2, LN9H) Store (MABL, MN9L) Store (MABH, MN9H) Store (MALL, LN9L) Store (MALH, LN9H) Store (MAML, MX9L) Store (MAMH, MX9H) } Return (CRS2) } } Scope (\_SB) { Name (PRSP, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 0x00000018, } }) Device (LN24) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x18) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x18, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x18, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN25) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x19) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x19, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x19, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN26) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1A) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1A, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1A, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN27) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1B) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1B, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1B, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN28) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1C) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1C, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1C, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN29) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1D) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1D, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1D, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN30) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1E) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1E, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1E, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN31) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1F) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1F, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x1F, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN32) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x20) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x20, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x20, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN33) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x21) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x21, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x21, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN34) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x22) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x22, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x22, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN35) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x23) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x23, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x23, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN36) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x24) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x24, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x24, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN37) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x25) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x25, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x25, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN38) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x26) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x26, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x26, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN39) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x27) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x27, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x27, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN40) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x28) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x28, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x28, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN41) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x29) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x29, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x29, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN42) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2A) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2A, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2A, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN43) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2B) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2B, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2B, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN44) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2C) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2C, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2C, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN45) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2D) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2D, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2D, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN46) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2E) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2E, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2E, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN47) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2F) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2F, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x2F, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN48) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x30) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x30, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x30, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN49) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x31) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x31, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x31, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN50) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x32) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x32, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x32, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN51) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x33) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x33, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x33, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN52) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x34) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x34, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x34, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN53) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x35) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x35, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x35, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN54) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x36) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x36, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x36, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } Device (LN55) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x37) Method (_STA, 0, NotSerialized) { Return (0x0B) } Method (_PRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x37, IRQX) Return (PRSP) } Method (_DIS, 0, NotSerialized) { } Method (_CRS, 0, NotSerialized) { CreateDWordField (PRSP, 0x05, IRQX) Store (0x37, IRQX) Return (PRSP) } Method (_SRS, 1, NotSerialized) { } } } Scope (\_SB) { Scope (PCI0) { Device (AMDN) { Name (_HID, EisaId ("PNP0C01")) Name (_UID, 0xC8) Name (_STA, 0x0F) Name (NPTR, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length ) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (NPTR, 0x08, PL) CreateDWordField (NPTR, 0x04, PB) Store (PEBS, PB) Store (PEBL, PL) Return (NPTR) } } } } Method (NPTS, 1, NotSerialized) { } Method (NWAK, 1, NotSerialized) { } Device (IDEC) { Name (_ADR, 0x00140001) Name (UDMT, Package (0x08) { 0x78, 0x5A, 0x3C, 0x2D, 0x1E, 0x14, 0x0F, Zero }) Name (PIOT, Package (0x06) { 0x0258, 0x0186, 0x010E, 0xB4, 0x78, Zero }) Name (PITR, Package (0x06) { 0x99, 0x47, 0x34, 0x22, 0x20, 0x99 }) Name (MDMT, Package (0x04) { 0x01E0, 0x96, 0x78, Zero }) Name (MDTR, Package (0x04) { 0x77, 0x21, 0x20, 0xFF }) OperationRegion (IDE, PCI_Config, 0x40, 0x20) Field (IDE, AnyAcc, NoLock, Preserve) { PPIT, 16, SPIT, 16, PMDT, 16, SMDT, 16, PPIC, 8, SPIC, 8, PPIM, 8, SPIM, 8, Offset (0x14), PUDC, 2, SUDC, 2, Offset (0x16), PUDM, 8, SUDM, 8 } Method (GETT, 1, NotSerialized) { Store (And (Arg0, 0x0F), Local0) Store (ShiftRight (Arg0, 0x04), Local1) Return (Multiply (0x1E, Add (Add (Local0, One), Add (Local1, One)))) } Method (GTM, 1, NotSerialized) { CreateByteField (Arg0, Zero, PIT1) CreateByteField (Arg0, One, PIT0) CreateByteField (Arg0, 0x02, MDT1) CreateByteField (Arg0, 0x03, MDT0) CreateByteField (Arg0, 0x04, PICX) CreateByteField (Arg0, 0x05, UDCX) CreateByteField (Arg0, 0x06, UDMX) Name (BUF, Buffer (0x14) { /* 0000 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (BUF, Zero, PIO0) CreateDWordField (BUF, 0x04, DMA0) CreateDWordField (BUF, 0x08, PIO1) CreateDWordField (BUF, 0x0C, DMA1) CreateDWordField (BUF, 0x10, FLAG) If (And (PICX, One)) { Return (BUF) } Store (GETT (PIT0), PIO0) Store (GETT (PIT1), PIO1) If (And (UDCX, One)) { Or (FLAG, One, FLAG) Store (DerefOf (Index (UDMT, And (UDMX, 0x0F))), DMA0) } Else { Store (GETT (MDT0), DMA0) } If (And (UDCX, 0x02)) { Or (FLAG, 0x04, FLAG) Store (DerefOf (Index (UDMT, ShiftRight (UDMX, 0x04))), DMA1) } Else { Store (GETT (MDT1), DMA1) } Or (FLAG, 0x1A, FLAG) Return (BUF) } Method (STM, 3, NotSerialized) { CreateDWordField (Arg0, Zero, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) Name (BUF, Buffer (0x07) { 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 }) CreateByteField (BUF, Zero, PIT1) CreateByteField (BUF, One, PIT0) CreateByteField (BUF, 0x02, MDT1) CreateByteField (BUF, 0x03, MDT0) CreateByteField (BUF, 0x04, PIMX) CreateByteField (BUF, 0x05, UDCX) CreateByteField (BUF, 0x06, UDMX) Store (Match (PIOT, MLE, PIO0, MTR, Zero, Zero), Local0) Divide (Local0, 0x05, Local0) Store (Match (PIOT, MLE, PIO1, MTR, Zero, Zero), Local1) Divide (Local1, 0x05, Local1) Store (Or (ShiftLeft (Local1, 0x04), Local0), PIMX) Store (DerefOf (Index (PITR, Local0)), PIT0) Store (DerefOf (Index (PITR, Local1)), PIT1) If (And (FLAG, One)) { Store (Match (UDMT, MLE, DMA0, MTR, Zero, Zero), Local0) Divide (Local0, 0x07, Local0) Or (UDMX, Local0, UDMX) Or (UDCX, One, UDCX) } Else { If (LNotEqual (DMA0, 0xFFFFFFFF)) { Store (Match (MDMT, MLE, DMA0, MTR, Zero, Zero), Local0) Store (DerefOf (Index (MDTR, Local0)), MDT0) } } If (And (FLAG, 0x04)) { Store (Match (UDMT, MLE, DMA1, MTR, Zero, Zero), Local0) Divide (Local0, 0x07, Local0) Or (UDMX, ShiftLeft (Local0, 0x04), UDMX) Or (UDCX, 0x02, UDCX) } Else { If (LNotEqual (DMA1, 0xFFFFFFFF)) { Store (Match (MDMT, MLE, DMA1, MTR, Zero, Zero), Local0) Store (DerefOf (Index (MDTR, Local0)), MDT1) } } Return (BUF) } Method (GTF, 2, NotSerialized) { CreateByteField (Arg1, Zero, MDT1) CreateByteField (Arg1, One, MDT0) CreateByteField (Arg1, 0x02, PIMX) CreateByteField (Arg1, 0x03, UDCX) CreateByteField (Arg1, 0x04, UDMX) If (LEqual (Arg0, 0xA0)) { Store (And (PIMX, 0x0F), Local0) Store (MDT0, Local1) And (UDCX, One, Local2) Store (And (UDMX, 0x0F), Local3) } Else { Store (ShiftRight (PIMX, 0x04), Local0) Store (MDT1, Local1) And (UDCX, 0x02, Local2) Store (ShiftRight (UDMX, 0x04), Local3) } Name (BUF, Buffer (0x15) { /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x03, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0xF5 }) CreateByteField (BUF, One, PMOD) CreateByteField (BUF, 0x08, DMOD) CreateByteField (BUF, 0x05, CMDA) CreateByteField (BUF, 0x0C, CMDB) CreateByteField (BUF, 0x13, CMDC) Store (Arg0, CMDA) Store (Arg0, CMDB) Store (Arg0, CMDC) Or (Local0, 0x08, PMOD) If (Local2) { Or (Local3, 0x40, DMOD) } Else { Store (Match (MDMT, MLE, GETT (Local1), MTR, Zero, Zero), Local4) If (LLess (Local4, 0x03)) { Or (0x20, Local4, DMOD) } } Return (BUF) } Device (PRID) { Name (_ADR, Zero) Method (_GTM, 0, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIC) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (PPIT, VPIT) Store (PMDT, VMDT) Store (PPIC, VPIC) Store (PUDC, VUDC) Store (PUDM, VUDM) Return (GTM (BUF)) } Method (_STM, 3, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIM) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (STM (Arg0, Arg1, Arg2), BUF) Store (VPIT, PPIT) Store (VMDT, PMDT) Store (VPIM, PPIM) Store (VUDC, PUDC) Store (VUDM, PUDM) } Device (P_D0) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (PMDT, VMDT) Store (PPIM, VPIM) Store (PUDC, VUDC) Store (PUDM, VUDM) Return (GTF (0xA0, BUF)) } } Device (P_D1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (PMDT, VMDT) Store (PPIM, VPIM) Store (PUDC, VUDC) Store (PUDM, VUDM) Return (GTF (0xB0, BUF)) } } } Device (SECD) { Name (_ADR, One) Method (_GTM, 0, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIC) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (SPIT, VPIT) Store (SMDT, VMDT) Store (SPIC, VPIC) Store (SUDC, VUDC) Store (SUDM, VUDM) Return (GTM (BUF)) } Method (_STM, 3, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIM) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (STM (Arg0, Arg1, Arg2), BUF) Store (VPIT, SPIT) Store (VMDT, SMDT) Store (VPIM, SPIM) Store (VUDC, SUDC) Store (VUDM, SUDM) } Device (S_D0) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (SMDT, VMDT) Store (SPIM, VPIM) Store (SUDC, VUDC) Store (SUDM, VUDM) Return (GTF (0xA0, BUF)) } } Device (S_D1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (SMDT, VMDT) Store (SPIM, VPIM) Store (SUDC, VUDC) Store (SUDM, VUDM) Return (GTF (0xB0, BUF)) } } } } Device (SBAZ) { Name (_ADR, 0x00140002) OperationRegion (PCI, PCI_Config, Zero, 0x0100) Field (PCI, AnyAcc, NoLock, Preserve) { Offset (0x42), DNSP, 1, DNSO, 1, ENSR, 1 } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x1B, 0x04)) } } Device (SBRG) { Name (_ADR, 0x00140003) OperationRegion (RMBS, PCI_Config, Zero, 0x0100) Field (RMBS, ByteAcc, NoLock, Preserve) { Offset (0x6C), LR2S, 16, LR2E, 16 } Method (SPTS, 1, NotSerialized) { } Method (SWAK, 1, NotSerialized) { } OperationRegion (SMI0, SystemIO, SMIO, One) Field (SMI0, ByteAcc, NoLock, Preserve) { SMIC, 8 } Scope (\_SB) { Name (SLPS, Zero) } Device (S900) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x0700) Name (_STA, 0x0F) Name (CRS, ResourceTemplate () { IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x0063, // Range Minimum 0x0063, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0067, // Range Minimum 0x0067, // Range Maximum 0x00, // Alignment 0x09, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x00, // Alignment 0x0E, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0084, // Range Minimum 0x0084, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0088, // Range Minimum 0x0088, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x008C, // Range Minimum 0x008C, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0090, // Range Minimum 0x0090, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x00B1, // Range Minimum 0x00B1, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x040B, // Range Minimum 0x040B, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x04D6, // Range Minimum 0x04D6, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0C00, // Range Minimum 0x0C00, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0C14, // Range Minimum 0x0C14, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0C50, // Range Minimum 0x0C50, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0C52, // Range Minimum 0x0C52, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0C6C, // Range Minimum 0x0C6C, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0C6F, // Range Minimum 0x0C6F, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0CD0, // Range Minimum 0x0CD0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD2, // Range Minimum 0x0CD2, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD4, // Range Minimum 0x0CD4, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD6, // Range Minimum 0x0CD6, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD8, // Range Minimum 0x0CD8, // Range Maximum 0x00, // Alignment 0x08, // Length ) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length ) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length ) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length ) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length ) IO (Decode16, 0x0900, // Range Minimum 0x0900, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0910, // Range Minimum 0x0910, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0xFE00, // Range Minimum 0xFE00, // Range Maximum 0x00, // Alignment 0xFF, // Length ) IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x00, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x00, // Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEE00000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED80000, // Address Base 0x00010000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED61000, // Address Base 0x00010000, // Address Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length ) }) Method (_CRS, 0, NotSerialized) { CreateWordField (CRS, 0xE2, PBB) CreateWordField (CRS, 0xE4, PBH) CreateByteField (CRS, 0xE7, PML) Store (PMBS, PBB) Store (PMBS, PBH) Store (PMLN, PML) If (SMBB) { CreateWordField (CRS, 0xFA, SMB1) CreateWordField (CRS, 0xFC, SMH1) CreateByteField (CRS, 0xFF, SML1) Store (SMBB, SMB1) Store (SMBB, SMH1) Store (SMBL, SML1) CreateWordField (CRS, 0xF2, SMB0) CreateWordField (CRS, 0xF4, SMH0) CreateByteField (CRS, 0xF7, SML0) Store (SMB0, SMB0) Store (SMB0, SMH0) Store (SMBM, SML0) } If (GPBS) { CreateWordField (CRS, 0xEA, IGB) CreateWordField (CRS, 0xEC, IGH) CreateByteField (CRS, 0xEF, IGL) Store (GPBS, IGB) Store (GPBS, IGH) Store (GPLN, IGL) } If (APCB) { CreateDWordField (CRS, 0x012C, APB) CreateDWordField (CRS, 0x0130, APL) Store (APCB, APB) Store (APCL, APL) } If (SPIB) { CreateDWordField (CRS, 0x015C, SPIB) CreateDWordField (CRS, 0x0160, SPIL) Store (\SPIB, SPIB) Store (\SPIL, SPIL) } If (HPTB) { CreateDWordField (CRS, 0x0168, HXTB) CreateDWordField (CRS, 0x016C, HXTL) Store (HPTB, HXTB) Store (HPTL, HXTL) } CreateDWordField (CRS, 0x0174, ROMB) CreateDWordField (CRS, 0x0178, ROML) If (LR2S) { Store (ShiftLeft (LR2S, 0x10), ROMB) Store (ShiftLeft (Add (Subtract (LR2E, LR2S), One), 0x10 ), ROML) } Else { Store (ROMS, ROMB) Subtract (Zero, ROMS, ROML) } Return (CRS) } } Device (PIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IRQNoFlags () {2} }) } Device (DMAD) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { DMA (Compatibility, BusMaster, Transfer8, ) {4} IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0081, // Range Minimum 0x0081, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0087, // Range Minimum 0x0087, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0089, // Range Minimum 0x0089, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x008F, // Range Minimum 0x008F, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x00, // Alignment 0x20, // Length ) }) } Device (TMR) { Name (_HID, EisaId ("PNP0100")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) } Device (RTC0) { Name (_HID, EisaId ("PNP0B00")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x02, // Length ) IRQNoFlags () {8} }) } Device (SPKR) { Name (_HID, EisaId ("PNP0800")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) } Scope (\_SB) { Scope (PCI0) { Scope (SBRG) { Method (RRIO, 4, NotSerialized) { Store ("RRIO", Debug) } Method (RDMA, 3, NotSerialized) { Store ("rDMA", Debug) } } } } Device (RMSC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x10) Name (CRS1, ResourceTemplate () { IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x0044, // Range Minimum 0x0044, // Range Maximum 0x00, // Alignment 0x1C, // Length ) IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x00, // Alignment 0x0B, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x00, // Alignment 0x0E, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0084, // Range Minimum 0x0084, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0088, // Range Minimum 0x0088, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x008C, // Range Minimum 0x008C, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0090, // Range Minimum 0x0090, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x00, // Alignment 0x02, // Length ) }) Name (CRS2, ResourceTemplate () { IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x0044, // Range Minimum 0x0044, // Range Maximum 0x00, // Alignment 0x1C, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x00, // Alignment 0x0E, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0084, // Range Minimum 0x0084, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0088, // Range Minimum 0x0088, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x008C, // Range Minimum 0x008C, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0090, // Range Minimum 0x0090, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x00, // Alignment 0x02, // Length ) }) Method (_CRS, 0, NotSerialized) { If (And (MBEC, 0xFFFF)) { Return (CRS1) } Else { Return (CRS2) } } } Device (COPR) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IRQNoFlags () {13} }) } Device (NBRM) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x99) Name (CRS, ResourceTemplate () { }) Method (_CRS, 0, NotSerialized) { Return (CRS) } } Device (PS2M) { Method (_HID, 0, NotSerialized) { If (LEqual (TPVD, One)) { Return (0x02018416) } If (LEqual (TPVD, 0x02)) { Return (0x41C18C4E) } Else { Return (0xFFFFCE39) } } Name (_CID, EisaId ("PNP0F13")) Method (_STA, 0, NotSerialized) { And (MICE, One, Local1) If (Local1) { Return (0x0F) } Else { Return (Zero) } } Name (CRS1, ResourceTemplate () { IRQNoFlags () {12} }) Name (CRS2, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {12} }) Method (_CRS, 0, NotSerialized) { If (And (IOST, 0x0400)) { Return (CRS1) } Else { Return (CRS2) } } Name (_PRS, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IRQNoFlags () {12} } EndDependentFn () }) Method (_PSW, 1, NotSerialized) { Store (Arg0, MSFG) } } Scope (\) { Name (MSFG, One) } Device (PS2K) { Name (_HID, EisaId ("PNP0303")) Name (_CID, EisaId ("PNP030B")) Method (_STA, 0, NotSerialized) { If (And (IOST, 0x0400)) { Return (0x0F) } Else { Return (Zero) } } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {1} }) Name (_PRS, ResourceTemplate () { StartDependentFn (0x00, 0x00) { FixedIO ( 0x0060, // Address 0x01, // Length ) FixedIO ( 0x0064, // Address 0x01, // Length ) IRQNoFlags () {1} } EndDependentFn () }) Method (_PSW, 1, NotSerialized) { Store (Arg0, KBFG) } } Scope (\) { Name (KBFG, One) } } Device (P0PC) { Name (_ADR, 0x00140004) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x04, 0x04)) } } Device (GEC) { Name (_ADR, 0x00140006) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x13, 0x04)) } } Device (UHC1) { Name (_ADR, 0x00120000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (UHC2) { Name (_ADR, 0x00120002) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (USB3) { Name (_ADR, 0x00130000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (UHC4) { Name (_ADR, 0x00130002) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (USB5) { Name (_ADR, 0x00160000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (UHC6) { Name (_ADR, 0x00160002) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (UHC7) { Name (_ADR, 0x00140005) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (XHC0) { Name (_ADR, 0x00100000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (XHC1) { Name (_ADR, 0x00100001) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x04)) } } Device (PE20) { Name (_ADR, 0x00150000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0F, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR20) } Return (PR20) } } Device (PE21) { Name (_ADR, 0x00150001) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x10, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR21) } Return (PR21) } } Device (PE22) { Name (_ADR, 0x00150002) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x11, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR22) } Return (PR22) } } Device (PE23) { Name (_ADR, 0x00150003) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x12, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR23) } Return (PR23) } } Device (VGA) { Name (_ADR, 0x00010000) OperationRegion (PCFG, PCI_Config, Zero, 0x50) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, Offset (0x2C), SVID, 32, Offset (0x4C), SMID, 32 } Scope (\) { Mutex (PXPX, 0x00) } Name (STAT, Zero) Name (GDTS, Zero) Name (CRTA, Zero) Name (LCDA, Zero) Name (DPTA, Zero) Name (DOSP, Zero) Name (BLVL, Buffer (0x10) { /* 0000 */ 0x00, 0x20, 0x30, 0x40, 0x50, 0x58, 0x60, 0x70, /* 0008 */ 0x80, 0x90, 0xA0, 0xB0, 0xC0, 0xD0, 0xE0, 0xFF }) Method (_DOS, 1, NotSerialized) { Store (Arg0, DOSP) } Method (_DOD, 0, NotSerialized) { Return (Package (0x05) { 0x00010100, 0x00010110, 0x0200, 0x00010210, 0x00010220 }) } Device (CRT) { Name (_ADR, 0x0100) Method (_DGS, 0, NotSerialized) { Store (CRTA, Local0) Return (Local0) } } Device (LCD) { Method (_ADR, 0, NotSerialized) { Return (0x0110) } Method (_BCL, 0, NotSerialized) { If (LEqual (AF7E, 0x80000001)) { Return (Package (0x11) { 0x52, 0x22, 0x02, 0x08, 0x0E, 0x16, 0x1C, 0x22, 0x2A, 0x30, 0x36, 0x3E, 0x44, 0x4B, 0x52, 0x58, 0x64 }) } Else { Return (Package (0x0D) { 0x2D, 0x2D, 0x14, 0x19, 0x1E, 0x23, 0x28, 0x2D, 0x32, 0x37, 0x41, 0x50, 0x64 }) } } Method (_BCM, 1, NotSerialized) { Store (Arg0, LBTN) If (LEqual (AF7E, 0x80000001)) { Divide (Add (Multiply (Arg0, 0x03), 0x13), 0x14, Local1, Local0) Store (DerefOf (Index (BLVL, Local0)), Local3) AFN7 (Local3) } Else { Acquire (PXPX, 0xFFFF) Store (One, INF0) Store (Arg0, INF1) Store (0x8A, BCMD) Store (ATIS, ^^^SBRG.SMIC) Release (PXPX) } } Method (_DGS, 0, NotSerialized) { Store (LCDA, Local0) Return (Local0) } } Device (DPT) { Name (_ADR, 0x0210) Method (_DGS, 0, NotSerialized) { Store (DPTA, Local0) Return (Local0) } } } Device (PCE2) { Name (_ADR, 0x00020000) OperationRegion (XPEX, SystemMemory, 0xE0010100, 0x0100) Field (XPEX, DWordAcc, NoLock, Preserve) { Offset (0x28), VC0S, 32 } OperationRegion (PCFG, PCI_Config, Zero, 0x20) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, Offset (0x18), SBUS, 32 } OperationRegion (XPCB, PCI_Config, 0x58, 0x24) Field (XPCB, AnyAcc, NoLock, Preserve) { Offset (0x10), LKCN, 16, LKST, 16, Offset (0x1A), , 3, PDC2, 1, , 2, PDS2, 1, Offset (0x1B), HPCS, 1, Offset (0x20), Offset (0x22), PMES, 1 } OperationRegion (XPRI, PCI_Config, 0xE0, 0x08) Field (XPRI, ByteAcc, NoLock, Preserve) { XPIR, 32, XPID, 32 } Method (XPDL, 0, NotSerialized) { Store (Zero, Local0) If (And (VC0S, 0x00020000)) { Store (Ones, Local0) } Return (Local0) } Mutex (XPPM, 0x00) Method (XPRD, 1, NotSerialized) { Acquire (XPPM, 0xFFFF) Store (Arg0, XPIR) Store (XPID, Local0) Store (Zero, XPIR) Release (XPPM) Return (Local0) } Method (XPWR, 2, NotSerialized) { Acquire (XPPM, 0xFFFF) Store (Arg0, XPIR) Store (Arg1, XPID) Store (Zero, XPIR) Release (XPPM) } Method (XPRT, 0, NotSerialized) { Store (XPRD (0xA2), Local0) And (Local0, 0xFFFFFFF8, Local0) ShiftRight (Local0, 0x04, Local1) And (Local1, 0x07, Local1) Or (Local0, Local1, Local0) Or (Local0, 0x0100, Local0) XPWR (0xA2, Local0) } Method (XPPB, 0, NotSerialized) { Store (_ADR, Local0) Store (ShiftRight (Local0, 0x10), Local1) Store (ShiftLeft (Local1, 0x03), Local1) Store (And (Local0, 0x0F), Local2) Store (Or (Local1, Local2), Local3) Return (Local3) } Method (XPCN, 0, NotSerialized) { Store (Zero, Local1) Store (XPPB (), Local0) If (LGreater (0x04, Local0)) { Store (Zero, Local1) } If (LGreater (0x08, Local0)) { Store (0x00010000, Local1) } If (LGreater (0x0B, Local0)) { Store (0x00020000, Local1) } Return (Local1) } Method (XPPD, 0, NotSerialized) { Store (XPPB (), Local0) Store (^^GNBD.GPPX (), Local2) Store (^^GNBD.GFXM (), Local3) Store (Zero, Local1) If (LEqual (0x10, Local0)) { Store (0xFFFF, Local1) If (Local3) { Store (0x0F0F, Local1) } } If (LEqual (0x18, Local0)) { Store (0xF0F0, Local1) } If (LEqual (0x20, Local0)) { Store (0x1010, Local1) } If (LEqual (0x28, Local0)) { Store (0x2020, Local1) } If (LEqual (0x30, Local0)) { Store (0x4040, Local1) } If (LEqual (0x38, Local0)) { Store (0x8080, Local1) } If (LEqual (0x48, Local0)) { Store (Zero, Local1) If (LEqual (0x02, Local2)) { Store (0x0303, Local1) } If (LEqual (0x03, Local2)) { Store (0x0101, Local1) } } If (LEqual (0x50, Local0)) { Store (Zero, Local1) If (LEqual (0x03, Local2)) { Store (0x0202, Local1) } } Return (Local1) } Method (XPLP, 1, NotSerialized) { Store (XPPD (), Local1) If (LNotEqual (Zero, Local1)) { Store (^^GNBD.NBXR (Add (0x65, XPCN ())), Local2) If (Arg0) { And (Local2, Not (Local1), Local2) } Else { Or (Local2, Local1, Local2) } ^^GNBD.NBXW (Add (0x65, XPCN ()), Local2) } } Method (XPR2, 0, NotSerialized) { Store (LKCN, Local0) And (Local0, 0xFFFFFFDF, Local0) Store (Local0, LKCN) Or (Local0, 0x20, Local0) Store (Local0, LKCN) Store (0x64, Local1) Store (One, Local2) While (LAnd (Local1, Local2)) { Sleep (One) Store (LKST, Local3) If (And (Local3, 0x0800)) { Decrement (Local1) } Else { Store (Zero, Local2) } } And (Local0, 0xFFFFFFDF, Local0) Store (Local0, LKCN) If (LNot (Local2)) { Return (Ones) } Else { Return (Zero) } } Method (XPLL, 1, NotSerialized) { Store (^^GNBD.GFXM (), Local0) Store (XPPB (), Local1) Store (Zero, Local2) If (LEqual (0x10, Local1)) { Store (One, Local2) Store (0x00770070, Local3) If (Local0) { Store (0x00330030, Local3) } } If (LAnd (LEqual (0x18, Local1), Local0)) { Store (One, Local2) Store (0x00440040, Local3) } Store (^^GNBD.NBMR (0x07), Local0) Store (^^GNBD.NBXR (0x65), Local1) If (LAnd (Local0, 0x0201F000)) { Store (0x00440040, Local4) Store (Local4, Local5) If (LAnd (Not (Local1), 0xF0F0)) { Store (Zero, Local5) } } Else { Store (0x00110010, Local4) Store (Local4, Local5) If (LAnd (Not (Local1), 0x0F0F)) { Store (Zero, Local5) } } If (Local2) { Store (Or (Local3, Local4), Local6) Store (And (Local5, Local4), Local0) Store (Or (Local3, Local0), Local7) Store (^^GNBD.NBMR (0x2E), Local0) If (Arg0) { And (Local0, Not (Local6), Local0) } Else { Or (Local0, Local7, Local0) } ^^GNBD.NBMW (0x2E, Local0) } } Method (XPPR, 1, NotSerialized) { If (Arg0) { XPLL (One) XPLP (One) Sleep (0xC8) ^^GNBD.XPTR (ShiftLeft (XPPB (), 0x03), One) Sleep (0x14) } Else { ^^GNBD.XPTR (ShiftLeft (XPPB (), 0x03), Zero) XPLP (Zero) XPLL (Zero) } Return (Ones) } Device (VGA) { Name (_ADR, Zero) Name (STAT, Zero) Name (GDTS, Zero) Name (CRTA, Zero) Name (LCDA, Zero) Name (DPTA, Zero) OperationRegion (PCFG, PCI_Config, Zero, 0x50) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, Offset (0x2C), SVID, 32, Offset (0x4C), SMID, 32 } Name (DOSP, Zero) Name (BLVL, Buffer (0x10) { /* 0000 */ 0x00, 0x20, 0x30, 0x40, 0x50, 0x58, 0x60, 0x70, /* 0008 */ 0x80, 0x90, 0xA0, 0xB0, 0xC0, 0xD0, 0xE0, 0xFF }) Method (_DOS, 1, NotSerialized) { Store (Arg0, DOSP) } Method (_DOD, 0, NotSerialized) { Return (Package (0x05) { 0x00010100, 0x00010110, 0x0200, 0x00010210, 0x00010220 }) } Device (CRT) { Name (_ADR, 0x0100) Method (_DGS, 0, NotSerialized) { Store (CRTA, Local0) Return (Local0) } } Device (LCD) { Method (_DGS, 0, NotSerialized) { Store (LCDA, Local0) Return (Local0) } Method (_ADR, 0, NotSerialized) { Return (0x0110) } Method (_BCL, 0, NotSerialized) { If (LEqual (^^^^VGA.AF7E, 0x80000001)) { Return (Package (0x11) { 0x52, 0x22, 0x02, 0x08, 0x0E, 0x16, 0x1C, 0x22, 0x2A, 0x30, 0x36, 0x3E, 0x44, 0x4B, 0x52, 0x58, 0x64 }) } Else { Return (Package (0x0D) { 0x2D, 0x2D, 0x14, 0x19, 0x1E, 0x23, 0x28, 0x2D, 0x32, 0x37, 0x41, 0x50, 0x64 }) } } Method (_BCM, 1, NotSerialized) { Store (Arg0, LBTN) If (LEqual (^^^^VGA.AF7E, 0x80000001)) { Divide (Add (Multiply (Arg0, 0x03), 0x13), 0x14, Local1, Local0) Store (DerefOf (Index (BLVL, Local0)), Local3) ^^^^VGA.AFN7 (Local3) } Else { Acquire (PXPX, 0xFFFF) Store (One, INF0) Store (Arg0, INF1) Store (0x8A, BCMD) Store (ATIS, ^^^^SBRG.SMIC) Release (PXPX) } } } Device (DPT) { Name (_ADR, 0x0210) Method (_DGS, 0, NotSerialized) { Store (DPTA, Local0) Return (Local0) } } } Device (HDAU) { Name (_ADR, One) OperationRegion (PCFG, PCI_Config, Zero, 0x50) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, Offset (0x2C), SVID, 32, Offset (0x4C), SMID, 32 } } Method (XPDT, 1, NotSerialized) { If (Arg0) { Store (Zero, Local0) Store (Zero, Local2) While (LLess (Local2, 0x0F)) { Store (One, PDC2) Store (One, Local4) Store (0xC8, Local5) While (LAnd (Local4, Local5)) { Store (XPRD (0xA5), Local6) And (Local6, 0x7F, Local6) If (LAnd (LGreaterEqual (Local6, 0x10), LNotEqual (Local6, 0x7F))) { Store (Zero, Local4) } Else { Sleep (0x05) Decrement (Local5) } } If (LNot (Local4)) { Store (XPDL (), Local5) If (Local5) { XPRT () Sleep (0x05) Increment (Local2) } Else { Store (ShiftLeft (XPPB (), 0x03), INFO) Store (0x87, BCMD) Store (Zero, ^^SBRG.SMIC) If (LEqual (XPR2 (), Ones)) { Store (One, Local0) Store (0x10, Local2) } Else { Store (Zero, Local0) Store (0x10, Local2) } } } Else { Store (0x10, Local2) } } If (LNot (Local0)) { XPDT (Zero) XPPR (Zero) Return (Zero) } Return (Ones) } Else { Store (One, PDC2) Store (^VGA.DVID, Local7) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (XPRD (0xA5), Local6) And (Local6, 0x7F, Local6) If (LLessEqual (Local6, 0x04)) { Store (Zero, Local4) } Else { Store (^VGA.DVID, Local7) Sleep (0x05) Decrement (Local5) } } Return (Ones) } } } Device (BR13) { Name (_ADR, 0x00030000) } Device (BR15) { Name (_ADR, 0x00050000) } Device (BR16) { Name (_ADR, 0x00060000) } Device (BR17) { Name (_ADR, 0x00070000) } Device (BR18) { Name (_ADR, 0x00080000) } Device (GNBD) { Name (_ADR, Zero) Scope (\) { OperationRegion (ATFB, SystemMemory, 0x8F834018, 0x0105) Field (ATFB, AnyAcc, NoLock, Preserve) { BCMD, 8, DID, 32, INFO, 2048 } Field (ATFB, AnyAcc, NoLock, Preserve) { Offset (0x05), INF0, 8, INF1, 8, INF2, 8, INF3, 8, INF4, 8, INF5, 8, INF6, 8, INF7, 8 } Field (ATFB, AnyAcc, NoLock, Preserve) { AccessAs (ByteAcc, 0x00), Offset (0x05), INF, 8 } } OperationRegion (NBRV, PCI_Config, 0x08, One) Field (NBRV, ByteAcc, NoLock, Preserve) { PREV, 8 } OperationRegion (NBBR, PCI_Config, 0x1C, 0x08) Field (NBBR, DWordAcc, NoLock, Preserve) { BR3L, 32, BR3H, 32 } OperationRegion (NBBI, PCI_Config, 0x84, 0x04) Field (NBBI, DWordAcc, NoLock, Preserve) { PARB, 32 } OperationRegion (NBMS, PCI_Config, 0x60, 0x08) Field (NBMS, DWordAcc, NoLock, Preserve) { MIDX, 32, MIDR, 32 } Mutex (NBMM, 0x00) Method (NBMR, 1, NotSerialized) { Acquire (NBMM, 0xFFFF) And (Arg0, 0x7F, Local0) Store (Local0, MIDX) Store (MIDR, Local0) Store (0x7F, MIDX) Release (NBMM) Return (Local0) } Method (NBMW, 2, NotSerialized) { Acquire (NBMM, 0xFFFF) And (Arg0, 0x7F, Local0) Or (Local0, 0x80, Local0) Store (Local0, MIDX) Store (Arg1, MIDR) Store (And (Local0, 0x7F, Local0), MIDX) Release (NBMM) } OperationRegion (NBXP, PCI_Config, 0xE0, 0x08) Field (NBXP, DWordAcc, NoLock, Preserve) { NBXI, 32, NBXD, 32 } Mutex (NBXM, 0x00) Method (NBXR, 1, NotSerialized) { Acquire (NBXM, 0xFFFF) Store (Arg0, NBXI) Store (NBXD, Local0) Store (Zero, NBXI) Release (NBXM) Return (Local0) } Method (NBXW, 2, NotSerialized) { Acquire (NBXM, 0xFFFF) Store (Arg0, NBXI) Store (Arg1, NBXD) Store (Zero, NBXI) Release (NBXM) } Method (GFXM, 0, NotSerialized) { Store (NBMR (0x08), Local0) And (Local0, 0x0F, Local0) Return (Local0) } Method (GPPM, 0, NotSerialized) { Store (NBMR (0x67), Local0) And (Local0, 0xF0, Local0) Return (Local0) } Method (GPPX, 0, NotSerialized) { Store (NBMR (0x2D), Local0) ShiftRight (Local0, 0x07, Local0) And (Local0, 0x0F, Local0) Return (Local0) } Method (XPTR, 2, NotSerialized) { If (LAnd (LLess (Arg0, 0x02), LGreater (Arg0, 0x07))) { Return (Zero) } Else { Store (GPPM (), Local0) Store (GPPX (), Local1) Store (One, Local0) If (LLess (Arg0, 0x04)) { Add (Arg0, 0x02, Local1) } Else { Add (Arg0, 0x11, Local1) } ShiftLeft (Local0, Local1, Local0) Store (NBMR (0x08), Local2) If (Arg1) { And (Local2, Not (Local0), Local2) } Else { Or (Local2, Local0, Local2) } NBMW (0x08, Local2) Return (Ones) } } Name (PX3L, 0x80000000) Name (PX3H, 0x80000000) Name (PX3S, 0x10000000) Name (PX3K, 0xF0000000) Mutex (BR3X, 0x00) Method (BR3M, 0, NotSerialized) { Store (PARB, Local0) ShiftRight (Local0, 0x10, Local0) And (Local0, 0x07, Local0) If (Local0) { ShiftLeft (One, Local0, Local1) Subtract (0x1000, Local1, Local1) ShiftLeft (Local1, 0x14, Local1) Store (Local1, PX3K) ShiftRight (0x00100000, Local0, Local0) Store (Local0, PX3S) } Acquire (BR3X, 0xFFFF) Store (NBMR (Zero), Local0) And (Local0, 0xFFFFFFF7, Local0) NBMW (Zero, Local0) Store (BR3L, Local0) And (Local0, PX3K, Local0) Store (Local0, PX3L) Store (BR3H, Local0) And (Local0, 0xFF, Local0) Store (Local0, PX3H) Store (NBMR (Zero), Local0) Or (Local0, 0x08, Local0) NBMW (Zero, Local0) Release (BR3X) Return (PX3L) } OperationRegion (NB2, PCI_Config, Zero, 0x0100) Field (NB2, AnyAcc, NoLock, Preserve) { Offset (0x60), MI, 32, MD, 32, Offset (0x94), HI, 32, HD, 32, Offset (0xE8), MCI, 32, MCD, 32 } Device (BROD) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x14) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length ) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length ) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (CRS, 0x04, BAS1) CreateDWordField (CRS, 0x08, LEN1) CreateDWordField (CRS, 0x10, BAS2) CreateDWordField (CRS, 0x14, LEN2) Store (0x3C, MI) Store (MD, Local0) If (And (Local0, 0x40)) { Store (0x3A, MI) And (MD, 0xFFFFFF00, BAS1) ShiftLeft (And (MD, 0xFF), 0x17, LEN1) } Store (0x11, MCI) Store (MCD, Local1) Store (0x12, MCI) Store (MCD, Local2) Store (0xF0, MCI) Store (MCD, Local3) If (LEqual (Local2, Zero)) { If (LNotEqual (Local3, Zero)) { Store (Local1, BAS2) Store (ShiftLeft (Local3, 0x14), LEN2) } } Return (CRS) } } } Device (SATA) { Name (_ADR, 0x00110000) If (LEqual (STCL, 0x0101)) { Method (_INI, 0, NotSerialized) { } OperationRegion (SACS, PCI_Config, Zero, 0x40) Field (SACS, AnyAcc, NoLock, Preserve) { Offset (0x24), STB5, 32 } Name (SPTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0010 */ 0x1F, 0x00, 0x00, 0x00 }) Device (PRID) { Name (_ADR, Zero) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { } Name (PRIS, Zero) Method (_PS0, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x120), , 7, PMBY, 1, Offset (0x128), PMS0, 4, Offset (0x129), PMS1, 4, Offset (0x220), , 7, PSBY, 1, Offset (0x228), PSS0, 4, Offset (0x229), PSS1, 4, Offset (0x2A0), , 7 } If (LOr (LEqual (OSTY, 0x06), LEqual (OSTY, 0x04))) { If (PMS1) { Store (0x32, Local0) While (LAnd (LEqual (PMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } If (PSS1) { Store (0x32, Local0) While (LAnd (LEqual (PSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } } Store (Zero, PRIS) } Method (_PS3, 0, NotSerialized) { Store (0x03, PRIS) } Method (_PSC, 0, NotSerialized) { Return (PRIS) } Device (P_D0) { Name (_ADR, Zero) Method (_STA, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x128), PMS0, 4, Offset (0x129), PMS1, 4 } If (Not (LEqual (PMS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x120), , 7, PMBY, 1 } Store (0x32, Local0) While (LAnd (LEqual (PMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } } Device (P_D1) { Name (_ADR, One) Method (_STA, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x228), PSS0, 4, Offset (0x229), PSS1, 4 } If (Not (LEqual (PSS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x220), , 7, PSBY, 1 } Store (0x32, Local0) While (LAnd (LEqual (PSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } } } Device (SECD) { Name (_ADR, 0x02) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { } Name (SECS, Zero) Method (_PS0, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x1A0), , 7, SMBY, 1, Offset (0x1A8), SMS0, 4, Offset (0x1A9), SMS1, 4, Offset (0x2A0), , 7, SSBY, 1, Offset (0x2A8), SSS0, 4, Offset (0x2A9), SSS1, 4, Offset (0x2AC) } If (LOr (LEqual (OSTY, 0x06), LEqual (OSTY, 0x04))) { If (SMS1) { Store (0x32, Local0) While (LAnd (LEqual (SMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } If (SSS1) { Store (0x32, Local0) While (LAnd (LEqual (SSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } } Store (Zero, SECS) } Method (_PS3, 0, NotSerialized) { Store (0x03, SECS) } Method (_PSC, 0, NotSerialized) { Return (SECS) } Device (S_D0) { Name (_ADR, Zero) Method (_STA, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x1A8), SMS0, 4, Offset (0x1A9), SMS1, 4 } If (Not (LEqual (SMS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x1000) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x1A0), , 7, SMBY, 1 } Store (0x32, Local0) While (LAnd (LEqual (SMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } } Device (S_D1) { Name (_ADR, One) Method (_STA, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x2A8), SSS0, 4, Offset (0x2A9), SSS1, 4 } If (Not (LEqual (SSS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { OperationRegion (BAR, SystemMemory, STB5, 0x0400) Field (BAR, AnyAcc, NoLock, Preserve) { Offset (0x2A0), , 7, SSBY, 1 } Store (0x32, Local0) While (LAnd (LEqual (SSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } } } } Device (PRT1) { Name (_ADR, One) Method (_STA, 0, NotSerialized) { Return (Zero) } Device (ODD) { Name (_ADR, Zero) Method (_RMV, 0, NotSerialized) { Return (One) } } } Scope (^^PCI0) { Device (AFD) { Name (_HID, "AFD0001") Name (ODZP, 0x80000001) Method (_STA, 0, NotSerialized) { Return (Zero) } } } Scope (\_SB.PCI0.SATA) { OperationRegion (SATX, PCI_Config, Zero, 0x28) Field (SATX, AnyAcc, NoLock, Preserve) { VIDI, 32, Offset (0x24), BA05, 32 } Device (ODDZ) { Name (_ADR, One) Name (ODPS, Zero) Method (_STA, 0, NotSerialized) { If (LEqual (^^^AFD.ODZP, 0x80000000)) { Return (Zero) } Else { Return (0x0F) } } Method (_PS0, 0, NotSerialized) { Store (0xDF00, P80H) If (LEqual (^^^AFD.ODZP, 0x80000001)) { If (LEqual (VIDI, 0x78041022)) { Sleep (0x28) Store (Zero, GAAO) Store (Zero, GAAE) Store (One, G35O) Store (Zero, G35E) Sleep (0x28) Store (0xDE00, P80H) } } Store (Zero, ODPS) } Method (_PS3, 0, NotSerialized) { Store (0xDF03, P80H) If (LEqual (^^^AFD.ODZP, 0x80000001)) { If (LEqual (VIDI, 0x78041022)) { Sleep (0x28) Store (Zero, GAAO) Store (Zero, GAAE) Store (Zero, G35O) Store (Zero, G35E) Sleep (0x28) Store (0xDE03, P80H) } } Store (0x03, ODPS) } Method (_PSC, 0, NotSerialized) { Return (ODPS) } Device (ODD) { Name (_ADR, Zero) Method (_RMV, 0, NotSerialized) { Return (One) } Method (_EJX, 1, NotSerialized) { Store (0x89AB, P80H) Sleep (0x28) Store (Zero, GAAO) Store (Zero, GAAE) Store (Zero, G35O) Store (Zero, G35E) Sleep (0x28) } } } } Scope (\_GPE) { Method (_L1D, 0, NotSerialized) { If (LEqual (\_SB.PCI0.AFD.ODZP, 0x80000001)) { If (E1DC) { Sleep (0x14) If (GE16) { Store (Zero, E1DC) If (LOr (LEqual (\_SB.PCI0.SATA.VIDI, 0x78001022), LEqual (\_SB.PCI0.SATA.VIDI, 0x78011022))) {} If (LEqual (\_SB.PCI0.SATA.VIDI, 0x78041022)) { Notify (\_SB.PCI0.SATA.ODDZ, 0x80) } Store (0xDF15, P80H) } } Else { Sleep (0x14) If (LNot (GE16)) { Store (One, E1DC) If (LOr (LEqual (\_SB.PCI0.SATA.VIDI, 0x78001022), LEqual (\_SB.PCI0.SATA.VIDI, 0x78011022))) {} If (LEqual (\_SB.PCI0.SATA.VIDI, 0x78041022)) { Notify (\_SB.PCI0.SATA.ODDZ, 0x80) } Store (0xDF14, P80H) } } } } } } Device (BR14) { Name (_ADR, 0x00040000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x18, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR14) } Return (PR14) } } } Scope (\_GPE) { Method (_L1B, 0, NotSerialized) { Notify (\_SB.PCI0.SBAZ, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L04, 0, NotSerialized) { Notify (\_SB.PCI0.P0PC, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L13, 0, NotSerialized) { Notify (\_SB.PCI0.GEC, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L0B, 0, NotSerialized) { Notify (\_SB.PCI0.UHC1, 0x02) Notify (\_SB.PCI0.UHC2, 0x02) Notify (\_SB.PCI0.USB3, 0x02) Notify (\_SB.PCI0.UHC4, 0x02) Notify (\_SB.PCI0.USB5, 0x02) Notify (\_SB.PCI0.UHC6, 0x02) Notify (\_SB.PCI0.UHC7, 0x02) Notify (\_SB.PCI0.XHC0, 0x02) Notify (\_SB.PCI0.XHC1, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L0F, 0, NotSerialized) { Notify (\_SB.PCI0.PE20, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L10, 0, NotSerialized) { Notify (\_SB.PCI0.PE21, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L11, 0, NotSerialized) { Notify (\_SB.PCI0.PE22, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L12, 0, NotSerialized) { Notify (\_SB.PCI0.PE23, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L18, 0, NotSerialized) { Notify (\_SB.PCI0.BR14, 0x02) Notify (\_SB.PWRB, 0x02) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) Name (_UID, 0xAA) Name (_STA, 0x0B) } } Scope (_SB) { 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 (0x10), PIRS, 8, Offset (0x13), HDAD, 8, Offset (0x15), GEC, 8, Offset (0x30), USB1, 8, USB2, 8, USB3, 8, USB4, 8, USB5, 8, USB6, 8, USB7, 8, Offset (0x40), IDE, 8, SATA, 8, Offset (0x50), GPP0, 8, GPP1, 8, GPP2, 8, GPP3, 8 } OperationRegion (KBDD, SystemIO, 0x64, One) Field (KBDD, ByteAcc, NoLock, Preserve) { PD64, 8 } Method (IRQC, 0, NotSerialized) { INTA (0x1F) INTB (0x1F) INTC (0x1F) INTD (0x1F) Store (PD64, Local1) Store (0x1F, PIRE) Store (0x1F, PIRF) Store (0x1F, PIRG) Store (0x1F, PIRH) } Method (INTA, 1, NotSerialized) { Store (Arg0, PIRA) Store (Arg0, HDAD) Store (Arg0, GEC) Store (Arg0, GPP0) Store (Arg0, GPP0) } Method (INTB, 1, NotSerialized) { Store (Arg0, PIRB) Store (Arg0, USB2) Store (Arg0, USB4) Store (Arg0, USB6) Store (Arg0, GPP1) Store (Arg0, IDE) } Method (INTC, 1, NotSerialized) { Store (Arg0, PIRC) Store (Arg0, USB1) Store (Arg0, USB3) Store (Arg0, USB5) Store (Arg0, USB7) Store (Arg0, GPP2) } Method (INTD, 1, NotSerialized) { Store (Arg0, PIRD) Store (Arg0, SATA) Store (Arg0, GPP3) } Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {15} }) Name (IPRA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Name (IPRB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Name (IPRC, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Name (IPRD, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { If (PIRA) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSA) } Method (_DIS, 0, NotSerialized) { INTA (0x1F) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRA, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) INTA (Local0) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { If (PIRB) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSB) } Method (_DIS, 0, NotSerialized) { INTB (0x1F) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRB, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) INTB (Local0) } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (PIRC) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSC) } Method (_DIS, 0, NotSerialized) { INTC (0x1F) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRC, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) INTC (Local0) } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { If (PIRD) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSD) } Method (_DIS, 0, NotSerialized) { INTD (0x1F) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRD, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) INTD (Local0) } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_STA, 0, NotSerialized) { If (PIRE) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSE) } Method (_DIS, 0, NotSerialized) { Store (0x1F, PIRE) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRE, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (PIRE, Local0) Decrement (Local0) Store (Local0, PIRE) } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { If (PIRF) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSF) } Method (_DIS, 0, NotSerialized) { Store (0x1F, PIRF) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRF, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRF) } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (PIRG) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSG) } Method (_DIS, 0, NotSerialized) { Store (0x1F, PIRG) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRG, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRG) } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { If (PIRH) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRSH) } Method (_DIS, 0, NotSerialized) { Store (0x1F, PIRH) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRH, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRH) } } } OperationRegion (EXBU, SystemMemory, 0x8F88F018, 0x1015) Field (EXBU, AnyAcc, Lock, Preserve) { XID, 8, FADR, 32, FSIZ, 16, FSTA, 16, FSFN, 8, BAML, 8, BIPA, 32, AMLA, 32, RTCW, 16, AMLB, 32768 } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length ) }) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_CRS, 0, NotSerialized) { CreateDWordField (CRS, 0x04, HPT) Store (0xFED00000, HPT) Return (CRS) } } Name (WOTB, Zero) Name (WSSB, Zero) Name (WAXB, Zero) Method (_PTS, 1, NotSerialized) { Store (Arg0, DBG8) If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) { Sleep (0x0BB8) } PTS (Arg0) Store (Zero, Index (WAKP, Zero)) Store (Zero, Index (WAKP, One)) Store (ASSB, WSSB) Store (AOTB, WOTB) Store (AAXB, WAXB) Store (Arg0, ASSB) Store (OSFL (), AOTB) Store (Zero, AAXB) If (LEqual (Arg0, 0x03)) { Store (One, \_SB.PCI0.SBRG.EC0.USBW) } If (LEqual (Arg0, 0x04)) { Store (One, \_SB.PCI0.SBRG.EC0.S4EN) } \_SB.PCI0.SBRG.EC0.EECD (0x45, 0xB0, Zero, Zero, Zero, Zero) } Method (_WAK, 1, NotSerialized) { ShiftLeft (Arg0, 0x04, DBG8) WAK (Arg0) If (ASSB) { Store (WSSB, ASSB) Store (WOTB, AOTB) Store (WAXB, AAXB) } If (LEqual (Arg0, 0x03)) { Store (Zero, \_SB.PCI0.SBRG.EC0.USBW) If (LEqual (\_SB.PCI0.SBRG.EC0.LLBA, One)) { \_SB.PCI0.SBRG.EC0._Q22 () } } If (LEqual (Arg0, 0x04)) { Store (One, \_SB.PCI0.SBRG.EC0.S4RS) } If (DerefOf (Index (WAKP, Zero))) { Store (Zero, Index (WAKP, One)) } Else { Store (Arg0, Index (WAKP, One)) } Return (WAKP) } Device (OMSC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x0E11) } Device (_SB.RMEM) { Name (_HID, EisaId ("PNP0C01")) Name (_UID, One) } Scope (_PR) { OperationRegion (SSDT, SystemMemory, 0xFFFF0000, 0xFFFF) Name (DCOR, 0x02) Name (TBLD, 0x04) Name (NPSS, 0x05) Name (HNDL, 0x80000000) Name (APSS, Package (0x0A) { Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, Package (0x06) { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF } }) Processor (P000, 0x01, 0x00000810, 0x06) { Name (TYPE, 0x80000000) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x08, DAT0) Store (DAT0, TYPE) If (LAnd (LEqual (TBLD, Zero), LNotEqual (NPSS, Zero))) { If (LOr (LEqual (And (TYPE, 0x1B), 0x1B), LEqual (DCOR, Zero))) { Store (One, TBLD) Load (SSDT, HNDL) } } } } Processor (P001, 0x02, 0x00000810, 0x06) { Name (TYPE, 0x80000000) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x08, DAT0) Store (DAT0, TYPE) If (LAnd (LEqual (TBLD, Zero), LNotEqual (NPSS, Zero))) { If (LOr (LEqual (And (TYPE, 0x1B), 0x1B), LEqual (DCOR, Zero))) { Store (One, TBLD) Load (SSDT, HNDL) } } } } Processor (P002, 0x03, 0x00000810, 0x06) { Name (TYPE, 0x80000000) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x08, DAT0) Store (DAT0, TYPE) If (LAnd (LEqual (TBLD, Zero), LNotEqual (NPSS, Zero))) { If (LOr (LEqual (And (TYPE, 0x1B), 0x1B), LEqual (DCOR, Zero))) { Store (One, TBLD) Load (SSDT, HNDL) } } } } Processor (P003, 0x04, 0x00000810, 0x06) { Name (TYPE, 0x80000000) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x08, DAT0) Store (DAT0, TYPE) If (LAnd (LEqual (TBLD, Zero), LNotEqual (NPSS, Zero))) { If (LOr (LEqual (And (TYPE, 0x1B), 0x1B), LEqual (DCOR, Zero))) { Store (One, TBLD) Load (SSDT, HNDL) } } } } } Scope (_SB.PCI0) { Method (_OSC, 4, NotSerialized) { Name (SUPP, Zero) Name (CTRL, Zero) If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, /* 0008 */ 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66 })) { CreateDWordField (Arg3, Zero, CDW1) CreateDWordField (Arg3, 0x04, CDW2) CreateDWordField (Arg3, 0x08, CDW3) Or (CDW1, 0x02, CDW1) Return (Arg3) Store (CDW2, SUPP) Store (CDW3, CTRL) If (LNotEqual (And (SUPP, 0x16), 0x16)) { And (CTRL, 0x1E) } If (LNot (PEHP)) { And (CTRL, 0x1E, CTRL) } If (LNot (SHPC)) { And (CTRL, 0x1D, CTRL) } If (LNot (PEPM)) { And (CTRL, 0x1B, CTRL) } If (LNot (PEER)) { And (CTRL, 0x15, CTRL) } If (LNot (PECS)) { And (CTRL, 0x0F, CTRL) } If (OSCF) { If (Not (And (CDW1, One))) { If (And (CTRL, One)) {} If (And (CTRL, 0x04)) { Store (One, EPNM) } Else { Store (Zero, EPNM) } If (And (CTRL, 0x10)) {} } } If (LNotEqual (Arg1, One)) { Or (CDW1, 0x08, CDW1) } If (LNotEqual (CDW3, CTRL)) { Or (CDW1, 0x10, CDW1) } Store (CTRL, CDW3) Return (Arg3) } Else { Or (CDW1, 0x04, CDW1) Return (Arg3) } } } Scope (_SB.PCI0.VGA) { Name (PXEN, 0x80000001) Name (PXID, 0x00020000) Name (PXMX, 0x80000001) Name (LCDT, 0x80000000) Name (DSCT, 0x80000000) Name (AF7E, 0x80000000) Name (PXDY, 0x80000001) Name (PXFX, 0x80000000) Method (_STA, 0, NotSerialized) { Return (0x0F) } Scope (\_SB.PCI0.VGA) { Name (ATIB, Buffer (0x0100) {}) Method (ATIF, 2, Serialized) { If (LEqual (Arg0, Zero)) { Return (AF00 ()) } If (LEqual (Arg0, One)) { Return (AF01 ()) } If (LEqual (Arg0, 0x02)) { Return (AF02 ()) } If (LEqual (Arg0, 0x03)) { Return (AF03 (DerefOf (Index (Arg1, 0x02)), DerefOf (Index (Arg1, 0x04)))) } If (LEqual (Arg0, 0x0F)) { Return (AF15 ()) } Else { CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (Zero, SSZE) Store (Zero, VERN) Store (Zero, NMSK) Store (Zero, SFUN) Return (ATIB) } } Method (AF00, 0, NotSerialized) { Store (0xF0, P80H) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) Store (One, VERN) If (LEqual (PXEN, 0x80000000)) { Store (0x11, NMSK) } Else { Store (0x51, NMSK) } Store (NMSK, MSKN) Store (0x07, SFUN) Return (ATIB) } Name (NCOD, 0x81) Method (AF01, 0, NotSerialized) { Store (0xF1, P80H) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x0B, VMSK) Store (0x0A, SSZE) Store (0x0B, FLGS) Store (0x81, NCOD) Return (ATIB) } Name (PSBR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (MSKN, Zero) Name (SEXM, Zero) Name (STHG, Zero) Name (STHI, Zero) Name (SFPG, Zero) Name (SFPI, Zero) Name (SSPS, Zero) Name (SSDM, 0x0A) Name (SCDY, Zero) Name (SACT, Buffer (0x07) { 0x01, 0x02, 0x08, 0x80, 0x03, 0x09, 0x81 }) Method (AF02, 0, NotSerialized) { Store (0xF2, P80H) CreateBitField (PSBR, Zero, PDSW) CreateBitField (PSBR, One, PEXM) CreateBitField (PSBR, 0x02, PTHR) CreateBitField (PSBR, 0x03, PFPS) CreateBitField (PSBR, 0x04, PSPS) CreateBitField (PSBR, 0x05, PDCC) CreateBitField (PSBR, 0x06, PXPS) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) CreateByteField (ATIB, 0x08, THID) CreateByteField (ATIB, 0x09, FPWR) CreateByteField (ATIB, 0x0A, FPID) CreateByteField (ATIB, 0x0B, SPWR) Store (0x0C, SSZE) Store (PSBR, PSBI) If (PDSW) { Store (0x82, P80H) Store (Zero, PDSW) } If (PEXM) { Store (SEXM, EXPM) Store (Zero, SEXM) Store (Zero, PEXM) } If (PTHR) { Store (STHG, THRM) Store (STHI, THID) Store (Zero, STHG) Store (Zero, STHI) Store (Zero, PTHR) } If (PFPS) { Store (SFPG, FPWR) Store (SFPI, FPWR) Store (Zero, SFPG) Store (Zero, SFPI) Store (Zero, PFPS) } If (PSPS) { Store (SSPS, SPWR) Store (Zero, PSPS) } If (PXPS) { Store (0xA2, P80H) Store (Zero, PXPS) } Return (ATIB) } Method (AF03, 2, NotSerialized) { Store (0xF3, P80H) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, SSDP) CreateWordField (ATIB, 0x04, SCDP) Store (Arg0, SSDP) Store (Arg1, SCDP) Name (NXTD, 0x06) Name (CIDX, 0x06) Store (SSDP, Local1) And (Local1, 0x8B, Local1) Store (SCDP, Local2) If (CondRefOf (\_SB.LID._LID, Local4)) { And (Local2, 0xFFFFFFFFFFFFFFFE, Local2) Or (Local2, Local4, Local2) } Else { Or (Local2, One, Local2) } Store (Local2, P80H) Store (Zero, Local0) While (LLess (Local0, SizeOf (SACT))) { Store (DerefOf (Index (SACT, Local0)), Local3) If (LEqual (Local3, Local1)) { Store (Local0, CIDX) Store (SizeOf (SACT), Local0) } Else { Increment (Local0) } } Store (CIDX, Local0) While (LLess (Local0, SizeOf (SACT))) { Increment (Local0) If (LEqual (Local0, SizeOf (SACT))) { Store (Zero, Local0) } Store (DerefOf (Index (SACT, Local0)), Local3) If (LEqual (And (Local3, Local2), Local3)) { Store (Local0, NXTD) Store (SizeOf (SACT), Local0) } } If (LEqual (NXTD, SizeOf (SACT))) { Store (Zero, SSDP) } Else { Store (NXTD, Local0) Store (DerefOf (Index (SACT, Local0)), Local3) And (SSDP, 0xFFFFFFFFFFFFFFF4, SSDP) Or (SSDP, Local3, SSDP) } Store (0x04, SSZE) Store (SSDP, P80H) Return (ATIB) } Method (AFN0, 0, Serialized) { If (And (MSKN, One)) { CreateBitField (PSBR, Zero, PDSW) Store (One, PDSW) Notify (VGA, NCOD) } } Method (AFN3, 2, Serialized) { If (And (MSKN, 0x08)) { Store (Arg0, Local0) Store (Local0, SFPI) Store (Arg1, Local0) Store (And (Local0, 0x03, Local0), SFPG) CreateBitField (PSBR, 0x03, PFPS) Store (One, PFPS) Notify (VGA, NCOD) } } Method (AFN4, 1, Serialized) { If (And (MSKN, 0x10)) { Store (Arg0, Local0) Store (SSPS, Local1) Store (Local0, SSPS) If (LEqual (Local0, Local1)) {} Else { CreateBitField (PSBR, 0x04, PSPS) Store (One, PSPS) Notify (VGA, NCOD) } } } Method (AFN5, 0, Serialized) { If (And (MSKN, 0x20)) { CreateBitField (PSBR, 0x05, PDCC) Store (One, PDCC) Notify (VGA, NCOD) } } Method (AFN6, 0, Serialized) { If (And (MSKN, 0x40)) { CreateBitField (PSBR, 0x06, PXPS) Store (One, PXPS) Notify (VGA, NCOD) } } Method (AFN7, 1, Serialized) { If (And (MSKN, 0x80)) { CreateBitField (PSBR, 0x07, PBRT) Store (One, PBRT) CreateByteField (ATIB, 0x0C, BRTL) Store (Arg0, BRTL) Notify (VGA, NCOD) } } Method (AF15, 0, NotSerialized) { Store (0xFF, P80H) CreateWordField (ATIB, Zero, DNUM) CreateWordField (ATIB, 0x02, DSZE) Store (0x08, DSZE) Acquire (PXPX, 0xFFFF) Store (0x8D, BCMD) Store (0x0F, DID) Store (ATIB, INFO) Store (ATIS, ^^SBRG.SMIC) Store (INFO, ATIB) Release (PXPX) Return (ATIB) } Name (AT00, Buffer (0xFF) {}) Name (AT01, Buffer (0x03) {}) Method (ATCS, 2, Serialized) { If (LEqual (Arg0, Zero)) { ATC0 () } If (LEqual (Arg0, One)) { ATC1 () } If (LEqual (Arg0, 0x02)) { ATC2 (Arg1) } If (LEqual (Arg0, 0x03)) { ATC3 () } If (LEqual (Arg0, 0x04)) { ATC4 (Arg1) } Return (AT00) } Method (ATC0, 0, NotSerialized) { CreateWordField (AT00, Zero, SZZE) CreateWordField (AT00, 0x02, INTF) CreateDWordField (AT00, 0x04, SUPP) Store (0x08, SZZE) Store (One, INTF) Store (0x0F, SUPP) } Method (ATC1, 0, Serialized) { CreateWordField (AT00, Zero, SZZE) CreateDWordField (AT00, 0x02, VFMK) CreateDWordField (AT00, 0x06, FLAG) CreateField (AT00, 0x30, One, DOCK) Store (0x0A, SZZE) Store (One, VFMK) Store (Zero, FLAG) Store (One, DOCK) } Method (ATC2, 1, Serialized) { CreateField (Arg0, 0x10, 0x03, FUCC) CreateField (Arg0, 0x13, 0x06, DEVV) CreateByteField (Arg0, 0x03, BUSS) CreateDWordField (Arg0, 0x04, VFMK) CreateDWordField (Arg0, 0x06, FLAG) CreateField (Arg0, 0x30, One, ADVC) CreateField (Arg0, 0x31, One, WFCM) CreateByteField (Arg0, 0x08, RQST) CreateByteField (Arg0, 0x09, PFRQ) CreateWordField (AT00, Zero, SZZE) CreateByteField (AT00, 0x02, RETV) Store (0x03, SZZE) Store (One, RETV) Store (ALIB (0x02, Arg0), AT00) } Method (ATC3, 0, Serialized) { CreateWordField (AT00, Zero, SZZE) CreateByteField (AT00, 0x02, RETV) CreateWordField (AT01, Zero, SZZB) CreateByteField (AT01, 0x02, PSPP) Store (0x03, SZZE) Store (One, RETV) Store (0x03, SZZB) Store (One, PSPP) Store (ALIB (0x03, AT01), AT00) } Method (ATC4, 1, Serialized) { CreateField (Arg0, 0x10, 0x03, FUCC) CreateField (Arg0, 0x13, 0x06, DEVV) CreateByteField (Arg0, 0x03, BUSS) CreateByteField (Arg0, 0x04, NULN) CreateWordField (AT00, Zero, SZZE) CreateByteField (AT00, 0x02, NULM) Store (0x03, SZZE) Store (One, NULM) Store (ALIB (0x04, Arg0), AT00) } } Name (ATPB, Buffer (0x0100) {}) Name (DSID, 0xFFFFFFFF) Name (HSID, 0xFFFFFFFF) Name (CNT0, Buffer (0x05) { 0x05, 0x00, 0x00, 0x10, 0x01 }) Name (CNT1, Buffer (0x05) { 0x05, 0x01, 0x00, 0x00, 0x01 }) Name (CNT2, Buffer (0x05) { 0x07, 0x03, 0x00, 0x10, 0x02 }) Name (CNT3, Buffer (0x05) { 0x07, 0x07, 0x00, 0x20, 0x02 }) Name (CNT4, Buffer (0x05) { 0x00, 0x09, 0x00, 0x30, 0x02 }) Name (CNT5, Buffer (0x05) { 0x01, 0x00, 0x01, 0x10, 0x01 }) Name (CNT6, Buffer (0x05) { 0x01, 0x01, 0x01, 0x00, 0x01 }) Name (CNT7, Buffer (0x05) { 0x03, 0x03, 0x01, 0x10, 0x02 }) Name (CNT8, Buffer (0x05) { 0x03, 0x07, 0x01, 0x20, 0x02 }) Name (CNT9, Buffer (0x05) { 0x00, 0x09, 0x01, 0x30, 0x02 }) OperationRegion (REVD, SystemMemory, 0x8F83411D, 0x0000F004) Field (REVD, AnyAcc, NoLock, Preserve) { SROM, 32, VROM, 491520 } Name (TVGA, Buffer (0xF000) { 0x00 }) Method (ATRM, 2, Serialized) { Add (Arg0, Arg1, Local0) If (LLessEqual (Local0, SROM)) { Multiply (Arg1, 0x08, Local1) Multiply (Arg0, 0x08, Local2) Store (VROM, TVGA) CreateField (TVGA, Local2, Local1, TEMP) Name (RETB, Buffer (Arg1) {}) Store (TEMP, RETB) Return (RETB) } Else { If (LLess (Arg0, SROM)) { Subtract (SROM, Arg0, Local3) Multiply (Local3, 0x08, Local1) Multiply (Arg0, 0x08, Local2) Store (VROM, TVGA) CreateField (TVGA, Local2, Local1, TEM) Name (RETC, Buffer (Local3) {}) Store (TEM, RETC) Return (RETC) } Else { Name (RETD, Buffer (One) {}) Return (RETD) } } } Method (ATPX, 2, Serialized) { If (LEqual (Arg0, Zero)) { Return (PX00 ()) } If (LEqual (Arg0, One)) { Return (PX01 ()) } If (LEqual (Arg0, 0x02)) { PX02 (DerefOf (Index (Arg1, 0x02))) Return (ATPB) } If (LEqual (Arg0, 0x03)) { PX03 (DerefOf (Index (Arg1, 0x02))) Return (ATPB) } If (LEqual (Arg0, 0x04)) { PX04 (DerefOf (Index (Arg1, 0x02))) Return (ATPB) } If (LEqual (Arg0, 0x08)) { Return (PX08 ()) } If (LEqual (Arg0, 0x09)) { Return (PX09 ()) } CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, VERN) CreateDWordField (ATPB, 0x04, SFUN) Store (Zero, SSZE) Store (Zero, VERN) Store (Zero, SFUN) Return (ATPB) } Method (PX00, 0, NotSerialized) { Store (0xE0, P80H) CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, VERN) CreateDWordField (ATPB, 0x04, SFUN) Store (0x08, SSZE) Store (One, VERN) If (LEqual (PXEN, 0x80000000)) { Store (Zero, SFUN) Return (ATPB) } If (LEqual (PXMX, 0x80000000)) { Store (0x018F, SFUN) } Else { Store (0x0183, SFUN) } If (LEqual (PXDY, 0x80000001)) { And (SFUN, 0xFFFFFFFD, SFUN) } If (LAnd (LEqual (PXDY, 0x80000001), LEqual (PXFX, 0x80000001))) { Or (SFUN, 0x02, SFUN) } Store (^^PCE2.VGA.SVID, Local0) Store (^^PCE2.HDAU.SVID, Local1) If (LNotEqual (Local0, 0xFFFFFFFF)) { Store (Local0, DSID) } If (LNotEqual (Local1, 0xFFFFFFFF)) { Store (Local1, HSID) } Return (ATPB) } Method (PX01, 0, NotSerialized) { Store (0xE1, P80H) CreateWordField (ATPB, Zero, SSZE) CreateDWordField (ATPB, 0x02, VMSK) CreateDWordField (ATPB, 0x06, FLGS) Store (0x0A, SSZE) Store (0xFF, VMSK) If (LEqual (PXMX, 0x80000000)) { Store (0x4B, FLGS) } Else { Store (Zero, FLGS) If (LEqual (PXDY, 0x80000001)) { Or (FLGS, 0x80, FLGS) } } Return (ATPB) } Method (PX02, 1, NotSerialized) { CreateWordField (ATPB, Zero, SSZE) CreateByteField (ATPB, 0x02, PWST) Store (0x03, SSZE) Store (Buffer (0x05) {}, Local7) CreateWordField (Local7, Zero, SZZE) CreateField (Local7, 0x10, 0x03, FUCC) CreateField (Local7, 0x13, 0x05, DEVV) CreateByteField (Local7, 0x03, BUSS) CreateByteField (Local7, 0x04, HPST) Store (0x05, SZZE) Store (Zero, BUSS) Store (Zero, FUCC) Store (Buffer (0x04) {}, Local6) CreateByteField (Local6, 0x02, HPOX) And (Arg0, One, PWST) Name (HPOK, Zero) If (PWST) { Store (0x11E2, P80H) DPON () Store (Zero, HPOK) Sleep (0x64) Sleep (0x64) Store (0x02, DEVV) Store (One, HPST) Store (ALIB (0x06, Local7), Local6) Sleep (0x14) Store (Zero, Local2) While (LLess (Local2, 0x0F)) { Store (One, ^^PCE2.PDC2) Store (One, Local4) Store (0xC8, Local5) While (LAnd (Local4, Local5)) { Store (^^PCE2.XPRD (0xA5), Local0) And (Local0, 0x7F, Local0) If (LAnd (LGreaterEqual (Local0, 0x10), LNotEqual (Local0, 0x7F))) { Store (Zero, Local4) } Else { Sleep (0x05) Decrement (Local5) } } If (LNot (Local4)) { Store (^^PCE2.XPDL (), Local5) If (Local5) { ^^PCE2.XPRT () Sleep (0x05) Increment (Local2) } Else { Store (Zero, Local0) If (LEqual (^^PCE2.XPR2 (), Ones)) { Store (One, Local0) } If (Local0) { Store (One, HPOK) Store (0x10, Local2) } Else { Store (Zero, HPOK) Store (0x10, Local2) } } } Else { Store (0x10, Local2) } } If (LNot (HPOK)) { Store (0x13E2, P80H) Store (^^PCE2.VGA.DVID, Local1) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (^^PCE2.XPRD (0xA5), Local0) And (Local0, 0x7F, Local0) If (LLessEqual (Local0, 0x04)) { Store (Zero, Local4) } Else { Store (^^PCE2.VGA.DVID, Local1) Sleep (0x05) Decrement (Local5) } } Store (0x02, DEVV) Store (Zero, HPST) ALIB (0x06, Local7) } Store (0x14E2, P80H) } Else { Store (0x02E2, P80H) Store (0x20, INFO) Store (0x84, BCMD) Store (ATIS, ^^SBRG.SMIC) DPOF () Store (One, ^^PCE2.PDC2) Store (^^PCE2.VGA.DVID, Local1) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (^^PCE2.XPRD (0xA5), Local0) And (Local0, 0x7F, Local0) If (LLessEqual (Local0, 0x04)) { Store (Zero, Local4) } Else { Store (^^PCE2.VGA.DVID, Local1) Sleep (0x05) Decrement (Local5) } } Store (0x02, DEVV) Store (Zero, HPST) ALIB (0x06, Local7) Store (0x02, HPOK) Store (0x04E2, P80H) } If (HPOK) { If (LAnd (LEqual (HPOK, One), LNotEqual (DSID, 0xFFFFFFFF))) { Store (DSID, Local1) Store (Local1, ^^PCE2.VGA.SMID) Sleep (0x0A) Store (HSID, Local1) If (LNotEqual (Local1, 0xFFFFFFFF)) { Store (Local1, ^^PCE2.HDAU.SMID) } Sleep (0x0A) } Notify (PCE2, Zero) } } Method (PX03, 1, NotSerialized) { CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, DPSW) Store (0x04, SSZE) And (Arg0, One, DPSW) } Method (PX04, 1, NotSerialized) { Store (0xE4, P80H) CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, ICSW) Store (0x04, SSZE) And (Arg0, One, ICSW) } Method (PX08, 0, NotSerialized) { Store (0xE8, P80H) CreateWordField (ATPB, Zero, CNUM) CreateWordField (ATPB, 0x02, CSSZ) Store (0x0A, CNUM) Store (0x05, CSSZ) CreateField (ATPB, 0x20, 0x28, CTI0) Store (CNT0, CTI0) CreateField (ATPB, 0x48, 0x28, CTI1) Store (CNT1, CTI1) CreateField (ATPB, 0x70, 0x28, CTI2) CreateByteField (CNT2, Zero, FLG2) If (LEqual (LCDT, 0x80000001)) { If (LEqual (DSCT, 0x80000001)) { Store (Zero, FLG2) } If (LEqual (DSCT, 0x80000002)) { Store (0x07, FLG2) } } Store (CNT2, CTI2) CreateField (ATPB, 0x98, 0x28, CTI3) CreateByteField (CNT3, Zero, FLG3) If (LEqual (LCDT, 0x80000000)) { Store (0x07, FLG3) } If (LEqual (LCDT, 0x80000001)) { Store (Zero, FLG3) If (LEqual (DSCT, 0x80000002)) { Store (Zero, FLG3) } } If (LEqual (LCDT, 0x80000002)) { Store (Zero, FLG3) If (LEqual (DSCT, 0x80000002)) { Store (0x07, FLG3) } } Store (CNT3, CTI3) CreateField (ATPB, 0xC0, 0x28, CTI4) Store (CNT4, CTI4) CreateField (ATPB, 0xE8, 0x28, CTI5) Store (CNT5, CTI5) CreateField (ATPB, 0x0110, 0x28, CTI6) Store (CNT6, CTI6) CreateField (ATPB, 0x0138, 0x28, CTI7) CreateByteField (CNT7, Zero, FLG7) If (LEqual (LCDT, 0x80000001)) { If (LEqual (DSCT, 0x80000001)) { Store (Zero, FLG7) } If (LEqual (DSCT, 0x80000002)) { Store (Zero, FLG7) } } Store (CNT7, CTI7) CreateField (ATPB, 0x0160, 0x28, CTI8) CreateByteField (CNT8, Zero, FLG8) If (LEqual (LCDT, 0x80000000)) { Store (0x07, FLG8) } If (LEqual (LCDT, 0x80000001)) { Store (Zero, FLG8) } If (LEqual (LCDT, 0x80000002)) { Store (Zero, FLG8) } If (LEqual (DSCT, 0x80000002)) { Store (0x07, FLG8) } Store (CNT8, CTI8) CreateField (ATPB, 0x0188, 0x28, CTI9) CreateByteField (CNT9, Zero, FLG9) If (LEqual (DSCT, 0x80000002)) { Store (0x07, FLG9) } Store (CNT9, CTI9) Return (ATPB) } Method (PX09, 0, NotSerialized) { Store (0xE9, P80H) CreateWordField (ATPB, Zero, CNUM) CreateWordField (ATPB, 0x02, CSSZ) Store (Zero, CNUM) Store (Zero, CSSZ) CreateByteField (ATPB, 0x04, ATI0) CreateByteField (ATPB, 0x05, HPD0) CreateByteField (ATPB, 0x06, DDC0) Store (Zero, ATI0) Store (Zero, HPD0) Store (Zero, DDC0) CreateByteField (ATPB, 0x07, ATI1) CreateByteField (ATPB, 0x08, HPD1) CreateByteField (ATPB, 0x09, DDC1) Store (Zero, ATI1) Store (Zero, HPD1) Store (Zero, DDC1) Return (ATPB) } } Method (DPON, 0, NotSerialized) { Store (Zero, G2CO) Store (Zero, G2CE) Store (Zero, G2DO) Store (Zero, G2DE) Sleep (0x0A) Store (One, G2DO) Store (Zero, G2DE) Sleep (0x0A) Store (One, G37O) Store (Zero, G37E) Sleep (0x0A) Store (One, G1CM) While (LEqual (G1CI, Zero)) {} Store (One, G2CO) Store (Zero, G2CE) Store (0x12E2, P80H) } Method (DPOF, 0, NotSerialized) { Store (Zero, G2CO) Store (Zero, G2CE) Store (Zero, G37O) Store (Zero, G37E) Sleep (0x0A) Store (Zero, G2DO) Store (Zero, G2DE) Store (0x03E2, P80H) } Scope (_SB) { Scope (\_GPE) { Method (_L05, 0, NotSerialized) { Name (HPOK, Zero) Notify (\_SB.PCI0.PE22, Zero) } } } OperationRegion (SMIM, SystemMemory, 0xFED80200, 0x0100) Field (SMIM, AnyAcc, NoLock, Preserve) { Offset (0x98), , 5, GEL5, 1 } Method (PWAK, 1, NotSerialized) { If (GE05) { Store (Zero, GEL5) } Else { Store (One, GEL5) } } Scope (_SB) { Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0B, 0x04 }) } } Device (LID) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { Store (GE22, Local0) Return (Local0) } } } Scope (_GPE) { Method (_L16, 0, NotSerialized) { Store (One, \_SB.LDON) Not (E22C, E22C) Store (One, E22S) Notify (\_SB.LID, 0x80) } } Scope (_SB.PCI0.SBRG) { Device (EC0) { Name (_HID, EisaId ("PNP0C09")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) Name (_GPE, 0x03) Mutex (MUEC, 0x00) Mutex (MU4T, 0x00) Name (ECFL, Ones) OperationRegion (EC68, SystemIO, 0x68, One) Field (EC68, ByteAcc, NoLock, Preserve) { P68H, 8 } OperationRegion (EC6C, SystemIO, 0x6C, One) Field (EC6C, ByteAcc, NoLock, Preserve) { P6CH, 8 } Method (SMAN, 0, NotSerialized) { OperationRegion (\SMAN, SystemMemory, AMLA, 0x20) Field (\SMAN, ByteAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, BLEN, 16, STAS, 8, EROR, 8, REWR, 8, OFST, 16, LENG, 8, Offset (0x10), DATA, 64 } Store (0x19, MFUN) Store (One, SFUN) Store (One, REWR) Store (0x4E, OFST) Store (One, LENG) Store (0xAA, DATA) Store (AMLA, BIPA) WISM (0xA1) Store (0x19, MFUN) Store (One, SFUN) Store (One, REWR) Store (0x7D, OFST) Store (One, LENG) Store (0x80, DATA) Store (AMLA, BIPA) WISM (0xA1) Return (One) } Method (DEAF, 0, NotSerialized) { OperationRegion (\DEAF, SystemMemory, AMLA, 0x20) Field (\DEAF, ByteAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, BLEN, 16, STAS, 8, EROR, 8, REWR, 8, OFST, 16, LENG, 8, Offset (0x10), DATA, 64 } Store (0x19, MFUN) Store (One, SFUN) Store (One, REWR) Store (0x4E, OFST) Store (One, LENG) Store (0xAA, DATA) Store (AMLA, BIPA) WISM (0xA1) Store (0x19, MFUN) Store (One, SFUN) Store (One, REWR) Store (0x7D, OFST) Store (One, LENG) Store (Zero, DATA) Store (AMLA, BIPA) WISM (0xA1) Return (One) } Method (EECD, 6, NotSerialized) { Store (Package (0x06) { 0x10, Zero, Zero, Zero, Zero, Zero }, Local2) If (LEqual (Arg0, Zero)) { Return (Local2) } While (LEqual (And (P6CH, 0x80), 0x80)) { Sleep (0x0A) } While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (Arg0, P6CH) If (LNotEqual (Arg1, Zero)) { While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (Arg1, P68H) } If (LNotEqual (Arg2, Zero)) { While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (Arg2, P68H) } If (LNotEqual (Arg3, Zero)) { While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (Arg3, P68H) } If (LNotEqual (Arg4, Zero)) { While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (Arg4, P68H) } If (LNotEqual (Arg5, Zero)) { While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (Arg5, P68H) } Store (0x03, Local0) While (Local0) { If (LEqual (And (P6CH, One), Zero)) { Sleep (0x0A) } If (LEqual (And (P6CH, One), One)) { Store (P68H, Index (Local2, One)) Store (One, Local0) } Decrement (Local0) } Store (0x03, Local0) Store (0x03, Local0) While (Local0) { If (LEqual (And (P6CH, One), Zero)) { Sleep (0x0A) } If (LEqual (And (P6CH, One), One)) { Store (P68H, Index (Local2, 0x02)) Store (One, Local0) } Decrement (Local0) } Store (0x03, Local0) Store (0x03, Local0) While (Local0) { If (LEqual (And (P6CH, One), Zero)) { Sleep (0x0A) } If (LEqual (And (P6CH, One), One)) { Store (P68H, Index (Local2, 0x03)) Store (One, Local0) } Decrement (Local0) } Store (0x03, Local0) Store (0x03, Local0) While (Local0) { If (LEqual (And (P6CH, One), Zero)) { Sleep (0x0A) } If (LEqual (And (P6CH, One), One)) { Store (P68H, Index (Local2, 0x04)) Store (One, Local0) } Decrement (Local0) } Store (0x03, Local0) Store (0x03, Local0) While (Local0) { If (LEqual (And (P6CH, One), Zero)) { Sleep (0x0A) } If (LEqual (And (P6CH, One), One)) { Store (P68H, Index (Local2, 0x05)) Store (One, Local0) } Decrement (Local0) } While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (0xFF, P6CH) Store (Zero, Index (Local2, Zero)) Return (Local2) While (LEqual (And (P6CH, 0x02), 0x02)) { Sleep (0x0A) } Store (0xFF, P6CH) } Method (ECAV, 0, NotSerialized) { If (LEqual (ECFL, Ones)) { If (LGreaterEqual (_REV, 0x02)) { Return (One) } Else { Return (Zero) } Return (Zero) } Return (ECFL) } Method (DPDT, 0, NotSerialized) { Store (^^^^ATKD.AGFN (Zero), Local0) OperationRegion (\DPRG, SystemMemory, Local0, 0x0A) Field (DPRG, ByteAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, BLEN, 16, STAS, 8, EROR, 8, ECMD, 8, EDA1, 8 } Store (0x15, MFUN) Store (0x03, SFUN) Store (Local0, BIPA) WISM (0xA1) } OperationRegion (PECO, SystemIO, 0x0260, 0x08) Field (PECO, ByteAcc, Lock, Preserve) { HSTS, 8, HCTL, 8, HCMD, 8, HTAR, 8, HWLR, 8, HRLR, 8, HWDR, 8, HRDR, 8 } OperationRegion (ECOR, EmbeddedControl, Zero, 0xFF) Field (ECOR, ByteAcc, Lock, Preserve) { Offset (0x04), CMD1, 8, CDT1, 8, CDT2, 8, CDT3, 8, Offset (0x80), Offset (0x81), Offset (0x82), Offset (0x83), EB0R, 8, EB1R, 8, EPWF, 8, Offset (0x87), Offset (0x88), Offset (0x89), Offset (0x8A), HKEN, 1, Offset (0x93), TAH0, 16, TAH1, 16, TSTP, 8, Offset (0x9C), CDT4, 8, CDT5, 8, Offset (0xA0), Offset (0xA1), Offset (0xA2), Offset (0xA3), EACT, 8, TH1R, 8, TH1L, 8, TH0R, 8, TH0L, 8, Offset (0xB0), B0PN, 16, Offset (0xB4), Offset (0xB6), Offset (0xB8), Offset (0xBA), Offset (0xBC), Offset (0xBE), B0TM, 16, B0C1, 16, B0C2, 16, B0C3, 16, B0C4, 16, Offset (0xD0), B1PN, 16, Offset (0xD4), Offset (0xD6), Offset (0xD8), Offset (0xDA), Offset (0xDC), Offset (0xDE), B1TM, 16, B1C1, 16, B1C2, 16, B1C3, 16, B1C4, 16, Offset (0xF0), Offset (0xF2), Offset (0xF4), B0SN, 16, Offset (0xF8), Offset (0xFA), Offset (0xFC), B1SN, 16 } Name (SMBF, Zero) OperationRegion (SMBX, EmbeddedControl, 0x60, 0x29) Field (SMBX, ByteAcc, NoLock, Preserve) { PRTC, 8, SSTS, 5, , 1, ALFG, 1, CDFG, 1, ADDR, 8, CMDB, 8, BDAT, 256, BCNT, 8, , 1, ALAD, 7, ALD0, 8, ALD1, 8, SMBN, 8 } OperationRegion (SMB2, EmbeddedControl, 0x40, 0x28) Field (SMB2, ByteAcc, NoLock, Preserve) { PRT2, 8, SST2, 5, , 1, ALF2, 1, CDF2, 1, ADD2, 8, CMD2, 8, BDA2, 256, BCN2, 8, , 1, ALA2, 7, ALR0, 8, ALR1, 8 } Field (SMB2, ByteAcc, NoLock, Preserve) { Offset (0x04), DA20, 8, DA21, 8 } Field (SMBX, ByteAcc, NoLock, Preserve) { Offset (0x04), DAT0, 8, DAT1, 8 } Field (SMBX, ByteAcc, NoLock, Preserve) { Offset (0x04), DT2B, 16 } OperationRegion (NSBS, EmbeddedControl, 0x40, 0x04) Field (NSBS, ByteAcc, NoLock, Preserve) { A2AD, 8, A2D0, 8, A2D1, 8, A3AD, 8 } OperationRegion (BRAM, SystemIO, 0x025A, 0x02) Field (BRAM, ByteAcc, Lock, Preserve) { BRAI, 8, BRAD, 8 } IndexField (BRAI, BRAD, ByteAcc, NoLock, Preserve) { Offset (0x8F), PBSY, 8, EPWS, 8, EB0S, 8, EB1S, 8, EB0T, 8, EB1T, 8, Offset (0x98), ECPU, 8, ECRT, 8, EPSV, 8, Offset (0xA0), B0VL, 16, B0RC, 16, B0FC, 16, B0MD, 16, B0ST, 16, B0CC, 16, B0DC, 16, B0DV, 16, B1VL, 16, B1RC, 16, B1FC, 16, B1MD, 16, B1ST, 16, B1CC, 16, B1DC, 16, B1DV, 16 } Method (_INI, 0, NotSerialized) { Store (Zero, ECFL) } Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECFL) } If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One))) { Store (One, ECON) If (_OSI ("Windows 2009")) { Store (0x03, OSTP) } Else { If (_OSI ("Windows 2009 SP1")) { Store (0x03, OSTP) } Else { If (_OSI ("Windows 2006")) { Store (One, OSTP) } Else { If (_OSI ("Windows 2006 SP1")) { Store (One, OSTP) } Else { Store (Zero, OSTP) } } } } Store (SizeOf (\_PR.P000._PSS), Local0) Store (Local0, NPST) } } Method (ECOK, 0, NotSerialized) { If (LEqual (ECON, One)) { Return (One) } Else { Return (Zero) } } Name (ECON, Zero) Method (HDD2, 1, NotSerialized) { OperationRegion (\HDD2, SystemMemory, AMLA, 0x20) Field (\HDD2, ByteAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, BLEN, 16, STAS, 8, EROR, 8, ENDI, 8 } Store (0x1F, MFUN) Store (0x07, SFUN) Store (Arg0, ENDI) Store (AMLA, BIPA) WISM (0xA1) Return (One) } Method (HDDP, 1, NotSerialized) { OperationRegion (\HDDP, SystemMemory, AMLA, 0x14) Field (\HDDP, ByteAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, BLEN, 16, STAS, 8, EROR, 8, BOOT, 16 } Store (0x1F, MFUN) Store (0x02, SFUN) Store (Arg0, BOOT) Store (AMLA, BIPA) WISM (0xA1) Return (One) } Name (FHKM, One) Method (FHKW, 0, Serialized) { While (LNot (FHKM)) { Sleep (0x0A) } Store (Zero, FHKM) } Method (FHKS, 0, Serialized) { Store (One, FHKM) } Method (_Q01, 0, NotSerialized) { Store (One, P80H) If (ATKP) { ^^^^ATKD.IANE (0x52) } } Method (_Q02, 0, NotSerialized) { Store (0x02, P80H) If (ATKP) { ^^^^ATKD.IANE (0x53) } } Method (_Q03, 0, NotSerialized) { Store (0x03, P80H) If (ATKP) { ^^^^ATKD.IANE (0x54) } } Method (_Q04, 0, NotSerialized) { Store (0x04, P80H) If (ATKP) { ^^^^ATKD.IANE (0x55) } } Method (_Q05, 0, NotSerialized) { Store (0x05, P80H) If (ATKP) { ^^^^ATKD.IANE (0x56) } } Name (WBTL, Package (0x04) { Zero, One, 0x02, 0x03 }) Method (_Q0C, 0, NotSerialized) { Store (0x0C, P80H) ^^^^ATKD.IANE (0xC5) } Method (_Q0D, 0, NotSerialized) { Store (0x0D, P80H) ^^^^ATKD.IANE (0xC4) } Method (_Q0E, 0, NotSerialized) { Store (0x0E, P80H) } Method (_Q0F, 0, NotSerialized) { Store (0x0F, P80H) } Method (_Q10, 0, NotSerialized) { Store (0x10, P80H) Store (One, Local0) If (ATKP) { Subtract (0x34, Local0, Local0) ^^^^ATKD.IANE (Local0) } } Method (_Q11, 0, Serialized) { Store (0x11, P80H) Store (^^^^ATKD.GPLV (), Local0) If (LEqual (0x0E, Local0)) { Return (Zero) } If (LLess (Local0, Zero)) { Store (Zero, Local0) } If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LGreater (Local0, Zero)) { Decrement (Local0) } Store (Local0, LBT1) ^^^^ATKD.IANE (Add (Local0, 0x20)) Notify (^^^VGA.LCD, 0x87) Return (One) } Method (_Q12, 0, NotSerialized) { Store (0x12, P80H) Store (^^^^ATKD.GPLV (), Local0) If (LEqual (0x0E, Local0)) { Return (Zero) } If (LLess (Local0, Zero)) { Store (Zero, Local0) } If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LLess (Local0, 0x0A)) { Increment (Local0) } Store (Local0, LBT1) ^^^^ATKD.IANE (Add (Local0, 0x10)) Notify (^^^VGA.LCD, 0x86) Return (One) } Method (_Q13, 0, NotSerialized) { Store (0x13, P80H) Notify (SLPB, 0x80) } Method (_Q14, 0, NotSerialized) { Store (0x14, P80H) If (And (^^^^ATKD.WAPF, 0x04)) { Store (One, AWC3) If (ATKP) { ^^^^ATKD.IANE (0x88) } } Else { Store (Zero, AWC3) If (LAnd (LNot (WLEX), LNot (BTEX))) { ^^^^ATKD.IANE (0x74) } Else { If (LGreater (^^^^ATKD.RSTS (), Zero)) { ^^^^ATKD.WLED (Zero) ^^^^ATKD.BLED (Zero) ^^^^ATKD.IANE (0x74) } Else { ^^^^ATKD.WLED (One) ^^^^ATKD.BLED (One) ^^^^ATKD.IANE (0x73) } } } } Method (_Q1D, 0, NotSerialized) { Store (0x1D, P80H) If (LGreaterEqual (CTMP, OSST)) { Notify (\_TZ.THRM, 0x80) } Else { Store (PTVL, \_PR.P000._PPC) Notify (\_PR.P000, 0x80) If (LGreaterEqual (CCNM, 0x02)) { Store (PTVL, \_PR.P001._PPC) Notify (\_PR.P001, 0x80) } If (LGreaterEqual (CCNM, 0x03)) { Store (PTVL, \_PR.P002._PPC) Notify (\_PR.P002, 0x80) } If (LGreaterEqual (CCNM, 0x04)) { Store (PTVL, \_PR.P003._PPC) Notify (\_PR.P003, 0x80) } } } Method (_Q1E, 0, NotSerialized) { Store (0x1E, P80H) If (ATKP) { ^^^^ATKD.IANE (0x50) } } Method (_Q1F, 0, NotSerialized) { Store (0x1F, P80H) If (ATKP) { ^^^^ATKD.IANE (0x51) } } Method (_Q20, 0, NotSerialized) { Store (0x20, P80H) If (ATKP) { ^^^^ATKD.IANE (0x32) } } Method (_Q21, 0, NotSerialized) { Store (0x21, P80H) If (LLess (AVOL, 0x0F)) { Increment (AVOL) } If (ATKP) { ^^^^ATKD.IANE (0x31) } } Method (_Q22, 0, NotSerialized) { Store (0x22, P80H) If (ATKP) { ^^^^ATKD.IANE (0x6E) } Else { Store (0x80, P80H) Notify (BAT1, 0x80) } } Method (_Q24, 0, NotSerialized) { Store (0x24, P80H) If (LGreater (AVOL, Zero)) { Decrement (AVOL) } If (ATKP) { ^^^^ATKD.IANE (0x30) } } Method (_Q25, 0, NotSerialized) { Store (0x25, P80H) Sleep (0x03E8) Notify (BAT1, 0x81) Sleep (0x03E8) Notify (BAT1, 0x80) } Method (_Q26, 0, NotSerialized) { Store (0x26, P80H) If (ATKP) { ^^^^ATKD.IANE (0x5C) } } Method (_Q27, 0, NotSerialized) { Store (0x27, P80H) If (ATKP) { ^^^^ATKD.IANE (0x8A) } } Method (_Q28, 0, NotSerialized) { Store (0x28, P80H) If (ATKP) { ^^^^ATKD.IANE (0x82) } } Method (_Q29, 0, NotSerialized) { Store (0x29, P80H) If (ATKP) { ^^^^ATKD.IANE (0xB5) } } Method (_Q2C, 0, NotSerialized) { Store (0x2C, P80H) If (ATKP) { ^^^^ATKD.IANE (0x43) } } Method (_Q2D, 0, NotSerialized) { Store (0x2D, P80H) If (ATKP) { ^^^^ATKD.IANE (0x45) } } Method (_Q2E, 0, NotSerialized) { Store (0x2E, P80H) If (ATKP) { ^^^^ATKD.IANE (0x40) } } Method (_Q2F, 0, NotSerialized) { Store (0x2F, P80H) If (ATKP) { ^^^^ATKD.IANE (0x41) } } Method (_Q30, 0, NotSerialized) { Store (0x30, P80H) If (LDOF) { ^^^^ATKD.IANE (0x33) } Else { ^^^^ATKD.IANE (0x34) } } Method (_Q31, 0, Serialized) { Store (0x31, P80H) DPDT () If (LEqual (One, ATKP)) { If (LEqual (Zero, ^^^VGA.STAT)) { ^^^^ATKD.IANE (0x61) } If (LEqual (One, ^^^VGA.STAT)) { If (And (One, DPSD)) { ^^^^ATKD.IANE (0x62) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (0x02, ^^^VGA.STAT)) { If (And (One, DPSD)) { ^^^^ATKD.IANE (0x63) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (0x03, ^^^VGA.STAT)) { If (And (0x08, DPSD)) { ^^^^ATKD.IANE (0xA0) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (0x04, ^^^VGA.STAT)) { If (And (0x08, DPSD)) { ^^^^ATKD.IANE (0xA1) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (0x05, ^^^VGA.STAT)) { If (LEqual (0x09, And (0x09, DPSD))) { ^^^^ATKD.IANE (0xA2) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (0x06, ^^^VGA.STAT)) { ^^^^ATKD.IANE (0x61) } If (LEqual (^^^VGA.STAT, 0x06)) { Store (One, ^^^VGA.STAT) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } Else { If (LEqual (^^^VGA.DOSP, Zero)) { If (LEqual (^^^VGA.STAT, Zero)) { Store (One, ^^^VGA.LCDA) Store (Zero, ^^^VGA.CRTA) Store (Zero, ^^^VGA.DPTA) } If (LEqual (^^^VGA.STAT, One)) { If (And (One, DPSD)) { Store (Zero, ^^^VGA.LCDA) Store (One, ^^^VGA.CRTA) Store (Zero, ^^^VGA.DPTA) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (^^^VGA.STAT, 0x02)) { If (And (One, DPSD)) { Store (One, ^^^VGA.LCDA) Store (One, ^^^VGA.CRTA) Store (Zero, ^^^VGA.DPTA) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (^^^VGA.STAT, 0x03)) { If (And (0x08, DPSD)) { Store (Zero, ^^^VGA.LCDA) Store (Zero, ^^^VGA.CRTA) Store (One, ^^^VGA.DPTA) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (^^^VGA.STAT, 0x04)) { If (And (0x08, DPSD)) { Store (One, ^^^VGA.LCDA) Store (Zero, ^^^VGA.CRTA) Store (One, ^^^VGA.DPTA) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (^^^VGA.STAT, 0x05)) { If (LEqual (0x09, And (0x09, DPSD))) { Store (Zero, ^^^VGA.LCDA) Store (One, ^^^VGA.CRTA) Store (One, ^^^VGA.DPTA) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } If (LEqual (^^^VGA.STAT, 0x06)) { Store (One, ^^^VGA.LCDA) Store (Zero, ^^^VGA.CRTA) Store (Zero, ^^^VGA.DPTA) } Notify (VGA, 0x80) If (LEqual (^^^VGA.STAT, 0x06)) { Store (One, ^^^VGA.STAT) } Else { Add (One, ^^^VGA.STAT, ^^^VGA.STAT) } } } } Method (_Q33, 0, NotSerialized) { Store (0x33, P80H) If (ATKP) { ^^^^ATKD.IANE (0x84) } } Method (_Q36, 0, NotSerialized) { Store (0x36, P80H) If (ATKP) { ^^^^ATKD.IANE (0x6B) } } Method (_Q37, 0, NotSerialized) { Store (0x37, P80H) Notify (ACAD, 0x80) If (ATKP) { ^^^^ATKD.IANE (0x58) } } Method (_Q38, 0, NotSerialized) { Store (0x38, P80H) Notify (ACAD, 0x80) If (ATKP) { ^^^^ATKD.IANE (0x57) } } Method (_Q70, 0, NotSerialized) { Store (0x70, P80H) } Method (_Q73, 0, NotSerialized) { Store (0x73, P80H) If (ATKP) { ^^^^ATKD.IANE (0x99) } } Method (_Q83, 0, NotSerialized) { Store (0x83, P80H) Notify (LID, 0x80) } Method (_Q84, 0, NotSerialized) { Store (0x84, P80H) If (ATKP) { ^^^^ATKD.IANE (0x95) } If (ATKP) { ^^^^ATKD.IANE (0x95) } } Method (_Q85, 0, NotSerialized) { Store (0x85, P80H) If (ATKP) { ^^^^ATKD.IANE (0x8A) } } Method (_QA0, 0, NotSerialized) { Store (0xA0, P80H) } Method (_QB0, 0, NotSerialized) { Store (0xB0, P80H) } Method (_QB3, 0, NotSerialized) { Store (0xB3, P80H) ^^^^ATKD.IANE (0x6D) } Method (ECRS, 2, Serialized) { If (ECAV ()) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, ADD2) Store (Arg1, CMD2) Store (0x07, PRT2) Store (0x7F, Local0) While (PRT2) { Sleep (One) Decrement (Local0) } If (Local0) { Store (DA20, Local0) } Else { Store (Ones, Local0) } Release (MUEC) } } Return (Local0) } Method (ECWS, 3, Serialized) { If (ECAV ()) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, ADD2) Store (Arg1, CMD2) Store (Arg2, DA20) Store (0x06, PRT2) Store (0x07FF, Local0) While (PRT2) { Sleep (One) Decrement (Local0) } Release (MUEC) } } Return (Local0) } } } Scope (_SB) { OperationRegion (ECMS, SystemIO, 0x72, 0x02) Field (ECMS, ByteAcc, Lock, Preserve) { EIND, 8, EDAT, 8 } IndexField (EIND, EDAT, ByteAcc, NoLock, Preserve) { Offset (0x40), IKFG, 8, Offset (0x43), RAMB, 32, AVOL, 8, LBTN, 8, ERRF, 8, OCLK, 8, WIDE, 1, OVCK, 2, SLPN, 3, ACRD, 1, VGAS, 1, CPUR, 6, CPUF, 2, LBT1, 4, LBT2, 4, PCMS, 8, ALSL, 8, ALAE, 1, ALDE, 1, ALSP, 1, Offset (0x51), WLDP, 1, BTDP, 1, WRST, 1, BRST, 1, WRPS, 1, BRPS, 1, Offset (0x52), SYNA, 1, ALPS, 1, ELAN, 1, Offset (0x53), IKF2, 8, UHDB, 8, OSPM, 8, TCGF, 8, PPIS, 8, PPIR, 8, SIDE, 1, PWBS, 1, WFFG, 1, OCST, 3, SMTT, 1, LDON, 1, SP80, 1, Offset (0x5B), SWD2, 1, F9KP, 1, HACF, 6, UWDP, 1, WMDP, 1, GPDP, 1, TGDP, 1, UWST, 1, WMST, 1, GPST, 1, TGST, 1, UWPS, 1, WMPS, 1, GPSP, 1, TGPS, 1, Offset (0x5E), SPDC, 8, DROK, 1, SPDG, 1, Offset (0x60), KBLV, 8, FVGA, 1, P4HN, 1, USSC, 1, MFTM, 1, Offset (0x62), EGCP, 7, PA3D, 1, Offset (0xF6), DPSB, 8, DPSD, 8, Offset (0xFA), AWC3, 8, WLST, 1, BTST, 1, RSST, 6, ECRT, 8 } OperationRegion (SCMS, SystemIO, 0x70, 0x02) Field (SCMS, ByteAcc, Lock, Preserve) { CB1I, 8, CB1D, 8 } IndexField (CB1I, CB1D, ByteAcc, NoLock, Preserve) { Offset (0x08), MCMS, 8, YCMS, 8 } } Scope (_SB) { Name (ATKP, Zero) Name (AITM, Zero) Name (PLMD, Zero) Name (MUTX, One) Name (LEDS, Zero) OperationRegion (WSMI, SystemIO, 0xB2, 0x02) Field (WSMI, ByteAcc, NoLock, Preserve) { WSCP, 8, WSSP, 8 } Mutex (MMTX, 0x00) Method (WISM, 1, NotSerialized) { Acquire (MMTX, 0xFFFF) Store (Arg0, WSCP) Release (MMTX) } Device (ATKD) { Name (_HID, "PnP0C14") Name (_UID, "ATK") Name (ATKQ, Package (0x10) { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Name (AQHI, Zero) Name (AQTI, 0x0F) Name (AQNO, Zero) Name (WAPF, Zero) Name (PCDV, Zero) Method (IANQ, 1, Serialized) { If (LGreaterEqual (AQNO, 0x10)) { Store (0x64, Local0) While (LAnd (Local0, LGreaterEqual (AQNO, 0x10))) { Decrement (Local0) Sleep (0x0A) } If (LAnd (Local0, LGreaterEqual (AQNO, 0x10))) { Return (Zero) } } Increment (AQTI) And (AQTI, 0x0F, AQTI) Store (Arg0, Index (ATKQ, AQTI)) Increment (AQNO) Return (One) } Method (GANQ, 0, Serialized) { If (AQNO) { Decrement (AQNO) Store (DerefOf (Index (ATKQ, AQHI)), Local0) Increment (AQHI) And (AQHI, 0x0F, AQHI) Return (Local0) } Return (Ones) } Method (IANE, 1, Serialized) { IANQ (Arg0) Notify (ATKD, 0xFF) } Name (_WDG, Buffer (0x28) { /* 0000 */ 0xD0, 0x5E, 0x84, 0x97, 0x6D, 0x4E, 0xDE, 0x11, /* 0008 */ 0x8A, 0x39, 0x08, 0x00, 0x20, 0x0C, 0x9A, 0x66, /* 0010 */ 0x4E, 0x42, 0x01, 0x02, 0x35, 0xBB, 0x3C, 0x0B, /* 0018 */ 0xC2, 0xE3, 0xED, 0x45, 0x91, 0xC2, 0x4C, 0x5A, /* 0020 */ 0x6D, 0x19, 0x5D, 0x1C, 0xFF, 0x00, 0x01, 0x08 }) Method (WMNB, 3, Serialized) { Name (_T_0, Zero) CreateDWordField (Arg2, Zero, IIA0) CreateDWordField (Arg2, 0x04, IIA1) And (Arg1, 0xFFFFFFFF, Local0) While (One) { Store (Local0, _T_0) If (LEqual (_T_0, 0x54494E49)) { INIT (IIA0) Return (One) } Else { If (LEqual (_T_0, 0x53545342)) { Return (BSTS ()) } Else { If (LEqual (_T_0, 0x4E554653)) { Return (SFUN ()) } Else { If (LEqual (_T_0, 0x474F4457)) { Return (WDOG (IIA0)) } Else { If (LEqual (_T_0, 0x494E424B)) { Return (KBNI ()) } Else { If (LEqual (_T_0, 0x43455053)) { Return (0x00070006) } Else { If (LEqual (_T_0, 0x5256534F)) { OSVR (IIA0) Return (Zero) } Else { If (LEqual (_T_0, 0x53545344)) { If (LEqual (IIA0, 0x00020011)) { Return (Or (GALE (One), 0x00050000)) } If (LEqual (IIA0, 0x00020012)) { Return (Or (GALE (0x02), 0x00050000)) } If (LEqual (IIA0, 0x00020013)) { Return (Or (GALE (0x04), 0x00050000)) } If (LEqual (IIA0, 0x00040015)) { Return (Or (GALE (0x08), 0x00050000)) } If (LEqual (IIA0, 0x00020014)) { Return (Or (GALE (0x10), 0x00050000)) } If (LEqual (IIA0, 0x00020015)) { Return (Or (GALE (0x20), 0x00050000)) } If (LEqual (IIA0, 0x00020016)) { Return (Or (GALE (0x40), 0x00050000)) } If (LEqual (IIA0, 0x00030001)) { Return (Add (GMLE (One), 0x00050000)) } If (LEqual (IIA0, 0x00030011)) {} If (LEqual (IIA0, 0x00030012)) {} If (LEqual (IIA0, 0x00040016)) { Return (Add (GMLE (0x03), 0x00050000)) } If (LEqual (IIA0, 0x00110011)) { Return (And (TMPR (), 0xFFFF)) } If (LEqual (IIA0, 0x00110012)) { Store (TMPR (), Local0) Store (Local0, Local1) ShiftRight (And (Local0, 0xF0000000), 0x1C, Local0) ShiftRight (And (Local1, 0x0F000000), 0x18, Local1) ShiftLeft (Local1, 0x08, Local1) Return (Add (Local0, Local1)) } If (LEqual (IIA0, 0x00050012)) { Store (0x0A, Local0) ShiftLeft (Local0, 0x08, Local0) Store (Add (GPLV (), Local0), Local1) Return (Local1) } If (LEqual (IIA0, 0x00050001)) {} If (LEqual (IIA0, 0x00050013)) {} If (LEqual (IIA0, 0x00010011)) { If (^^PCI0.SBRG.EC0.WLEX) { Return (Add (^^PCI0.SBRG.EC0.WLLD, 0x00030000)) } } If (LEqual (IIA0, 0x00010013)) { If (^^PCI0.SBRG.EC0.BTEX) { Return (Add (^^PCI0.SBRG.EC0.BTAT, 0x00050000)) } } If (LEqual (IIA0, 0x00010021)) { If (UWDP) { Return (Add (UWST, 0x00050000)) } } If (LEqual (IIA0, 0x00010017)) { If (WMDP) { Return (Add (WMST, 0x00050000)) } } If (LEqual (IIA0, 0x00010015)) { If (GPDP) { Return (Add (GPST, 0x00050000)) } } If (LEqual (IIA0, 0x00010019)) { If (TGDP) { Return (Add (TGST, 0x00050000)) } } If (LEqual (IIA0, 0x00010001)) { Return (0x00050001) } If (LEqual (IIA0, 0x00120012)) { Return (PSTC (Zero)) } If (LEqual (IIA0, 0x00050021)) { Return (0x8000) } If (LEqual (IIA0, 0x00060023)) { If (^^PCI0.SBRG.EC0.UCEN) { Return (0x07) } Else { Return (0x05) } } If (LEqual (IIA0, 0x00060024)) { Name (BBUF, Buffer (0x0C) {}) CreateDWordField (BBUF, Zero, DAT1) CreateDWordField (BBUF, 0x04, DAT2) CreateDWordField (BBUF, 0x08, DAT3) Store (0x78081022, DAT1) Store (Zero, DAT2) Store (0xFFFFFFFF, DAT3) Return (BBUF) } Return (0x02) } Else { If (LEqual (_T_0, 0x53564544)) { If (LEqual (IIA0, 0x00020011)) { Return (SALE (Add (IIA1, 0x02))) } If (LEqual (IIA0, 0x00020012)) { Return (SALE (Add (IIA1, 0x04))) } If (LEqual (IIA0, 0x00020013)) { Return (SALE (Add (IIA1, 0x08))) } If (LEqual (IIA0, 0x00040015)) { Return (SALE (Add (IIA1, 0x10))) } If (LEqual (IIA0, 0x00020014)) { Return (SALE (Add (IIA1, 0x20))) } If (LEqual (IIA0, 0x00020015)) { Return (SALE (Add (IIA1, 0x40))) } If (LEqual (IIA0, 0x00020016)) { Return (SALE (Add (IIA1, 0x80))) } If (LEqual (IIA0, 0x00030001)) { Return (SMLE (Add (IIA1, 0x02))) } If (LEqual (IIA0, 0x00030011)) { If (LEqual (IIA1, Zero)) { Return (SMLE (0x04)) } Return (SMLE (0x05)) } If (LEqual (IIA0, 0x00030012)) { If (LEqual (IIA1, Zero)) { Return (SMLE (0x04)) } Return (SMLE (0x09)) } If (LEqual (IIA0, 0x00040016)) { Return (SMLE (Add (IIA1, 0x80))) } If (LEqual (IIA0, 0x00050012)) { SPLV (IIA1) Return (One) } If (LEqual (IIA0, 0x00050001)) { Return (ALSC (IIA1)) } If (LEqual (IIA0, 0x00050013)) { Return (ALSL (IIA1)) } If (LEqual (IIA0, 0x00010012)) { WLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010013)) { BLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010003)) { Return (CWAP (IIA1)) } If (LEqual (IIA0, 0x00010015)) { GPSC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010019)) { GSMC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010017)) { WMXC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010021)) { UWBC (IIA1) Return (One) } If (LEqual (IIA0, 0x00120012)) { Return (PSTC (Add (IIA1, One))) } If (LEqual (IIA0, 0x00100012)) { TLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00050021)) { SLKB (IIA1) Return (One) } If (LEqual (IIA0, 0x00060023)) { And (IIA1, 0x0100, Local0) If (Local0) { Store (One, ^^PCI0.SBRG.EC0.UCEN) USBC (One) } Else { Store (Zero, ^^PCI0.SBRG.EC0.UCEN) USBC (Zero) } And (IIA1, 0xFF, Local1) Store (Local1, ^^PCI0.SBRG.EC0.UCBL) Return (One) } Return (Zero) } Else { If (LEqual (_T_0, 0x48534C46)) { Store (IIA0, FSTA) Store (Zero, FSFN) WISM (FUIF) Return (FSTA) } Else { If (LEqual (_T_0, 0x494E4946)) { Store (IIA0, FADR) Store (One, FSFN) WISM (FUIF) Return (FSTA) } Else { If (LEqual (_T_0, 0x53524546)) { Store (IIA0, FSTA) Store (0x02, FSFN) WISM (FUIF) Return (FSTA) } Else { If (LEqual (_T_0, 0x49525746)) { Store (IIA0, FADR) Store (0x03, FSFN) Store (0x1000, FSIZ) WISM (FUIF) Return (Subtract (0x1000, FSTA)) } Else { If (LEqual (_T_0, 0x50525746)) { Store (0x03, FSFN) Store (Zero, FSIZ) WISM (FUIF) Return (Subtract (0x1000, FSTA)) } Else { If (LEqual (_T_0, 0x52534345)) { If (LEqual (Arg0, Zero)) { Return (Zero) } If (LEqual (Arg0, 0x02)) { Return (One) } } Else { If (LEqual (_T_0, 0x43534C46)) { Return (Zero) } Else { If (LEqual (_T_0, 0x43455246)) { Return (Zero) } Else { If (LEqual (_T_0, 0x454D4946)) { Return (Zero) } Else { If (LEqual (_T_0, 0x4C425053)) { If (LEqual (IIA0, 0x80)) { Return (One) } If (LGreater (IIA0, 0x0F)) { Return (Zero) } If (LLess (IIA0, Zero)) { Return (Zero) } SPLV (IIA0) Return (One) } Else { If (LEqual (_T_0, 0x50534453)) { SDSP (IIA0) Return (One) } Else { If (LEqual (_T_0, 0x50534447)) { Return (GDSP (IIA0)) } Else { If (LEqual (_T_0, 0x44495047)) { Return (GPID ()) } Else { If (LEqual (_T_0, 0x44434C47)) { Return (GLCD ()) } Else { If (LEqual (_T_0, 0x444F4D51)) { Return (QMOD (IIA0)) } Else { If (LEqual (_T_0, 0x49564E41)) { Return (ANVI (IIA0)) } Else { If (LEqual (_T_0, 0x46494243)) { Return (CBIF (IIA0)) } Else { If (LEqual (_T_0, 0x4E464741)) { Return (AGFN (IIA0)) } Else { If (LEqual (_T_0, 0x56454443)) { If (LEqual (IIA0, One)) { Store (DPWR (IIA0), Local0) Store (Zero, Local1) If (LAnd (Local0, One)) { Or (Local1, One, Local1) } If (LAnd (Local0, 0x02)) { Or (Local1, 0x04, Local1) } If (LAnd (Local0, 0x04)) { Or (Local1, 0x10, Local1) } If (LAnd (Local0, 0x08)) { Or (Local1, 0x40, Local1) } Return (Local1) } If (LEqual (IIA0, Zero)) { Store (QDEV (One), Local0) Add (ShiftLeft (QDEV (0x02), 0x02), Local0) Add (ShiftLeft (QDEV (0x04), 0x04), Local0) Add (ShiftLeft (QDEV (0x08), 0x06), Local0) Return (Local0) } If (LEqual (IIA0, 0x83)) { Return (SDON (One)) } If (LEqual (IIA0, 0x85)) { Return (SDON (0x02)) } If (LEqual (IIA0, 0x89)) { Return (SDON (0x04)) } If (LEqual (IIA0, 0x91)) { Return (SDON (0x08)) } If (LEqual (IIA0, 0x82)) { Return (SDOF (One)) } If (LEqual (IIA0, 0x84)) { Return (SDOF (0x02)) } If (LEqual (IIA0, 0x88)) { Return (SDOF (0x04)) } If (LEqual (IIA0, 0x90)) { Return (SDOF (0x08)) } } Else { If (LEqual (_T_0, 0x46494643)) { CFIF (IIA0) Return (One) } Else { If (LEqual (_T_0, 0x44495046)) { Return (FPID ()) } Else { If (LEqual (_T_0, 0x59454B48)) { Return (One) } Else { If (LEqual (_T_0, 0x5446424B)) { Return (One) } Else { Return (0xFFFFFFFE) } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } Break } } Method (_WED, 1, NotSerialized) { If (LEqual (Arg0, 0xFF)) { Return (GANQ ()) } Return (Ones) } Method (INIT, 1, NotSerialized) { Store (One, ATKP) } Method (BSTS, 0, NotSerialized) { Store (IKFG, Local0) Or (Local0, ShiftLeft (IKF2, 0x08), Local0) Return (Local0) } Method (TMPR, 0, NotSerialized) { Return (Ones) } Method (SFUN, 0, NotSerialized) { Store (0x37, Local0) Or (Local0, 0x40, Local0) Or (Local0, 0x00020000, Local0) Or (Local0, 0x00080000, Local0) Or (Local0, 0x00100000, Local0) Return (Local0) } Method (OSVR, 1, NotSerialized) { Store (Arg0, OSFG) } Method (GPLV, 0, Serialized) { Name (_T_0, Zero) Store (LBTN, Local0) While (One) { Store (Local0, _T_0) If (LEqual (_T_0, 0x14)) { Return (Zero) } Else { If (LEqual (_T_0, 0x19)) { Return (One) } Else { If (LEqual (_T_0, 0x1E)) { Return (0x02) } Else { If (LEqual (_T_0, 0x23)) { Return (0x03) } Else { If (LEqual (_T_0, 0x28)) { Return (0x04) } Else { If (LEqual (_T_0, 0x2D)) { Return (0x05) } Else { If (LEqual (_T_0, 0x32)) { Return (0x06) } Else { If (LEqual (_T_0, 0x37)) { Return (0x07) } Else { If (LEqual (_T_0, 0x41)) { Return (0x08) } Else { If (LEqual (_T_0, 0x50)) { Return (0x09) } Else { If (LEqual (_T_0, 0x64)) { Return (0x0A) } Else { Return (0x0E) } } } } } } } } } } } Break } } Method (SPLV, 1, Serialized) { Name (_T_0, Zero) Store (Arg0, Local0) While (One) { Store (Local0, _T_0) If (LEqual (_T_0, Zero)) { Store (0x14, Local1) } Else { If (LEqual (_T_0, One)) { Store (0x19, Local1) } Else { If (LEqual (_T_0, 0x02)) { Store (0x1E, Local1) } Else { If (LEqual (_T_0, 0x03)) { Store (0x23, Local1) } Else { If (LEqual (_T_0, 0x04)) { Store (0x28, Local1) } Else { If (LEqual (_T_0, 0x05)) { Store (0x2D, Local1) } Else { If (LEqual (_T_0, 0x06)) { Store (0x32, Local1) } Else { If (LEqual (_T_0, 0x07)) { Store (0x37, Local1) } Else { If (LEqual (_T_0, 0x08)) { Store (0x41, Local1) } Else { If (LEqual (_T_0, 0x09)) { Store (0x50, Local1) } Else { If (LEqual (_T_0, 0x0A)) { Store (0x64, Local1) } } } } } } } } } } } Break } ^^PCI0.VGA.LCD._BCM (Local1) Return (One) } Method (SPBL, 1, NotSerialized) { If (LEqual (Arg0, 0x0100)) { Return (0x0A) } If (LEqual (Arg0, 0x80)) { Return (One) } If (LGreater (Arg0, 0x0F)) { Return (Zero) } If (LLess (Arg0, Zero)) { Return (Zero) } Return (One) } Method (WLED, 1, NotSerialized) { Store (Arg0, ^^PCI0.SBRG.EC0.WLLD) If (LNotEqual (AWC3, One)) { Store (Arg0, ^^PCI0.SBRG.EC0.WLRF) } Store (Arg0, WLST) Return (One) } Method (BLED, 1, NotSerialized) { Store (Arg0, ^^PCI0.SBRG.EC0.BTAT) Store (Arg0, G36O) Store (Arg0, BTST) Return (One) } Method (KBNI, 0, NotSerialized) { Return (One) } Method (GALE, 1, NotSerialized) { If (LEqual (Arg0, 0x04)) { If (LAnd (LEDS, 0x04)) { Return (One) } Else { Return (Zero) } } If (LEqual (Arg0, 0x08)) { If (LAnd (LEDS, 0x08)) { Return (One) } Else { Return (Zero) } } If (LEqual (Arg0, 0x10)) { If (LAnd (LEDS, 0x10)) { Return (One) } Else { Return (Zero) } } Return (0x02) } Method (SALE, 1, NotSerialized) { Return (One) } Method (GMLE, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (One) } If (LEqual (Arg0, 0x02)) { Return (One) } If (LEqual (Arg0, 0x03)) { Return (One) } Return (One) } Method (SMLE, 1, NotSerialized) { Return (One) } Method (UWBC, 1, NotSerialized) { Return (One) } Method (WMXC, 1, NotSerialized) { Return (One) } Method (GPSC, 1, NotSerialized) { Return (One) } Method (GSMC, 1, NotSerialized) { Return (One) } Method (SDSP, 1, NotSerialized) { If (LEqual (One, Arg0)) { Store (One, ^^PCI0.VGA.LCDA) Store (Zero, ^^PCI0.VGA.CRTA) Store (Zero, ^^PCI0.VGA.DPTA) Store (0x02, DPSB) Notify (^^PCI0.VGA, 0x80) } If (LEqual (0x02, Arg0)) { Store (Zero, ^^PCI0.VGA.LCDA) Store (One, ^^PCI0.VGA.CRTA) Store (Zero, ^^PCI0.VGA.DPTA) Store (One, DPSB) Notify (^^PCI0.VGA, 0x80) } If (LEqual (0x03, Arg0)) { Store (One, ^^PCI0.VGA.LCDA) Store (One, ^^PCI0.VGA.CRTA) Store (Zero, ^^PCI0.VGA.DPTA) Store (0x03, DPSB) Notify (^^PCI0.VGA, 0x80) } If (LEqual (0x10, Arg0)) { Store (Zero, ^^PCI0.VGA.LCDA) Store (Zero, ^^PCI0.VGA.CRTA) Store (One, ^^PCI0.VGA.DPTA) Store (0x08, DPSB) Notify (^^PCI0.VGA, 0x80) } If (LEqual (0x11, Arg0)) { Store (One, ^^PCI0.VGA.LCDA) Store (Zero, ^^PCI0.VGA.CRTA) Store (One, ^^PCI0.VGA.DPTA) Store (0x0A, DPSB) Notify (^^PCI0.VGA, 0x80) } If (LEqual (0x12, Arg0)) { Store (Zero, ^^PCI0.VGA.LCDA) Store (One, ^^PCI0.VGA.CRTA) Store (One, ^^PCI0.VGA.DPTA) Store (0x09, DPSB) Notify (^^PCI0.VGA, 0x80) } } Method (GPID, 0, NotSerialized) { Return (0x03) } Method (FPID, 0, NotSerialized) { Return (0x0118) } Method (ALSC, 1, NotSerialized) { If (Arg0) {} Else { } Return (One) } Method (ALSL, 1, NotSerialized) { Return (One) } Method (HWRS, 0, NotSerialized) { Store (Zero, Local0) Or (Local0, One, Local0) If (LEqual (^^PCI0.SBRG.EC0.WLEX, One)) { Or (Local0, 0x80, Local0) } If (LEqual (^^PCI0.SBRG.EC0.BTEX, One)) { Or (Local0, 0x0100, Local0) } Return (Local0) } Method (RSTS, 0, NotSerialized) { Store (Zero, Local0) If (LEqual (^^PCI0.SBRG.EC0.WLLD, One)) { Or (Local0, One, Local0) } If (LEqual (^^PCI0.SBRG.EC0.BTAT, One)) { Or (Local0, 0x02, Local0) } Return (Local0) } Method (GLCD, 0, NotSerialized) { Store (IDMN, Local0) ShiftLeft (Local0, 0x10, Local0) Or (Local0, IDPC, Local0) Return (Local0) } Method (CWAP, 1, NotSerialized) { Or (Arg0, WAPF, WAPF) Return (One) } Method (WDOG, 1, NotSerialized) { Return (Zero) } Method (DPWR, 1, NotSerialized) { Return (One) } Method (QDEV, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (0x02) } If (LEqual (Arg0, 0x02)) { Return (0x02) } If (LEqual (Arg0, 0x04)) { Return (0x02) } If (LEqual (Arg0, 0x08)) { Return (0x02) } Return (0x02) } Method (SDON, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (Zero) } If (LEqual (Arg0, 0x02)) { Return (Zero) } If (LEqual (Arg0, 0x04)) { Return (Zero) } If (LEqual (Arg0, 0x08)) { Return (Zero) } Return (Zero) } Method (SDOF, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (Zero) } If (LEqual (Arg0, 0x02)) { Return (Zero) } If (LEqual (Arg0, 0x04)) { Return (Zero) } If (LEqual (Arg0, 0x08)) { Return (Zero) } Return (Zero) } Method (QMOD, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (Zero) } If (LEqual (Arg0, One)) {} If (LEqual (Arg0, 0x02)) {} Return (One) } Method (ANVI, 1, Serialized) { Name (_T_0, Zero) Store (AGFN (Zero), Local0) Add (Local0, 0x0100, Local0) OperationRegion (\DBUF, SystemMemory, Local0, 0x1000) Field (DBUF, AnyAcc, NoLock, Preserve) { Offset (0xD2), PJIC, 8, Offset (0xD4), SLPD, 8, Offset (0xDE), SLMK, 8 } Field (DBUF, AnyAcc, NoLock, Preserve) { Offset (0x27), OSTE, 8 } Store (Local0, FADR) Store (One, FSFN) WISM (FUIF) Store (0x434E4647, FADR) Store (0x05, FSFN) WISM (FUIF) Store (SOAO, PJIC) Store (0xFF, SLPD) Store (Arg0, Local0) While (One) { Store (Local0, _T_0) If (LEqual (_T_0, One)) { Store (One, SLMK) Store (Zero, Local1) Break } Else { If (LEqual (_T_0, 0x02)) { Store (0x4D464730, FADR) Store (0x05, FSFN) WISM (FUIF) Return (OSTE) } Else { If (LEqual (_T_0, 0x05)) { Store (0x05, SLMK) Store (Zero, Local1) Break } Else { If (LEqual (_T_0, 0x0101)) { Store (One, SLMK) Store (GSEC (), SLPD) Store (One, Local1) Break } Else { If (LEqual (_T_0, 0x0105)) { Store (0x05, SLMK) Store (GSEC (), SLPD) Store (One, Local1) Break } Else { Return (0xFFFF) } } } } } Break } Store (0x434E4647, FADR) Store (0x04, FSFN) WISM (FUIF) Store (Zero, FSTA) Store (Zero, FSFN) WISM (FUIF) Store (0x06, FSFN) WISM (FUIF) Store (One, FSTA) Store (Zero, FSFN) WISM (FUIF) Return (Local1) } Method (GSEC, 0, NotSerialized) { Multiply (ShiftRight (YCMS, 0x04), 0x0A, Local1) Add (Local1, And (YCMS, 0x0F), Local1) Multiply (Local1, 0x0C, Local1) Multiply (ShiftRight (MCMS, 0x04), 0x0A, Local0) Add (Local0, And (MCMS, 0x0F), Local0) Add (Local0, 0x03, Local0) Add (Local0, Local1, Local1) Return (Local1) } Method (PSTC, 1, Serialized) { If (LGreaterEqual (CCNM, 0x02)) {} If (LGreaterEqual (CCNM, 0x03)) {} If (LGreaterEqual (CCNM, 0x04)) {} Store (SizeOf (\_PR.P000._PSS), Local0) If (LEqual (Arg0, Zero)) { Store (Local0, Local1) ShiftLeft (Local1, 0x08, Local1) Add (Local0, Local1, Local1) Return (Local1) } If (LGreater (Arg0, Local0)) { Return (Ones) } Store (Zero, Local1) Subtract (Local0, Arg0, Local1) If (LGreater (^^PCI0.SBRG.EC0.PTVL, Local1)) { Store (^^PCI0.SBRG.EC0.PTVL, Local1) } Store (Local1, \_PR.P000._PPC) If (LGreaterEqual (CCNM, 0x02)) { Store (Local1, \_PR.P001._PPC) } If (LGreaterEqual (CCNM, 0x03)) { Store (Local1, \_PR.P002._PPC) } If (LGreaterEqual (CCNM, 0x04)) { Store (Local1, \_PR.P003._PPC) } If (LEqual (^^PCI0.SBRG.EC0.ADPT, Zero)) { If (LLessEqual (^^PCI0.SBRG.EC0.BDC0, 0x0BB8)) { Store (Zero, Local1) Subtract (Local0, One, Local1) If (LGreater (^^PCI0.SBRG.EC0.PTVL, Local1)) { Store (^^PCI0.SBRG.EC0.PTVL, Local1) } Store (Local1, \_PR.P000._PPC) If (LGreaterEqual (CCNM, 0x02)) { Store (Local1, \_PR.P001._PPC) } If (LGreaterEqual (CCNM, 0x03)) { Store (Local1, \_PR.P002._PPC) } If (LGreaterEqual (CCNM, 0x04)) { Store (Local1, \_PR.P003._PPC) } } } Notify (\_PR.P000, 0x80) If (LGreaterEqual (CCNM, 0x02)) { Notify (\_PR.P001, 0x80) } If (LGreaterEqual (CCNM, 0x03)) { Notify (\_PR.P002, 0x80) } If (LGreaterEqual (CCNM, 0x04)) { Notify (\_PR.P003, 0x80) } Return (One) } Method (SMBB, 1, Serialized) { Return (Ones) } Method (SMBW, 1, Serialized) { Return (Ones) } Method (SMBK, 1, Serialized) { Return (Ones) } Method (ECRW, 1, Serialized) { Return (Ones) } Method (CBIF, 1, Serialized) { Return (One) } Method (TLED, 1, NotSerialized) { Return (One) } Method (GLED, 1, NotSerialized) { Return (One) } Method (CFIF, 1, Serialized) { Store (Arg0, BAML) WISM (0xA6) Return (One) } Method (GLKB, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (Zero) } Else { If (LEqual (Arg0, 0x02)) { Return (Zero) } Else { If (LEqual (Arg0, 0x03)) { Return (0x80) } } } Return (Ones) } Method (SLKB, 1, NotSerialized) { Return (One) } Method (GDSP, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (Zero) } If (LEqual (Arg0, One)) { Store (DPSD, Local0) Store (Zero, Local1) If (And (One, Local0)) { Or (0x02, Local1) } If (And (0x02, Local0)) { Or (One, Local1) } If (And (0x04, Local0)) { Or (0x04, Local1) } If (And (0x10, Local0)) { Or (0x08, Local1) } If (And (0x08, Local0)) { Or (0x10, Local1) } Return (Local1) } If (LEqual (Arg0, 0x02)) { Store (DPSB, Local0) Store (Zero, Local1) If (And (One, Local0)) { Or (0x02, Local1) } If (And (0x02, Local0)) { Or (One, Local1) } If (And (0x04, Local0)) { Or (0x04, Local1) } If (And (0x10, Local0)) { Or (0x08, Local1) } If (And (0x08, Local0)) { Or (0x10, Local1) } Return (Local1) } If (LEqual (Arg0, 0x80)) { Return (One) } Return (Zero) } Method (AGFN, 1, Serialized) { Name (_T_0, Zero) If (LEqual (Arg0, Zero)) { Return (AMLA) } Store (0xAA, P80H) Store (Zero, Local0) OperationRegion (\PARM, SystemMemory, Arg0, 0x08) Field (PARM, DWordAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, LEN, 16, STAS, 8, EROR, 8 } Store (Zero, EROR) Store (One, STAS) Store (Arg0, BIPA) While (One) { Store (MFUN, _T_0) If (LEqual (_T_0, One)) { GVER (Arg0, LEN) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (One) } Else { If (LEqual (_T_0, 0x02)) { WISM (0xA1) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (One) } Else { If (LEqual (_T_0, 0x10)) { Store (MF10 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x11)) { Store (MF11 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x12)) { Store (MF12 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x13)) { Store (MF13 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x14)) { Store (MF14 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x15)) { Store (MF15 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x16)) { Store (MF16 (Arg0, LEN, MFUN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (One) } Else { If (LEqual (_T_0, 0x17)) { Store (MF17 (Arg0, LEN, MFUN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x18)) { Store (MF18 (Arg0, LEN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x19)) { Store (MF19 (Arg0, LEN, MFUN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x1F)) { WISM (0xA1) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (One) } Else { If (LEqual (_T_0, 0x20)) { WISM (0xA1) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (One) } Else { If (LEqual (_T_0, 0x30)) { Store (MF30 (Arg0, LEN, MFUN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { If (LEqual (_T_0, 0x32)) { Store (MF32 (Arg0, LEN, MFUN, SFUN), Local0) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Or (EROR, Local0, EROR) Return (One) } Else { And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (One) } } } } } } } } } } } } } } } } Break } If (LEqual (STAS, One)) { Store (One, EROR) Or (STAS, 0x02, STAS) } And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Return (Zero) } Method (GVER, 2, NotSerialized) { OperationRegion (\FGVR, SystemMemory, Arg0, Arg1) Field (FGVR, DWordAcc, NoLock, Preserve) { Offset (0x08), APID, 16, APRV, 32 } Return (Zero) } Method (MF10, 3, NotSerialized) { Store (One, Local0) If (LEqual (Arg2, One)) { Store (SRTC (Arg0, Arg1), Local0) } If (LEqual (Arg2, 0x02)) {} Return (Local0) } Method (SRTC, 2, NotSerialized) { If (LLess (Arg1, 0x0C)) { Return (0x02) } OperationRegion (\F101, SystemMemory, Arg0, Arg1) Field (F101, DWordAcc, NoLock, Preserve) { Offset (0x08), DLTM, 16 } Store (DLTM, RTCW) Return (Zero) } Method (MF11, 3, NotSerialized) { Store (One, Local0) If (LEqual (Arg2, One)) { Store (GBAT (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x02)) { Store (ASBR (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x03)) { Store (ASBE (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x04)) { Store (BTCR (Arg0, Arg1), Local0) } } } } Return (Local0) } Method (GBAT, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F111, SystemMemory, Arg0, Arg1) Field (F111, ByteAcc, NoLock, Preserve) { Offset (0x08), BTNM, 8, BTTP, 8 } Store (One, BTNM) If (LEqual (BDID, 0x04)) { Store (0x04, BTTP) } Else { Store (0x03, BTTP) } Return (Zero) } Method (ASBR, 2, NotSerialized) { If (LLess (Arg1, 0x30)) { Return (0x02) } OperationRegion (\F112, SystemMemory, Arg0, Arg1) Field (F112, ByteAcc, NoLock, Preserve) { Offset (0x08), BATN, 8, BATA, 8, REGS, 8, BDAT, 16, BLEN, 8, BREV, 16, BLK1, 32, BLK2, 32, BLK3, 32, BLK4, 32, BLK5, 32, BLK6, 32, BLK7, 32, BLK8, 32 } If (LGreater (BATN, One)) { Return (0x11) } Return (0x10) } Method (ASBE, 2, Serialized) { If (LLess (Arg1, 0x0C)) { Return (0x02) } OperationRegion (\F113, SystemMemory, Arg0, Arg1) Field (F113, ByteAcc, NoLock, Preserve) { Offset (0x08), BATN, 8, BATA, 8, REGS, 8, BDAT, 8 } If (LGreater (BATN, One)) { Return (0x11) } Return (0x10) } Method (BTCR, 2, NotSerialized) { If (LLess (Arg1, 0x09)) { Return (0x02) } OperationRegion (\F114, SystemMemory, Arg0, Arg1) Field (F114, ByteAcc, NoLock, Preserve) { Offset (0x08), DCHR, 8 } If (LEqual (DCHR, One)) { If (^^PCI0.SBRG.EC0.BAEX) { ^^PCI0.SBRG.EC0.EECD (0x59, 0x9A, Zero, Zero, Zero, Zero) } } Else { If (LEqual (DCHR, Zero)) { ^^PCI0.SBRG.EC0.EECD (0x59, 0x9B, Zero, Zero, Zero, Zero) } } Return (Zero) } Method (MF12, 3, NotSerialized) { Store (One, Local0) If (LEqual (Arg2, One)) { Store (GLDI (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x02)) { Store (LDCR (Arg0, Arg1), Local0) } } Return (Local0) } Method (GLDI, 2, NotSerialized) { If (LLess (Arg1, 0x10)) { Return (0x02) } OperationRegion (\F121, SystemMemory, Arg0, Arg1) Field (F121, AnyAcc, NoLock, Preserve) { Offset (0x08), LEDI, 64 } Store (Zero, LEDI) Return (Zero) } Method (LDCR, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } Return (0x10) } Method (MF13, 3, NotSerialized) { Store (One, Local0) If (LEqual (Arg2, One)) { Store (GTSI (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x02)) { Store (GTSV (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x03)) { Store (GVSN (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x04)) { Store (GVSV (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x05)) { Store (GFNN (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x06)) { Store (GFNS (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x07)) { Store (SFNS (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x08)) { Store (GGSV (Arg0, Arg1), Local0) } } } } } } } } Return (Local0) } Method (GTSI, 2, NotSerialized) { If (LLess (Arg1, 0x18)) { Return (0x02) } OperationRegion (\F131, SystemMemory, Arg0, Arg1) Field (F131, AnyAcc, NoLock, Preserve) { Offset (0x08), Offset (0x09), C0SE, 1, C1SE, 1, C2SE, 1, C3SE, 1, Offset (0x0A), VGSE, 1 } Store (One, C0SE) If (LEqual (CCNM, 0x02)) { Store (One, C1SE) } If (LEqual (CCNM, 0x04)) { Store (One, C2SE) Store (One, C3SE) } Store (One, VGSE) Return (Zero) } Method (GTSV, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F132, SystemMemory, Arg0, Arg1) Field (F132, ByteAcc, NoLock, Preserve) { Offset (0x08), SNUM, 8, TEMC, 8 } If (LEqual (SNUM, 0x08)) { Stall (0xC8) Stall (0xC8) Store (^^PCI0.SBRG.EC0.CTMP, TEMC) Return (Zero) } Else { If (LEqual (SNUM, 0x09)) { If (LEqual (CCNM, 0x02)) { Stall (0xC8) Stall (0xC8) Store (^^PCI0.SBRG.EC0.CTMP, TEMC) Return (Zero) } Else { Return (0x10) } } Else { If (LEqual (SNUM, 0x0A)) { If (LEqual (CCNM, 0x03)) { Stall (0xC8) Stall (0xC8) Store (^^PCI0.SBRG.EC0.CTMP, TEMC) Return (Zero) } Else { Return (0x10) } } Else { If (LEqual (SNUM, 0x0B)) { If (LEqual (CCNM, 0x04)) { Stall (0xC8) Stall (0xC8) Store (^^PCI0.SBRG.EC0.CTMP, TEMC) Return (Zero) } Else { Return (0x10) } } Else { If (LEqual (SNUM, 0x10)) { Store (^^PCI0.SBRG.EC0.SKTC, TEMC) Return (Zero) } Else { Return (0x10) } } } } } } Method (GVSN, 2, NotSerialized) { If (LLess (Arg1, 0x09)) { Return (0x02) } OperationRegion (\F133, SystemMemory, Arg0, Arg1) Field (F133, ByteAcc, NoLock, Preserve) { Offset (0x08), VSNM, 8 } Store (Zero, VSNM) Return (Zero) } Method (GVSV, 2, NotSerialized) { If (LLess (Arg1, 0x0B)) { Return (0x02) } Return (0x10) } Method (GFNN, 2, NotSerialized) { If (LLess (Arg1, 0x09)) { Return (0x02) } OperationRegion (\F135, SystemMemory, Arg0, Arg1) Field (F135, ByteAcc, NoLock, Preserve) { Offset (0x08), FNUM, 8 } Store (Zero, FNUM) Return (Zero) } Method (GFNS, 2, NotSerialized) { If (LLess (Arg1, 0x0D)) { Return (0x02) } OperationRegion (\F136, SystemMemory, Arg0, Arg1) Field (F136, ByteAcc, NoLock, Preserve) { Offset (0x08), FNUM, 8, FSRM, 32 } Store (^^PCI0.SBRG.EC0.FSRM, FSRM) Return (Zero) } Method (SFNS, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } Return (0x10) } Method (GGSV, 2, NotSerialized) { If (LLess (Arg1, 0x0B)) { Return (0x02) } OperationRegion (\F138, SystemMemory, Arg0, Arg1) Field (F138, ByteAcc, NoLock, Preserve) { Offset (0x08), SNUM, 8, VALU, 16 } If (LEqual (SNUM, 0x02)) { Stall (0xC8) Stall (0xC8) Multiply (^^PCI0.SBRG.EC0.CTMP, 0x0A, Local0) Store (^^PCI0.SBRG.EC0.CTMP, P80H) Store (Local0, VALU) Return (Zero) } Else { If (LEqual (SNUM, 0x03)) { Stall (0xC8) Stall (0xC8) Multiply (^^PCI0.SBRG.EC0.SKTC, 0x0A, Local0) Store (^^PCI0.SBRG.EC0.SKTC, P80H) Store (Local0, VALU) Return (Zero) } Else { Return (0x10) } } } Method (MF14, 3, NotSerialized) { Store (One, Local0) If (LEqual (Arg2, One)) { Store (GNBT (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x02)) { Store (GBTS (Arg0, Arg1), Local0) } } Return (Local0) } Method (GNBT, 2, NotSerialized) { If (LLess (Arg1, 0x09)) { Return (0x02) } OperationRegion (\F141, SystemMemory, Arg0, Arg1) Field (F141, ByteAcc, NoLock, Preserve) { Offset (0x08), BNUM, 8 } Store (Zero, BNUM) Return (Zero) } Method (GBTS, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } Return (0x10) } Method (MF15, 3, NotSerialized) { Store (Zero, Local0) If (LEqual (Arg2, One)) { Store (GLDB (Arg0, Arg1), Local0) } If (LEqual (Arg2, 0x02)) { Store (SLDB (Arg0, Arg1), Local0) } If (LEqual (Arg2, 0x03)) { Store (GDPI (Arg0, Arg1), Local0) } If (LEqual (Arg2, 0x04)) { Store (SODP (Arg0, Arg1), Local0) } Return (Local0) } Method (GLDB, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F151, SystemMemory, Arg0, Arg1) Field (F151, AnyAcc, NoLock, Preserve) { Offset (0x08), CRLV, 8, MXLV, 8 } Store (SPBL (0x0100), MXLV) Store (GPLV (), CRLV) Return (Zero) } Method (SLDB, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F152, SystemMemory, Arg0, Arg1) Field (F152, AnyAcc, NoLock, Preserve) { Offset (0x08), BVAL, 8, BTPE, 8 } Store (BVAL, Local0) If (LEqual (Zero, BTPE)) { If (LLessEqual (Local0, 0x0A)) { If (LGreaterEqual (Local0, Zero)) { SPLV (Local0) Return (Zero) } } Else { Return (0x10) } } If (LEqual (One, BTPE)) { If (LLessEqual (Local0, 0x64)) { If (LGreaterEqual (Local0, Zero)) { ^^PCI0.VGA.LCD._BCM (Local0) Return (Zero) } } Else { Return (0x10) } } Else { Return (0x11) } } Method (GDPI, 2, NotSerialized) { If (LLess (Arg1, 0x10)) { Return (0x02) } OperationRegion (\F153, SystemMemory, Arg0, Arg1) Field (F153, AnyAcc, NoLock, Preserve) { Offset (0x08), ODDI, 32, CTCS, 32 } WISM (0xA1) Store (Zero, Local1) Store (DPSB, Local0) If (And (One, Local0)) { Or (0x02, Local1, Local1) } If (And (0x02, Local0)) { Or (One, Local1, Local1) } If (And (0x08, Local0)) { Or (0x04, Local1, Local1) } Store (Local1, CTCS) Store (Zero, Local1) Store (DPSD, Local0) If (And (One, Local0)) { Or (0x02, Local1, Local1) } If (And (0x02, Local0)) { Or (One, Local1, Local1) } If (And (0x08, Local0)) { Or (0x04, Local1, Local1) } Store (Local0, ODDI) Return (Zero) } Method (SODP, 2, NotSerialized) { If (LLess (Arg1, 0x0C)) { Return (0x02) } OperationRegion (\F154, SystemMemory, Arg0, Arg1) Field (F154, AnyAcc, NoLock, Preserve) { Offset (0x08), ODDM, 32 } ^^PCI0.VGA.AF02 () CreateWordField (^^PCI0.VGA.ATIB, Zero, SSZE) CreateDWordField (^^PCI0.VGA.ATIB, 0x02, PSBI) CreateByteField (^^PCI0.VGA.ATIB, 0x06, EXPM) And (EXPM, 0x03, Local0) And (0x0F, ODDM) Store (ODDM, Local0) If (LGreaterEqual (Local0, Zero)) { If (LLessEqual (Local0, 0x0F)) { Store (Local0, P80H) SDSP (Local0) Return (Zero) } } Else { Return (0x10) } } Method (MF16, 4, NotSerialized) { Store (One, Local0) If (LEqual (Arg3, One)) { Store (SFBD (Arg0, Arg1), Local0) } If (LEqual (Arg3, 0x02)) { Store (LCMD (Arg0, Arg1), Local0) } Return (Local0) } Method (SFBD, 2, NotSerialized) { If (LLess (Arg1, 0x09)) { Return (0x02) } OperationRegion (\F161, SystemMemory, Arg0, Arg1) Field (F161, DWordAcc, NoLock, Preserve) { Offset (0x08), NXBD, 8 } If (OFBD (NXBD)) { Store (NXBD, UHDB) Return (Zero) } Else { Return (0x10) } } Method (OFBD, 1, NotSerialized) { Name (FBDT, Package (0x14) { 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF1, 0xF2, 0xF3, 0xF6 }) Store (Match (FBDT, MEQ, Arg0, MTR, Zero, Zero), Local0) Increment (Local0) Return (Local0) } Method (LCMD, 2, NotSerialized) { If (LLess (Arg1, 0x0B)) { Return (0x02) } WISM (0xA1) Return (Zero) } Method (MF17, 4, NotSerialized) { Store (One, Local0) If (LEqual (Arg3, One)) { Store (GMDL (Arg0, Arg1), Local0) } Else { If (LEqual (Arg3, 0x02)) { Store (GBSI (Arg0, Arg1), Local0) } Else { If (LEqual (Arg3, 0x03)) { Store (GECI (Arg0, Arg1), Local0) } } } Return (Local0) } Method (GMDL, 2, NotSerialized) { If (LLess (Arg1, 0x19)) { Return (0x02) } OperationRegion (\F171, SystemMemory, Arg0, Arg1) Field (F171, DWordAcc, NoLock, Preserve) { Offset (0x08), MLEN, 8, MDL1, 32, MDL2, 32, MDL3, 32, MDL4, 32 } Store (Zero, MDL1) Store (Zero, MDL2) Store (Zero, MDL3) Store (Zero, MDL4) Name (BBUF, Buffer (0x10) {}) CreateDWordField (BBUF, Zero, DAT1) CreateDWordField (BBUF, 0x04, DAT2) CreateDWordField (BBUF, 0x08, DAT3) CreateDWordField (BBUF, 0x0C, DAT4) Store (GBMN (), Local0) Store (SizeOf (Local0), MLEN) Store (GBMN (), BBUF) Store (DAT1, MDL1) Store (DAT2, MDL2) Store (DAT3, MDL3) Store (DAT4, MDL4) Return (Zero) } Method (GBMN, 0, Serialized) { Name (_T_0, Zero) Store (BDID, Local0) While (One) { Store (Local0, _T_0) If (LEqual (_T_0, Zero)) { Store ("K43TA", Local0) Break } Else { If (LEqual (_T_0, One)) { Store ("K43Z ", Local0) Break } Else { If (LEqual (_T_0, 0x02)) { Store ("K53TA", Local0) Break } Else { If (LEqual (_T_0, 0x03)) { Store ("K53Z ", Local0) Break } Else { If (LEqual (_T_0, 0x04)) { Store ("K73TA", Local0) Break } Else { If (LEqual (_T_0, 0x05)) { Store ("K73Z ", Local0) Break } } } } } } Break } Return (Local0) } Method (GBSI, 2, NotSerialized) { If (LLess (Arg1, 0x19)) { Return (0x02) } OperationRegion (\F172, SystemMemory, Arg0, Arg1) Field (F172, DWordAcc, NoLock, Preserve) { Offset (0x08), BLEN, 8, BDL1, 32, BDL2, 32, BDL3, 32, BDL4, 32 } Store (Zero, BDL1) Store (Zero, BDL2) Store (Zero, BDL3) Store (Zero, BDL4) Name (BBUF, Buffer (0x10) {}) CreateDWordField (BBUF, Zero, DAT1) CreateDWordField (BBUF, 0x04, DAT2) CreateDWordField (BBUF, 0x08, DAT3) CreateDWordField (BBUF, 0x0C, DAT4) Store (GBRV (), Local0) Store (SizeOf (Local0), BLEN) Store (GBRV (), BBUF) Store (DAT1, BDL1) Store (DAT2, BDL2) Store (DAT3, BDL3) Store (DAT4, BDL4) Return (Zero) } Method (GBRV, 0, NotSerialized) { Store ("203", Local0) Return (Local0) } Method (GECI, 2, NotSerialized) { If (LLess (Arg1, 0x19)) { Return (0x02) } OperationRegion (\F173, SystemMemory, Arg0, Arg1) Field (F173, DWordAcc, NoLock, Preserve) { Offset (0x08), BLEN, 8, ECV1, 8, ECV2, 8, ECV3, 8, BDL1, 8, BDL2, 32, BDL3, 32, BDL4, 32 } Store (Zero, BDL1) Store (Zero, BDL2) Store (Zero, BDL3) Store (Zero, BDL4) Store (Zero, ECV1) Store (Zero, ECV2) Store (Zero, ECV3) Name (BBUF, Buffer (0x10) {}) CreateByteField (BBUF, Zero, EVR1) CreateByteField (BBUF, One, EVR2) CreateByteField (BBUF, 0x02, EVR3) CreateByteField (BBUF, 0x03, DAT1) CreateDWordField (BBUF, 0x04, DAT2) CreateDWordField (BBUF, 0x08, DAT3) CreateDWordField (BBUF, 0x0C, DAT4) Store (^^PCI0.SBRG.EC0.EECD (0x51, Zero, Zero, Zero, Zero, Zero), Local0) Store (0x03, BLEN) Store (DerefOf (Index (Local0, One)), EVR1) Store (DerefOf (Index (Local0, 0x02)), EVR2) Store (DerefOf (Index (Local0, 0x03)), EVR3) Store (EVR1, ECV1) Store (EVR2, ECV2) Store (EVR3, ECV3) Store (DAT1, BDL1) Store (DAT2, BDL2) Store (DAT3, BDL3) Store (DAT4, BDL4) Return (Zero) } Method (MF18, 3, NotSerialized) { Store (One, Local0) If (LEqual (Arg2, One)) { Store (GDVI (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x02)) { Store (GDVS (Arg0, Arg1), Local0) } Else { If (LEqual (Arg2, 0x03)) { Store (SDPW (Arg0, Arg1), Local0) } } } Return (Local0) } Method (GDVI, 2, NotSerialized) { If (LLess (Arg1, 0x18)) { Return (0x02) } OperationRegion (\F181, SystemMemory, Arg0, Arg1) Field (F181, AnyAcc, NoLock, Preserve) { Offset (0x08), , 1, , 1, , 1, , 1, , 1, , 1, , 1, Offset (0x09), BTCT, 1, , 1, , 1, , 1 } If (LEqual (^^PCI0.SBRG.EC0.BTEX, One)) { Store (One, BTCT) } Return (Zero) } Method (GDVS, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F182, SystemMemory, Arg0, Arg1) Field (F182, ByteAcc, NoLock, Preserve) { Offset (0x08), DNUM, 8, DSTS, 8 } If (LEqual (DNUM, 0x08)) { If (LEqual (^^PCI0.SBRG.EC0.BTEX, One)) { Store (^^PCI0.SBRG.EC0.BTAT, DSTS) } Else { Store (0x02, DSTS) } Return (Zero) } Else { Return (0x10) } } Method (SDPW, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F183, SystemMemory, Arg0, Arg1) Field (F183, ByteAcc, NoLock, Preserve) { Offset (0x08), DNUM, 8, DSTS, 8 } If (LEqual (DNUM, 0x08)) { If (LEqual (^^PCI0.SBRG.EC0.BTEX, One)) { BLED (DSTS) Return (Zero) } Else { Return (0x10) } } Else { Return (0x10) } } Method (MF19, 4, NotSerialized) { Store (One, Local0) If (LEqual (Arg3, One)) { Store (ACMS (Arg0, Arg1), Local0) } If (LEqual (Arg3, 0x02)) { Store (CSIN (Arg0, Arg1), Local0) } Return (Local0) } Method (ACMS, 2, NotSerialized) { WISM (0xA1) Return (Zero) } Method (CSIN, 2, NotSerialized) { If (LLess (Arg1, 0x0A)) { Return (0x02) } OperationRegion (\F192, SystemMemory, Arg0, Arg1) Field (F192, DWordAcc, NoLock, Preserve) { Offset (0x08), CMAX, 16 } Store (0xFF, CMAX) Return (Zero) } Method (MF30, 4, NotSerialized) { Store (One, Local0) If (LEqual (Arg3, One)) { If (LLess (Arg1, 0x10)) { Store (0x02, Local0) } Else { Store (EC01 (Arg0, Arg1), Local0) Store (Zero, Local0) } } Else { If (LEqual (Arg3, 0x02)) { Store (EC02 (Arg0, Arg1), Local0) } } Return (Local0) } Method (EC01, 2, NotSerialized) { OperationRegion (\F301, SystemMemory, Arg0, Arg1) Field (F301, ByteAcc, NoLock, Preserve) { Offset (0x08), CCMD, 8, DAT1, 8, DAT2, 8, DAT3, 8, DAT4, 8, DAT5, 8, REVB, 16 } Store (^^PCI0.SBRG.EC0.EECD (CCMD, DAT1, DAT2, DAT3, DAT4, DAT5), Local0) Store (DerefOf (Index (Local0, One)), DAT1) Store (DerefOf (Index (Local0, 0x02)), DAT2) Store (DerefOf (Index (Local0, 0x03)), DAT3) Store (DerefOf (Index (Local0, 0x04)), DAT4) Store (DerefOf (Index (Local0, 0x05)), DAT5) Store (DerefOf (Index (Local0, Zero)), Local1) And (Local1, 0x3F, Local1) Return (Local1) } Method (EC02, 2, NotSerialized) { If (LLess (Arg1, 0x30)) { Return (0x02) } OperationRegion (\F302, SystemMemory, Arg0, Arg1) Field (F302, ByteAcc, NoLock, Preserve) { Offset (0x08), BUSN, 8, PROT, 8, DADD, 8, DREG, 8, DAT0, 8, DAT1, 8, BLEN, 8, REVB, 8, BLKK, 256 } Store (Package (0x02) { Zero, Buffer (0x20) {} }, Local1) Store (BLEN, Index (Local1, Zero)) Store (BLKK, Index (Local1, One)) Store (^^PCI0.SBRG.EC0.ECSB (BUSN, PROT, DADD, DREG, DAT0, DAT1, Local1), Local0) If (LEqual (DerefOf (Index (Local0, Zero)), Zero)) { Store (DerefOf (Index (Local0, One)), DAT0) Store (DerefOf (Index (Local0, 0x02)), DAT1) Store (DerefOf (Index (Local0, 0x03)), BLEN) Store (DerefOf (Index (Local0, 0x04)), BLKK) } Store (DerefOf (Index (Local0, Zero)), Local2) And (Local2, 0x3F, Local2) Return (Local2) } Method (MF32, 4, NotSerialized) { Store (One, Local0) If (LEqual (Arg3, One)) {} If (LEqual (Arg3, 0x02)) {} If (LEqual (Arg3, 0x03)) { Store (GPBA (Arg0, Arg1), Local0) } If (LEqual (Arg3, 0x04)) { Store (SPBA (Arg0, Arg1), Local0) } Return (Local0) } Method (GPBA, 2, NotSerialized) { If (LLess (Arg1, 0x10)) { Return (0x02) } OperationRegion (\F323, SystemMemory, Arg0, Arg1) Field (F323, DWordAcc, NoLock, Preserve) { Offset (0x08), Offset (0x09), GPBX, 8 } Store (Zero, GPBX) Return (Zero) } Method (SPBA, 2, NotSerialized) { If (LLess (Arg1, 0x18)) { Return (0x02) } OperationRegion (\F324, SystemMemory, Arg0, Arg1) Field (F324, DWordAcc, NoLock, Preserve) { Offset (0x08), Offset (0x09), SPBS, 8, SPBD, 8, SDAT, 64 } Return (One) } } Method (USBC, 1, NotSerialized) { Store (^ATKD.AGFN (Zero), Local0) OperationRegion (\CP50, SystemMemory, Local0, 0x09) Field (CP50, ByteAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, BLEN, 16, STAS, 8, EROR, 8, UCOF, 8 } Store (0x50, MFUN) Store (Arg0, UCOF) Store (Local0, BIPA) WISM (0xA1) } } Scope (_SB) { OperationRegion (SMB0, SystemIO, 0x0B00, 0x80) Field (SMB0, ByteAcc, NoLock, Preserve) { SHST, 8, Offset (0x02), SHTC, 8, SCMD, 8, SADR, 8, Offset (0x0D), SMAC, 8 } Method (DIAG, 1, NotSerialized) { Store (Zero, SMAC) Store (Zero, SADR) Store (Arg0, SCMD) Store (0xFF, SHST) Store (0x44, SHTC) } } OperationRegion (COMP, SystemMemory, 0x8F896E18, 0x0014) Field (COMP, AnyAcc, Lock, Preserve) { IDMN, 16, IDPC, 16, BDID, 8, CPFB, 8, PBTI, 8, BRLV, 8, TPVD, 8, MICE, 8, CCNM, 8, SBPT, 8, CG12, 8, CG13, 8, CG14, 8, CG15, 8, CG16, 8, CG17, 8, CG18, 8, CG19, 8 } Scope (_SB.PCI0.UHC1) { Device (RHUB) { Name (_ADR, Zero) Device (USBD) { Name (_ADR, 0x04) Name (_UPC, Package (0x04) { 0xFF, 0xFF, Zero, Zero }) Name (_PLD, Buffer (0x10) { 0x81, 0x00, 0x30, 0x00 }) } } } Scope (_SB.PCI0.UHC2) { Device (RHUB) { Name (_ADR, Zero) Device (USBC) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, 0xFF, Zero, Zero }) Name (_PLD, Buffer (0x10) { 0x81, 0x00, 0x30, 0x00 }) } } } Scope (_SB.PCI0.SBRG.EC0) { OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF) Field (ERAM, ByteAcc, Lock, Preserve) { Offset (0x2D), UCEN, 1, Offset (0x2E), UCBL, 8, Offset (0x5A), Offset (0x5B), Offset (0x5C), Offset (0x5D), ERIB, 16, ERBD, 8, Offset (0x90), BMFN, 72, BATD, 56, Offset (0xA1), , 1, VIDO, 1, TOUP, 1, LDOF, 1, Offset (0xA2), ODTS, 8, OSTP, 3, , 4, ADPT, 1, PWAK, 1, MWAK, 1, LWAK, 1, RWAK, 1, WWAK, 1, USBW, 1, KWAK, 1, TWAK, 1, CCAC, 1, AOAC, 1, BLAC, 1, PSRC, 1, BOAC, 1, LCAC, 1, AAAC, 1, ACAC, 1, FSRM, 8, OSTT, 8, OSST, 8, THLT, 8, TCNL, 8, MODE, 1, , 2, INIT, 1, FAN1, 1, FAN2, 1, FANT, 1, SKNM, 1, SDTM, 8, FSSN, 4, FANU, 4, PTVL, 4, , 2, SWTO, 1, TTHR, 1, TTHM, 1, THTL, 1, , 2, NPST, 4, CTMP, 8, CTML, 8, SKTA, 8, SKTB, 8, SKTC, 8, Offset (0xB6), NTMP, 8, , 1, SKEY, 1, DIGM, 1, CDLE, 1, S4EN, 1, S4RS, 1, Offset (0xB8), , 1, LIDF, 1, PMEE, 1, PWBE, 1, RNGE, 1, BTWE, 1, Offset (0xB9), BRTS, 8, CNTS, 8, WLRF, 1, BTAT, 1, WLEX, 1, BTEX, 1, KLSW, 1, WLLD, 1, AT3G, 1, EX3G, 1, PJID, 8, CPUN, 8, BOL0, 1, BOL1, 1, , 2, BCC0, 1, BCC1, 1, Offset (0xBF), BPU0, 1, BPU1, 1, , 2, BOS0, 1, BOS1, 1, Offset (0xC0), BTY0, 1, BAM0, 1, BAL0, 1, , 1, BMF0, 3, Offset (0xC1), BST0, 8, BRC0, 16, BSN0, 16, BPV0, 16, BDV0, 16, BDC0, 16, BFC0, 16, GAU0, 8, CYC0, 8, BPC0, 16, BAC0, 16, BTW0, 8, BVL0, 8, BTM0, 8, BTT0, 8, BCG0, 16, BCT0, 8, BCI0, 8, BCM0, 8, BOT0, 8, BSSB, 16, BOV0, 8, BCF0, 8, BAD0, 8, BCV1, 16, BCV2, 16, BCV3, 16, BCV4, 16, Offset (0xF0), BAEX, 1, BAFU, 1, BAEM, 1, BAFI, 1, , 2, BARC, 1, BALN, 1, LLBA, 1, CED1, 1, SED1, 1, BAST, 1, STRB, 1, STCC, 1, Offset (0xF2), BFCS, 1, BBDC, 1, BCCF, 1, DBCS, 1, BCSC, 1, BSCC, 1, BAOV, 1, BAOT, 1, BTCT, 1, SCAT, 1, SCSB, 1, , 1, SCOF, 1, WBNA, 1, Offset (0xF4), MADA, 16, REAV, 16, BDN0, 8 } Name (SBBY, 0x1A) Method (ECSB, 7, NotSerialized) { Store (Package (0x05) { 0x11, Zero, Zero, Zero, Buffer (0x20) {} }, Local1) If (LGreater (Arg0, One)) { Return (Local1) } Acquire (MUEC, 0xFFFF) Increment (Arg0) Store (Arg0, SMBN) Store (PRTC, Local0) Store (Zero, Local2) While (LNotEqual (Local0, Zero)) { Stall (0x0A) Increment (Local2) If (LGreater (Local2, 0x03E8)) { Store (SBBY, Index (Local1, Zero)) Store (Zero, Local0) } Else { Store (PRTC, Local0) } } If (LLessEqual (Local2, 0x03E8)) { Store (Arg2, ADDR) Store (Arg3, CMDB) Store (Arg4, DAT0) Store (Arg5, DAT1) Store (DerefOf (Index (Arg6, Zero)), BCNT) Store (DerefOf (Index (Arg6, One)), BDAT) Store (Arg1, PRTC) Store (0x7F, Local0) While (PRTC) { Sleep (One) Decrement (Local0) } If (Local0) { Store (SSTS, Local0) Store (DAT0, Index (Local1, One)) Store (DAT1, Index (Local1, 0x02)) Store (BCNT, Index (Local1, 0x03)) Store (BDAT, Index (Local1, 0x04)) And (Local0, 0x1F, Local0) If (Local0) { Add (Local0, 0x10, Local0) } Store (Local0, Index (Local1, Zero)) } Else { Store (0x10, Index (Local1, Zero)) } } Store (One, SMBN) Release (MUEC) Return (Local1) } Method (CMFC, 4, Serialized) { Name (_T_2, Zero) Name (_T_1, Zero) Name (_T_0, Zero) Name (RTVL, Package (0x04) { Zero, Zero, Zero, Zero }) While (One) { Store (ToInteger (Arg0), _T_0) If (LEqual (_T_0, 0xFE00)) { While (One) { Store (ToInteger (Arg1), _T_1) If (LEqual (_T_1, One)) { While (One) { Store (ToInteger (Arg2), _T_2) If (LEqual (_T_2, Zero)) { If (LNotEqual (ToInteger (Arg3), Zero)) { Store (0x8300, Index (RTVL, Zero)) } Else { Store (Zero, Index (RTVL, Zero)) Store (IDMN, Index (RTVL, One)) Store (IDPC, Index (RTVL, 0x02)) } } Else { Store (0x8300, Index (RTVL, Zero)) } Break } } Else { Store (0x8000, Index (RTVL, Zero)) } Break } } Else { Store (0x8000, Index (RTVL, Zero)) } Break } Return (RTVL) } OperationRegion (CCLK, SystemIO, 0x0410, 0x04) Field (CCLK, DWordAcc, NoLock, Preserve) { , 1, DUTY, 3, THEN, 1, Offset (0x01), FTT, 1, , 8, TSTS, 1 } Mutex (FAMX, 0x00) Method (FANG, 1, NotSerialized) { Acquire (FAMX, 0xFFFF) Store (Arg0, ERIB) Store (ERBD, Local0) Release (FAMX) Return (Local0) } Method (FANW, 2, NotSerialized) { Acquire (FAMX, 0xFFFF) Store (Arg0, ERIB) Store (Arg1, ERBD) Release (FAMX) Return (Arg1) } Method (TUVR, 1, NotSerialized) { Return (0x03) } Method (THRO, 1, NotSerialized) { Return (Zero) } Method (CLCK, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Store (Zero, THEN) } Else { Store (Arg0, DUTY) Store (One, THEN) } Return (THEN) } } Scope (_SB.PCI0.SBRG) { Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, One) Name (_PCL, Package (0x01) { _SB }) Name (BMDL, Zero) Name (BFCT, Zero) Method (_STA, 0, NotSerialized) { If (^^EC0.ECOK ()) { If (^^EC0.BOL0) { Sleep (0x14) Return (0x1F) } Else { Sleep (0x14) Return (0x0F) } } Else { Sleep (0x14) Return (0x1F) } } Method (_BIF, 0, NotSerialized) { Name (STAT, Package (0x0D) { One, 0x1770, 0x1770, One, 0x2A30, 0x0258, 0xB4, 0x0108, 0x0EC4, "PA3533U ", "41167", "Li-Ion", "ASUS" }) If (^^EC0.ECOK ()) { Store (^^EC0.BDN0, Local0) Store (Local0, BMDL) Store (^^EC0.BFC0, BFCT) Sleep (0x14) Store (^^EC0.BDC0, Index (STAT, One)) Sleep (0x14) Store (^^EC0.BDV0, Index (STAT, 0x04)) Sleep (0x14) } Else { Store ("Li-Ion", Index (STAT, 0x0B)) Store (BFCT, Index (STAT, One)) } If (BFCT) { Divide (BFCT, 0x64, Local0, Local1) Multiply (Local1, 0x0A, Local1) Store (Local1, Index (STAT, 0x05)) Divide (BFCT, 0x64, Local0, Local1) Multiply (Local1, 0x03, Local1) Store (Local1, Index (STAT, 0x06)) Store (BFCT, Index (STAT, 0x02)) } Return (STAT) } Method (_BST, 0, NotSerialized) { Name (PBST, Package (0x04) { Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0x2A30 }) Store (0x2A30, Local3) If (^^EC0.ECOK ()) { Sleep (0x14) Store (^^EC0.BST0, Local0) Sleep (0x14) Store (^^EC0.BAC0, Local4) Subtract (0xFFFF, Local4, Local4) Sleep (0x14) Store (^^EC0.BRC0, Local2) Sleep (0x14) Store (^^EC0.BPV0, Local3) Sleep (0x14) Store (Local0, Index (PBST, Zero)) Store (Local4, Index (PBST, One)) Store (Local2, Index (PBST, 0x02)) Store (Local3, Index (PBST, 0x03)) } If (^^EC0.ECOK ()) { If (LNotEqual (^^EC0.BDN0, BMDL)) { Notify (BAT1, 0x81) } } Return (PBST) } } Device (ACAD) { Name (_HID, "ACPI0003") Name (_PCL, Package (0x01) { _SB }) Method (_PSR, 0, NotSerialized) { If (^^EC0.ECOK ()) { Store (^^EC0.ADPT, Local0) Return (Local0) } Else { Return (One) } } Method (_STA, 0, NotSerialized) { Return (0x0F) } } } Scope (_TZ) { Name (TSP, 0x0A) ThermalZone (THRM) { Method (_CRT, 0, NotSerialized) { Return (KELV (\_SB.PCI0.SBRG.EC0.OSST)) } Method (_TMP, 0, NotSerialized) { Return (KELV (\_SB.PCI0.SBRG.EC0.CTMP)) } Method (_TSP, 0, NotSerialized) { Multiply (TSP, 0x0A, Local0) Return (Local0) } Name (_PSL, Package (0x00) {}) Method (_PSV, 0, NotSerialized) { } Method (_TC1, 0, NotSerialized) { } Method (_TC2, 0, NotSerialized) { } Method (_AC0, 0, NotSerialized) { } Method (KELV, 1, NotSerialized) { And (Arg0, 0xFF, Local0) If (LGreaterEqual (Local0, 0x80)) { Subtract (0x0100, Local0, Local0) Multiply (Local0, 0x0A, Local0) Subtract (0x0AAC, Local0, Local0) Return (Local0) } Multiply (Local0, 0x0A, Local0) Add (Local0, 0x0AAC, Local0) Return (Local0) } } } Device (_SB.PCI0.PCE4) { Name (_ADR, 0x00040000) Name (_PRW, Package (0x02) { 0x08, 0x04 }) Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (One, ^^SBRG.EC0.PWAK) } Else { Store (Zero, ^^SBRG.EC0.PWAK) } } } Scope (_SB.PCI0.XHC0) { Method (_PSW, 1, NotSerialized) { } } Method (CWAK, 1, NotSerialized) { Notify (\_SB.LID, 0x80) Store (Zero, \_SB.LDON) } Name (_S0, Package (0x04) { Zero, Zero, Zero, Zero }) If (SS3) { Name (_S3, Package (0x04) { 0x03, Zero, Zero, Zero }) } If (SS4) { Name (_S4, Package (0x04) { 0x04, Zero, Zero, Zero }) } Name (_S5, Package (0x04) { 0x05, Zero, Zero, Zero }) Method (PTS, 1, NotSerialized) { If (Arg0) { SPTS (Arg0) \_SB.PCI0.NPTS (Arg0) } } Method (WAK, 1, NotSerialized) { SWAK (Arg0) \_SB.PCI0.NWAK (Arg0) PWAK (Arg0) CWAK (Arg0) } }