/* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20180427 (64-bit version)(RM) * Copyright (c) 2000 - 2018 Intel Corporation * * Disassembling to non-symbolic legacy ASL operators * * Disassembly of DSDT.aml, Sun Jul 8 22:19:10 2018 * * Original Table Header: * Signature "DSDT" * Length 0x0002F410 (193552) * Revision 0x02 * Checksum 0xBE * OEM ID "_ASUS_" * OEM Table ID "Notebook" * OEM Revision 0x01072009 (17244169) * Compiler ID "INTL" * Compiler Version 0x20160422 (538313762) */ DefinitionBlock ("", "DSDT", 2, "_ASUS_", "Notebook", 0x01072009) { External (_GPE.AL6F, MethodObj) // 0 Arguments (from opcode) External (_GPE.HLVT, MethodObj) // 0 Arguments (from opcode) External (_GPE.P0L6, MethodObj) // 0 Arguments (from opcode) External (_GPE.P1L6, MethodObj) // 0 Arguments (from opcode) External (_GPE.P2L6, MethodObj) // 0 Arguments (from opcode) External (_PR_.BGIA, UnknownObj) // (from opcode) External (_PR_.BGMA, UnknownObj) // (from opcode) External (_PR_.BGMS, UnknownObj) // (from opcode) External (_PR_.CFGD, UnknownObj) // (from opcode) External (_PR_.CPPC, IntObj) // (from opcode) External (_PR_.CPU0.LPSS, PkgObj) // (from opcode) External (_PR_.CPU0.TPSS, PkgObj) // (from opcode) External (_PR_.DSAE, UnknownObj) // (from opcode) External (_PR_.DTS1, UnknownObj) // (from opcode) External (_PR_.DTS2, UnknownObj) // (from opcode) External (_PR_.DTS3, UnknownObj) // (from opcode) External (_PR_.DTS4, UnknownObj) // (from opcode) External (_PR_.DTSE, UnknownObj) // (from opcode) External (_PR_.DTSF, UnknownObj) // (from opcode) External (_PR_.DTSI, IntObj) // (from opcode) External (_PR_.ELNG, UnknownObj) // (from opcode) External (_PR_.EMNA, UnknownObj) // (from opcode) External (_PR_.EPCS, UnknownObj) // (from opcode) External (_PR_.HWPI, IntObj) // (from opcode) External (_PR_.P000, UnknownObj) // Warning: Unknown object External (_PR_.P000._PPC, IntObj) // (from opcode) External (_PR_.P000._PSS, PkgObj) // (from opcode) External (_PR_.PDTS, UnknownObj) // (from opcode) External (_PR_.PKGA, UnknownObj) // (from opcode) External (_PR_.POWS, UnknownObj) // (from opcode) External (_PR_.TRPD, UnknownObj) // (from opcode) External (_PR_.TRPF, UnknownObj) // (from opcode) External (_SB_.IETM, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.ALSI, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CADL, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CAL2, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CBLV, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CDCK, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CLID, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CPDL, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CPL2, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.CPL3, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.DD01, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD02, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD03, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD04, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD05, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD06, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD07, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD08, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.DD1F, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.GNOT, MethodObj) // 2 Arguments (from opcode) External (_SB_.PCI0.GFX0.GSCI, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.GFX0.GSSE, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.IUEH, MethodObj) // 1 Arguments (from opcode) External (_SB_.PCI0.GFX0.NXTD, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.STAT, UnknownObj) // (from opcode) External (_SB_.PCI0.GFX0.TCHE, UnknownObj) // (from opcode) External (_SB_.PCI0.HDAS.PPMS, MethodObj) // 1 Arguments (from opcode) External (_SB_.PCI0.HDAS.PS0X, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.HDAS.PS3X, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.LPCB.H_EC.CHRG, DeviceObj) // (from opcode) External (_SB_.PCI0.LPCB.H_EC.XDAT, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.PAUD.PUAM, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.PEG0.HPME, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.PEG1.HPME, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.PEG2.HPME, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.RP05.PWRG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP05.RSTG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP05.SCLK, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP09.PWRG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP09.RSTG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP09.SCLK, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP13.PWRG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP13.RSTG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP13.SCLK, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP17.PWRG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP17.RSTG, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.RP17.SCLK, UnknownObj) // Warning: Unknown object External (_SB_.PCI0.SAT0.SDSM, MethodObj) // 4 Arguments (from opcode) External (_SB_.PCI0.XHC_.DUAM, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.XHC_.PS0X, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.XHC_.PS3X, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.XHC_.RHUB.INIR, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.XHC_.RHUB.PS0X, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.XHC_.RHUB.PS2X, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.XHC_.RHUB.PS3X, MethodObj) // 0 Arguments (from opcode) External (_SB_.TPM_.PTS_, MethodObj) // 1 Arguments (from opcode) External (_TZ_.ETMD, IntObj) // (from opcode) External (_TZ_.TZ00, DeviceObj) // (from opcode) External (_TZ_.TZ01, DeviceObj) // (from opcode) External (ALSE, UnknownObj) // (from opcode) External (BNUM, UnknownObj) // (from opcode) // Conflicts with a later declaration External (BRTL, UnknownObj) // (from opcode) External (CRBI, UnknownObj) // (from opcode) External (DIDX, UnknownObj) // (from opcode) External (GSMI, UnknownObj) // (from opcode) External (IGDS, UnknownObj) // (from opcode) External (LHIH, UnknownObj) // (from opcode) External (LIDS, UnknownObj) // (from opcode) External (LLOW, UnknownObj) // (from opcode) External (M32B, UnknownObj) // (from opcode) External (M32L, UnknownObj) // (from opcode) External (M64B, UnknownObj) // (from opcode) External (M64L, UnknownObj) // (from opcode) External (MDBG, MethodObj) // 1 Arguments (from opcode) External (P0WK, UnknownObj) // (from opcode) External (P1GP, UnknownObj) // (from opcode) External (P1WK, UnknownObj) // (from opcode) External (P2GP, UnknownObj) // (from opcode) External (P2WK, UnknownObj) // (from opcode) External (PDC0, IntObj) // (from opcode) External (PDC1, UnknownObj) // (from opcode) External (PDC2, UnknownObj) // (from opcode) External (PDC3, UnknownObj) // (from opcode) External (PDC4, UnknownObj) // (from opcode) External (PDC5, UnknownObj) // (from opcode) External (PDC6, UnknownObj) // (from opcode) External (PDC7, UnknownObj) // (from opcode) External (RP05.PWRG, UnknownObj) // (from opcode) External (RP05.RSTG, UnknownObj) // (from opcode) External (RP05.SCLK, UnknownObj) // (from opcode) External (RP09.PWRG, UnknownObj) // (from opcode) External (RP09.RSTG, UnknownObj) // (from opcode) External (RP09.SCLK, UnknownObj) // (from opcode) External (RP13.PWRG, UnknownObj) // (from opcode) External (RP13.RSTG, UnknownObj) // (from opcode) External (RP13.SCLK, UnknownObj) // (from opcode) External (RP17.PWRG, UnknownObj) // (from opcode) External (RP17.RSTG, UnknownObj) // (from opcode) External (RP17.SCLK, UnknownObj) // (from opcode) External (SAT0.NVM1.VLPM, UnknownObj) // (from opcode) External (SAT0.NVM2.VLPM, UnknownObj) // (from opcode) External (SAT0.NVM3.VLPM, UnknownObj) // (from opcode) External (SGGP, UnknownObj) // (from opcode) External (SGMD, UnknownObj) // (from opcode) Name (MCHB, 0xFED10000) Name (MCHL, 0x8000) Name (EGPB, 0xFED19000) Name (EGPL, 0x1000) Name (DMIB, 0xFED18000) Name (DMIL, 0x1000) Name (VTBS, 0xFED90000) Name (VTLN, 0x4000) Name (CPVD, Zero) Name (SMIP, 0xB2) Name (PMBA, 0x1800) Name (SMCR, 0x1830) Name (TCBR, 0xFED08000) Name (TCLT, 0x1000) Name (SMBL, 0x20) Name (APCB, 0xFEC00000) Name (APCL, 0x1000) Name (FMBL, One) Name (FDTP, 0x02) Name (FUPS, 0x04) Name (FUWS, 0x03) Name (FEMD, 0x04) Name (PFTU, 0xB2) Name (ASSB, Zero) Name (AOTB, Zero) Name (AAXB, Zero) Name (PEHP, One) Name (SHPC, One) Name (PEPM, One) Name (PEER, One) Name (PECS, One) Name (ITKE, Zero) Name (MBEC, 0xFFFF) Name (PEBS, 0xE0000000) Name (PELN, 0x10000000) Name (CSMI, 0x61) Name (DSSP, Zero) Name (FHPP, One) Name (SMIA, 0xB2) Name (SMIB, 0xB3) Name (OFST, 0x35) Name (TRST, 0x02) Name (TCMF, Zero) Name (TMF1, Zero) Name (TMF2, Zero) Name (TMF3, Zero) Name (TTPF, Zero) Name (DTPT, One) Name (TTDP, One) Name (TPMB, 0xFFFFFFFF) Name (TPMC, 0xFFFFFFFF) Name (TPMM, 0xFED40000) Name (FTPM, 0xFED40040) Name (PPIM, 0x7AEF2F18) Name (PPIL, 0x1C) Name (AMDT, Zero) Name (TPMF, One) Name (PPIV, Zero) Name (OSFG, Zero) Name (EXSI, 0xAA) Name (SS1, Zero) Name (SS2, Zero) Name (SS3, One) Name (SS4, One) Name (IOST, 0x4400) Name (TOPM, 0x00000000) Name (ROMS, 0xFFE00000) Name (VGAF, One) OperationRegion (GNVS, SystemMemory, 0x7AEED000, 0x06E0) Field (GNVS, AnyAcc, Lock, Preserve) { OSYS, 16, SMIF, 8, PRM0, 8, PRM1, 8, SCIF, 8, PRM2, 8, PRM3, 8, LCKF, 8, PRM4, 8, PRM5, 8, P80D, 32, PWRS, 8, DBGS, 8, THOF, 8, ACT1, 8, ACTT, 8, PSVT, 8, TC1V, 8, TC2V, 8, TSPV, 8, CRTT, 8, DTSE, 8, DTS1, 8, DTS2, 8, DTSF, 8, Offset (0x1E), BNUM, 8, Offset (0x20), Offset (0x21), Offset (0x22), Offset (0x23), Offset (0x24), Offset (0x25), REVN, 8, APIC, 8, TCNT, 8, PCP0, 8, PCP1, 8, PPCM, 8, PPMF, 32, C67L, 8, NATP, 8, CMAP, 8, CMBP, 8, LPTP, 8, FDCP, 8, CMCP, 8, CIRP, 8, SMSC, 8, W381, 8, SMC1, 8, EMAE, 8, EMAP, 16, EMAL, 16, MEFE, 8, DSTS, 8, MORD, 8, TCGP, 8, PPRP, 32, PPRQ, 8, LPPR, 8, IDEM, 8, PLID, 8, BTYP, 8, OSCC, 8, NEXP, 8, SBV1, 8, SBV2, 8, ECON, 8, DSEN, 8, GPIC, 8, CTYP, 8, L01C, 8, VFN0, 8, VFN1, 8, VFN2, 8, VFN3, 8, VFN4, 8, VFN5, 8, VFN6, 8, VFN7, 8, VFN8, 8, VFN9, 8, ATMC, 8, PTMC, 8, PNHM, 32, TBAL, 32, TBAH, 32, RTIP, 8, TSOD, 8, PFLV, 8, BREV, 8, PDTS, 8, PKGA, 8, PAMT, 8, AC0F, 8, AC1F, 8, DTS3, 8, DTS4, 8, LTR1, 8, LTR2, 8, LTR3, 8, LTR4, 8, LTR5, 8, LTR6, 8, LTR7, 8, LTR8, 8, LTR9, 8, LTRA, 8, LTRB, 8, LTRC, 8, LTRD, 8, LTRE, 8, LTRF, 8, LTRG, 8, LTRH, 8, LTRI, 8, LTRJ, 8, LTRK, 8, LTRL, 8, LTRM, 8, LTRN, 8, LTRO, 8, OBF1, 8, OBF2, 8, OBF3, 8, OBF4, 8, OBF5, 8, OBF6, 8, OBF7, 8, OBF8, 8, OBF9, 8, OBFA, 8, OBFB, 8, OBFC, 8, OBFD, 8, OBFE, 8, OBFF, 8, OBFG, 8, OBFH, 8, OBFI, 8, OBFJ, 8, OBFK, 8, OBFL, 8, OBFM, 8, OBFN, 8, OBFO, 8, XTUB, 32, XTUS, 32, XMPB, 32, DDRF, 8, RTD3, 8, PEP0, 8, PEP3, 8, DPTF, 8, DCFE, 16, SADE, 8, SACR, 8, SAHT, 8, CPUS, 8, CTDP, 8, LPMP, 8, LPMV, 8, ECEU, 8, TGFG, 16, MEMD, 8, ATRA, 8, PTRA, 8, MEMC, 8, MEMH, 8, FND1, 8, FND2, 8, AMBD, 8, AMAT, 8, AMPT, 8, AMCT, 8, AMHT, 8, SKDE, 8, SKAT, 8, SKPT, 8, SKCT, 8, SKHT, 8, EFDE, 8, EFAT, 8, EFPT, 8, EFCT, 8, EFHT, 8, VRDE, 8, VRAT, 8, VRPT, 8, VRCT, 8, VRHT, 8, DPAP, 8, DPPP, 8, DPCP, 8, DCMP, 8, TRTV, 8, LPOE, 8, LPOP, 8, LPOS, 8, LPOW, 8, LPER, 8, PPSZ, 32, DISE, 8, BGMA, 64, BGMS, 8, BGIA, 16, IRMC, 8, NFCE, 8, CHEN, 8, S0ID, 8, CTDB, 8, DKSM, 8, SIO1, 16, SIO2, 16, SPBA, 16, SEC0, 32, SEC1, 32, SEC2, 32, SEC3, 32, SEC4, 32, SEC5, 32, SEC6, 32, SEC7, 32, SEC8, 32, Offset (0x1F4), WIFD, 8, WFAT, 8, WFPT, 8, WFCT, 8, WFHT, 8, PWRE, 8, Offset (0x1FC), PPPR, 16, PBPE, 8, VSPE, 8, Offset (0x203), XHPR, 8, RIC0, 8, GBSX, 8, IUBE, 8, IUCE, 8, IUDE, 8, ECNO, 8, AUDD, 16, IC0D, 16, IC1D, 16, IC1S, 16, VRRD, 16, PSCP, 8, I20D, 16, I21D, 16, RCG0, 16, RCG1, 16, ECDB, 8, P2ME, 8, P2MK, 8, SSH0, 16, SSL0, 16, SSD0, 16, FMH0, 16, FML0, 16, FMD0, 16, FPH0, 16, FPL0, 16, FPD0, 16, SSH1, 16, SSL1, 16, SSD1, 16, FMH1, 16, FML1, 16, FMD1, 16, FPH1, 16, FPL1, 16, FPD1, 16, M0C0, 16, M1C0, 16, M2C0, 16, M0C1, 16, M1C1, 16, M2C1, 16, M0C2, 16, M1C2, 16, M0C3, 16, M1C3, 16, M0C4, 16, M1C4, 16, M0C5, 16, M1C5, 16, TBSF, 8, GIRQ, 32, DMTP, 8, DMTD, 8, DMSH, 8, SHSB, 8, PLCS, 8, PLVL, 16, GN1E, 8, G1AT, 8, G1PT, 8, G1CT, 8, G1HT, 8, GN2E, 8, G2AT, 8, G2PT, 8, G2CT, 8, G2HT, 8, WWSD, 8, CVSD, 8, SSDD, 8, INLD, 8, IFAT, 8, IFPT, 8, IFCT, 8, IFHT, 8, SDWE, 8, USBH, 8, BCV4, 8, WTV0, 8, WTV1, 8, APFU, 8, SOHP, 8, GP5F, 8, NOHP, 8, TBSE, 8, WKFN, 8, PEPC, 32, VRSD, 16, PB1E, 8, GNID, 8, WAND, 8, WWAT, 8, WWPT, 8, WWCT, 8, WWHT, 8, Offset (0x2A3), MPL0, 16, CHGE, 8, SAC3, 8, MEM3, 8, AMC3, 8, SKC3, 8, EFC3, 8, VRC3, 8, WFC3, 8, G1C3, 8, G2C3, 8, IFC3, 8, WWC3, 8, WGC3, 8, SPST, 8, PERE, 8, PEAT, 8, PEPV, 8, PECR, 8, PEC3, 8, PEHT, 8, GN3E, 8, G3AT, 8, G3PT, 8, G3CT, 8, G3HT, 8, GN4E, 8, G4AT, 8, G4PT, 8, G4CT, 8, G4HT, 8, GN5E, 8, G5AT, 8, G5PT, 8, G5CT, 8, G5HT, 8, GN6E, 8, G6AT, 8, G6PT, 8, G6CT, 8, G6HT, 8, ECLP, 8, G3C3, 8, G4C3, 8, G5C3, 8, G6C3, 8, TSP1, 8, TSP2, 8, TSP3, 8, TSP4, 8, TSP5, 8, TSP6, 8, TSP7, 8, TSP8, 8, SSP1, 8, SSP2, 8, SSP3, 8, SSP4, 8, SSP5, 8, SSP6, 8, SSP7, 8, SSP8, 8, MEMS, 8, STGE, 8, STAT, 8, STPT, 8, STCT, 8, STC3, 8, STHT, 8, VSP1, 8, V1AT, 8, V1PV, 8, V1CR, 8, V1C3, 8, V1HT, 8, VSP2, 8, V2AT, 8, V2PV, 8, V2CR, 8, V2C3, 8, V2HT, 8, S1DE, 8, S1AT, 8, S1PT, 8, S1CT, 8, S1HT, 8, S2DE, 8, S2AT, 8, S2PT, 8, S2CT, 8, S2HT, 8, S3DE, 8, S3AT, 8, S3PT, 8, S3CT, 8, S3HT, 8, S4DE, 8, S4AT, 8, S4PT, 8, S4CT, 8, S4HT, 8, S5DE, 8, S5AT, 8, S5PT, 8, S5CT, 8, S5HT, 8, S6DE, 8, S6AT, 8, S6PT, 8, S6CT, 8, S6HT, 8, S7DE, 8, S7AT, 8, S7PT, 8, S7CT, 8, S7HT, 8, S1S3, 8, S2S3, 8, S3S3, 8, S4S3, 8, S5S3, 8, S6S3, 8, S7S3, 8, ICAE, 8, PSME, 8, PDT1, 8, PLM1, 32, PTW1, 32, PDT2, 8, PLM2, 32, PTW2, 32, DDT1, 8, DDP1, 8, DLI1, 16, DPL1, 16, DTW1, 32, DMI1, 16, DMA1, 16, DMT1, 16, DDT2, 8, DDP2, 8, DLI2, 16, DPL2, 16, DTW2, 32, DMI2, 16, DMA2, 16, DMT2, 16, WIFE, 8, DOM1, 8, LIM1, 16, TIM1, 32, DOM2, 8, LIM2, 16, TIM2, 32, DOM3, 8, LIM3, 16, TIM3, 32, TRD0, 8, TRL0, 8, TRD1, 8, TRL1, 8, WDM1, 8, CID1, 16, WDM2, 8, CID2, 16, Offset (0x378), APPE, 8, MPL1, 16, MPL2, 16, SDS0, 8, SDS1, 8, SDS2, 8, SDS3, 8, SDS4, 8, SDS5, 8, SDS6, 8, SDS7, 8, SDS8, 8, SDS9, 8, SDSA, 8, TPLB, 8, TPLH, 16, WTVX, 8, WITX, 8, GPTD, 8, GDBT, 16, UTKX, 8, SPTD, 8, GEXN, 8, TBTS, 8, TBWS, 8, AICS, 8, TARS, 8, FPAT, 8, FPEN, 8, FPGN, 32, FPLV, 8, CPAD, 16, CPAB, 8, TNAT, 8, CPGN, 32, CF2T, 8, TDGS, 8, DCSC, 8, DCKE, 8, UDCK, 8, SUDK, 8, OHPN, 8, GHPN, 8, EGPC, 32, EGPV, 8, TBDT, 32, ATLB, 32, SDM0, 8, SDM1, 8, SDM2, 8, SDM3, 8, SDM4, 8, SDM5, 8, SDM6, 8, SDM7, 8, SDM8, 8, SDM9, 8, SDMA, 8, USTP, 8, SSHI, 16, SSLI, 16, SSDI, 16, FMHI, 16, FMLI, 16, FMDI, 16, FPHI, 16, FPLI, 16, FPDI, 16, M0CI, 16, M1CI, 16, M0CS, 16, M1CS, 16, M0CU, 16, M1CU, 16, CAMT, 8, IVDF, 8, IFWG, 64, IVWS, 8, IVPR, 8, DIVO, 16, DIVF, 16, IVAD, 8, IVRS, 8, IVDG, 64, DSPR, 8, DDSO, 16, DDSF, 16, DSAD, 8, DSRS, 8, DVDG, 64, EIDF, 8, GFPS, 32, GFPI, 32, GNSM, 8, GNSC, 8, GGNR, 32, GBTW, 32, GBTK, 32, GBTI, 32, GPDI, 32, GPLI, 32, CL00, 8, CL01, 8, CL02, 8, CL03, 8, L0EN, 8, L1EN, 8, L2EN, 8, L3EN, 8, CDIV, 8, C0TP, 8, C0CV, 8, C0GP, 8, C0IB, 8, C0IA, 16, C0P0, 8, C0P1, 8, C0P2, 8, C0P3, 8, C0G0, 8, C0G1, 8, C0G2, 8, C0G3, 8, C0F0, 8, C0F1, 8, C0F2, 8, C0F3, 8, C0A0, 8, C0A1, 8, C0A2, 8, C0A3, 8, C0I0, 8, C0I1, 8, C0I2, 8, C0I3, 8, C0PL, 8, C1TP, 8, C1CV, 8, C1GP, 8, C1IB, 8, C1IA, 16, C1P0, 8, C1P1, 8, C1P2, 8, C1P3, 8, C1G0, 8, C1G1, 8, C1G2, 8, C1G3, 8, C1F0, 8, C1F1, 8, C1F2, 8, C1F3, 8, C1A0, 8, C1A1, 8, C1A2, 8, C1A3, 8, C1I0, 8, C1I1, 8, C1I2, 8, C1I3, 8, C1PL, 8, C2TP, 8, C2CV, 8, C2GP, 8, C2IB, 8, C2IA, 16, C2P0, 8, C2P1, 8, C2P2, 8, C2P3, 8, C2G0, 8, C2G1, 8, C2G2, 8, C2G3, 8, C2F0, 8, C2F1, 8, C2F2, 8, C2F3, 8, C2A0, 8, C2A1, 8, C2A2, 8, C2A3, 8, C2I0, 8, C2I1, 8, C2I2, 8, C2I3, 8, C2PL, 8, C3TP, 8, C3CV, 8, C3GP, 8, C3IB, 8, C3IA, 16, C3P0, 8, C3P1, 8, C3P2, 8, C3P3, 8, C3G0, 8, C3G1, 8, C3G2, 8, C3G3, 8, C3F0, 8, C3F1, 8, C3F2, 8, C3F3, 8, C3A0, 8, C3A1, 8, C3A2, 8, C3A3, 8, C3I0, 8, C3I1, 8, C3I2, 8, C3I3, 8, C3PL, 8, L0SM, 8, L0H0, 8, L0H1, 8, L0H2, 8, L0H3, 8, L0H4, 8, L0H5, 8, L0H6, 8, L0H7, 8, L0H8, 8, L0PL, 8, L0M0, 8, L0M1, 8, L0M2, 8, L0M3, 8, L0M4, 8, L0M5, 8, L0M6, 8, L0M7, 8, L0M8, 8, L0M9, 8, L0MA, 8, L0MB, 8, L0MC, 8, L0MD, 8, L0ME, 8, L0MF, 8, L0DI, 8, L0BS, 8, L0A0, 16, L0A1, 16, L0A2, 16, L0A3, 16, L0A4, 16, L0A5, 16, L0A6, 16, L0A7, 16, L0A8, 16, L0A9, 16, L0AA, 16, L0AB, 16, L0D0, 8, L0D1, 8, L0D2, 8, L0D3, 8, L0D4, 8, L0D5, 8, L0D6, 8, L0D7, 8, L0D8, 8, L0D9, 8, L0DA, 8, L0DB, 8, L0DV, 8, L0CV, 8, L0LU, 8, L0NL, 8, L0EE, 8, L0VC, 8, L0FS, 8, L0DG, 8, L0C0, 8, L0C1, 8, L0C2, 8, L0C3, 8, L0CK, 32, L0CL, 8, L1SM, 8, L1H0, 8, L1H1, 8, L1H2, 8, L1H3, 8, L1H4, 8, L1H5, 8, L1H6, 8, L1H7, 8, L1H8, 8, L1PL, 8, L1M0, 8, L1M1, 8, L1M2, 8, L1M3, 8, L1M4, 8, L1M5, 8, L1M6, 8, L1M7, 8, L1M8, 8, L1M9, 8, L1MA, 8, L1MB, 8, L1MC, 8, L1MD, 8, L1ME, 8, L1MF, 8, L1DI, 8, L1BS, 8, L1A0, 16, L1A1, 16, L1A2, 16, L1A3, 16, L1A4, 16, L1A5, 16, L1A6, 16, L1A7, 16, L1A8, 16, L1A9, 16, L1AA, 16, L1AB, 16, L1D0, 8, L1D1, 8, L1D2, 8, L1D3, 8, L1D4, 8, L1D5, 8, L1D6, 8, L1D7, 8, L1D8, 8, L1D9, 8, L1DA, 8, L1DB, 8, L1DV, 8, L1CV, 8, L1LU, 8, L1NL, 8, L1EE, 8, L1VC, 8, L1FS, 8, L1DG, 8, L1C0, 8, L1C1, 8, L1C2, 8, L1C3, 8, L1CK, 32, L1CL, 8, L2SM, 8, L2H0, 8, L2H1, 8, L2H2, 8, L2H3, 8, L2H4, 8, L2H5, 8, L2H6, 8, L2H7, 8, L2H8, 8, L2PL, 8, L2M0, 8, L2M1, 8, L2M2, 8, L2M3, 8, L2M4, 8, L2M5, 8, L2M6, 8, L2M7, 8, L2M8, 8, L2M9, 8, L2MA, 8, L2MB, 8, L2MC, 8, L2MD, 8, L2ME, 8, L2MF, 8, L2DI, 8, L2BS, 8, L2A0, 16, L2A1, 16, L2A2, 16, L2A3, 16, L2A4, 16, L2A5, 16, L2A6, 16, L2A7, 16, L2A8, 16, L2A9, 16, L2AA, 16, L2AB, 16, L2D0, 8, L2D1, 8, L2D2, 8, L2D3, 8, L2D4, 8, L2D5, 8, L2D6, 8, L2D7, 8, L2D8, 8, L2D9, 8, L2DA, 8, L2DB, 8, L2DV, 8, L2CV, 8, L2LU, 8, L2NL, 8, L2EE, 8, L2VC, 8, L2FS, 8, L2DG, 8, L2C0, 8, L2C1, 8, L2C2, 8, L2C3, 8, L2CK, 32, L2CL, 8, L3SM, 8, L3H0, 8, L3H1, 8, L3H2, 8, L3H3, 8, L3H4, 8, L3H5, 8, L3H6, 8, L3H7, 8, L3H8, 8, L3PL, 8, L3M0, 8, L3M1, 8, L3M2, 8, L3M3, 8, L3M4, 8, L3M5, 8, L3M6, 8, L3M7, 8, L3M8, 8, L3M9, 8, L3MA, 8, L3MB, 8, L3MC, 8, L3MD, 8, L3ME, 8, L3MF, 8, L3DI, 8, L3BS, 8, L3A0, 16, L3A1, 16, L3A2, 16, L3A3, 16, L3A4, 16, L3A5, 16, L3A6, 16, L3A7, 16, L3A8, 16, L3A9, 16, L3AA, 16, L3AB, 16, L3D0, 8, L3D1, 8, L3D2, 8, L3D3, 8, L3D4, 8, L3D5, 8, L3D6, 8, L3D7, 8, L3D8, 8, L3D9, 8, L3DA, 8, L3DB, 8, L3DV, 8, L3CV, 8, L3LU, 8, L3NL, 8, L3EE, 8, L3VC, 8, L3FS, 8, L3DG, 8, L3C0, 8, L3C1, 8, L3C2, 8, L3C3, 8, L3CK, 32, L3CL, 8, ECR1, 8, Offset (0x60E), I2SC, 8, ODV0, 8, ODV1, 8, ODV2, 8, ODV3, 8, ODV4, 8, ODV5, 8, UBCB, 32, EMOD, 8, WIFC, 8, Offset (0x622), TPLS, 8, TPDB, 8, TPDH, 16, TPDS, 8, ADPM, 32, AG1L, 64, AG1H, 64, AG2L, 64, AG2H, 64, AG3L, 64, AG3H, 64, HEFE, 8, XDCE, 8, STXE, 8, STX0, 8, STX1, 8, STX2, 8, STX3, 8, STX4, 8, STX5, 8, STX6, 8, STX7, 8, STX8, 8, STX9, 8, RTVM, 8, USTC, 8, UUSE, 8, TSDB, 8, DEPC, 8, PDFC, 8, IVCM, 8, HEB1, 32, RBY1, 8, RBY2, 8, SCSS, 8, HAID, 8, NCTC, 8, NCTI, 8, NCTH, 8, HSIO, 8, TPPT, 8, SHAP, 8, EIAP, 8, ZPOD, 8, SRSP, 32, CEDS, 8, EHK3, 8, EHK4, 8, EHK5, 8, EHK6, 8, EHK7, 8, EHK8, 8, VBVP, 8, VBVD, 8, VBHB, 8, VBRL, 8, SMSS, 8, VBST, 8, ADAS, 8, PPBG, 32, AEAB, 8, AHDB, 8, PBSD, 8, DPLL, 8, DPHL, 8, PWIG, 8, MESE, 8, ICAT, 8, ICPV, 8, ICCR, 8, ICC3, 8, ICHT, 8, XSMI, 32, PAPE, 32, PSTW, 32, MWLR, 32, UP8P, 32, MS2R, 32, MS2P, 32, UCSI, 8, UCG1, 32, UCG2, 32, WGUR, 32, WRFE, 8, WRC1, 8, WRC2, 8, WRC3, 8, WRC4, 8, AWVI, 32, AES3, 8, Offset (0x6E0) } Device (PSM) { Name (_HID, EisaId ("INT3420")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (_STR, Unicode ("Power Sharing Manager")) // _STR: Description String Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (PSME, One)) { Return (0x0F) } Else { Return (Zero) } } Name (SPLX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (PDT1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (PLM1, Index (DerefOf (Index (SPLX, One)), One)) Store (PTW1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (PDT2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (PLM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (PTW2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Return (SPLX) } Name (DPLX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, Package (0x06) { 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000 } }, Package (0x03) { 0x80000000, 0x80000000, Package (0x06) { 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000 } } }) Method (DPLC, 0, Serialized) { Store (DDT1, Index (DerefOf (Index (DPLX, One)), Zero)) Store (DDP1, Index (DerefOf (Index (DPLX, One)), One)) Store (DLI1, Index (DerefOf (Index (DerefOf (Index (DPLX, One)), 0x02)), Zero)) Store (DPL1, Index (DerefOf (Index (DerefOf (Index (DPLX, One)), 0x02)), One)) Store (DTW1, Index (DerefOf (Index (DerefOf (Index (DPLX, One)), 0x02)), 0x02)) Store (DMI1, Index (DerefOf (Index (DerefOf (Index (DPLX, One)), 0x02)), 0x03)) Store (DMA1, Index (DerefOf (Index (DerefOf (Index (DPLX, One)), 0x02)), 0x04)) Store (DMT1, Index (DerefOf (Index (DerefOf (Index (DPLX, One)), 0x02)), 0x05)) Store (DDT2, Index (DerefOf (Index (DPLX, 0x02)), Zero)) Store (DDP2, Index (DerefOf (Index (DPLX, 0x02)), One)) Store (DLI2, Index (DerefOf (Index (DerefOf (Index (DPLX, 0x02)), 0x02)), Zero)) Store (DPL2, Index (DerefOf (Index (DerefOf (Index (DPLX, 0x02)), 0x02)), One)) Store (DTW2, Index (DerefOf (Index (DerefOf (Index (DPLX, 0x02)), 0x02)), 0x02)) Store (DMI2, Index (DerefOf (Index (DerefOf (Index (DPLX, 0x02)), 0x02)), 0x03)) Store (DMA2, Index (DerefOf (Index (DerefOf (Index (DPLX, 0x02)), 0x02)), 0x04)) Store (DMT2, Index (DerefOf (Index (DerefOf (Index (DPLX, 0x02)), 0x02)), 0x05)) Return (DPLX) } } Scope (_SB) { Name (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,10,11,12,14,15} }) Alias (PRSA, PRSB) Alias (PRSA, PRSC) Alias (PRSA, PRSD) Alias (PRSA, PRSE) Alias (PRSA, PRSF) Alias (PRSA, PRSG) Alias (PRSA, PRSH) Name (PR00, Package (0x29) { Package (0x04) { 0x0001FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0001FFFF, One, LNKB, Zero }, Package (0x04) { 0x0001FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0001FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0002FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0004FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0005FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0008FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x001FFFFF, Zero, LNKA, Zero }, Package (0x04) { 0x001FFFFF, One, LNKB, Zero }, Package (0x04) { 0x001FFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x001FFFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x001EFFFF, Zero, LNKA, Zero }, Package (0x04) { 0x001EFFFF, One, LNKB, Zero }, Package (0x04) { 0x001EFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x001EFFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x001DFFFF, Zero, LNKA, Zero }, Package (0x04) { 0x001DFFFF, One, LNKB, Zero }, Package (0x04) { 0x001DFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x001DFFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x001CFFFF, Zero, LNKA, Zero }, Package (0x04) { 0x001CFFFF, One, LNKB, Zero }, Package (0x04) { 0x001CFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x001CFFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x001BFFFF, Zero, LNKA, Zero }, Package (0x04) { 0x001BFFFF, One, LNKB, Zero }, Package (0x04) { 0x001BFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x001BFFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0016FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0016FFFF, One, LNKB, Zero }, Package (0x04) { 0x0016FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0016FFFF, 0x03, 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) { 0x0014FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0014FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0014FFFF, One, LNKB, Zero }, Package (0x04) { 0x0014FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0013FFFF, Zero, LNKA, Zero } }) Name (AR00, Package (0x2C) { Package (0x04) { 0x0001FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0001FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0001FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0001FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0002FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0004FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0005FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0008FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001FFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001FFFFF, One, Zero, 0x11 }, Package (0x04) { 0x001FFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001FFFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x001EFFFF, Zero, Zero, 0x14 }, Package (0x04) { 0x001EFFFF, One, Zero, 0x15 }, Package (0x04) { 0x001EFFFF, 0x02, Zero, 0x16 }, Package (0x04) { 0x001EFFFF, 0x03, Zero, 0x17 }, Package (0x04) { 0x001DFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001DFFFF, One, Zero, 0x11 }, Package (0x04) { 0x001DFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001DFFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x001CFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001CFFFF, One, Zero, 0x11 }, Package (0x04) { 0x001CFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001CFFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x001BFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001BFFFF, One, Zero, 0x11 }, Package (0x04) { 0x001BFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001BFFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0019FFFF, Zero, Zero, 0x20 }, Package (0x04) { 0x0019FFFF, One, Zero, 0x21 }, Package (0x04) { 0x0019FFFF, 0x02, Zero, 0x22 }, Package (0x04) { 0x0016FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0016FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0016FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0016FFFF, 0x03, 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) { 0x0014FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0014FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0014FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0014FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0013FFFF, Zero, Zero, 0x14 } }) Name (PR01, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKA, Zero }, Package (0x04) { 0xFFFF, One, LNKB, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKD, Zero } }) Name (AR01, Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0xFFFF, One, Zero, 0x11 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x13 } }) Name (PR02, 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 (AR02, 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 (PR03, 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 (AR03, 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 (PR0C, 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 (AR0C, 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 (PR0D, 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 (AR0D, 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 (PR0E, 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 (AR0E, 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 (PR0F, 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 (AR0F, 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 (PR10, 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 (AR10, 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 (PR04, 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 (AR04, 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 (PR05, 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 (AR05, 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 (PR06, 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 (AR06, 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 (PR07, 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 (AR07, 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 (PR08, 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 (AR08, 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 (PR09, 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 (AR09, 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 (PR0A, 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 (AR0A, 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 (PR0B, 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 (AR0B, 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 (PR15, 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 (AR15, 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 (PR16, 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 (AR16, 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 (PR17, 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 (AR17, 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 (PR11, 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 (AR11, 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 (PR12, 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 (AR12, 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 (PR13, 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 (AR13, 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 } }) } Scope (_SB) { Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) // _HID: Hardware ID Name (_CID, EisaId ("PNP0A03")) // _CID: Compatible ID Name (_ADR, Zero) // _ADR: Address Method (^BN00, 0, NotSerialized) { Return (Zero) } Method (_BBN, 0, NotSerialized) // _BBN: BIOS Bus Number { Return (BN00 ()) } Name (_UID, Zero) // _UID: Unique ID Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR00) } Return (PR00) } OperationRegion (HBUS, PCI_Config, Zero, 0x0100) Field (HBUS, DWordAcc, NoLock, Preserve) { Offset (0x40), EPEN, 1, , 11, EPBR, 20, Offset (0x48), MHEN, 1, , 14, MHBR, 17, Offset (0x50), GCLK, 1, Offset (0x54), D0EN, 1, D1F2, 1, D1F1, 1, D1F0, 1, Offset (0x60), PXEN, 1, PXSZ, 2, , 23, PXBR, 6, Offset (0x68), DIEN, 1, , 11, DIBR, 20, Offset (0x70), , 20, MEBR, 12, Offset (0x80), PMLK, 1, , 3, PM0H, 2, Offset (0x81), PM1L, 2, , 2, PM1H, 2, Offset (0x82), PM2L, 2, , 2, PM2H, 2, Offset (0x83), PM3L, 2, , 2, PM3H, 2, Offset (0x84), PM4L, 2, , 2, PM4H, 2, Offset (0x85), PM5L, 2, , 2, PM5H, 2, Offset (0x86), PM6L, 2, , 2, PM6H, 2, Offset (0x87), Offset (0xA8), , 20, TUUD, 19, Offset (0xBC), , 20, TLUD, 12, Offset (0xC8), , 7, HTSE, 1 } Name (BUF0, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length ,, _Y00) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000CF7, // Range Maximum 0x00000000, // Translation Offset 0x00000CF8, // Length ,, , TypeStatic, DenseTranslation) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Granularity 0x00000D00, // Range Minimum 0x0000FFFF, // Range Maximum 0x00000000, // Translation Offset 0x0000F300, // Length ,, , TypeStatic, DenseTranslation) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000C3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y01, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C4000, // Range Minimum 0x000C7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y02, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C8000, // Range Minimum 0x000CBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y03, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000CC000, // Range Minimum 0x000CFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y04, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D0000, // Range Minimum 0x000D3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y05, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D4000, // Range Minimum 0x000D7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y06, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D8000, // Range Minimum 0x000DBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y07, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000DC000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y08, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E0000, // Range Minimum 0x000E3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y09, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E4000, // Range Minimum 0x000E7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y0A, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E8000, // Range Minimum 0x000EBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y0B, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000EC000, // Range Minimum 0x000EFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y0C, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000F0000, // Range Minimum 0x000FFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00010000, // Length ,, _Y0D, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xDFFFFFFF, // Range Maximum 0x00000000, // Translation Offset 0xE0000000, // Length ,, _Y0E, AddressRangeMemory, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000010000, // Range Minimum 0x000000000001FFFF, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000010000, // Length ,, _Y0F, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0xFD000000, // Range Minimum 0xFE7FFFFF, // Range Maximum 0x00000000, // Translation Offset 0x01800000, // Length ,, , AddressRangeMemory, TypeStatic) }) Name (EP_B, Zero) Name (MH_B, Zero) Name (PC_B, Zero) Name (PC_L, Zero) Name (DM_B, Zero) Method (GEPB, 0, Serialized) { If (LEqual (EP_B, Zero)) { ShiftLeft (EPBR, 0x0C, EP_B) } Return (EP_B) } Method (GMHB, 0, Serialized) { If (LEqual (MH_B, Zero)) { ShiftLeft (MHBR, 0x0F, MH_B) } Return (MH_B) } Method (GPCB, 0, Serialized) { If (LEqual (PC_B, Zero)) { ShiftLeft (PXBR, 0x1A, PC_B) } Return (PC_B) } Method (GPCL, 0, Serialized) { If (LEqual (PC_L, Zero)) { ShiftRight (0x10000000, PXSZ, PC_L) } Return (PC_L) } Method (GDMB, 0, Serialized) { If (LEqual (DM_B, Zero)) { ShiftLeft (DIBR, 0x0C, DM_B) } Return (DM_B) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Store (GPCL (), Local0) CreateWordField (BUF0, \_SB.PCI0._Y00._MAX, PBMX) // _MAX: Maximum Base Address Store (Subtract (ShiftRight (Local0, 0x14), 0x02), PBMX) CreateWordField (BUF0, \_SB.PCI0._Y00._LEN, PBLN) // _LEN: Length Store (Subtract (ShiftRight (Local0, 0x14), One), PBLN) If (PM1L) { CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C0LN) // _LEN: Length Store (Zero, C0LN) } If (LEqual (PM1L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C0RW) // _RW_: Read-Write Status Store (Zero, C0RW) } If (PM1H) { CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C4LN) // _LEN: Length Store (Zero, C4LN) } If (LEqual (PM1H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C4RW) // _RW_: Read-Write Status Store (Zero, C4RW) } If (PM2L) { CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, C8LN) // _LEN: Length Store (Zero, C8LN) } If (LEqual (PM2L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y03._RW, C8RW) // _RW_: Read-Write Status Store (Zero, C8RW) } If (PM2H) { CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, CCLN) // _LEN: Length Store (Zero, CCLN) } If (LEqual (PM2H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y04._RW, CCRW) // _RW_: Read-Write Status Store (Zero, CCRW) } If (PM3L) { CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D0LN) // _LEN: Length Store (Zero, D0LN) } If (LEqual (PM3L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D0RW) // _RW_: Read-Write Status Store (Zero, D0RW) } If (PM3H) { CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D4LN) // _LEN: Length Store (Zero, D4LN) } If (LEqual (PM3H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D4RW) // _RW_: Read-Write Status Store (Zero, D4RW) } If (PM4L) { CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, D8LN) // _LEN: Length Store (Zero, D8LN) } If (LEqual (PM4L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y07._RW, D8RW) // _RW_: Read-Write Status Store (Zero, D8RW) } If (PM4H) { CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, DCLN) // _LEN: Length Store (Zero, DCLN) } If (LEqual (PM4H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y08._RW, DCRW) // _RW_: Read-Write Status Store (Zero, DCRW) } If (PM5L) { CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E0LN) // _LEN: Length Store (Zero, E0LN) } If (LEqual (PM5L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E0RW) // _RW_: Read-Write Status Store (Zero, E0RW) } If (PM5H) { CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E4LN) // _LEN: Length Store (Zero, E4LN) } If (LEqual (PM5H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E4RW) // _RW_: Read-Write Status Store (Zero, E4RW) } If (PM6L) { CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, E8LN) // _LEN: Length Store (Zero, E8LN) } If (LEqual (PM6L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, E8RW) // _RW_: Read-Write Status Store (Zero, E8RW) } If (PM6H) { CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, ECLN) // _LEN: Length Store (Zero, ECLN) } If (LEqual (PM6H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW) // _RW_: Read-Write Status Store (Zero, ECRW) } If (PM0H) { CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN) // _LEN: Length Store (Zero, F0LN) } If (LEqual (PM0H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0D._RW, F0RW) // _RW_: Read-Write Status Store (Zero, F0RW) } CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M1MN) // _MIN: Minimum Base Address CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M1MX) // _MAX: Maximum Base Address CreateDWordField (BUF0, \_SB.PCI0._Y0E._LEN, M1LN) // _LEN: Length Store (M32L, M1LN) Store (M32B, M1MN) Subtract (Add (M1MN, M1LN), One, M1MX) If (LEqual (M64L, Zero)) { CreateQWordField (BUF0, \_SB.PCI0._Y0F._LEN, MSLN) // _LEN: Length Store (Zero, MSLN) } Else { CreateQWordField (BUF0, \_SB.PCI0._Y0F._LEN, M2LN) // _LEN: Length CreateQWordField (BUF0, \_SB.PCI0._Y0F._MIN, M2MN) // _MIN: Minimum Base Address CreateQWordField (BUF0, \_SB.PCI0._Y0F._MAX, M2MX) // _MAX: Maximum Base Address Store (M64L, M2LN) Store (M64B, M2MN) Subtract (Add (M2MN, M2LN), One, M2MX) } Return (BUF0) } Name (GUID, ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */) Name (SUPP, Zero) Name (CTRL, Zero) Name (XCNT, Zero) Method (_OSC, 4, Serialized) // _OSC: Operating System Capabilities { Store (Arg3, Local0) CreateDWordField (Local0, Zero, CDW1) CreateDWordField (Local0, 0x04, CDW2) CreateDWordField (Local0, 0x08, CDW3) If (LAnd (LEqual (Arg0, GUID), NEXP)) { Store (CDW2, SUPP) Store (CDW3, CTRL) If (LAnd (LEqual (TBTS, One), LEqual (TNAT, One))) { And (CTRL, 0xFFFFFFF7, CTRL) } If (Not (And (CDW1, One))) { If (And (CTRL, One)) { NHPG () } If (And (CTRL, 0x04)) { NPME () } } If (LNotEqual (Arg1, One)) { Or (CDW1, 0x08, CDW1) } If (LNotEqual (CDW3, CTRL)) { Or (CDW1, 0x10, CDW1) } And (CTRL, 0x1B, CTRL) Store (CTRL, CDW3) Store (CTRL, OSCC) Return (Local0) } Else { Or (CDW1, 0x04, CDW1) Return (Local0) } } Scope (\_SB.PCI0) { Device (GFX0) { Name (_ADR, 0x00020000) // _ADR: Address } Device (B0D4) { Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } Name (_ADR, 0x00040000) // _ADR: Address } } Scope (\_SB.PCI0) { Name (PALK, Zero) Name (PA0H, Zero) Name (PA1H, Zero) Name (PA1L, Zero) Name (PA2H, Zero) Name (PA2L, Zero) Name (PA3H, Zero) Name (PA3L, Zero) Name (PA4H, Zero) Name (PA4L, Zero) Name (PA5H, Zero) Name (PA5L, Zero) Name (PA6H, Zero) Name (PA6L, Zero) Method (NPTS, 1, NotSerialized) { Store (PM0H, PA0H) Store (PMLK, PALK) Store (PM1H, PA1H) Store (PM1L, PA1L) Store (PM2H, PA2H) Store (PM2L, PA2L) Store (PM3H, PA3H) Store (PM3L, PA3L) Store (PM4H, PA4H) Store (PM4L, PA4L) Store (PM5H, PA5H) Store (PM5L, PA5L) Store (PM6H, PA6H) Store (PM6L, PA6L) } Method (NWAK, 1, NotSerialized) { Store (PA0H, PM0H) Store (PA1H, PM1H) Store (PA1L, PM1L) Store (PA2H, PM2H) Store (PA2L, PM2L) Store (PA3H, PM3H) Store (PA3L, PM3L) Store (PA4H, PM4H) Store (PA4L, PM4L) Store (PA5H, PM5H) Store (PA5L, PM5L) Store (PA6H, PM6H) Store (PA6L, PM6L) Store (PALK, PMLK) } } Device (PEG0) { Name (_ADR, 0x00010000) // _ADR: Address Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR01) } Return (PR01) } Device (PEGP) { Name (_ADR, Zero) // _ADR: Address } } Device (PEG1) { Name (_ADR, 0x00010001) // _ADR: Address Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR02) } Return (PR02) } Device (PEGP) { Name (_ADR, Zero) // _ADR: Address } } Device (PEG2) { Name (_ADR, 0x00010002) // _ADR: Address Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR03) } Return (PR03) } Device (PEGP) { Name (_ADR, Zero) // _ADR: Address } } Device (LPCB) { Name (_ADR, 0x001F0000) // _ADR: Address Scope (\_SB.PCI0.LPCB) { } Method (SPTS, 1, NotSerialized) { Store (One, SLPX) Store (One, SLPE) If (LEqual (Arg0, 0x03)) { Store (One, AES3) } } Method (SWAK, 1, NotSerialized) { Store (Zero, SLPE) Store (Zero, AES3) If (RTCS){} Else { Notify (PWRB, 0x02) } } OperationRegion (SMIE, SystemIO, PMBA, 0x04) Field (SMIE, ByteAcc, NoLock, Preserve) { , 10, RTCS, 1, , 3, PEXS, 1, WAKS, 1, Offset (0x03), PWBT, 1, Offset (0x04) } OperationRegion (SLPR, SystemIO, SMCR, 0x08) Field (SLPR, ByteAcc, NoLock, Preserve) { , 4, SLPE, 1, , 31, SLPX, 1, Offset (0x08) } OperationRegion (CPSB, SystemMemory, 0x7AA3FF98, 0x10) Field (CPSB, AnyAcc, NoLock, Preserve) { RTCX, 1, SBB0, 7, SBB1, 8, SBB2, 8, SBB3, 8, SBB4, 8, SBB5, 8, SBB6, 8, SBB7, 8, SBB8, 8, SBB9, 8, SBBA, 8, SBBB, 8, SBBC, 8, SBBD, 8, SBBE, 8, SBBF, 8 } } Device (RP09) { Name (_ADR, 0x001D0000) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR0C) } Return (PR0C) } } Device (RP10) { Name (_ADR, 0x001D0001) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR0D) } Return (PR0D) } } Device (RP11) { Name (_ADR, 0x001D0002) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR0E) } Return (PR0E) } } Device (RP12) { Name (_ADR, 0x001D0003) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR0F) } Return (PR0F) } } Device (RP13) { Name (_ADR, 0x001D0004) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR10) } Return (PR10) } } Device (RP01) { Name (_ADR, 0x001C0002) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR04) } Return (PR04) } } Device (RP02) { Name (_ADR, 0x001C0001) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR05) } Return (PR05) } } Device (RP03) { Name (_ADR, 0x001C0000) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR06) } Return (PR06) } } Device (RP04) { Name (_ADR, 0x001C0003) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR07) } Return (PR07) } Device (GLAN) { Name (_ADR, Zero) // _ADR: Address OperationRegion (LANR, PCI_Config, Zero, 0x0100) Field (LANR, ByteAcc, NoLock, Preserve) { VID, 16, Offset (0xE0), , 15, PMES, 1 } } } Device (RP05) { Name (_ADR, 0x001C0004) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR08) } Return (PR08) } } Device (RP06) { Name (_ADR, 0x001C0005) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR09) } Return (PR09) } } Device (RP07) { Name (_ADR, 0x001C0006) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR0A) } Return (PR0A) } } Device (RP08) { Name (_ADR, 0x001C0007) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR0B) } Return (PR0B) } } Device (RP17) { Name (_ADR, 0x001B0000) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR14) } Return (PR14) } } Device (RP18) { Name (_ADR, 0x001B0001) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR15) } Return (PR15) } } Device (RP19) { Name (_ADR, 0x001B0002) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR16) } Return (PR16) } } Device (RP20) { Name (_ADR, 0x001B0003) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR17) } Return (PR17) } } Device (RP21) { Name (_ADR, 0x001B0004) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } } Device (RP22) { Name (_ADR, 0x001B0005) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } } Device (RP23) { Name (_ADR, 0x001B0006) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } } Device (RP24) { Name (_ADR, 0x001B0007) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } } Device (RP14) { Name (_ADR, 0x001D0005) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR11) } Return (PR11) } } Device (RP15) { Name (_ADR, 0x001D0006) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR12) } Return (PR12) } } Device (RP16) { Name (_ADR, 0x001D0007) // _ADR: Address OperationRegion (PXCS, PCI_Config, Zero, 0x0480) Field (PXCS, AnyAcc, NoLock, Preserve) { VDID, 32, Offset (0x19), SBNR, 8, Offset (0x50), L0SE, 1, , 3, LDIS, 1, Offset (0x51), Offset (0x52), , 13, LASX, 1, Offset (0x54), , 6, HPCE, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), Offset (0x60), Offset (0x62), PSPX, 1, PMEP, 1, Offset (0xA4), D3HT, 2, Offset (0xD8), , 30, HPEX, 1, PMEX, 1, Offset (0xE2), , 2, L23E, 1, L23R, 1, Offset (0x324), , 3, LEDM, 1, Offset (0x420), , 30, DPGE, 1 } Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Name (LTRV, Package (0x04) { Zero, Zero, Zero, Zero }) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Name (OPTS, Buffer (0x02) { 0x00, 0x00 }) CreateBitField (OPTS, Zero, FUN0) CreateBitField (OPTS, 0x04, FUN4) CreateBitField (OPTS, 0x06, FUN6) CreateBitField (OPTS, 0x08, FUN8) CreateBitField (OPTS, 0x09, FUN9) If (LGreaterEqual (Arg1, 0x02)) { Store (One, FUN0) If (LTRE) { Store (One, FUN6) } If (OBFF) { Store (One, FUN4) } If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Store (One, FUN8) Store (One, FUN9) } } } Return (OPTS) } Case (0x04) { If (LGreaterEqual (Arg1, 0x02)) { If (OBFZ) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } } Case (0x06) { If (LGreaterEqual (Arg1, 0x02)) { If (LTRZ) { If (LOr (LEqual (LMSL, Zero), LEqual (LNSL, Zero))) { If (LEqual (PCHS, SPTH)) { Store (0x0846, LMSL) Store (0x0846, LNSL) } ElseIf (LEqual (PCHS, SPTL)) { Store (0x1003, LMSL) Store (0x1003, LNSL) } } Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, Zero)) Store (And (LMSL, 0x03FF), Index (LTRV, One)) Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 0x02)) Store (And (LNSL, 0x03FF), Index (LTRV, 0x03)) Return (LTRV) } Else { Return (Zero) } } } Case (0x08) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (One) } } } Case (0x09) { If (LEqual (ECR1, One)) { If (LGreaterEqual (Arg1, 0x03)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } } } Return (Buffer (One) { 0x00 }) } Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (HPCE) } } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { Notify (PXSX, 0x02) Store (One, PMSX) Store (One, PSPX) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (LTR1, LTRZ) Store (PML1, LMSL) Store (PNL1, LNSL) Store (OBF1, OBFZ) } Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR13) } Return (PR13) } } } } Scope (_GPE) { } Name (_S0, Package (0x04) // _S0_: S0 System State { Zero, Zero, Zero, Zero }) Name (_S3, Package (0x04) // _S3_: S3 System State { 0x05, Zero, Zero, Zero }) Name (_S4, Package (0x04) // _S4_: S4 System State { 0x06, Zero, Zero, Zero }) Name (_S5, Package (0x04) // _S5_: S5 System State { 0x07, Zero, Zero, Zero }) Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep { If (Arg0) { \_SB.TPM.TPTS (Arg0) \_SB.PCI0.LPCB.SPTS (Arg0) \_SB.PCI0.NPTS (Arg0) RPTS (Arg0) } } Method (_WAK, 1, NotSerialized) // _WAK: Wake { RWAK (Arg0) \_SB.PCI0.NWAK (Arg0) \_SB.PCI0.LPCB.SWAK (Arg0) Return (WAKP) } Scope (_PR) { Processor (CPU0, 0x01, 0x00001810, 0x06){} Processor (CPU1, 0x02, 0x00001810, 0x06){} Processor (CPU2, 0x03, 0x00001810, 0x06){} Processor (CPU3, 0x04, 0x00001810, 0x06){} Processor (CPU4, 0x05, 0x00001810, 0x06){} Processor (CPU5, 0x06, 0x00001810, 0x06){} Processor (CPU6, 0x07, 0x00001810, 0x06){} Processor (CPU7, 0x08, 0x00001810, 0x06){} } Scope (_PR.CPU0) { Name (CPC2, Package (0x15) { 0x15, 0x02, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x00, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x08, // Bit Offset 0x00000000000000CE, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x10, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x18, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x08, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x10, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x00, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x08, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (SystemMemory, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (SystemMemory, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (SystemMemory, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (FFixedHW, 0x40, // Bit Width 0x00, // Bit Offset 0x00000000000000E7, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x40, // Bit Width 0x00, // Bit Offset 0x00000000000000E8, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x02, // Bit Width 0x01, // Bit Offset 0x0000000000000777, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x01, // Bit Width 0x00, // Bit Offset 0x0000000000000770, // Address 0x04, // Access Size ) }, One, ResourceTemplate () { Register (FFixedHW, 0x0A, // Bit Width 0x20, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x18, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, Zero }) Name (CPOC, Package (0x15) { 0x15, 0x02, 0xFF, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x08, // Bit Offset 0x00000000000000CE, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x10, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x18, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x08, // Bit Offset 0x0000000000000771, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x10, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x00, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x08, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (SystemMemory, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (SystemMemory, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (SystemMemory, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (FFixedHW, 0x40, // Bit Width 0x00, // Bit Offset 0x00000000000000E7, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x40, // Bit Width 0x00, // Bit Offset 0x00000000000000E8, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x02, // Bit Width 0x01, // Bit Offset 0x0000000000000777, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x01, // Bit Width 0x00, // Bit Offset 0x0000000000000770, // Address 0x04, // Access Size ) }, One, ResourceTemplate () { Register (FFixedHW, 0x0A, // Bit Width 0x20, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, ResourceTemplate () { Register (FFixedHW, 0x08, // Bit Width 0x18, // Bit Offset 0x0000000000000774, // Address 0x04, // Access Size ) }, Zero }) } Scope (_SB) { Device (PAGD) { Name (_HID, "ACPI000C") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Processor Aggregator Device")) { Return (0x0F) } Else { Return (Zero) } } Name (_PUR, Package (0x02) // _PUR: Processor Utilization Request { One, Zero }) } } Scope (_SB.PCI0) { Device (PDRC) { Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00008000, // Address Length _Y10) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00001000, // Address Length _Y11) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00001000, // Address Length _Y12) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y13) Memory32Fixed (ReadWrite, 0xFED20000, // Address Base 0x00020000, // Address Length ) Memory32Fixed (ReadOnly, 0xFED90000, // Address Base 0x00004000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED45000, // Address Base 0x0004B000, // Address Length ) Memory32Fixed (ReadOnly, 0xFF000000, // Address Base 0x01000000, // Address Length ) Memory32Fixed (ReadOnly, 0xFEE00000, // Address Base 0x00100000, // Address Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y14) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y15) }) Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y10._BAS, MBR0) // _BAS: Base Address Store (GMHB (), MBR0) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y11._BAS, DBR0) // _BAS: Base Address Store (GDMB (), DBR0) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y12._BAS, EBR0) // _BAS: Base Address Store (GEPB (), EBR0) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y13._BAS, XBR0) // _BAS: Base Address Store (GPCB (), XBR0) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y13._LEN, XSZ0) // _LEN: Length Store (GPCL (), XSZ0) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y14._BAS, SXRA) // _BAS: Base Address Store (SXRB, SXRA) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y14._LEN, SXRL) // _LEN: Length Store (SXRS, SXRL) If (LNot (HPTE)) { CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y15._BAS, HBAS) // _BAS: Base Address CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y15._LEN, HLEN) // _LEN: Length Store (HPTB, HBAS) Store (0x0400, HLEN) } Return (BUF0) } } } Method (BRTN, 1, Serialized) { If (LEqual (And (DIDX, 0x0F00), 0x0400)) { Notify (\_SB.PCI0.GFX0.DD1F, Arg0) } } Name (PNVB, 0x7AEF2018) Name (PNVL, 0x022E) If (LEqual (ECR1, One)) { Scope (_SB.PCI0) { Name (PCIG, ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */) Method (PCID, 4, Serialized) { If (LEqual (Arg0, PCIG)) { If (LGreaterEqual (Arg1, 0x03)) { If (LEqual (Arg2, Zero)) { Return (Buffer (0x02) { 0x01, 0x03 }) } If (LEqual (Arg2, 0x08)) { Return (One) } If (LEqual (Arg2, 0x09)) { Return (Package (0x05) { 0xC350, Ones, Ones, 0xC350, Ones }) } } } Return (Buffer (One) { 0x00 }) } } } Scope (_SB.PCI0) { Method (PCIC, 1, Serialized) { If (LEqual (ECR1, One)) { If (LEqual (Arg0, PCIG)) { Return (One) } } Return (Zero) } } OperationRegion (PNVA, SystemMemory, PNVB, PNVL) Field (PNVA, AnyAcc, Lock, Preserve) { PCHS, 16, PCHG, 16, RPA1, 32, RPA2, 32, RPA3, 32, RPA4, 32, RPA5, 32, RPA6, 32, RPA7, 32, RPA8, 32, RPA9, 32, RPAA, 32, RPAB, 32, RPAC, 32, RPAD, 32, RPAE, 32, RPAF, 32, RPAG, 32, RPAH, 32, RPAI, 32, RPAJ, 32, RPAK, 32, RPAL, 32, RPAM, 32, RPAN, 32, RPAO, 32, NHLA, 64, NHLL, 32, ADFM, 32, SBRG, 32, GPEM, 32, G2L0, 32, G2L1, 32, G2L2, 32, G2L3, 32, G2L4, 32, G2L5, 32, G2L6, 32, G2L7, 32, G2L8, 32, G2L9, 32, PML1, 16, PML2, 16, PML3, 16, PML4, 16, PML5, 16, PML6, 16, PML7, 16, PML8, 16, PML9, 16, PMLA, 16, PMLB, 16, PMLC, 16, PMLD, 16, PMLE, 16, PMLF, 16, PMLG, 16, PMLH, 16, PMLI, 16, PMLJ, 16, PMLK, 16, PMLL, 16, PMLM, 16, PMLN, 16, PMLO, 16, PNL1, 16, PNL2, 16, PNL3, 16, PNL4, 16, PNL5, 16, PNL6, 16, PNL7, 16, PNL8, 16, PNL9, 16, PNLA, 16, PNLB, 16, PNLC, 16, PNLD, 16, PNLE, 16, PNLF, 16, PNLG, 16, PNLH, 16, PNLI, 16, PNLJ, 16, PNLK, 16, PNLL, 16, PNLM, 16, PNLN, 16, PNLO, 16, U0C0, 32, U1C0, 32, XHPC, 8, XRPC, 8, XSPC, 8, XSPA, 8, HPTB, 32, HPTE, 8, SMD0, 8, SMD1, 8, SMD2, 8, SMD3, 8, SMD4, 8, SMD5, 8, SMD6, 8, SMD7, 8, SMD8, 8, SMD9, 8, SMDA, 8, SIR0, 8, SIR1, 8, SIR2, 8, SIR3, 8, SIR4, 8, SIR5, 8, SIR6, 8, SIR7, 8, SIR8, 8, SIR9, 8, SIRA, 8, SB00, 32, SB01, 32, SB02, 32, SB03, 32, SB04, 32, SB05, 32, SB06, 32, SB07, 32, SB08, 32, SB09, 32, SB0A, 32, SB10, 32, SB11, 32, SB12, 32, SB13, 32, SB14, 32, SB15, 32, SB16, 32, SB17, 32, SB18, 32, SB19, 32, SB1A, 32, GPEN, 8, SGIR, 8, NIT1, 8, NIT2, 8, NIT3, 8, NPM1, 8, NPM2, 8, NPM3, 8, NPC1, 8, NPC2, 8, NPC3, 8, NL11, 16, NL12, 16, NL13, 16, ND21, 8, ND22, 8, ND23, 8, ND11, 32, ND12, 32, ND13, 32, NLR1, 16, NLR2, 16, NLR3, 16, NLD1, 32, NLD2, 32, NLD3, 32, NEA1, 16, NEA2, 16, NEA3, 16, NEB1, 16, NEB2, 16, NEB3, 16, NEC1, 16, NEC2, 16, NEC3, 16, NRA1, 16, NRA2, 16, NRA3, 16, NMB1, 32, NMB2, 32, NMB3, 32, NMV1, 32, NMV2, 32, NMV3, 32, NPB1, 32, NPB2, 32, NPB3, 32, NPV1, 32, NPV2, 32, NPV3, 32, NRP1, 32, NRP2, 32, NRP3, 32, Offset (0x20A), SXRB, 32, SXRS, 32, CIOE, 8, CIOI, 8, TAEN, 8, TIRQ, 8, XWMB, 32, EMH4, 8, CSKU, 8, ITA0, 16, ITA1, 16, ITA2, 16, ITA3, 16, ITS0, 8, ITS1, 8, ITS2, 8, ITS3, 8, PMBS, 16, PWRM, 32 } Scope (_SB) { Name (GPCL, Package (0x08) { Package (0x06) { 0x00AF0000, 0x18, 0x0400, 0xD0, 0x20, 0x0140 }, Package (0x06) { 0x00AF0000, 0x18, 0x04C0, 0xD4, 0x30, 0x0144 }, Package (0x06) { 0x00AE0000, 0x18, 0x0400, 0xD0, 0x20, 0x0140 }, Package (0x06) { 0x00AE0000, 0x18, 0x04C0, 0xD4, 0x30, 0x0144 }, Package (0x06) { 0x00AE0000, 0x18, 0x0580, 0xD8, 0x40, 0x0148 }, Package (0x06) { 0x00AC0000, 0x18, 0x0400, 0xD0, 0x20, 0x0140 }, Package (0x06) { 0x00AC0000, 0x08, 0x04C0, 0xD4, 0x30, 0x0144 }, Package (0x06) { 0x00AD0000, 0x0C, 0x0400, 0xD0, 0x20, 0x0140 } }) Name (GPCH, Package (0x0A) { Package (0x06) { 0x00AF0000, 0x18, 0x0400, 0xD0, 0x20, 0x0140 }, Package (0x06) { 0x00AF0000, 0x18, 0x04C0, 0xD4, 0x2C, 0x0144 }, Package (0x06) { 0x00AE0000, 0x18, 0x0400, 0xD0, 0x20, 0x0140 }, Package (0x06) { 0x00AE0000, 0x18, 0x04C0, 0xD4, 0x2C, 0x0144 }, Package (0x06) { 0x00AE0000, 0x0D, 0x0580, 0xD8, 0x38, 0x0148 }, Package (0x06) { 0x00AE0000, 0x18, 0x05E8, 0xDC, 0x40, 0x014C }, Package (0x06) { 0x00AE0000, 0x18, 0x06A8, 0xE0, 0x4C, 0x0150 }, Package (0x06) { 0x00AE0000, 0x18, 0x0768, 0xE4, 0x58, 0x0154 }, Package (0x06) { 0x00AC0000, 0x0B, 0x0400, 0xD0, 0x20, 0x0140 }, Package (0x06) { 0x00AD0000, 0x0C, 0x0400, 0xD0, 0x20, 0x0140 } }) Name (RXEV, Package (0x0A) { Buffer (0x18){}, Buffer (0x18){}, Buffer (0x18){}, Buffer (0x18){}, Buffer (0x18){}, Buffer (0x18){}, Buffer (0x18){}, Buffer (0x18){}, Buffer (0x0B){}, Buffer (0x0C){} }) } Scope (_SB) { Method (GINF, 2, NotSerialized) { If (LEqual (PCHS, SPTL)) { Return (DerefOf (Index (DerefOf (Index (GPCL, Arg0)), Arg1))) } Else { Return (DerefOf (Index (DerefOf (Index (GPCH, Arg0)), Arg1))) } } Method (GMXG, 0, NotSerialized) { If (LEqual (PCHS, SPTL)) { Return (0x08) } Else { Return (0x0A) } } Method (GADR, 2, NotSerialized) { Store (Add (GINF (Arg0, Zero), SBRG), Local0) Store (GINF (Arg0, Arg1), Local1) Return (Add (Local0, Local1)) } Method (GNUM, 1, NotSerialized) { Store (GNMB (Arg0), Local0) Store (GGRP (Arg0), Local1) Return (Add (Local0, Multiply (Local1, 0x18))) } Method (INUM, 1, NotSerialized) { Store (GNMB (Arg0), Local1) Store (GGRP (Arg0), Local2) Store (Zero, Local3) While (LLess (Local3, Local2)) { Add (GINF (Local3, One), Local1, Local1) Increment (Local3) } Return (Add (0x18, Mod (Local1, 0x60))) } Method (GGRP, 1, Serialized) { ShiftRight (And (Arg0, 0x00FF0000), 0x10, Local0) Return (Local0) } Method (GNMB, 1, Serialized) { Return (And (Arg0, 0xFFFF)) } Method (GGPE, 1, NotSerialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) If (LEqual (And (ShiftRight (GPEM, Multiply (Local0, 0x02)), 0x03), Zero)) { Return (0x6F) } Else { Store (And (ShiftRight (GPEM, Multiply (Local0, 0x02)), 0x03), Local2) Return (Add (Multiply (Subtract (Local2, One), 0x20), Local1)) } } Method (GPC0, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { TEMP, 32 } Return (TEMP) } Method (SPC0, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { TEMP, 32 } Store (Arg1, TEMP) } Method (GPC1, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), 0x04), Local2) OperationRegion (PDW1, SystemMemory, Local2, 0x04) Field (PDW1, AnyAcc, NoLock, Preserve) { TEMP, 32 } Return (TEMP) } Method (SPC1, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), 0x04), Local2) OperationRegion (PDW1, SystemMemory, Local2, 0x04) Field (PDW1, AnyAcc, NoLock, Preserve) { TEMP, 32 } Store (Arg1, TEMP) } Method (SRXO, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 28, TEMP, 1, Offset (0x04) } Store (Arg1, TEMP) } Method (GGIV, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 1, TEMP, 1, Offset (0x04) } Return (TEMP) } Method (GGOV, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { TEMP, 1, Offset (0x04) } Return (TEMP) } Method (SGOV, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { TEMP, 1, Offset (0x04) } Store (Arg1, TEMP) } Method (GGII, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 23, TEMP, 1, Offset (0x04) } Return (TEMP) } Method (SGII, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 23, TEMP, 1, Offset (0x04) } Store (Arg1, TEMP) } Method (GPMV, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 10, TEMP, 3, Offset (0x04) } Return (TEMP) } Method (SPMV, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 10, TEMP, 3, Offset (0x04) } Store (Arg1, TEMP) } Method (GHPO, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Add (GADR (Local0, 0x03), Multiply (ShiftRight (Local1, 0x05), 0x04), Local3) And (Local1, 0x1F, Local4) OperationRegion (PREG, SystemMemory, Local3, 0x04) Field (PREG, AnyAcc, NoLock, Preserve) { TEMP, 32 } Return (And (ShiftRight (TEMP, Local4), One)) } Method (SHPO, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Add (GADR (Local0, 0x03), Multiply (ShiftRight (Local1, 0x05), 0x04), Local3) And (Local1, 0x1F, Local4) OperationRegion (PREG, SystemMemory, Local3, 0x04) Field (PREG, AnyAcc, NoLock, Preserve) { TEMP, 32 } If (Arg1) { Or (TEMP, ShiftLeft (One, Local4), TEMP) } Else { And (TEMP, Not (ShiftLeft (One, Local4)), TEMP) } } Method (GGPO, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x04), Multiply (ShiftRight (Local1, 0x03), 0x04)), Local2) OperationRegion (PREG, SystemMemory, Local2, 0x04) Field (PREG, AnyAcc, NoLock, Preserve) { TEMP, 32 } Return (And (ShiftRight (TEMP, Multiply (And (Local1, 0x07), 0x04)), 0x03)) } Method (SGRA, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 20, TEMP, 1, Offset (0x04) } Store (Arg1, TEMP) } Method (SGWP, 2, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), 0x04), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 10, TEMP, 4, Offset (0x04) } Store (Arg1, TEMP) } Method (UGPS, 0, Serialized) { } Method (CGP1, 3, Serialized) { If (LEqual (And (ShiftRight (GPEM, Multiply (Arg0, 0x02)), 0x03), Zero)) { OperationRegion (GPPX, SystemMemory, Add (GADR (Arg0, 0x05), Multiply (Arg1, 0x04)), 0x04) Field (GPPX, AnyAcc, NoLock, Preserve) { STSX, 32 } Store (Arg2, STSX) } } Method (CGPS, 0, Serialized) { Store (GMXG (), Local0) While (Local0) { Decrement (Local0) Store (Add (ShiftRight (GINF (Local0, One), 0x05), One), Local1) Store (Zero, Local2) While (LLess (Local2, Local1)) { CGP1 (Local0, Local2, 0xFFFFFFFF) Increment (Local2) } } } Method (CGLS, 0, Serialized) { Store (GMXG (), Local1) Store (Zero, Local0) Store (Zero, Local2) Store (Zero, Local4) While (LLess (Local0, Local1)) { Store (Add (ShiftRight (GINF (Local0, One), 0x05), One), Local3) Store (Zero, Local2) While (LLess (Local2, Local3)) { If (LEqual (Local4, 0x09)) { Store (G2L9, Local5) } ElseIf (LEqual (Local4, 0x08)) { Store (G2L8, Local5) } ElseIf (LEqual (Local4, 0x07)) { Store (G2L7, Local5) } ElseIf (LEqual (Local4, 0x06)) { Store (G2L6, Local5) } ElseIf (LEqual (Local4, 0x05)) { Store (G2L5, Local5) } ElseIf (LEqual (Local4, 0x04)) { Store (G2L4, Local5) } ElseIf (LEqual (Local4, 0x03)) { Store (G2L3, Local5) } ElseIf (LEqual (Local4, 0x02)) { Store (G2L2, Local5) } ElseIf (LEqual (Local4, One)) { Store (G2L1, Local5) } ElseIf (LEqual (Local4, Zero)) { Store (G2L0, Local5) } Else { Return (Zero) } CGP1 (Local0, Local2, Local5) Increment (Local2) Increment (Local4) } Increment (Local0) } } Method (CAGS, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Multiply (ShiftRight (Local1, 0x05), 0x04, Local4) If (LEqual (And (ShiftRight (GPEM, Multiply (Local0, 0x02)), 0x03), Zero)) { OperationRegion (GPPX, SystemMemory, Add (GADR (Local0, 0x05), Local4), 0x04) Field (GPPX, AnyAcc, NoLock, Preserve) { STSX, 32 } ShiftLeft (One, Mod (Local1, 0x20), Local2) Store (Local2, STSX) } } Method (ISME, 1, NotSerialized) { If (LNotEqual (And (ShiftRight (GPEM, Multiply (Arg0, 0x02)), 0x03), Zero)) { Return (Zero) } Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Add (GADR (Local0, 0x05), Multiply (ShiftRight (Local1, 0x05), 0x04), Local2) And (Local1, 0x1F, Local3) OperationRegion (GPPX, SystemMemory, Local2, 0x24) Field (GPPX, AnyAcc, NoLock, Preserve) { STSX, 32, Offset (0x20), GENX, 32 } Return (And (ShiftRight (And (STSX, GENX), Local3), One)) } Method (DIPI, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 9, RDIS, 1, , 15, RCFG, 2, Offset (0x04) } If (LNotEqual (RCFG, 0x02)) { Store (RCFG, Index (DerefOf (Index (RXEV, Local0)), Local1)) Store (0x02, RCFG) Store (One, RDIS) } } Method (UIPI, 1, Serialized) { Store (GGRP (Arg0), Local0) Store (GNMB (Arg0), Local1) Store (Add (GADR (Local0, 0x02), Multiply (Local1, 0x08)), Local2) OperationRegion (PDW0, SystemMemory, Local2, 0x04) Field (PDW0, AnyAcc, NoLock, Preserve) { , 9, RDIS, 1, , 15, RCFG, 2, Offset (0x04) } Store (DerefOf (Index (DerefOf (Index (RXEV, Local0)), Local1)), Local3) If (LNotEqual (Local3, 0x02)) { Store (Zero, RDIS) Store (Local3, RCFG) } } } Scope (\) { Method (THEN, 0, Serialized) { OperationRegion (THBA, SystemMemory, 0xFE200000, 0x10) Field (THBA, DWordAcc, NoLock, Preserve) { DO00, 32 } Return (LNotEqual (DO00, 0xFFFFFFFF)) } Method (THDA, 2, Serialized) { Store (0xFE200000, Local0) Add (Local0, Multiply (0x40, Multiply (0x80, Subtract (Arg0, 0x20))), Local0) Add (Local0, Multiply (0x40, Arg1), Local0) Return (Local0) } Method (STRD, 3, Serialized) { If (LGreater (Add (Arg1, Arg2), SizeOf (Arg0))) { Return (Zero) } ToBuffer (Arg0, Local3) Store (Zero, Local0) Store (Zero, Local1) While (LLess (Local1, Arg2)) { Store (DerefOf (Index (Local3, Add (Arg1, Local1))), Local2) Add (Local0, ShiftLeft (Local2, Multiply (0x08, Local1)), Local0) Increment (Local1) } Return (Local0) } Method (THDS, 1, Serialized) { If (LNot (THEN ())) { Return (Zero) } Store (SizeOf (Arg0), Local0) Store (THDA (0x20, 0x16), Local1) OperationRegion (THBA, SystemMemory, Local1, 0x40) Field (THBA, QWordAcc, NoLock, Preserve) { QO00, 64 } Field (THBA, DWordAcc, NoLock, Preserve) { DO00, 32, Offset (0x10), DO10, 32, Offset (0x30), DO30, 32 } Field (THBA, WordAcc, NoLock, Preserve) { WO00, 16 } Field (THBA, ByteAcc, NoLock, Preserve) { BO00, 8 } Store (0x01000242, DO10) Store (Local0, WO00) Store (Zero, Local6) Store (Local0, Local7) While (LGreaterEqual (Local7, 0x08)) { Store (STRD (Arg0, Local6, 0x08), QO00) Add (Local6, 0x08, Local6) Subtract (Local7, 0x08, Local7) } If (LGreaterEqual (Local7, 0x04)) { Store (STRD (Arg0, Local6, 0x04), DO00) Add (Local6, 0x04, Local6) Subtract (Local7, 0x04, Local7) } If (LGreaterEqual (Local7, 0x02)) { Store (STRD (Arg0, Local6, 0x02), WO00) Add (Local6, 0x02, Local6) Subtract (Local7, 0x02, Local7) } If (LGreaterEqual (Local7, One)) { Store (STRD (Arg0, Local6, One), BO00) Add (Local6, One, Local6) Subtract (Local7, One, Local7) } Store (Zero, DO30) } Method (THDH, 1, Serialized) { THDS (ToHexString (Arg0)) } Method (THDD, 1, Serialized) { THDS (ToDecimalString (Arg0)) } } Name (SPTH, One) Name (SPTL, 0x02) Method (PCHV, 0, NotSerialized) { If (LEqual (PCHS, One)) { Return (SPTH) } If (LEqual (PCHS, 0x02)) { Return (SPTL) } Return (Zero) } Scope (_GPE) { Method (_L6D, 0, Serialized) // _Lxx: Level-Triggered GPE { \_SB.PCI0.XHC.GPEH () \_SB.PCI0.HDAS.GPEH () \_SB.PCI0.GLAN.GPEH () \_SB.PCI0.XDCI.GPEH () } } Scope (_SB.PCI0) { Name (TEMP, Zero) Device (PRRE) { Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID Name (_UID, "PCHRESV") // _UID: Unique ID Name (_STA, 0x03) // _STA: Status Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFD000000, // Address Base 0x00AC0000, // Address Length ) Memory32Fixed (ReadWrite, 0xFDAD0000, // Address Base 0x00010000, // Address Length ) Memory32Fixed (ReadWrite, 0xFDB00000, // Address Base 0x00500000, // Address Length ) Memory32Fixed (ReadWrite, 0xFE000000, // Address Base 0x00020000, // Address Length ) Memory32Fixed (ReadWrite, 0xFE036000, // Address Base 0x00006000, // Address Length ) Memory32Fixed (ReadWrite, 0xFE03D000, // Address Base 0x003C3000, // Address Length ) Memory32Fixed (ReadWrite, 0xFE410000, // Address Base 0x003F0000, // Address Length ) }) Return (BUF0) } } Device (IOTR) { Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID Name (_UID, "IoTraps") // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0xFF, // Length _Y16) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0xFF, // Length _Y17) }) Name (BUF2, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0xFF, // Length _Y18) }) Name (BUF3, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0xFF, // Length _Y19) }) CreateWordField (BUF0, \_SB.PCI0.IOTR._CRS._Y16._MIN, AMI0) // _MIN: Minimum Base Address CreateWordField (BUF0, \_SB.PCI0.IOTR._CRS._Y16._MAX, AMA0) // _MAX: Maximum Base Address CreateWordField (BUF1, \_SB.PCI0.IOTR._CRS._Y17._MIN, AMI1) // _MIN: Minimum Base Address CreateWordField (BUF1, \_SB.PCI0.IOTR._CRS._Y17._MAX, AMA1) // _MAX: Maximum Base Address CreateWordField (BUF2, \_SB.PCI0.IOTR._CRS._Y18._MIN, AMI2) // _MIN: Minimum Base Address CreateWordField (BUF2, \_SB.PCI0.IOTR._CRS._Y18._MAX, AMA2) // _MAX: Maximum Base Address CreateWordField (BUF3, \_SB.PCI0.IOTR._CRS._Y19._MIN, AMI3) // _MIN: Minimum Base Address CreateWordField (BUF3, \_SB.PCI0.IOTR._CRS._Y19._MAX, AMA3) // _MAX: Maximum Base Address Store (ITA0, AMI0) Store (ITA0, AMA0) Store (ITA1, AMI1) Store (ITA1, AMA1) Store (ITA2, AMI2) Store (ITA2, AMA2) Store (ITA3, AMI3) Store (ITA3, AMA3) If (LEqual (ITS0, One)) { ConcatenateResTemplate (Local0, BUF0, Local1) Store (Local1, Local0) } If (LEqual (ITS1, One)) { ConcatenateResTemplate (Local0, BUF1, Local1) Store (Local1, Local0) } If (LEqual (ITS2, One)) { ConcatenateResTemplate (Local0, BUF2, Local1) Store (Local1, Local0) } If (LEqual (ITS3, One)) { ConcatenateResTemplate (Local0, BUF3, Local1) Store (Local1, Local0) } Return (Local0) } } } Scope (_SB.PCI0.LPCB) { Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } OperationRegion (LPC, PCI_Config, Zero, 0x0100) Field (LPC, AnyAcc, NoLock, Preserve) { Offset (0x02), CDID, 16, Offset (0x08), CRID, 8, Offset (0x80), IOD0, 8, IOD1, 8, Offset (0xA0), , 9, PRBL, 1, Offset (0xDC), , 2, ESPI, 1 } } Scope (_SB.PCI0) { Device (PPMC) { Name (_ADR, 0x001F0002) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } Device (SBUS) { Name (_ADR, 0x001F0004) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } Scope (_SB) { Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PARC, 0x80, PARC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSA) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLA, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PARC, 0x0F), IRQ0) Return (RTLA) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PARC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PARC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PBRC, 0x80, PBRC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSB) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLB, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PBRC, 0x0F), IRQ0) Return (RTLB) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PBRC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PBRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x03) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PCRC, 0x80, PCRC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSC) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLC, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLC, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PCRC, 0x0F), IRQ0) Return (RTLC) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PCRC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PCRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x04) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PDRC, 0x80, PDRC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSD) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLD, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLD, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PDRC, 0x0F), IRQ0) Return (RTLD) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PDRC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PDRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x05) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PERC, 0x80, PERC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSE) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLE, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLE, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PERC, 0x0F), IRQ0) Return (RTLE) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PERC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PERC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x06) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PFRC, 0x80, PFRC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSF) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLF, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLF, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PFRC, 0x0F), IRQ0) Return (RTLF) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PFRC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PFRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x07) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PGRC, 0x80, PGRC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSG) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLG, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLG, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PGRC, 0x0F), IRQ0) Return (RTLG) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PGRC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PGRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID Name (_UID, 0x08) // _UID: Unique ID Method (_DIS, 0, Serialized) // _DIS: Disable Device { Or (PHRC, 0x80, PHRC) } Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings { Return (PRSH) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLH, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (RTLH, One, IRQ0) Store (Zero, IRQ0) ShiftLeft (One, And (PHRC, 0x0F), IRQ0) Return (RTLH) } Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PHRC) } Method (_STA, 0, Serialized) // _STA: Status { If (And (PHRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } } Scope (\) { Method (PCRR, 2, Serialized) { Add (ShiftLeft (Arg0, 0x10), Arg1, Local0) Add (SBRG, Local0, Local0) OperationRegion (PCR0, SystemMemory, Local0, 0x04) Field (PCR0, DWordAcc, Lock, Preserve) { DAT0, 32 } Return (DAT0) } Method (PCRW, 3, Serialized) { Add (ShiftLeft (Arg0, 0x10), Arg1, Local0) Add (SBRG, Local0, Local0) OperationRegion (PCR0, SystemMemory, Local0, 0x04) Field (PCR0, DWordAcc, Lock, Preserve) { DAT0, 32 } Store (Arg2, DAT0) Store (PCRR (0xC7, 0x3418), Local0) } Method (PCRO, 3, Serialized) { Store (PCRR (Arg0, Arg1), Local0) Store (Or (Local0, Arg2), Local1) PCRW (Arg0, Arg1, Local1) } Method (PCRA, 3, Serialized) { Store (PCRR (Arg0, Arg1), Local0) Store (And (Local0, Arg2), Local1) PCRW (Arg0, Arg1, Local1) } Method (PCAO, 4, Serialized) { Store (PCRR (Arg0, Arg1), Local0) Store (Or (And (Local0, Arg2), Arg3), Local1) PCRW (Arg0, Arg1, Local1) } Name (TCBV, Zero) Method (TCBS, 0, NotSerialized) { If (LEqual (TCBV, Zero)) { Store (PCRR (0xEF, 0x2778), Local0) And (Local0, 0xFFE0, TCBV) } Return (TCBV) } OperationRegion (PMIO, SystemIO, PMBS, 0x60) Field (PMIO, ByteAcc, NoLock, Preserve) { Offset (0x01), PBSS, 1, Offset (0x40), , 17, GPEC, 1 } OperationRegion (TCBA, SystemIO, TCBS (), 0x10) Field (TCBA, ByteAcc, NoLock, Preserve) { Offset (0x04), , 9, CPSC, 1 } OperationRegion (PWMR, SystemMemory, PWRM, 0x0800) Field (PWMR, AnyAcc, NoLock, Preserve) { Offset (0xE0), Offset (0xE2), DWLE, 1, HWLE, 1, Offset (0x31C), , 13, SLS0, 1, , 8, XSQD, 1 } OperationRegion (PMST, SystemMemory, PWRM, 0x80) Field (PMST, DWordAcc, NoLock, Preserve) { Offset (0x18), , 25, USBP, 1, Offset (0x1C), Offset (0x1F), PMFS, 1, Offset (0x20), MPMC, 32, , 20, UWAB, 1 } } Scope (_SB.PCI0) { Name (LTRZ, Zero) Name (OBFZ, Zero) Name (LMSL, Zero) Name (LNSL, Zero) Device (GLAN) { Name (_ADR, 0x001F0006) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } OperationRegion (GLBA, PCI_Config, Zero, 0x0100) Field (GLBA, AnyAcc, NoLock, Preserve) { DVID, 16 } Field (GLBA, ByteAcc, NoLock, Preserve) { Offset (0xCC), Offset (0xCD), PMEE, 1, , 6, PMES, 1 } Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x6D, 0x04)) } Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake { Store (Arg0, PMEE) } Method (GPEH, 0, NotSerialized) { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } If (LAnd (PMEE, PMES)) { Store (One, PMES) Notify (GLAN, 0x02) } } } } Scope (_SB.PCI0) { Device (XHC) { Name (_ADR, 0x00140000) // _ADR: Address OperationRegion (XPRT, PCI_Config, Zero, 0x0100) Field (XPRT, AnyAcc, NoLock, Preserve) { DVID, 16, Offset (0x10), XADL, 32, XADH, 32, Offset (0xA2), , 2, D3HE, 1 } Field (XPRT, ByteAcc, NoLock, Preserve) { Offset (0x74), D0D3, 2, Offset (0x75), PMEE, 1, , 6, PMES, 1 } Name (XFLT, Zero) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { ADBG ("_DSM") ShiftLeft (XADH, 0x20, Local0) Or (Local0, XADL, Local0) And (Local0, 0xFFFFFFFFFFFFFFF0, Local0) OperationRegion (XMIO, SystemMemory, Local0, 0x9000) Field (XMIO, AnyAcc, Lock, Preserve) { Offset (0x550), PCCS, 1, , 4, PPLS, 4, PTPP, 1, Offset (0x8420), PRTM, 2 } If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("ac340cb7-e901-45bf-b7e6-2b34ec931e23"))) { If (LEqual (Arg1, 0x03)) { Store (Arg1, XFLT) } If (LAnd (LGreater (PRTM, Zero), LOr (LEqual (Arg1, 0x05), LEqual (Arg1, 0x06)))) { ADBG ("SSIC") If (LOr (LOr (LEqual (PCCS, Zero), LEqual (PTPP, Zero)), LAnd (LGreaterEqual (PPLS, 0x04), LLessEqual (PPLS, 0x0F)))) { If (LEqual (PPLS, 0x08)) { Store (One, D3HE) } Else { Store (Zero, D3HE) } } Else { Store (One, D3HE) } } } Return (Buffer (One) { 0x00 }) } Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State { Return (0x03) } Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State { Return (0x03) } Method (_S3W, 0, NotSerialized) // _S3W: S3 Device Wake State { Return (0x03) } Method (_S4W, 0, NotSerialized) // _S4W: S4 Device Wake State { Return (0x03) } Method (_S0W, 0, NotSerialized) // _S0W: S0 Device Wake State { If (LEqual (XFLT, Zero)) { Return (Zero) } Else { Return (0x03) } } Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x6D, 0x03)) } Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake { Store (Arg0, PMEE) } Method (_INI, 0, NotSerialized) // _INI: Initialize { If (CondRefOf (\_SB.PCI0.XHC.RHUB.INIR)) { ^RHUB.INIR () } } Method (GPEH, 0, NotSerialized) { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } Store (PMES, Local0) Store (One, PMES) If (LAnd (PMEE, Local0)) { Notify (XHC, 0x02) } } OperationRegion (XHCP, SystemMemory, Add (GPCB (), 0x000A0000), 0x0100) Field (XHCP, AnyAcc, Lock, Preserve) { Offset (0x04), PDBM, 16, Offset (0x10), MEMB, 64 } Method (USRA, 0, Serialized) { If (LEqual (PCHV (), SPTH)) { Return (0x0F) } Else { Return (0x0B) } } Method (SSPA, 0, Serialized) { If (LEqual (PCHV (), SPTH)) { Return (0x11) } Else { Return (0x0D) } } Name (XRST, Zero) Method (_PS0, 0, Serialized) // _PS0: Power State 0 { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } Store (MEMB, Local2) Store (PDBM, Local1) And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM) Store (Zero, D0D3) Store (XWMB, MEMB) Or (Local1, 0x02, PDBM) OperationRegion (MC11, SystemMemory, XWMB, 0x9000) Field (MC11, DWordAcc, Lock, Preserve) { Offset (0x81C4), , 2, UPSW, 2 } Store (Zero, UPSW) And (PDBM, 0xFFFFFFFFFFFFFFFD, PDBM) Store (Local2, MEMB) Store (Local1, PDBM) If (CondRefOf (\_SB.PCI0.XHC.PS0X)) { PS0X () } If (LAnd (UWAB, LOr (LEqual (D0D3, Zero), LEqual (^^XDCI.D0I3, Zero)))) { Store (One, MPMC) While (PMFS) { Sleep (0x0A) } } } Method (_PS3, 0, Serialized) // _PS3: Power State 3 { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } Store (MEMB, Local2) Store (PDBM, Local1) And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM) Store (Zero, D0D3) Store (XWMB, MEMB) Or (Local1, 0x02, PDBM) OperationRegion (MC11, SystemMemory, XWMB, 0x9000) Field (MC11, DWordAcc, Lock, Preserve) { Offset (0x81C4), , 2, UPSW, 2 } Store (0x03, UPSW) And (PDBM, 0xFFFFFFFFFFFFFFFD, PDBM) Store (0x03, D0D3) Store (Local2, MEMB) Store (Local1, PDBM) If (CondRefOf (\_SB.PCI0.XHC.PS3X)) { PS3X () } If (LAnd (UWAB, LAnd (LEqual (D0D3, 0x03), LOr (LEqual (^^XDCI.D0I3, 0x03), LEqual (^^XDCI.DVID, 0xFFFF))))) { Store (0x03, MPMC) While (PMFS) { Sleep (0x0A) } } } Method (CUID, 1, Serialized) { If (LEqual (Arg0, ToUUID ("7c9512a9-1705-4cb4-af7d-506a2423ab71"))) { Return (One) } Return (Zero) } Device (RHUB) { Name (_ADR, Zero) // _ADR: Address Method (_PS0, 0, Serialized) // _PS0: Power State 0 { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } If (CondRefOf (\_SB.PCI0.XHC.RHUB.PS0X)) { PS0X () } } Method (_PS2, 0, Serialized) // _PS2: Power State 2 { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } If (CondRefOf (\_SB.PCI0.XHC.RHUB.PS2X)) { PS2X () } } Method (_PS3, 0, Serialized) // _PS3: Power State 3 { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } If (CondRefOf (\_SB.PCI0.XHC.RHUB.PS3X)) { PS3X () } } Device (HS01) { Name (_ADR, One) // _ADR: Address } Device (HS02) { Name (_ADR, 0x02) // _ADR: Address } Device (HS03) { Name (_ADR, 0x03) // _ADR: Address } Device (HS04) { Name (_ADR, 0x04) // _ADR: Address } Device (HS05) { Name (_ADR, 0x05) // _ADR: Address } Device (HS06) { Name (_ADR, 0x06) // _ADR: Address } Device (HS07) { Name (_ADR, 0x07) // _ADR: Address } Device (HS08) { Name (_ADR, 0x08) // _ADR: Address } Device (HS09) { Name (_ADR, 0x09) // _ADR: Address } Device (HS10) { Name (_ADR, 0x0A) // _ADR: Address } Device (USR1) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (USRA (), Zero)) } } Device (USR2) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (USRA (), One)) } } Device (SS01) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), Zero)) } } Device (SS02) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), One)) } } Device (SS03) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x02)) } } Device (SS04) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x03)) } } Device (SS05) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x04)) } } Device (SS06) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x05)) } } } } } If (LEqual (PCHV (), SPTH)) { Scope (_SB.PCI0.XHC.RHUB) { Device (HS11) { Name (_ADR, 0x0B) // _ADR: Address } Device (HS12) { Name (_ADR, 0x0C) // _ADR: Address } Device (HS13) { Name (_ADR, 0x0D) // _ADR: Address } Device (HS14) { Name (_ADR, 0x0E) // _ADR: Address } Device (SS07) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x06)) } } Device (SS08) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x07)) } } Device (SS09) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x08)) } } Device (SS10) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x09)) } } } } Scope (_SB.PCI0) { Device (XDCI) { Name (_ADR, 0x00140001) // _ADR: Address OperationRegion (OTGD, PCI_Config, Zero, 0x0100) Field (OTGD, DWordAcc, NoLock, Preserve) { DVID, 16, Offset (0x10), XDCB, 64 } Field (OTGD, ByteAcc, NoLock, Preserve) { Offset (0x84), D0I3, 2, Offset (0x85), PMEE, 1, , 6, PMES, 1 } Method (XDBA, 0, NotSerialized) { Return (And (XDCB, 0xFFFFFFFFFFFFFF00)) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511"))) { If (LEqual (Arg1, One)) { Method (SPPS, 2, Serialized) { OperationRegion (XDBW, SystemMemory, XDBA (), 0x00110000) Field (XDBW, WordAcc, NoLock, Preserve) { Offset (0x10F810), Offset (0x10F811), U2CP, 2, U3CP, 2, Offset (0x10F818), PUPS, 2, , 1, PURC, 1, Offset (0x10F81A), Offset (0x10F81C), , 3, UXPE, 2, Offset (0x10F81E) } Store (Arg0, Local1) Store (Arg1, Local2) If (LEqual (Local1, Zero)) { Store (Zero, UXPE) Store (Zero, Local0) While (LLess (Local0, 0x0A)) { Stall (0x64) Increment (Local0) } Store (Zero, PUPS) Store (Zero, Local0) While (LLess (Local0, 0x07D0)) { Stall (0x64) If (LAnd (LEqual (U2CP, Zero), LEqual (U3CP, Zero))) { Break } Increment (Local0) } If (LNotEqual (U2CP, Zero)){} If (LNotEqual (U3CP, Zero)){} Return (Zero) } If (LEqual (Local1, 0x03)) { If (LNotEqual (U2CP, Zero)){} If (LNotEqual (U3CP, Zero)){} Store (0x03, PUPS) Store (Zero, Local0) While (LLess (Local0, 0x07D0)) { Stall (0x64) If (LAnd (LEqual (U2CP, 0x03), LEqual (U3CP, 0x03))) { Break } Increment (Local0) } If (LNotEqual (U2CP, 0x03)){} If (LNotEqual (U3CP, 0x03)){} Store (Local2, UXPE) Return (Zero) } Return (Zero) } Switch (ToInteger (Arg2)) { Case (Zero) { Return (Buffer (One) { 0xF3 }) } Case (One) { Return (One) } Case (0x04) { Store (DerefOf (Index (Arg3, Zero)), Local1) SPPS (Local1, Zero) } Case (0x05) { If (CondRefOf (\_SB.PCI0.LPCB.H_EC.XDAT)) { If (LEqual (^^LPCB.H_EC.XDAT (), One)) { Notify (XDCI, 0x80) } Else { Notify (XDCI, 0x81) } } Return (Zero) } Case (0x06) { OperationRegion (XDBD, SystemMemory, XDBA (), 0x00110000) Field (XDBD, DWordAcc, NoLock, Preserve) { Offset (0xC704), , 30, CSFR, 1, Offset (0xC708) } OperationRegion (XDW2, SystemMemory, XDBA (), 0x00110000) Field (XDW2, WordAcc, NoLock, Preserve) { Offset (0x10F820), , 13, OTHC, 1 } If (LEqual (OTHC, Zero)) { Store (One, CSFR) Store (Zero, Local0) While (LLess (Local0, 0x64)) { If (LEqual (CSFR, Zero)) { Break } Sleep (One) } } Return (Zero) } Case (0x07) { OperationRegion (XD22, SystemMemory, XDBA (), 0x00110000) Field (XD22, WordAcc, NoLock, Preserve) { Offset (0x10F818), P2PS, 2, Offset (0x10F81A) } Store (P2PS, Local0) Return (Local0) } } } } Return (Buffer (One) { 0x00 }) } Name (_DDN, "SPT XHCI controller") // _DDN: DOS Device Name Name (_STR, Unicode ("SPT XHCI controller")) // _STR: Description String Method (_S0W, 0, NotSerialized) // _S0W: S0 Device Wake State { Return (0x03) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LNotEqual (DVID, 0xFFFFFFFF)) { Return (0x0F) } Else { Return (Zero) } } Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x6D, 0x03)) } Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake { Store (Arg0, PMEE) } Method (GPEH, 0, NotSerialized) { If (LEqual (DVID, 0xFFFF)) { Return (Zero) } Store (PMES, Local0) Store (One, PMES) If (LAnd (PMEE, Local0)) { Notify (XDCI, 0x02) } } } } Scope (_SB.PCI0) { Device (HDAS) { Name (_ADR, 0x001F0003) // _ADR: Address OperationRegion (HDAR, PCI_Config, Zero, 0x0100) Field (HDAR, WordAcc, NoLock, Preserve) { VDID, 32 } Field (HDAR, ByteAcc, NoLock, Preserve) { Offset (0x54), Offset (0x55), PMEE, 1, , 6, PMES, 1 } Name (_S0W, 0x03) // _S0W: S0 Device Wake State Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake { Store (Arg0, PMEE) } Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x6D, 0x04)) } Method (GPEH, 0, NotSerialized) { If (LEqual (VDID, 0xFFFFFFFF)) { Return (Zero) } If (LAnd (PMEE, PMES)) { ADBG ("HDAS GPEH") Store (One, PMES) Notify (HDAS, 0x02) } } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { If (LNotEqual (VDID, 0xFFFFFFFF)) { VMMH (Zero, One) } If (CondRefOf (\_SB.PCI0.HDAS.PS0X)) { PS0X () } } Method (_PS3, 0, Serialized) // _PS3: Power State 3 { If (LNotEqual (VDID, 0xFFFFFFFF)) { VMMH (Zero, Zero) } If (CondRefOf (\_SB.PCI0.HDAS.PS3X)) { PS3X () } } Name (NBUF, ResourceTemplate () { QWordMemory (ResourceConsumer, PosDecode, MinNotFixed, MaxNotFixed, NonCacheable, ReadOnly, 0x0000000000000001, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, _Y1A, AddressRangeACPI, TypeStatic) }) Method (_INI, 0, NotSerialized) // _INI: Initialize { ADBG ("HDAS _INI") CreateQWordField (NBUF, \_SB.PCI0.HDAS._Y1A._MIN, NBAS) // _MIN: Minimum Base Address CreateQWordField (NBUF, \_SB.PCI0.HDAS._Y1A._MAX, NMAS) // _MAX: Maximum Base Address CreateQWordField (NBUF, \_SB.PCI0.HDAS._Y1A._LEN, NLEN) // _LEN: Length Store (NHLA, NBAS) Add (NHLA, Subtract (NHLL, One), NMAS) Store (NHLL, NLEN) If (LNotEqual (VDID, 0xFFFFFFFF)) { VMMH (Zero, One) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { ADBG ("HDAS _DSM") If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("a69f886e-6ceb-4594-a41f-7b5dce24c553"))) { Switch (ToInteger (Arg2)) { Case (Zero) { Return (Buffer (One) { 0x0F }) } Case (One) { ADBG ("_DSM Fun 1 NHLT") Return (NBUF) } Case (0x02) { ADBG ("_DSM Fun 2 FMSK") Return (ADFM) } Case (0x03) { ADBG ("_DSM Fun 3 PPMS") If (CondRefOf (\_SB.PCI0.HDAS.PPMS)) { Return (PPMS (Arg3)) } Return (Zero) } Default { ADBG ("_DSM Fun NOK") Return (Buffer (One) { 0x00 }) } } } ADBG ("_DSM UUID NOK") Return (Buffer (One) { 0x00 }) } } Device (SAT0) { Name (_ADR, 0x00170000) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (CondRefOf (\_SB.PCI0.SAT0.SDSM)) { Return (SDSM (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } Device (PRT0) { Name (_ADR, 0xFFFF) // _ADR: Address } Device (PRT1) { Name (_ADR, 0x0001FFFF) // _ADR: Address } Device (PRT2) { Name (_ADR, 0x0002FFFF) // _ADR: Address } Device (PRT3) { Name (_ADR, 0x0003FFFF) // _ADR: Address } Device (PRT4) { Name (_ADR, 0x0004FFFF) // _ADR: Address } Device (PRT5) { Name (_ADR, 0x0005FFFF) // _ADR: Address } Device (VOL0) { Name (_ADR, 0x0080FFFF) // _ADR: Address } Device (VOL1) { Name (_ADR, 0x0081FFFF) // _ADR: Address } Device (VOL2) { Name (_ADR, 0x0082FFFF) // _ADR: Address } Method (RDCA, 5, Serialized) { OperationRegion (RPAL, SystemMemory, Add (GPCB (), Add (0x000B8100, Arg1)), 0x04) Field (RPAL, DWordAcc, Lock, Preserve) { RPCD, 32 } OperationRegion (EPAC, SystemMemory, Add (GPCB (), 0x000B8308), 0x08) Field (EPAC, DWordAcc, Lock, Preserve) { CAIR, 32, CADR, 32 } OperationRegion (NCRG, SystemMemory, Add (GPCB (), 0x000B8FC0), 0x04) Field (NCRG, DWordAcc, Lock, Preserve) { CRGC, 32 } If (LGreater (Arg0, 0x02)) { Return (Zero) } Else { Store (Arg0, CRGC) } Switch (ToInteger (Arg4)) { Case (Zero) { Return (RPCD) } Case (0x02) { Store (Arg1, CAIR) Return (CADR) } Case (One) { And (Arg2, RPCD, Local0) Or (Arg3, Local0, Local0) Store (Local0, RPCD) } Case (0x03) { Store (Arg1, CAIR) And (Arg2, CADR, Local0) Or (Arg3, Local0, Local0) Store (Local0, CADR) } Default { Return (Zero) } } Return (Zero) } Method (ARPC, 4, Serialized) { ADBG (Concatenate ("NRPN: ", ToHexString (Arg0))) Switch (ToInteger (Arg0)) { Case (0x04) { If (CondRefOf (\_SB.PCI0.RP05.PWRG)) { CopyObject (^^RP05.PWRG, Arg1) } If (CondRefOf (\_SB.PCI0.RP05.RSTG)) { CopyObject (^^RP05.RSTG, Arg2) } If (CondRefOf (\_SB.PCI0.RP05.SCLK)) { CopyObject (^^RP05.SCLK, Arg3) } } Case (0x08) { If (CondRefOf (\_SB.PCI0.RP09.PWRG)) { CopyObject (^^RP09.PWRG, Arg1) } If (CondRefOf (\_SB.PCI0.RP09.RSTG)) { CopyObject (^^RP09.RSTG, Arg2) } If (CondRefOf (\_SB.PCI0.RP09.SCLK)) { CopyObject (^^RP09.SCLK, Arg3) } } Case (0x0C) { If (CondRefOf (\_SB.PCI0.RP13.PWRG)) { CopyObject (^^RP13.PWRG, Arg1) } If (CondRefOf (\_SB.PCI0.RP13.RSTG)) { CopyObject (^^RP13.RSTG, Arg2) } If (CondRefOf (\_SB.PCI0.RP13.SCLK)) { CopyObject (^^RP13.SCLK, Arg3) } } Case (0x10) { If (CondRefOf (\_SB.PCI0.RP17.PWRG)) { CopyObject (^^RP17.PWRG, Arg1) } If (CondRefOf (\_SB.PCI0.RP17.RSTG)) { CopyObject (^^RP17.RSTG, Arg2) } If (CondRefOf (\_SB.PCI0.RP17.SCLK)) { CopyObject (^^RP17.SCLK, Arg3) } } Default { ADBG (Concatenate ("ERR!NRPN: ", ToHexString (Arg0))) } } } Device (NVM1) { Name (_ADR, 0x00C1FFFF) // _ADR: Address Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (NIT1, NITV) Store (NPM1, NPMV) Store (NPC1, NPCV) Store (NL11, NL1V) Store (ND21, ND2V) Store (ND11, ND1V) Store (NLR1, NLRV) Store (NLD1, NLDV) Store (NEA1, NEAV) Store (NEB1, NEBV) Store (NEC1, NECV) Store (NRA1, NRAV) Store (NMB1, NMBV) Store (NMV1, NMVV) Store (NPB1, NPBV) Store (NPV1, NPVV) Store (NRP1, NRPN) Store (Zero, NCRN) ARPC (NRPN, RefOf (PWRG), RefOf (RSTG), RefOf (SCLK)) } Name (PRBI, Zero) Name (PRBD, Zero) Name (PCMD, Zero) Name (RSTG, Package (0x04) { Zero, Zero, Zero, Zero }) Name (PWRG, Package (0x04) { Zero, Zero, Zero, Zero }) Name (SCLK, Package (0x03) { Zero, Zero, Zero }) Name (NCRN, Zero) Name (NITV, Zero) Name (NPMV, Zero) Name (NPCV, Zero) Name (NL1V, Zero) Name (ND2V, Zero) Name (ND1V, Zero) Name (NLRV, Zero) Name (NLDV, Zero) Name (NEAV, Zero) Name (NEBV, Zero) Name (NECV, Zero) Name (NRAV, Zero) Name (NMBV, Zero) Name (NMVV, Zero) Name (NPBV, Zero) Name (NPVV, Zero) Name (NRPN, Zero) Name (MXIE, Zero) Name (ISD3, Zero) Method (RPON, 0, Serialized) { If (LEqual (ISD3, Zero)) { Return (Zero) } Store (Zero, ISD3) ADBG (Concatenate ("RPONs: ", ToHexString (NRPN))) PON (PWRG) If (LNotEqual (DerefOf (Index (SCLK, Zero)), Zero)) { PCRA (0xDC, 0x100C, Not (DerefOf (Index (SCLK, One)))) Sleep (0x10) } PON (RSTG) RDCA (NCRN, 0x0420, 0xBFFFFFFF, Zero, One) RDCA (NCRN, 0xE2, 0xFFFFFFFF, 0x08, One) Sleep (0x10) Store (Zero, Local0) While (And (RDCA (NCRN, 0xE2, Zero, Zero, Zero), 0x08)) { If (LGreater (Local0, 0x04)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0420, 0xFFFFFFFF, 0x40000000, One) Store (Zero, Local0) While (LEqual (And (RDCA (NCRN, 0x52, Zero, Zero, Zero), 0x2000), Zero)) { If (LGreater (Local0, 0x08)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0324, 0xFFFFFFF7, Zero, One) Sleep (0x07D0) NVD0 () ADBG (Concatenate ("RPONe: ", ToHexString (NRPN))) } Method (RPOF, 0, Serialized) { If (LEqual (NVD3 (), Zero)) { Return (Zero) } ADBG (Concatenate ("POFF NRPN: ", ToHexString (NRPN))) RDCA (NCRN, 0xE2, 0xFFFFFFFF, 0x04, One) Sleep (0x10) Store (Zero, Local0) While (And (RDCA (NCRN, 0xE2, Zero, Zero, Zero), 0x04)) { If (LGreater (Local0, 0x04)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0324, 0xFFFFFFFF, 0x08, One) POFF (RSTG) If (LNotEqual (DerefOf (Index (SCLK, Zero)), Zero)) { PCRO (0xDC, 0x100C, DerefOf (Index (SCLK, One))) Sleep (0x10) } POFF (PWRG) RDCA (NCRN, 0x50, 0xFFFFFFFF, 0x10, One) RDCA (NCRN, 0x50, 0xFFFFFFEF, Zero, One) Store (0x03, ISD3) } Method (NVD3, 0, Serialized) { If (LEqual (NITV, Zero)) { Return (Zero) } Store (RDCA (NCRN, 0x04, Zero, Zero, 0x02), PCMD) If (LEqual (NITV, One)) { Store (0x24, PRBI) Store (RDCA (NCRN, 0x24, Zero, Zero, 0x02), PRBD) } ElseIf (LEqual (NITV, 0x02)) { Store (0x10, PRBI) Store (RDCA (NCRN, 0x10, Zero, Zero, 0x02), PRBD) OperationRegion (MCRC, SystemMemory, Add (GPCB (), 0x000B833C), 0x04) Field (MCRC, AnyAcc, NoLock, Preserve) { SCSO, 8, Offset (0x02), TCSO, 8, , 7, RE, 1 } Store (RDCA (NCRN, TCSO, Zero, Zero, 0x02), MXIE) } RDCA (NCRN, Add (NPMV, 0x04), 0xFFFFFFFC, 0x03, 0x03) RDCA (NCRN, 0xA4, 0xFFFFFFFC, 0x03, One) Return (One) } Method (NVD0, 0, Serialized) { If (LEqual (NITV, Zero)) { Return (Zero) } RDCA (NCRN, 0xA4, 0xFFFFFFFC, Zero, One) RDCA (NCRN, Add (NPMV, 0x04), 0xFFFFFFFC, Zero, 0x03) CNRS () If (LEqual (NITV, 0x02)) { OperationRegion (MCRC, SystemMemory, Add (GPCB (), 0x000B833C), 0x04) Field (MCRC, AnyAcc, NoLock, Preserve) { SCSO, 8, Offset (0x02), TCSO, 8, , 7, RE, 1 } RDCA (NCRN, TCSO, 0xFFFFFFFF, And (MXIE, 0x80000000), 0x03) ADBG ("NVD0: MSIXe") } Else { } Return (One) } Method (CNRS, 0, Serialized) { Store ("[ACPI RST] Restore Remapped Device and Hidden RP context |start", Debug) ADBG (Concatenate ("CNRSs ", ToDecimalString (Timer))) If (LEqual (NITV, Zero)) { Return (Zero) } RDCA (NCRN, 0x10, Zero, Zero, 0x03) RDCA (NCRN, 0x14, Zero, Zero, 0x03) RDCA (NCRN, 0x18, Zero, Zero, 0x03) RDCA (NCRN, 0x1C, Zero, Zero, 0x03) RDCA (NCRN, 0x20, Zero, Zero, 0x03) RDCA (NCRN, 0x24, Zero, Zero, 0x03) RDCA (NCRN, PRBI, Zero, PRBD, 0x03) RDCA (NCRN, 0x04, 0xFFFFFFF8, PCMD, 0x03) If (LNotEqual (NL1V, Zero)) { RDCA (NCRN, Add (NL1V, 0x0C), 0xFFFFFF00, ND2V, 0x03) RDCA (NCRN, Add (NL1V, 0x08), 0x0F, And (ND1V, 0xFFFFFFF0), 0x03) RDCA (NCRN, Add (NL1V, 0x08), 0xFFFFFFFF, ND1V, 0x03) } If (LNotEqual (NLRV, Zero)) { RDCA (NCRN, Add (NLRV, 0x04), 0xFFFFFFFF, NLDV, 0x03) } RDCA (NCRN, Add (NPCV, 0x10), 0xFFFFFEBF, And (NEAV, 0xFFFC), 0x03) RDCA (NCRN, Add (NPCV, 0x28), 0xFFFFFBFF, NECV, 0x03) RDCA (NCRN, Add (NPCV, 0x08), 0xFFFFFF1F, NEBV, 0x03) RDCA (NCRN, 0x68, 0xFFFFFBFF, NRAV, One) If (LEqual (And (NEAV, 0x40), 0x40)) { RDCA (NCRN, 0x50, 0xFFFFFFDF, 0x20, One) ADBG (Concatenate ("CNRSw ", ToDecimalString (Timer))) While (LEqual (And (RDCA (NCRN, 0x52, Zero, Zero, Zero), 0x2000), Zero)) { Stall (0x0A) } } ADBG (Concatenate ("CNRSx ", ToDecimalString (Timer))) RDCA (NCRN, Add (NPCV, 0x10), 0xFFFFFFFC, And (NEAV, 0x03), 0x03) If (LNotEqual (NMVV, Zero)) { RDCA (NCRN, NMBV, Zero, NMVV, 0x03) } If (LNotEqual (NPVV, Zero)) { RDCA (NCRN, NPBV, Zero, NPVV, 0x03) } ADBG (Concatenate ("CNRSe ", ToDecimalString (Timer))) Store ("[ACPI RST] Restore Remapped Device and Hidden RP context |complete", Debug) } } Device (NVM2) { Name (_ADR, 0x00C2FFFF) // _ADR: Address Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (NIT2, NITV) Store (NPM2, NPMV) Store (NPC2, NPCV) Store (NL12, NL1V) Store (ND22, ND2V) Store (ND12, ND1V) Store (NLR2, NLRV) Store (NLD2, NLDV) Store (NEA2, NEAV) Store (NEB2, NEBV) Store (NEC2, NECV) Store (NRA2, NRAV) Store (NMB2, NMBV) Store (NMV2, NMVV) Store (NPB2, NPBV) Store (NPV2, NPVV) Store (NRP2, NRPN) Store (One, NCRN) ARPC (NRPN, RefOf (PWRG), RefOf (RSTG), RefOf (SCLK)) } Name (PRBI, Zero) Name (PRBD, Zero) Name (PCMD, Zero) Name (RSTG, Package (0x04) { Zero, Zero, Zero, Zero }) Name (PWRG, Package (0x04) { Zero, Zero, Zero, Zero }) Name (SCLK, Package (0x03) { Zero, Zero, Zero }) Name (NCRN, Zero) Name (NITV, Zero) Name (NPMV, Zero) Name (NPCV, Zero) Name (NL1V, Zero) Name (ND2V, Zero) Name (ND1V, Zero) Name (NLRV, Zero) Name (NLDV, Zero) Name (NEAV, Zero) Name (NEBV, Zero) Name (NECV, Zero) Name (NRAV, Zero) Name (NMBV, Zero) Name (NMVV, Zero) Name (NPBV, Zero) Name (NPVV, Zero) Name (NRPN, Zero) Name (MXIE, Zero) Name (ISD3, Zero) Method (RPON, 0, Serialized) { If (LEqual (ISD3, Zero)) { Return (Zero) } Store (Zero, ISD3) ADBG (Concatenate ("RPONs: ", ToHexString (NRPN))) PON (PWRG) If (LNotEqual (DerefOf (Index (SCLK, Zero)), Zero)) { PCRA (0xDC, 0x100C, Not (DerefOf (Index (SCLK, One)))) Sleep (0x10) } PON (RSTG) RDCA (NCRN, 0x0420, 0xBFFFFFFF, Zero, One) RDCA (NCRN, 0xE2, 0xFFFFFFFF, 0x08, One) Sleep (0x10) Store (Zero, Local0) While (And (RDCA (NCRN, 0xE2, Zero, Zero, Zero), 0x08)) { If (LGreater (Local0, 0x04)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0420, 0xFFFFFFFF, 0x40000000, One) Store (Zero, Local0) While (LEqual (And (RDCA (NCRN, 0x52, Zero, Zero, Zero), 0x2000), Zero)) { If (LGreater (Local0, 0x08)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0324, 0xFFFFFFF7, Zero, One) Sleep (0x07D0) NVD0 () ADBG (Concatenate ("RPONe: ", ToHexString (NRPN))) } Method (RPOF, 0, Serialized) { If (LEqual (NVD3 (), Zero)) { Return (Zero) } ADBG (Concatenate ("POFF NRPN: ", ToHexString (NRPN))) RDCA (NCRN, 0xE2, 0xFFFFFFFF, 0x04, One) Sleep (0x10) Store (Zero, Local0) While (And (RDCA (NCRN, 0xE2, Zero, Zero, Zero), 0x04)) { If (LGreater (Local0, 0x04)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0324, 0xFFFFFFFF, 0x08, One) POFF (RSTG) If (LNotEqual (DerefOf (Index (SCLK, Zero)), Zero)) { PCRO (0xDC, 0x100C, DerefOf (Index (SCLK, One))) Sleep (0x10) } POFF (PWRG) RDCA (NCRN, 0x50, 0xFFFFFFFF, 0x10, One) RDCA (NCRN, 0x50, 0xFFFFFFEF, Zero, One) Store (0x03, ISD3) } Method (NVD3, 0, Serialized) { If (LEqual (NITV, Zero)) { Return (Zero) } Store (RDCA (NCRN, 0x04, Zero, Zero, 0x02), PCMD) If (LEqual (NITV, One)) { Store (0x24, PRBI) Store (RDCA (NCRN, 0x24, Zero, Zero, 0x02), PRBD) } ElseIf (LEqual (NITV, 0x02)) { Store (0x10, PRBI) Store (RDCA (NCRN, 0x10, Zero, Zero, 0x02), PRBD) OperationRegion (MCRC, SystemMemory, Add (GPCB (), 0x000B833C), 0x04) Field (MCRC, AnyAcc, NoLock, Preserve) { SCSO, 8, Offset (0x02), TCSO, 8, , 7, RE, 1 } Store (RDCA (NCRN, TCSO, Zero, Zero, 0x02), MXIE) } RDCA (NCRN, Add (NPMV, 0x04), 0xFFFFFFFC, 0x03, 0x03) RDCA (NCRN, 0xA4, 0xFFFFFFFC, 0x03, One) Return (One) } Method (NVD0, 0, Serialized) { If (LEqual (NITV, Zero)) { Return (Zero) } RDCA (NCRN, 0xA4, 0xFFFFFFFC, Zero, One) RDCA (NCRN, Add (NPMV, 0x04), 0xFFFFFFFC, Zero, 0x03) CNRS () If (LEqual (NITV, 0x02)) { OperationRegion (MCRC, SystemMemory, Add (GPCB (), 0x000B833C), 0x04) Field (MCRC, AnyAcc, NoLock, Preserve) { SCSO, 8, Offset (0x02), TCSO, 8, , 7, RE, 1 } RDCA (NCRN, TCSO, 0xFFFFFFFF, And (MXIE, 0x80000000), 0x03) ADBG ("NVD0: MSIXe") } Else { } Return (One) } Method (CNRS, 0, Serialized) { Store ("[ACPI RST] Restore Remapped Device and Hidden RP context |start", Debug) ADBG (Concatenate ("CNRSs ", ToDecimalString (Timer))) If (LEqual (NITV, Zero)) { Return (Zero) } RDCA (NCRN, 0x10, Zero, Zero, 0x03) RDCA (NCRN, 0x14, Zero, Zero, 0x03) RDCA (NCRN, 0x18, Zero, Zero, 0x03) RDCA (NCRN, 0x1C, Zero, Zero, 0x03) RDCA (NCRN, 0x20, Zero, Zero, 0x03) RDCA (NCRN, 0x24, Zero, Zero, 0x03) RDCA (NCRN, PRBI, Zero, PRBD, 0x03) RDCA (NCRN, 0x04, 0xFFFFFFF8, PCMD, 0x03) If (LNotEqual (NL1V, Zero)) { RDCA (NCRN, Add (NL1V, 0x0C), 0xFFFFFF00, ND2V, 0x03) RDCA (NCRN, Add (NL1V, 0x08), 0x0F, And (ND1V, 0xFFFFFFF0), 0x03) RDCA (NCRN, Add (NL1V, 0x08), 0xFFFFFFFF, ND1V, 0x03) } If (LNotEqual (NLRV, Zero)) { RDCA (NCRN, Add (NLRV, 0x04), 0xFFFFFFFF, NLDV, 0x03) } RDCA (NCRN, Add (NPCV, 0x10), 0xFFFFFEBF, And (NEAV, 0xFFFC), 0x03) RDCA (NCRN, Add (NPCV, 0x28), 0xFFFFFBFF, NECV, 0x03) RDCA (NCRN, Add (NPCV, 0x08), 0xFFFFFF1F, NEBV, 0x03) RDCA (NCRN, 0x68, 0xFFFFFBFF, NRAV, One) If (LEqual (And (NEAV, 0x40), 0x40)) { RDCA (NCRN, 0x50, 0xFFFFFFDF, 0x20, One) ADBG (Concatenate ("CNRSw ", ToDecimalString (Timer))) While (LEqual (And (RDCA (NCRN, 0x52, Zero, Zero, Zero), 0x2000), Zero)) { Stall (0x0A) } } ADBG (Concatenate ("CNRSx ", ToDecimalString (Timer))) RDCA (NCRN, Add (NPCV, 0x10), 0xFFFFFFFC, And (NEAV, 0x03), 0x03) If (LNotEqual (NMVV, Zero)) { RDCA (NCRN, NMBV, Zero, NMVV, 0x03) } If (LNotEqual (NPVV, Zero)) { RDCA (NCRN, NPBV, Zero, NPVV, 0x03) } ADBG (Concatenate ("CNRSe ", ToDecimalString (Timer))) Store ("[ACPI RST] Restore Remapped Device and Hidden RP context |complete", Debug) } } Device (NVM3) { Name (_ADR, 0x00C3FFFF) // _ADR: Address Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (NIT3, NITV) Store (NPM3, NPMV) Store (NPC3, NPCV) Store (NL13, NL1V) Store (ND23, ND2V) Store (ND13, ND1V) Store (NLR3, NLRV) Store (NLD3, NLDV) Store (NEA3, NEAV) Store (NEB3, NEBV) Store (NEC3, NECV) Store (NRA3, NRAV) Store (NMB3, NMBV) Store (NMV3, NMVV) Store (NPB3, NPBV) Store (NPV3, NPVV) Store (NRP3, NRPN) Store (0x02, NCRN) ARPC (NRPN, RefOf (PWRG), RefOf (RSTG), RefOf (SCLK)) } Name (PRBI, Zero) Name (PRBD, Zero) Name (PCMD, Zero) Name (RSTG, Package (0x04) { Zero, Zero, Zero, Zero }) Name (PWRG, Package (0x04) { Zero, Zero, Zero, Zero }) Name (SCLK, Package (0x03) { Zero, Zero, Zero }) Name (NCRN, Zero) Name (NITV, Zero) Name (NPMV, Zero) Name (NPCV, Zero) Name (NL1V, Zero) Name (ND2V, Zero) Name (ND1V, Zero) Name (NLRV, Zero) Name (NLDV, Zero) Name (NEAV, Zero) Name (NEBV, Zero) Name (NECV, Zero) Name (NRAV, Zero) Name (NMBV, Zero) Name (NMVV, Zero) Name (NPBV, Zero) Name (NPVV, Zero) Name (NRPN, Zero) Name (MXIE, Zero) Name (ISD3, Zero) Method (RPON, 0, Serialized) { If (LEqual (ISD3, Zero)) { Return (Zero) } Store (Zero, ISD3) ADBG (Concatenate ("RPONs: ", ToHexString (NRPN))) PON (PWRG) If (LNotEqual (DerefOf (Index (SCLK, Zero)), Zero)) { PCRA (0xDC, 0x100C, Not (DerefOf (Index (SCLK, One)))) Sleep (0x10) } PON (RSTG) RDCA (NCRN, 0x0420, 0xBFFFFFFF, Zero, One) RDCA (NCRN, 0xE2, 0xFFFFFFFF, 0x08, One) Sleep (0x10) Store (Zero, Local0) While (And (RDCA (NCRN, 0xE2, Zero, Zero, Zero), 0x08)) { If (LGreater (Local0, 0x04)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0420, 0xFFFFFFFF, 0x40000000, One) Store (Zero, Local0) While (LEqual (And (RDCA (NCRN, 0x52, Zero, Zero, Zero), 0x2000), Zero)) { If (LGreater (Local0, 0x08)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0324, 0xFFFFFFF7, Zero, One) Sleep (0x07D0) NVD0 () ADBG (Concatenate ("RPONe: ", ToHexString (NRPN))) } Method (RPOF, 0, Serialized) { If (LEqual (NVD3 (), Zero)) { Return (Zero) } ADBG (Concatenate ("POFF NRPN: ", ToHexString (NRPN))) RDCA (NCRN, 0xE2, 0xFFFFFFFF, 0x04, One) Sleep (0x10) Store (Zero, Local0) While (And (RDCA (NCRN, 0xE2, Zero, Zero, Zero), 0x04)) { If (LGreater (Local0, 0x04)) { Break } Sleep (0x10) Increment (Local0) } RDCA (NCRN, 0x0324, 0xFFFFFFFF, 0x08, One) POFF (RSTG) If (LNotEqual (DerefOf (Index (SCLK, Zero)), Zero)) { PCRO (0xDC, 0x100C, DerefOf (Index (SCLK, One))) Sleep (0x10) } POFF (PWRG) RDCA (NCRN, 0x50, 0xFFFFFFFF, 0x10, One) RDCA (NCRN, 0x50, 0xFFFFFFEF, Zero, One) Store (0x03, ISD3) } Method (NVD3, 0, Serialized) { If (LEqual (NITV, Zero)) { Return (Zero) } Store (RDCA (NCRN, 0x04, Zero, Zero, 0x02), PCMD) If (LEqual (NITV, One)) { Store (0x24, PRBI) Store (RDCA (NCRN, 0x24, Zero, Zero, 0x02), PRBD) } ElseIf (LEqual (NITV, 0x02)) { Store (0x10, PRBI) Store (RDCA (NCRN, 0x10, Zero, Zero, 0x02), PRBD) OperationRegion (MCRC, SystemMemory, Add (GPCB (), 0x000B833C), 0x04) Field (MCRC, AnyAcc, NoLock, Preserve) { SCSO, 8, Offset (0x02), TCSO, 8, , 7, RE, 1 } Store (RDCA (NCRN, TCSO, Zero, Zero, 0x02), MXIE) } RDCA (NCRN, Add (NPMV, 0x04), 0xFFFFFFFC, 0x03, 0x03) RDCA (NCRN, 0xA4, 0xFFFFFFFC, 0x03, One) Return (One) } Method (NVD0, 0, Serialized) { If (LEqual (NITV, Zero)) { Return (Zero) } RDCA (NCRN, 0xA4, 0xFFFFFFFC, Zero, One) RDCA (NCRN, Add (NPMV, 0x04), 0xFFFFFFFC, Zero, 0x03) CNRS () If (LEqual (NITV, 0x02)) { OperationRegion (MCRC, SystemMemory, Add (GPCB (), 0x000B833C), 0x04) Field (MCRC, AnyAcc, NoLock, Preserve) { SCSO, 8, Offset (0x02), TCSO, 8, , 7, RE, 1 } RDCA (NCRN, TCSO, 0xFFFFFFFF, And (MXIE, 0x80000000), 0x03) ADBG ("NVD0: MSIXe") } Else { } Return (One) } Method (CNRS, 0, Serialized) { Store ("[ACPI RST] Restore Remapped Device and Hidden RP context |start", Debug) ADBG (Concatenate ("CNRSs ", ToDecimalString (Timer))) If (LEqual (NITV, Zero)) { Return (Zero) } RDCA (NCRN, 0x10, Zero, Zero, 0x03) RDCA (NCRN, 0x14, Zero, Zero, 0x03) RDCA (NCRN, 0x18, Zero, Zero, 0x03) RDCA (NCRN, 0x1C, Zero, Zero, 0x03) RDCA (NCRN, 0x20, Zero, Zero, 0x03) RDCA (NCRN, 0x24, Zero, Zero, 0x03) RDCA (NCRN, PRBI, Zero, PRBD, 0x03) RDCA (NCRN, 0x04, 0xFFFFFFF8, PCMD, 0x03) If (LNotEqual (NL1V, Zero)) { RDCA (NCRN, Add (NL1V, 0x0C), 0xFFFFFF00, ND2V, 0x03) RDCA (NCRN, Add (NL1V, 0x08), 0x0F, And (ND1V, 0xFFFFFFF0), 0x03) RDCA (NCRN, Add (NL1V, 0x08), 0xFFFFFFFF, ND1V, 0x03) } If (LNotEqual (NLRV, Zero)) { RDCA (NCRN, Add (NLRV, 0x04), 0xFFFFFFFF, NLDV, 0x03) } RDCA (NCRN, Add (NPCV, 0x10), 0xFFFFFEBF, And (NEAV, 0xFFFC), 0x03) RDCA (NCRN, Add (NPCV, 0x28), 0xFFFFFBFF, NECV, 0x03) RDCA (NCRN, Add (NPCV, 0x08), 0xFFFFFF1F, NEBV, 0x03) RDCA (NCRN, 0x68, 0xFFFFFBFF, NRAV, One) If (LEqual (And (NEAV, 0x40), 0x40)) { RDCA (NCRN, 0x50, 0xFFFFFFDF, 0x20, One) ADBG (Concatenate ("CNRSw ", ToDecimalString (Timer))) While (LEqual (And (RDCA (NCRN, 0x52, Zero, Zero, Zero), 0x2000), Zero)) { Stall (0x0A) } } ADBG (Concatenate ("CNRSx ", ToDecimalString (Timer))) RDCA (NCRN, Add (NPCV, 0x10), 0xFFFFFFFC, And (NEAV, 0x03), 0x03) If (LNotEqual (NMVV, Zero)) { RDCA (NCRN, NMBV, Zero, NMVV, 0x03) } If (LNotEqual (NPVV, Zero)) { RDCA (NCRN, NPBV, Zero, NPVV, 0x03) } ADBG (Concatenate ("CNRSe ", ToDecimalString (Timer))) Store ("[ACPI RST] Restore Remapped Device and Hidden RP context |complete", Debug) } } Method (PSTA, 1, Serialized) { If (LEqual (DerefOf (Index (Arg0, Zero)), Zero)) { Return (One) } If (LEqual (DerefOf (Index (Arg0, Zero)), One)) { If (LEqual (GGOV (DerefOf (Index (Arg0, 0x02))), DerefOf (Index (Arg0, 0x03)))) { Return (One) } Return (Zero) } If (LEqual (DerefOf (Index (Arg0, Zero)), 0x02)) { If (LEqual (^^GEXP.GEPS (DerefOf (Index (Arg0, One)), DerefOf (Index (Arg0, 0x02))), DerefOf (Index (Arg0, 0x03)))) { Return (One) } Return (Zero) } Return (Zero) } Method (PON, 1, Serialized) { If (LNotEqual (DerefOf (Index (Arg0, Zero)), Zero)) { If (LEqual (DerefOf (Index (Arg0, Zero)), One)) { ADBG (Concatenate ("PON GPIO=", ToHexString (DerefOf (Index (Arg0, 0x02))))) SGOV (DerefOf (Index (Arg0, 0x02)), DerefOf (Index (Arg0, 0x03))) } If (LEqual (DerefOf (Index (Arg0, Zero)), 0x02)) { ADBG (Concatenate ("PON IOEX=", ToHexString (DerefOf (Index (Arg0, 0x02))))) ^^GEXP.SGEP (DerefOf (Index (Arg0, One)), DerefOf (Index (Arg0, 0x02)), DerefOf (Index (Arg0, 0x03))) } } } Method (POFF, 1, Serialized) { If (LNotEqual (DerefOf (Index (Arg0, Zero)), Zero)) { If (LEqual (DerefOf (Index (Arg0, Zero)), One)) { ADBG (Concatenate ("POFF GPIO=", ToHexString (DerefOf (Index (Arg0, 0x02))))) SGOV (DerefOf (Index (Arg0, 0x02)), XOr (DerefOf (Index (Arg0, 0x03)), One)) } If (LEqual (DerefOf (Index (Arg0, Zero)), 0x02)) { ADBG (Concatenate ("POFF IOEX=", ToHexString (DerefOf (Index (Arg0, 0x02))))) ^^GEXP.SGEP (DerefOf (Index (Arg0, One)), DerefOf (Index (Arg0, 0x02)), XOr (DerefOf (Index (Arg0, 0x03)), One)) } } } } Device (CIO2) { Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (CIOE, One)) { Return (0x0F) } Else { Return (Zero) } } Name (_HID, "INT343E") // _HID: Hardware ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (CBUF, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, _Y1B) { 0x00000010, } Memory32Fixed (ReadWrite, 0xFE400000, // Address Base 0x00010000, // Address Length ) }) CreateDWordField (CBUF, \_SB.PCI0.CIO2._CRS._Y1B._INT, CIOV) // _INT: Interrupts Store (CIOI, CIOV) Return (CBUF) } } Device (TERM) { Name (_HID, "INT343D") // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (RBUF, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFE03C000, // Address Base 0x00001000, // Address Length ) Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, _Y1C) { 0x00000012, } }) CreateDWordField (RBUF, \_SB.PCI0.TERM._CRS._Y1C._INT, IRQN) // _INT: Interrupts Store (TIRQ, IRQN) Return (RBUF) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (TAEN, Zero)) { Return (Zero) } If (LEqual (TIRQ, Zero)) { Return (Zero) } Return (0x0F) } } } Scope (_SB) { Name (HDAA, Zero) Name (DISA, One) Method (DION, 0, NotSerialized) { VMMH (One, One) } Method (DIOF, 0, NotSerialized) { VMMH (One, Zero) } Method (VMMH, 2, Serialized) { If (LOr (LNot (CondRefOf (\_SB.VMON)), LNot (CondRefOf (\_SB.VMOF)))) { Return (Zero) } Switch (ToInteger (Arg0)) { Case (Zero) { Store (Arg1, HDAA) } Case (One) { Store (Arg1, DISA) } Default { Return (Zero) } } If (LNot (HDAA)) { Store (One, SLS0) Store (Zero, XSQD) VMON () } Else { VMOF () Store (DISA, SLS0) If (LNot (DISA)) { Store (One, XSQD) } Else { Store (Zero, XSQD) } } } } Scope (_SB.PCI0) { Method (LPD3, 1, Serialized) { OperationRegion (ICB1, SystemMemory, Add (Arg0, 0x84), 0x04) Field (ICB1, DWordAcc, NoLock, Preserve) { PMEC, 32 } Store (0x03, PMEC) Store (PMEC, TEMP) } Method (LPD0, 1, Serialized) { OperationRegion (ICB1, SystemMemory, Add (Arg0, 0x84), 0x04) Field (ICB1, DWordAcc, NoLock, Preserve) { PMEC, 32 } And (PMEC, 0xFFFF7FFC, PMEC) Store (PMEC, TEMP) } Method (LHRV, 1, Serialized) { OperationRegion (ICB1, SystemMemory, Add (Arg0, 0x08), 0x04) Field (ICB1, DWordAcc, NoLock, Preserve) { HRV, 8 } Return (HRV) } Method (GETD, 1, Serialized) { OperationRegion (ICB1, SystemMemory, Add (Arg0, 0x84), 0x04) Field (ICB1, DWordAcc, NoLock, Preserve) { PMEC, 32 } Return (And (PMEC, 0x03)) } Method (LCRS, 3, Serialized) { Name (RBUF, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00001000, // Address Length _Y1D) Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, _Y1E) { 0x00000014, } }) CreateDWordField (RBUF, \_SB.PCI0.LCRS._Y1D._BAS, BVAL) // _BAS: Base Address CreateDWordField (RBUF, \_SB.PCI0.LCRS._Y1D._LEN, BLEN) // _LEN: Length CreateDWordField (RBUF, \_SB.PCI0.LCRS._Y1E._INT, IRQN) // _INT: Interrupts Store (Arg1, BVAL) Store (Arg2, IRQN) If (LEqual (Arg0, 0x04)) { Store (0x08, BLEN) } Return (RBUF) } Method (LSTA, 1, Serialized) { If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, 0x03))) { Return (Zero) } If (LLess (OSYS, 0x07DC)) { Return (Zero) } Return (0x0F) } Method (GIRQ, 1, Serialized) { Return (Add (0x18, Mod (Arg0, 0x60))) } } Scope (_SB.PCI0) { Device (SIRC) { Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID Name (_STA, 0x03) // _STA: Status Name (_UID, 0x05) // _UID: Unique ID Method (ADDB, 3, Serialized) { Name (BUFF, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00001000, // Address Length _Y1F) }) CreateDWordField (BUFF, \_SB.PCI0.SIRC.ADDB._Y1F._BAS, ADDR) // _BAS: Base Address CreateDWordField (BUFF, \_SB.PCI0.SIRC.ADDB._Y1F._LEN, LENG) // _LEN: Length Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LOr (LOr (LEqual (Arg0, One), LEqual (Arg0, 0x03)), LEqual (Arg0, 0x04))) { Store (Arg2, ADDR) ConcatenateResTemplate (Local0, BUFF, Local1) Store (Local1, Local0) } If (LEqual (Arg0, 0x03)) { Store (Arg1, ADDR) ConcatenateResTemplate (Local0, BUFF, Local1) Store (Local1, Local0) } If (LEqual (Arg0, 0x04)) { Store (Add (0x08, Arg1), ADDR) Store (0x0FF8, LENG) ConcatenateResTemplate (Local0, BUFF, Local1) Store (Local1, Local0) } Return (Local0) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) ConcatenateResTemplate (Local0, ADDB (SMD0, SB00, SB10), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD1, SB01, SB11), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD2, SB02, SB12), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD3, SB03, SB13), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD4, SB04, SB14), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD5, SB05, SB15), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD6, SB06, SB16), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD7, SB07, SB17), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD8, SB08, SB18), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMD9, SB09, SB19), Local1) Store (Local1, Local0) ConcatenateResTemplate (Local0, ADDB (SMDA, SB0A, SB1A), Local1) Store (Local1, Local0) If (LEqual (^^GPI0._STA (), Zero)) { ConcatenateResTemplate (Local0, ^^GPI0._CRS (), Local1) Store (Local1, Local0) } Return (Local0) } } Device (GPI0) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LEqual (PCHV (), SPTH)) { Return ("INT345D") } Return ("INT344B") } Name (LINK, "\\_SB.PCI0.GPI0") Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (RBUF, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00010000, // Address Length _Y20) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00010000, // Address Length _Y21) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00010000, // Address Length _Y23) Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, _Y22) { 0x0000000E, } }) CreateDWordField (RBUF, \_SB.PCI0.GPI0._CRS._Y20._BAS, COM0) // _BAS: Base Address CreateDWordField (RBUF, \_SB.PCI0.GPI0._CRS._Y21._BAS, COM1) // _BAS: Base Address CreateDWordField (RBUF, \_SB.PCI0.GPI0._CRS._Y22._INT, IRQN) // _INT: Interrupts Store (Add (SBRG, 0x00AF0000), COM0) Store (Add (SBRG, 0x00AE0000), COM1) CreateDWordField (RBUF, \_SB.PCI0.GPI0._CRS._Y23._BAS, COM3) // _BAS: Base Address Store (Add (SBRG, 0x00AC0000), COM3) Store (SGIR, IRQN) Return (RBUF) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) } } } Scope (_SB.PCI0) { Device (I2C0) { Name (LINK, "\\_SB.PCI0.I2C0") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB10)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB10) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB10) } If (LNotEqual (SMD0, 0x02)) { Name (_HID, "INT3442") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB10)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD0, SB00, SIR0)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD0)) } } If (LEqual (SMD0, 0x02)) { Name (_ADR, 0x00150000) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (I2C1) { Name (LINK, "\\_SB.PCI0.I2C1") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB11)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB11) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB11) } If (LNotEqual (SMD1, 0x02)) { Name (_HID, "INT3443") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB11)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD1, SB01, SIR1)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD1)) } } If (LEqual (SMD1, 0x02)) { Name (_ADR, 0x00150001) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (I2C2) { Name (LINK, "\\_SB.PCI0.I2C2") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB12)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB12) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB12) } If (LNotEqual (SMD2, 0x02)) { Name (_HID, "INT3444") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB12)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD2, SB02, SIR2)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD2)) } } If (LEqual (SMD2, 0x02)) { Name (_ADR, 0x00150002) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (I2C3) { Name (LINK, "\\_SB.PCI0.I2C3") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB13)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB13) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB13) } If (LNotEqual (SMD3, 0x02)) { Name (_HID, "INT3445") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB13)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD3, SB03, SIR3)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD3)) } } If (LEqual (SMD3, 0x02)) { Name (_ADR, 0x00150003) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (I2C4) { Name (LINK, "\\_SB.PCI0.I2C4") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB14)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB14) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB14) } If (LNotEqual (SMD4, 0x02)) { Name (_HID, "INT3446") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB14)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD4, SB04, SIR4)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD4)) } } If (LEqual (SMD4, 0x02)) { Name (_ADR, 0x00190002) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (I2C5) { Name (LINK, "\\_SB.PCI0.I2C5") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB15)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB15) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB15) } If (LNotEqual (SMD5, 0x02)) { Name (_HID, "INT3447") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB15)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD5, SB05, SIR5)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD5)) } } If (LEqual (SMD5, 0x02)) { Name (_ADR, 0x00190001) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (SPI0) { Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB16)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB16) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB16) } If (LNotEqual (SMD6, 0x02)) { Name (_HID, "INT3440") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB16)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD6, SB06, SIR6)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD6)) } } If (LEqual (SMD6, 0x02)) { Name (_ADR, 0x001E0002) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (SPI1) { Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB17)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB17) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB17) } If (LNotEqual (SMD7, 0x02)) { Name (_HID, "INT3441") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB17)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD7, SB07, SIR7)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD7)) } } If (LEqual (SMD7, 0x02)) { Name (_ADR, 0x001E0003) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (UA00) { If (LNotEqual (SMD8, 0x02)) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LEqual (SMD8, 0x04)) { Return (0x020CD041) } Else { Return ("INT3448") } } Name (_UID, "SerialIoUart0") // _UID: Unique ID Name (_DDN, "SerialIoUart0") // _DDN: DOS Device Name Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB18)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD8, SB08, SIR8)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD8)) } } If (LEqual (SMD8, 0x02)) { Name (_ADR, 0x001E0000) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } If (LNotEqual (SMD8, 0x04)) { Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB18)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB18) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB18) } } } } Scope (_SB.PCI0) { Device (UA01) { If (LNotEqual (SMD9, 0x02)) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LEqual (SMD9, 0x04)) { Return (0x020CD041) } Else { Return ("INT3449") } } Name (_UID, "SerialIoUart1") // _UID: Unique ID Name (_DDN, "SerialIoUart1") // _DDN: DOS Device Name Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB19)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD9, SB09, SIR9)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD9)) } } If (LEqual (SMD9, 0x02)) { Name (_ADR, 0x001E0001) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } If (LNotEqual (SMD9, 0x04)) { Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB19)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB19) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB19) } } } } Scope (_SB.PCI0) { Device (UA02) { If (LNotEqual (SMDA, 0x02)) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LEqual (SMDA, 0x04)) { Return (0x020CD041) } Else { Return ("INT344A") } } Name (_UID, "SerialIoUart2") // _UID: Unique ID Name (_DDN, "SerialIoUart2") // _DDN: DOS Device Name Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB1A)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMDA, SB0A, SIRA)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMDA)) } } If (LEqual (SMDA, 0x02)) { Name (_ADR, 0x00190000) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } If (LNotEqual (SMDA, 0x04)) { Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB1A)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB1A) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB1A) } } } } Scope (_SB.PCI0) { Name (HIDG, ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */) Name (TP7G, ToUUID ("ef87eb82-f951-46da-84ec-14871ac6f84b")) Method (HIDD, 5, Serialized) { If (LEqual (Arg0, HIDG)) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, One)) { Return (Buffer (One) { 0x03 }) } } If (LEqual (Arg2, One)) { Return (Arg4) } } Return (Buffer (One) { 0x00 }) } Method (TP7D, 6, Serialized) { If (LEqual (Arg0, TP7G)) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, One)) { Return (Buffer (One) { 0x03 }) } } If (LEqual (Arg2, One)) { Return (ConcatenateResTemplate (Arg4, Arg5)) } } Return (Buffer (One) { 0x00 }) } } Scope (_SB.PCI0.I2C0) { Device (TPD0) { Name (HID2, Zero) Name (SBFB, ResourceTemplate () { I2cSerialBusV2 (0x0020, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C0", 0x00, ResourceConsumer, _Y24, Exclusive, ) }) Name (SBFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y25) { 0x00000000, } }) Name (SBFG, ResourceTemplate () { GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault, 0x0000, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } }) CreateWordField (SBFB, \_SB.PCI0.I2C0.TPD0._Y24._ADR, BADR) // _ADR: Address CreateDWordField (SBFB, \_SB.PCI0.I2C0.TPD0._Y24._SPE, SPED) // _SPE: Speed CreateWordField (SBFG, 0x17, INT1) CreateDWordField (SBFI, \_SB.PCI0.I2C0.TPD0._Y25._INT, INT2) // _INT: Interrupts Method (_INI, 0, NotSerialized) // _INI: Initialize { If (LLess (OSYS, 0x07DC)) { SRXO (GPDI, One) } Store (GNUM (GPDI), INT1) Store (INUM (GPDI), INT2) If (LEqual (SDM0, Zero)) { SHPO (GPDI, One) } If (LEqual (SDS0, One)) { Store ("SYNA2393", _HID) Store (0x20, HID2) Return (Zero) } If (LEqual (SDS0, 0x02)) { Store ("06CB2846", _HID) Store (0x20, HID2) Return (Zero) } If (LEqual (SDS0, 0x05)) { If (LEqual (ELAN, One)) { Store ("ELAN1200", _HID) Store (One, HID2) Store (0x15, BADR) Store (0x00061A80, SPED) } ElseIf (LEqual (AWTP, One)) { Store ("FTE1200", _HID) Store (One, HID2) Store (0x15, BADR) Store (0x00061A80, SPED) } Else { } Return (Zero) } } Name (_HID, "XXXX0000") // _HID: Hardware ID Name (_CID, "PNP0C50") // _CID: Compatible ID Name (_S0W, 0x03) // _S0W: S0 Device Wake State Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, HIDG)) { Return (HIDD (Arg0, Arg1, Arg2, Arg3, HID2)) } If (LEqual (Arg0, TP7G)) { Return (TP7D (Arg0, Arg1, Arg2, Arg3, SBFB, SBFG)) } Return (Buffer (One) { 0x00 }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LOr (LEqual (SDS0, 0x05), LOr (LEqual (SDS0, One), LEqual (SDS0, 0x02)))) { Return (0x0F) } Return (Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { If (LLess (OSYS, 0x07DC)) { Return (SBFI) } If (LEqual (SDM0, Zero)) { Return (ConcatenateResTemplate (SBFB, SBFG)) } Return (ConcatenateResTemplate (SBFB, SBFI)) } } Device (HDAC) { Name (_HID, "INT0000") // _HID: Hardware ID Name (_CID, "INT0000") // _CID: Compatible ID Name (_DDN, "Intel(R) Smart Sound Technology Audio Codec") // _DDN: DOS Device Name Name (_UID, One) // _UID: Unique ID Name (CADR, Zero) Method (_INI, 0, NotSerialized) // _INI: Initialize { If (LOr (LEqual (I2SC, One), LEqual (I2SC, 0x02))) { Store ("INT343A", _HID) Store ("INT343A", _CID) Store (0x1C, CADR) Return (Zero) } If (LEqual (I2SC, 0x03)) { Store ("INT343B", _HID) Store ("INT343B", _CID) Store (0x34, CADR) Return (Zero) } } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBFB, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C0", 0x00, ResourceConsumer, _Y26, Exclusive, ) }) Name (SBFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y27) { 0x00000000, } }) CreateWordField (SBFB, \_SB.PCI0.I2C0.HDAC._CRS._Y26._ADR, ADR) // _ADR: Address Store (CADR, ADR) CreateDWordField (SBFI, \_SB.PCI0.I2C0.HDAC._CRS._Y27._INT, AINT) // _INT: Interrupts Store (INUM (0x02040016), AINT) If (LEqual (HAID, One)) { Return (SBFB) } Return (ConcatenateResTemplate (SBFB, SBFI)) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LNotEqual (I2SC, Zero)) { Return (0x0F) } Return (Zero) } } Device (UCM1) { Name (_HID, "INT3515") // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBFB, ResourceTemplate () { I2cSerialBusV2 (0x0038, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C0", 0x00, ResourceConsumer, , Exclusive, ) }) Name (SBFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y28) { 0x00000000, } }) CreateDWordField (SBFI, \_SB.PCI0.I2C0.UCM1._CRS._Y28._INT, GINT) // _INT: Interrupts Store (INUM (UCG1), GINT) Return (ConcatenateResTemplate (SBFB, SBFI)) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (UCSI, One)) { Return (0x0F) } Else { Return (Zero) } } } Device (UCM2) { Name (_HID, "INT3515") // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBFB, ResourceTemplate () { I2cSerialBusV2 (0x003F, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C0", 0x00, ResourceConsumer, , Exclusive, ) }) Name (SBFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y29) { 0x00000000, } }) CreateDWordField (SBFI, \_SB.PCI0.I2C0.UCM2._CRS._Y29._INT, GINT) // _INT: Interrupts Store (INUM (UCG2), GINT) Return (ConcatenateResTemplate (SBFB, SBFI)) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (UCSI, One)) { Return (0x0F) } Else { Return (Zero) } } } } Scope (_SB.PCI0.I2C1) { Device (TPL1) { Name (HID2, Zero) Name (SBFB, ResourceTemplate () { I2cSerialBusV2 (0x004C, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C1", 0x00, ResourceConsumer, _Y2A, Exclusive, ) }) Name (SBFG, ResourceTemplate () { GpioInt (Level, ActiveLow, Exclusive, PullDefault, 0x0000, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } }) Name (SBFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y2B) { 0x00000000, } }) CreateWordField (SBFB, \_SB.PCI0.I2C1.TPL1._Y2A._ADR, BADR) // _ADR: Address CreateDWordField (SBFB, \_SB.PCI0.I2C1.TPL1._Y2A._SPE, SPED) // _SPE: Speed CreateDWordField (SBFI, \_SB.PCI0.I2C1.TPL1._Y2B._INT, INT2) // _INT: Interrupts CreateWordField (SBFG, 0x17, INT1) Method (_INI, 0, NotSerialized) // _INI: Initialize { If (LLess (OSYS, 0x07DC)) { SRXO (GPLI, One) } Store (GNUM (GPLI), INT1) Store (INUM (GPLI), INT2) If (LEqual (SDM1, Zero)) { SHPO (GPLI, One) } If (LEqual (SDS1, One)) { Store ("ATML3432", _HID) Store (Zero, HID2) Store (0x4C, BADR) Store (0x00061A80, SPED) Return (Zero) } If (LEqual (SDS1, 0x02)) { Store ("ATML2952", _HID) Store (Zero, HID2) Store (0x4A, BADR) Store (0x00061A80, SPED) Return (Zero) } If (LEqual (SDS1, 0x03)) { Store ("ELAN2097", _HID) Store (One, HID2) Store (0x10, BADR) Store (0x00061A80, SPED) Return (Zero) } If (LEqual (SDS1, 0x04)) { Store ("NTRG0001", _HID) Store (One, HID2) Store (0x07, BADR) Store (0x00061A80, SPED) Return (Zero) } If (LEqual (SDS1, 0x05)) { Store ("NTRG0002", _HID) Store (One, HID2) Store (0x64, BADR) Store (0x00061A80, SPED) Return (Zero) } If (LEqual (SDS1, 0x06)) { Store ("WCOM508E", _HID) Store (One, HID2) Store (0x0A, BADR) If (LEqual (TPLS, Zero)) { Store (0x00061A80, SPED) } If (LEqual (TPLS, One)) { Store (0x000F4240, SPED) } Return (Zero) } If (LEqual (SDS1, 0x07)) { Store ("CUST0000", _HID) Store (TPLH, HID2) Store (TPLB, BADR) If (LEqual (TPLS, Zero)) { Store (0x000186A0, SPED) } If (LEqual (TPLS, One)) { Store (0x00061A80, SPED) } If (LEqual (TPLS, 0x02)) { Store (0x000F4240, SPED) } Return (Zero) } } Name (_HID, "XXXX0000") // _HID: Hardware ID Name (_CID, "PNP0C50") // _CID: Compatible ID Name (_S0W, 0x04) // _S0W: S0 Device Wake State Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, HIDG)) { Return (HIDD (Arg0, Arg1, Arg2, Arg3, HID2)) } If (LEqual (Arg0, TP7G)) { Return (TP7D (Arg0, Arg1, Arg2, Arg3, SBFB, SBFG)) } Return (Buffer (One) { 0x00 }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LNotEqual (SDS1, Zero)) { Return (0x0F) } Return (Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { If (LLess (OSYS, 0x07DC)) { Return (SBFI) } If (LEqual (SDM1, Zero)) { Return (ConcatenateResTemplate (SBFB, SBFG)) } Return (ConcatenateResTemplate (SBFB, SBFI)) } } Device (IMP3) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "IMPJ0003") // _HID: Hardware ID Name (_CID, "IMPJ0003") // _CID: Compatible ID Name (_UID, One) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (HAID, One)) { Return (0x0F) } Return (Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBUF, ResourceTemplate () { I2cSerialBusV2 (0x006E, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C1", 0x00, ResourceConsumer, , Exclusive, ) }) Return (SBUF) } } } Scope (_SB.PCI0.SPI1) { Device (FPNT) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LEqual (SDS7, One)) { Return ("FPC1011") } If (LEqual (SDS7, 0x02)) { Return ("FPC1020") } If (LEqual (SDS7, 0x03)) { Return ("VFSI6101") } If (LEqual (SDS7, 0x04)) { Return ("VFSI7500") } If (LEqual (SDS7, 0x05)) { Return ("EGIS0300") } If (LEqual (SDS7, 0x06)) { Return ("FPC1021") } Return ("FPNT_DIS") } Method (_INI, 0, NotSerialized) // _INI: Initialize { SHPO (GFPI, One) SHPO (GFPS, One) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LNotEqual (SDS7, Zero)) { Return (0x0F) } Return (Zero) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (BBUF, ResourceTemplate () { SpiSerialBusV2 (0x0000, PolarityLow, FourWireMode, 0x08, ControllerInitiated, 0x00989680, ClockPolarityLow, ClockPhaseFirst, "\\_SB.PCI0.SPI1", 0x00, ResourceConsumer, _Y2C, Exclusive, ) GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0008 } }) Name (IBUF, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y2D) { 0x00000000, } }) Name (GBUF, ResourceTemplate () { GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault, 0x0000, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, _Y2E, ) { // Pin list 0x0000 } }) Name (UBUF, ResourceTemplate () { GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionInputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } }) CreateDWordField (BBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2C._SPE, SPEX) // _SPE: Speed CreateByteField (BBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2C._PHA, PHAX) // _PHA: Clock Phase CreateWordField (BBUF, 0x3B, SPIN) CreateWordField (GBUF, 0x17, GPIN) CreateDWordField (IBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2D._INT, IPIN) // _INT: Interrupts CreateBitField (IBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2D._LL, ILVL) // _LL_: Low Level CreateBitField (IBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2D._HE, ITRG) // _HE_: High-Edge CreateField (GBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2E._POL, 0x02, GLVL) // _POL: Polarity CreateBitField (GBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2E._MOD, GTRG) // _MOD: Mode CreateBitField (BBUF, \_SB.PCI0.SPI1.FPNT._CRS._Y2C._DPL, SCSP) // _DPL: Device Selection Polarity CreateWordField (UBUF, 0x17, UPIN) Store (GNUM (GFPS), SPIN) Store (GNUM (GFPI), GPIN) Store (INUM (GFPI), IPIN) Store (GNUM (GFPI), UPIN) If (LOr (LEqual (SDS7, 0x02), LEqual (SDS7, 0x06))) { Store (Zero, ILVL) Store (One, ITRG) Store (Zero, GLVL) Store (One, GTRG) } If (LEqual (SDS7, 0x04)) { Store (Zero, ILVL) Store (One, ITRG) } Switch (ToInteger (SDS7)) { Case (One) { Store (0x00989680, SPEX) Store (Zero, PHAX) } Case (0x02) { Store (0x002DC6C0, SPEX) Store (Zero, PHAX) } Case (0x03) { Store (0x007A1200, SPEX) Store (One, PHAX) } Case (0x04) { Store (0x007A1200, SPEX) Store (Zero, PHAX) } Case (0x05) { Store (0x00F42400, SPEX) Store (Zero, PHAX) } Case (0x06) { Store (0x002DC6C0, SPEX) Store (Zero, PHAX) } Default { } } If (LEqual (SDS7, One)) { Return (BBUF) } If (LAnd (LEqual (SDS7, 0x04), LEqual (SDM7, Zero))) { Return (ConcatenateResTemplate (BBUF, ConcatenateResTemplate (UBUF, GBUF))) } If (LAnd (LEqual (SDS7, 0x04), LNotEqual (SDM7, Zero))) { Return (ConcatenateResTemplate (BBUF, ConcatenateResTemplate (UBUF, IBUF))) } If (LEqual (SDM7, Zero)) { Return (ConcatenateResTemplate (BBUF, GBUF)) } Return (ConcatenateResTemplate (BBUF, IBUF)) } } } Scope (_SB.PCI0.UA00) { Device (BTH0) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LEqual (SDS8, One)) { Return ("INT33E1") } If (LEqual (SDS8, 0x02)) { Return ("BCM2E40") } Return ("INT33E1") } Method (_INI, 0, NotSerialized) // _INI: Initialize { SHPO (GBTI, One) SHPO (GBTW, One) SHPO (GBTK, One) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBFG, ResourceTemplate () { UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne, 0xC0, LittleEndian, ParityTypeNone, FlowControlHardware, 0x0020, 0x0020, "\\_SB.PCI0.UA00", 0x00, ResourceConsumer, , Exclusive, ) GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullDefault, 0x0000, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } }) CreateWordField (SBFG, 0x8C, INT3) CreateWordField (SBFG, 0x3C, WAK3) CreateWordField (SBFG, 0x64, KIL3) Store (GNUM (GBTI), INT3) Store (GNUM (GBTW), WAK3) Store (GNUM (GBTK), KIL3) Name (SBFI, ResourceTemplate () { UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne, 0xC0, LittleEndian, ParityTypeNone, FlowControlHardware, 0x0020, 0x0020, "\\_SB.PCI0.UA00", 0x00, ResourceConsumer, , Exclusive, ) GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } Interrupt (ResourceConsumer, Edge, ActiveLow, ExclusiveAndWake, ,, _Y2F) { 0x00000000, } }) CreateDWordField (SBFI, \_SB.PCI0.UA00.BTH0._CRS._Y2F._INT, INT4) // _INT: Interrupts CreateWordField (SBFI, 0x3C, WAK4) CreateWordField (SBFI, 0x64, KIL4) Store (INUM (GBTI), INT4) Store (GNUM (GBTW), WAK4) Store (GNUM (GBTK), KIL4) If (LEqual (SDM8, Zero)) { Return (SBFG) } Else { Return (SBFI) } } Method (_STA, 0, NotSerialized) // _STA: Status { If (LNotEqual (SDS8, Zero)) { Return (0x0F) } Return (Zero) } Name (_S0W, 0x02) // _S0W: S0 Device Wake State } } Scope (_SB.PCI0) { Device (GNSS) { Name (_HID, "INT33A2") // _HID: Hardware ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (BUF1, ResourceTemplate () { UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne, 0xC0, LittleEndian, ParityTypeNone, FlowControlHardware, 0x0040, 0x0040, "\\_SB.PCI0.UA01", 0x00, ResourceConsumer, , Exclusive, ) }) Name (BUF2, ResourceTemplate () { GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } }) CreateWordField (BUF2, 0x17, RPIN) Store (GNUM (GGNR), RPIN) If (LEqual (GNSC, One)) { Return (ConcatenateResTemplate (BUF1, BUF2)) } Else { Return (BUF2) } } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (GNSC, Zero)) { Return (Zero) } Return (0x0F) } } } Scope (_SB.PCI0) { Device (GEXP) { Name (_ADR, One) // _ADR: Address Name (_STA, 0x0B) // _STA: Status OperationRegion (BAR0, SystemMemory, SB04, 0x0208) Field (BAR0, DWordAcc, NoLock, Preserve) { ICON, 32, TAR, 32, Offset (0x10), DATA, 32, HCNT, 32, LCNT, 32, Offset (0x2C), , 5, ABRT, 1, Offset (0x40), RBCK, 32, Offset (0x54), CLR, 32, Offset (0x6C), ENB, 1, Offset (0x70), ACTV, 1, TFNF, 1, , 1, RFNE, 1, Offset (0x7C), HOLD, 32, Offset (0x9C), ENSB, 1, Offset (0x204), RST, 32 } Method (SGEP, 3, Serialized) { CSER (GEXN, Arg0, Arg1, Arg2, Zero) } Method (SGED, 3, Serialized) { CSER (GEXN, Arg0, Arg1, Arg2, One) } Method (GEPS, 2, Serialized) { Return (CSER (GEXN, Arg0, Arg1, Zero, 0x02)) } Method (SGEI, 3, Serialized) { CSER (GEXN, Arg0, Arg1, Arg2, 0x03) } Method (INVC, 0, NotSerialized) { Store (Zero, Local0) While (LLess (Local0, 0x10)) { If (LEqual (R3DC (Zero, Local0, Zero), 0x02)) { W3DC (Zero, Local0, Zero, One) } If (LEqual (R3DC (One, Local0, Zero), 0x02)) { W3DC (One, Local0, Zero, One) } Add (Local0, One, Local0) } } Name (PPR, 0x08) Name (INR, Package (0x03) { Zero, One, 0x02 }) Name (OUTR, Package (0x03) { 0x04, 0x05, 0x06 }) Name (CFGR, Package (0x03) { 0x0C, 0x0D, 0x0E }) Name (POLR, Package (0x03) { 0x08, 0x09, 0x0A }) Name (EXPA, 0x22) Name (UCCH, One) Name (END, 0x0200) Name (READ, 0x0100) Name (TEMP, Zero) Name (CACH, Package (0x02) { Package (0x10) { Package (0x02) { Zero, Zero }, Package (0x02) { Zero, Zero }, Package (0x02) { Zero, Zero }, Package (0x02) { 0x03, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { 0x03, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { 0x03, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { 0x03, Zero } }, Package (0x10) { Package (0x02) { Zero, Zero }, Package (0x02) { Zero, Zero }, Package (0x02) { Zero, Zero }, Package (0x02) { 0x03, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { 0x03, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { 0x03, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { One, Zero }, Package (0x02) { 0x03, Zero } } }) Method (W3DC, 4, NotSerialized) { Store (Arg3, Index (DerefOf (Index (DerefOf (Index (CACH, Arg0)), Arg1)), Arg2)) } Method (R3DC, 3, NotSerialized) { Return (DerefOf (Index (DerefOf (Index (DerefOf (Index (CACH, Arg0)), Arg1)), Arg2))) } Method (WREG, 4, Serialized) { Store (Add (Timer, 0xC350), Local1) Store (0x07, RST) Store (Zero, ENB) Store (RBCK, TEMP) Store (CLR, TEMP) Store (0x001C001C, HOLD) Store (0x0210, HCNT) Store (0x0280, LCNT) Store (Add (EXPA, Arg1), TAR) Store (0x65, ICON) Store (One, ENB) While (LNotEqual (ENSB, One)) { If (LGreater (Timer, Local1)) { Return (Zero) } } Store (Arg2, DATA) Store (Add (END, Arg3), DATA) While (LNotEqual (ACTV, Zero)) { If (LGreater (Timer, Local1)) { Return (Zero) } } Store (Zero, ENB) While (LNotEqual (ENSB, Zero)) { If (LGreater (Timer, Local1)) { Return (Zero) } } W3DC (Arg1, Arg2, One, Arg3) If (LEqual (R3DC (Arg1, Arg2, Zero), One)) { W3DC (Arg1, Arg2, Zero, 0x02) } Return (Zero) } Method (RREG, 3, Serialized) { If (LEqual (UCCH, One)) { If (LEqual (R3DC (Arg1, Arg2, Zero), 0x02)) { Return (R3DC (Arg1, Arg2, One)) } } Store (Add (Timer, 0xC350), Local1) Store (0x07, RST) Store (Zero, ENB) Store (RBCK, TEMP) Store (CLR, TEMP) Store (0x001C001C, HOLD) Store (0x0210, HCNT) Store (0x0280, LCNT) Store (Add (EXPA, Arg1), TAR) Store (0x65, ICON) Store (One, ENB) While (LNotEqual (ENSB, One)) { If (LGreater (Timer, Local1)) { Return (Zero) } } Store (Arg2, DATA) Store (Add (END, READ), DATA) While (LNotEqual (ACTV, Zero)) { If (LGreater (Timer, Local1)) { Return (Zero) } } Store (DATA, Local0) Store (Zero, ENB) While (LNotEqual (ENSB, Zero)) { If (LGreater (Timer, Local1)) { Return (Zero) } } Return (Local0) } Method (PS0, 1, Serialized) { OperationRegion (BAR1, SystemMemory, Arg0, 0x88) Field (BAR1, DWordAcc, NoLock, Preserve) { Offset (0x84), D0D3, 2 } Store (Zero, D0D3) Store (D0D3, TEMP) } Method (PS3, 1, Serialized) { OperationRegion (BAR1, SystemMemory, Arg0, 0x88) Field (BAR1, DWordAcc, NoLock, Preserve) { Offset (0x84), D0D3, 2 } Store (0x03, D0D3) Store (D0D3, TEMP) } Method (CSER, 5, Serialized) { Name (SB1X, Zero) Name (SB0X, Zero) Name (SMDX, Zero) Name (PINN, Zero) Name (REGN, Zero) Name (REGA, Zero) Name (OLDV, Zero) Name (NEWV, Zero) Name (RETV, Zero) If (LGreater (Arg0, 0x05)) { Return (Zero) } If (LEqual (Arg0, Zero)) { Store (SB10, SB1X) Store (SB00, SB0X) Store (SMD0, SMDX) } If (LEqual (Arg0, One)) { Store (SB11, SB1X) Store (SB01, SB0X) Store (SMD1, SMDX) } If (LEqual (Arg0, 0x02)) { Store (SB12, SB1X) Store (SB02, SB0X) Store (SMD2, SMDX) } If (LEqual (Arg0, 0x03)) { Store (SB13, SB1X) Store (SB03, SB0X) Store (SMD3, SMDX) } If (LEqual (Arg0, 0x04)) { Store (SB14, SB1X) Store (SB04, SB0X) Store (SMD4, SMDX) } If (LEqual (Arg0, 0x05)) { Store (SB15, SB1X) Store (SB05, SB0X) Store (SMD5, SMDX) } If (LGreater (Arg0, 0x05)) { Return (Zero) } If (LGreater (Arg1, One)) { Return (Zero) } If (LGreater (Arg2, 0x17)) { Return (Zero) } If (LGreater (Arg3, One)) { Return (Zero) } If (LGreater (Arg4, 0x02)) { Return (Zero) } If (LNotEqual (SMDX, 0x03)) { Return (Zero) } If (LEqual (Arg4, Zero)) { Store (OUTR, Local0) } If (LEqual (Arg4, One)) { Store (CFGR, Local0) } If (LEqual (Arg4, 0x02)) { Store (INR, Local0) } If (LEqual (Arg4, 0x03)) { Store (POLR, Local0) } PS0 (SB1X) Divide (Arg2, PPR, PINN, REGN) Store (DerefOf (Index (Local0, REGN)), REGA) Store (RREG (SB0X, Arg1, REGA), OLDV) If (LEqual (Arg4, 0x02)) { Store (And (One, ShiftRight (OLDV, PINN)), RETV) } Else { And (OLDV, Not (ShiftLeft (One, PINN)), NEWV) Or (ShiftLeft (Arg3, PINN), NEWV, NEWV) If (LNotEqual (NEWV, OLDV)) { WREG (SB0X, Arg1, REGA, NEWV) } } PS3 (SB1X) Return (RETV) } } } If (LEqual (PCHV (), SPTL)) { Scope (_SB.PCI0) { Device (PEMC) { Name (_ADR, 0x001E0004) // _ADR: Address OperationRegion (SCSR, PCI_Config, Zero, 0x0100) Field (SCSR, WordAcc, NoLock, Preserve) { Offset (0x84), PSTA, 32, Offset (0xA2), , 2, PGEN, 1 } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { Store (Zero, PGEN) PCRA (0xC0, 0x0600, 0x7FFFFFBA) Sleep (0x02) PCRO (0xC0, 0x0600, 0x80000045) And (PSTA, 0xFFFFFFFC, PSTA) Store (PSTA, TEMP) } Method (_PS3, 0, Serialized) // _PS3: Power State 3 { Store (One, PGEN) Or (PSTA, 0x03, PSTA) Store (PSTA, TEMP) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } ADBG (Concatenate ("EMH4=", ToDecimalString (EMH4))) If (LEqual (Arg0, ToUUID ("f6c13ea5-65cd-461f-ab7a-29f7e8d5bd61"))) { If (LEqual (Arg1, Zero)) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (EMH4, One)) { Return (Buffer (One) { 0x61 }) } Return (Buffer (One) { 0x21 }) } Case (0x05) { Return (Buffer (One) { 0x03 }) } Case (0x06) { Return (Buffer (One) { 0x05 }) } } } } Return (Buffer (One) { 0x00 }) } Device (CARD) { Name (_ADR, 0x08) // _ADR: Address Method (_RMV, 0, NotSerialized) // _RMV: Removal Status { Return (Zero) } } } Device (PSDC) { Name (_ADR, 0x001E0006) // _ADR: Address OperationRegion (SCSR, PCI_Config, Zero, 0x0100) Field (SCSR, WordAcc, NoLock, Preserve) { Offset (0x84), PSTA, 32, Offset (0xA2), , 2, PGEN, 1 } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { Store (Zero, PGEN) PCRA (0xC0, 0x0600, 0xFFFFFE7A) Sleep (0x02) PCRO (0xC0, 0x0600, 0x0185) And (PSTA, 0xFFFFFFFC, PSTA) Store (PSTA, TEMP) } Method (_PS3, 0, Serialized) // _PS3: Power State 3 { Store (One, PGEN) Or (PSTA, 0x03, PSTA) Store (PSTA, TEMP) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("f6c13ea5-65cd-461f-ab7a-29f7e8d5bd61"))) { If (LEqual (Arg1, Zero)) { Switch (ToInteger (Arg2)) { Case (Zero) { Return (Buffer (One) { 0x19 }) } Case (0x03) { Sleep (0x64) Return (Buffer (One) { 0x00 }) } Case (0x04) { Sleep (0x64) Return (Buffer (One) { 0x00 }) } } } } Return (Buffer (One) { 0x00 }) } } } } Scope (_SB.PCI0) { Device (ISHD) { Name (_ADR, 0x00130000) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } Scope (_SB.PCI0) { Device (HECI) { Name (_ADR, 0x00160000) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Zero) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) P8XH (Zero, 0x5D) } } Case (0x02) { } Case (0x03) { } } Return (Zero) } Else { Return (Zero) } } Else { Return (Buffer (One) { 0x00 }) } Return (Buffer (One) { 0x00 }) } } } Name (ECUP, One) Mutex (EHLD, 0x00) Scope (\) { Device (CHUB) { Name (_HID, EisaId ("INT339B")) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (CHEN, One)) { Return (0x0F) } Return (Zero) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LGreaterEqual (ToInteger (Arg1), Zero)) { Switch (ToInteger (Arg2)) { Case (Zero) { Return (Buffer (One) { 0x03 }) } Case (One) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } } } } Return (Zero) } Return (Zero) } Return (Buffer (One) { 0x00 }) } } } Scope (_SB) { OperationRegion (ITSS, SystemMemory, 0xFDC43100, 0x0208) Field (ITSS, ByteAcc, NoLock, Preserve) { PARC, 8, PBRC, 8, PCRC, 8, PDRC, 8, PERC, 8, PFRC, 8, PGRC, 8, PHRC, 8, Offset (0x200), , 1, , 1, SCGE, 1 } } Mutex (MUTX, 0x00) OperationRegion (PRT0, SystemIO, 0x80, 0x04) Field (PRT0, DWordAcc, Lock, Preserve) { P80H, 32 } Method (D8XH, 2, Serialized) { If (LEqual (Arg0, Zero)) { Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D) } If (LEqual (Arg0, One)) { Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08)), P80D) } If (LEqual (Arg0, 0x02)) { Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10)), P80D) } If (LEqual (Arg0, 0x03)) { Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18)), P80D) } Store (P80D, P80H) } Method (P8XH, 2, Serialized) { If (CondRefOf (MDBG)) { D8XH (Arg0, Arg1) } } Method (ADBG, 1, Serialized) { If (CondRefOf (MDBG)) { Return (MDBG (Arg0)) } Return (Zero) } OperationRegion (SPRT, SystemIO, 0xB2, 0x02) Field (SPRT, ByteAcc, Lock, Preserve) { SSMP, 8 } Name (WAKP, Package (0x02) { Zero, Zero }) Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model { Store (Arg0, GPIC) Store (Arg0, PICM) } Method (RPTS, 1, NotSerialized) { Store (Zero, P80D) D8XH (Zero, Arg0) ADBG (Concatenate ("_PTS=", ToHexString (Arg0))) If (LEqual (Arg0, 0x03)) { If (CondRefOf (\_PR.DTSE)) { If (LAnd (\_PR.DTSE, LGreater (TCNT, One))) { TRAP (0x02, 0x1E) } } } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.PB10), ECON)) { If (\_SB.PCI0.LPCB.H_EC.ECAV) { If (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.PB10))) { Or (PB1E, 0x80, PB1E) } Else { And (PB1E, 0x7F, PB1E) } } } } If (LEqual (IVCM, One)) { \_SB.SGOV (0x02040000, Zero) \_SB.SGOV (0x02010002, Zero) } If (CondRefOf (\_SB.TPM.PTS)) { \_SB.TPM.PTS (Arg0) } If (LOr (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)), LEqual (Arg0, 0x05))) { If (LEqual (PFLV, 0x02)) { \_SB.SGOV (0x02010003, One) } } } Method (RWAK, 1, Serialized) { D8XH (One, 0xAB) ADBG ("_WAK") \_SB.PCI0.GEXP.INVC () If (LEqual (S0ID, One)) { Store (One, \_SB.SCGE) } If (NEXP) { If (And (OSCC, 0x02)) { \_SB.PCI0.NHPG () } If (And (OSCC, 0x04)) { \_SB.PCI0.NPME () } } If (LEqual (Arg0, 0x03)) { If (LEqual (Zero, ACTT)) { If (LEqual (ECON, One)) { \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.CFAN)) } } } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.PB10), ECON)) { If (And (PB1E, 0x80)) { \_SB.PCI0.LPCB.H_EC.ECWT (One, RefOf (\_SB.PCI0.LPCB.H_EC.PB10)) } } If (And (GBSX, 0x40)) { \_SB.PCI0.GFX0.IUEH (0x06) } If (And (GBSX, 0x80)) { \_SB.PCI0.GFX0.IUEH (0x07) } If (CondRefOf (\_PR.DTSE)) { If (LAnd (\_PR.DTSE, LGreater (TCNT, One))) { TRAP (0x02, 0x14) } } If (LNotEqual (\_SB.PCI0.RP01.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP01, Zero) } If (LNotEqual (\_SB.PCI0.RP02.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP02, Zero) } If (LNotEqual (\_SB.PCI0.RP03.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP03, Zero) } If (LNotEqual (\_SB.PCI0.RP04.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP04, Zero) } If (LNotEqual (\_SB.PCI0.RP05.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP05, Zero) } If (LNotEqual (\_SB.PCI0.RP06.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP06, Zero) } If (LNotEqual (\_SB.PCI0.RP07.VDID, 0xFFFFFFFF)) { If (LEqual (DSTS, Zero)) { Notify (\_SB.PCI0.RP07, Zero) } } If (LNotEqual (\_SB.PCI0.RP08.VDID, 0xFFFFFFFF)) { If (LEqual (DSTS, Zero)) { Notify (\_SB.PCI0.RP08, Zero) } } If (LNotEqual (\_SB.PCI0.RP09.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP09, Zero) } If (LNotEqual (\_SB.PCI0.RP10.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP10, Zero) } If (LNotEqual (\_SB.PCI0.RP11.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP11, Zero) } If (LNotEqual (\_SB.PCI0.RP12.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP12, Zero) } If (LNotEqual (\_SB.PCI0.RP13.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP13, Zero) } If (LNotEqual (\_SB.PCI0.RP14.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP14, Zero) } If (LNotEqual (\_SB.PCI0.RP15.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP15, Zero) } If (LNotEqual (\_SB.PCI0.RP16.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP16, Zero) } If (LNotEqual (\_SB.PCI0.RP17.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP17, Zero) } If (LNotEqual (\_SB.PCI0.RP18.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP18, Zero) } If (LNotEqual (\_SB.PCI0.RP19.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP19, Zero) } If (LNotEqual (\_SB.PCI0.RP20.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP20, Zero) } If (LNotEqual (\_SB.PCI0.RP21.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP21, Zero) } If (LNotEqual (\_SB.PCI0.RP22.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP22, Zero) } If (LNotEqual (\_SB.PCI0.RP23.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP23, Zero) } If (LNotEqual (\_SB.PCI0.RP24.VDID, 0xFFFFFFFF)) { Notify (\_SB.PCI0.RP24, Zero) } If (CondRefOf (\_SB.VMEN)) { Store (0xFF, \_SB.VMEN) } } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (LEqual (\_SB.PWRB.PBST, One)) { If (PBSS) { Notify (\_SB.PWRB, 0x02) Store (One, PBSS) } } } Return (Package (0x02) { Zero, Zero }) } Method (GETB, 3, Serialized) { Multiply (Arg0, 0x08, Local0) Multiply (Arg1, 0x08, Local1) CreateField (Arg2, Local0, Local1, TBF3) Return (TBF3) } Method (PNOT, 0, Serialized) { If (LGreater (TCNT, One)) { If (And (PDC0, 0x08)) { Notify (\_PR.CPU0, 0x80) } If (And (PDC1, 0x08)) { Notify (\_PR.CPU1, 0x80) } If (And (PDC2, 0x08)) { Notify (\_PR.CPU2, 0x80) } If (And (PDC3, 0x08)) { Notify (\_PR.CPU3, 0x80) } If (And (PDC4, 0x08)) { Notify (\_PR.CPU4, 0x80) } If (And (PDC5, 0x08)) { Notify (\_PR.CPU5, 0x80) } If (And (PDC6, 0x08)) { Notify (\_PR.CPU6, 0x80) } If (And (PDC7, 0x08)) { Notify (\_PR.CPU7, 0x80) } } Else { Notify (\_PR.CPU0, 0x80) } If (LGreater (TCNT, One)) { If (LAnd (And (PDC0, 0x08), And (PDC0, 0x10))) { Notify (\_PR.CPU0, 0x81) } If (LAnd (And (PDC1, 0x08), And (PDC1, 0x10))) { Notify (\_PR.CPU1, 0x81) } If (LAnd (And (PDC2, 0x08), And (PDC2, 0x10))) { Notify (\_PR.CPU2, 0x81) } If (LAnd (And (PDC3, 0x08), And (PDC3, 0x10))) { Notify (\_PR.CPU3, 0x81) } If (LAnd (And (PDC4, 0x08), And (PDC4, 0x10))) { Notify (\_PR.CPU4, 0x81) } If (LAnd (And (PDC5, 0x08), And (PDC5, 0x10))) { Notify (\_PR.CPU5, 0x81) } If (LAnd (And (PDC6, 0x08), And (PDC6, 0x10))) { Notify (\_PR.CPU6, 0x81) } If (LAnd (And (PDC7, 0x08), And (PDC7, 0x10))) { Notify (\_PR.CPU7, 0x81) } } Else { Notify (\_PR.CPU0, 0x81) } If (LEqual (ECON, One)) { Notify (\_SB.PCI0.LPCB.H_EC.BAT0, 0x81) Notify (\_SB.PCI0.LPCB.H_EC.BAT1, 0x81) Notify (\_SB.PCI0.LPCB.H_EC.BAT2, 0x81) } If (LEqual (DPTF, One)) { Notify (\_SB.IETM, 0x86) If (LEqual (CHGE, One)) { Notify (\_SB.PCI0.LPCB.H_EC.CHRG, 0x80) } } } OperationRegion (MBAR, SystemMemory, Add (\_SB.PCI0.GMHB (), 0x5000), 0x1000) Field (MBAR, ByteAcc, NoLock, Preserve) { Offset (0x938), PWRU, 4, Offset (0x9A0), PPL1, 15, PL1E, 1, CLP1, 1 } Name (CLMP, Zero) Name (PLEN, Zero) Name (PLSV, 0x8000) Name (CSEM, Zero) Method (SPL1, 0, Serialized) { Name (PPUU, Zero) If (LEqual (CSEM, One)) { Return (Zero) } Store (One, CSEM) Store (PPL1, PLSV) Store (PL1E, PLEN) Store (CLP1, CLMP) If (LEqual (PWRU, Zero)) { Store (One, PPUU) } Else { ShiftLeft (Decrement (PWRU), 0x02, PPUU) } Multiply (PLVL, PPUU, Local0) Divide (Local0, 0x03E8, , Local1) Store (Local1, PPL1) Store (One, PL1E) Store (One, CLP1) } Method (RPL1, 0, Serialized) { Store (PLSV, PPL1) Store (PLEN, PL1E) Store (CLMP, CLP1) Store (Zero, CSEM) } Name (UAMS, Zero) Name (GLCK, Zero) Method (GUAM, 1, Serialized) { Switch (ToInteger (Arg0)) { Case (Zero) { If (LEqual (GLCK, One)) { Store (Zero, GLCK) P8XH (Zero, 0xE1) P8XH (One, 0xAB) ADBG ("Exit Resiliency") \_SB.DION () If (LLess (OSYS, 0x07DF)) { \_SB.PCI0.LPCB.H_EC.ECNT (Zero) } If (PSCP) { If (CondRefOf (\_PR.CPU0._PPC)) { Store (Zero, \_PR.CPPC) PNOT () } } If (PLCS) { RPL1 () } } } Case (One) { If (LEqual (GLCK, Zero)) { Store (One, GLCK) P8XH (Zero, 0xE0) P8XH (One, Zero) ADBG ("Enter Resiliency") \_SB.DIOF () If (LLess (OSYS, 0x07DF)) { \_SB.PCI0.LPCB.H_EC.ECNT (One) } If (PSCP) { If (LAnd (CondRefOf (\_PR.CPU0._PSS), CondRefOf (\_PR.CPU0._PPC))) { If (And (PDC0, 0x0400)) { Subtract (SizeOf (\_PR.CPU0.TPSS), One, \_PR.CPPC) } Else { Subtract (SizeOf (\_PR.CPU0.LPSS), One, \_PR.CPPC) } PNOT () } } If (PLCS) { SPL1 () } } } Default { Return (Zero) } } Store (LAnd (Arg0, LNot (PWRS)), UAMS) P_CS () } Method (P_CS, 0, Serialized) { If (CondRefOf (\_SB.PCI0.PAUD.PUAM)) { \_SB.PCI0.PAUD.PUAM () } If (LEqual (OSYS, 0x07DC)) { If (CondRefOf (\_SB.PCI0.XHC.DUAM)) { \_SB.PCI0.XHC.DUAM () } } } Scope (\) { OperationRegion (IO_H, SystemIO, 0x1000, 0x04) Field (IO_H, ByteAcc, NoLock, Preserve) { TRPH, 8 } } Method (TRAP, 2, Serialized) { Store (Arg1, SMIF) If (LEqual (Arg0, 0x02)) { Store (Arg1, \_PR.DTSF) Store (Zero, \_PR.TRPD) Return (\_PR.DTSF) } If (LEqual (Arg0, 0x03)) { Store (Zero, TRPH) } If (LEqual (Arg0, 0x04)) { Store (Zero, \_PR.TRPF) } Return (SMIF) } Scope (_SB.PCI0) { Method (PTMA, 0, NotSerialized) { Return (\_PR.BGMA) } Method (PTMS, 0, NotSerialized) { Return (\_PR.BGMS) } Method (PTIA, 0, NotSerialized) { Return (\_PR.BGIA) } Method (_INI, 0, Serialized) // _INI: Initialize { Store (0x07D0, OSYS) If (CondRefOf (\_OSI)) { If (_OSI ("Linux")) { Store (0x03E8, OSYS) } If (_OSI ("Windows 2001")) { Store (0x07D1, OSYS) } If (_OSI ("Windows 2001 SP1")) { Store (0x07D1, OSYS) } If (_OSI ("Windows 2001 SP2")) { Store (0x07D2, OSYS) } If (_OSI ("Windows 2001.1")) { Store (0x07D3, OSYS) } If (_OSI ("Windows 2006")) { Store (0x07D6, OSYS) } If (_OSI ("Windows 2009")) { Store (0x07D9, OSYS) } If (_OSI ("Windows 2012")) { Store (0x07DC, OSYS) } If (_OSI ("Windows 2013")) { Store (0x07DD, OSYS) } If(LOr(_OSI("Darwin"),_OSI("Windows 2015"))) { Store (0x07DF, OSYS) } } If (CondRefOf (\_PR.DTSE)) { If (LGreaterEqual (\_PR.DTSE, One)) { Store (One, \_PR.DSAE) } } } Method (NHPG, 0, Serialized) { Store (Zero, ^RP01.HPEX) Store (Zero, ^RP02.HPEX) Store (Zero, ^RP03.HPEX) Store (Zero, ^RP04.HPEX) Store (Zero, ^RP05.HPEX) Store (Zero, ^RP06.HPEX) Store (Zero, ^RP07.HPEX) Store (Zero, ^RP08.HPEX) Store (Zero, ^RP09.HPEX) Store (Zero, ^RP10.HPEX) Store (Zero, ^RP11.HPEX) Store (Zero, ^RP12.HPEX) Store (Zero, ^RP13.HPEX) Store (Zero, ^RP14.HPEX) Store (Zero, ^RP15.HPEX) Store (Zero, ^RP16.HPEX) Store (Zero, ^RP17.HPEX) Store (Zero, ^RP18.HPEX) Store (Zero, ^RP19.HPEX) Store (Zero, ^RP20.HPEX) Store (One, ^RP01.HPSX) Store (One, ^RP02.HPSX) Store (One, ^RP03.HPSX) Store (One, ^RP04.HPSX) Store (One, ^RP05.HPSX) Store (One, ^RP06.HPSX) Store (One, ^RP07.HPSX) Store (One, ^RP08.HPSX) Store (One, ^RP09.HPSX) Store (One, ^RP10.HPSX) Store (One, ^RP11.HPSX) Store (One, ^RP12.HPSX) Store (One, ^RP13.HPSX) Store (One, ^RP14.HPSX) Store (One, ^RP15.HPSX) Store (One, ^RP16.HPSX) Store (One, ^RP17.HPSX) Store (One, ^RP18.HPSX) Store (One, ^RP19.HPSX) Store (One, ^RP20.HPSX) Store (One, ^RP21.HPSX) Store (One, ^RP22.HPSX) Store (One, ^RP23.HPSX) Store (One, ^RP24.HPSX) } Method (NPME, 0, Serialized) { Store (Zero, ^RP01.PMEX) Store (Zero, ^RP02.PMEX) Store (Zero, ^RP03.PMEX) Store (Zero, ^RP04.PMEX) Store (Zero, ^RP05.PMEX) Store (Zero, ^RP06.PMEX) Store (Zero, ^RP07.PMEX) Store (Zero, ^RP08.PMEX) Store (Zero, ^RP09.PMEX) Store (Zero, ^RP10.PMEX) Store (Zero, ^RP11.PMEX) Store (Zero, ^RP12.PMEX) Store (Zero, ^RP13.PMEX) Store (Zero, ^RP14.PMEX) Store (Zero, ^RP15.PMEX) Store (Zero, ^RP16.PMEX) Store (Zero, ^RP17.PMEX) Store (Zero, ^RP18.PMEX) Store (Zero, ^RP19.PMEX) Store (Zero, ^RP20.PMEX) Store (One, ^RP01.PMSX) Store (One, ^RP02.PMSX) Store (One, ^RP03.PMSX) Store (One, ^RP04.PMSX) Store (One, ^RP05.PMSX) Store (One, ^RP06.PMSX) Store (One, ^RP07.PMSX) Store (One, ^RP08.PMSX) Store (One, ^RP09.PMSX) Store (One, ^RP10.PMSX) Store (One, ^RP11.PMSX) Store (One, ^RP12.PMSX) Store (One, ^RP13.PMSX) Store (One, ^RP14.PMSX) Store (One, ^RP15.PMSX) Store (One, ^RP16.PMSX) Store (One, ^RP17.PMSX) Store (One, ^RP18.PMSX) Store (One, ^RP19.PMSX) Store (One, ^RP20.PMSX) Store (One, ^RP21.PMSX) Store (One, ^RP22.PMSX) Store (One, ^RP23.PMSX) Store (One, ^RP24.PMSX) } } Scope (\) { Name (PICM, Zero) 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) FindSetLeftBit (Local0, Index (PRWP, One)) } Return (PRWP) } } Scope (_SB) { Name (OSCI, Zero) Name (OSCO, Zero) Name (OSCP, Zero) Method (_OSC, 4, Serialized) // _OSC: Operating System Capabilities { CreateDWordField (Arg3, Zero, STS0) CreateDWordField (Arg3, 0x04, CAP0) If (LEqual (S0ID, One)) { Store (One, SCGE) } If (LEqual (Arg0, ToUUID ("0811b06e-4a27-44f9-8d60-3cbbc22e7b48") /* Platform-wide Capabilities */)) { If (LEqual (Arg1, One)) { Store (CAP0, OSCP) If (And (CAP0, 0x04)) { Store (0x04, OSCO) If (LNotEqual (And (SGMD, 0x0F), 0x02)) { If (LEqual (RTD3, Zero)) { And (CAP0, 0x3B, CAP0) Or (STS0, 0x10, STS0) } } } } Else { And (STS0, 0xFFFFFF00, STS0) Or (STS0, 0x0A, STS0) } } Else { And (STS0, 0xFFFFFF00, STS0) Or (STS0, 0x06, STS0) } Return (Arg3) } Device (EPC) { Name (_HID, EisaId ("INT0E0C")) // _HID: Hardware ID Name (_STR, Unicode ("Enclave Page Cache 1.0")) // _STR: Description String Name (_MLS, Package (0x01) // _MLS: Multiple Language String { Package (0x02) { "en", Unicode ("Enclave Page Cache 1.0") } }) Name (RBUF, ResourceTemplate () { QWordMemory (ResourceConsumer, PosDecode, MinNotFixed, MaxNotFixed, NonCacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000001, // Length ,, _Y30, AddressRangeMemory, TypeStatic) }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { CreateQWordField (RBUF, \_SB.EPC._Y30._MIN, EMIN) // _MIN: Minimum Base Address CreateQWordField (RBUF, \_SB.EPC._Y30._MAX, EMAX) // _MAX: Maximum Base Address CreateQWordField (RBUF, \_SB.EPC._Y30._LEN, ELEN) // _LEN: Length Store (\_PR.EMNA, EMIN) Store (\_PR.ELNG, ELEN) Subtract (Add (\_PR.EMNA, \_PR.ELNG), One, EMAX) Return (RBUF) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LNotEqual (\_PR.EPCS, Zero)) { Return (0x0F) } Return (Zero) } } } Scope (_SB) { Device (BTKL) { Name (_HID, "INT3420") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { } Method (_PS3, 0, Serialized) // _PS3: Power State 3 { } Method (PSTS, 0, NotSerialized) { } } } Scope (_SB) { Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) // _HID: Hardware ID Name (_STA, 0x0B) // _STA: Status } } If (LEqual (RTVM, One)) { Scope (_SB) { Name (VMEN, 0xFF) Method (VMON, 0, Serialized) { If (LEqual (VMEN, One)) { Return (Zero) } ^PCI0.LPCB.H_EC.ECWT (0x7A, RefOf (^PCI0.LPCB.H_EC.PVOL)) ^PCI0.LPCB.H_EC.ECMD (0x1C) Store (One, VMEN) } Method (VMOF, 0, Serialized) { If (LEqual (VMEN, Zero)) { Return (Zero) } ^PCI0.LPCB.H_EC.ECWT (0x3A, RefOf (^PCI0.LPCB.H_EC.PVOL)) ^PCI0.LPCB.H_EC.ECMD (0x1C) Store (Zero, VMEN) } } } Scope (_SB) { Method (CGWR, 4, Serialized) { If (LEqual (Arg0, One)) { If (CondRefOf (\_SB.SGOV)) { SGOV (Arg2, Arg3) } } ElseIf (LEqual (Arg0, 0x02)) { If (CondRefOf (\_SB.PCI0.GEXP.SGEP)) { ^PCI0.GEXP.SGEP (Arg1, Arg2, Arg3) } } } Method (CGRD, 4, Serialized) { Store (One, Local0) If (LEqual (Arg0, One)) { If (LEqual (Arg3, Zero)) { If (CondRefOf (\_SB.GGOV)) { Store (GGOV (Arg2), Local0) } } ElseIf (LEqual (Arg3, One)) { If (CondRefOf (\_SB.GGIV)) { Store (GGIV (Arg2), Local0) } } } ElseIf (LEqual (Arg0, 0x02)) { If (CondRefOf (\_SB.PCI0.GEXP.GEPS)) { Store (^PCI0.GEXP.GEPS (Arg1, Arg2), Local0) } } Return (Local0) } Method (WRGP, 2, Serialized) { Store (Arg0, Local0) Store (Arg0, Local1) And (Local0, 0xFFFFFFFF, Local0) ShiftRight (Local1, 0x20, Local1) If (LEqual (And (Local0, 0xFF), One)) { CGWR (And (Local0, 0xFF), ShiftRight (Local1, 0x18), Local1, Arg1) } ElseIf (LEqual (And (Local0, 0xFF), 0x02)) { CGWR (And (Local0, 0xFF), ShiftRight (Local1, 0x18), ShiftRight (ShiftLeft (Local1, 0x08), 0x18), Arg1) } } Method (RDGP, 2, Serialized) { Store (One, Local7) Store (Arg0, Local0) Store (Arg0, Local1) And (Local0, 0xFFFFFFFF, Local0) ShiftRight (Local1, 0x20, Local1) If (LEqual (And (Local0, 0xFF), One)) { Store (CGRD (And (Local0, 0xFF), ShiftRight (Local1, 0x18), Local1, Arg1), Local7) } ElseIf (LEqual (And (Local0, 0xFF), 0x02)) { Store (CGRD (And (Local0, 0xFF), ShiftRight (Local1, 0x18), ShiftRight (ShiftLeft (Local1, 0x08), 0x18), Arg1), Local7) } Return (Local7) } } OperationRegion (_SB.PCI0.LPCB.LPCR, PCI_Config, 0x80, 0x04) Field (\_SB.PCI0.LPCB.LPCR, ByteAcc, NoLock, Preserve) { CARN, 3, , 1, CBDR, 3, Offset (0x01), LTDR, 2, , 2, FDDR, 1, Offset (0x02), CALE, 1, CBLE, 1, LTLE, 1, FDLE, 1, Offset (0x03), GLLE, 1, GHLE, 1, KCLE, 1, MCLE, 1, C1LE, 1, C2LE, 1, Offset (0x04) } Method (UXDV, 1, Serialized) { Store (0xFF, Local0) Switch (Add (Arg0, Zero)) { Case (0x03F8) { Store (Zero, Local0) } Case (0x02F8) { Store (One, Local0) } Case (0x0220) { Store (0x02, Local0) } Case (0x0228) { Store (0x03, Local0) } Case (0x0238) { Store (0x04, Local0) } Case (0x02E8) { Store (0x05, Local0) } Case (0x0338) { Store (0x06, Local0) } Case (0x03E8) { Store (0x07, Local0) } } Return (Local0) } Method (RRIO, 4, Serialized) { Switch (Add (Arg0, Zero)) { Case (Zero) { Store (Zero, CALE) Store (UXDV (Arg2), Local0) If (LNotEqual (Local0, 0xFF)) { Store (Local0, CARN) } If (Arg1) { Store (One, CALE) } } Case (One) { Store (Zero, CBLE) Store (UXDV (Arg2), Local0) If (LNotEqual (Local0, 0xFF)) { Store (Local0, CBDR) } If (Arg1) { Store (One, CBLE) } } Case (0x02) { Store (Zero, LTLE) If (LEqual (Arg2, 0x0378)) { Store (Zero, LTDR) } If (LEqual (Arg2, 0x0278)) { Store (One, LTDR) } If (LEqual (Arg2, 0x03BC)) { Store (0x02, LTDR) } If (Arg1) { Store (One, LTLE) } } Case (0x03) { Store (Zero, FDLE) If (LEqual (Arg2, 0x03F0)) { Store (Zero, FDDR) } If (LEqual (Arg2, 0x0370)) { Store (One, FDDR) } If (Arg1) { Store (One, FDLE) } } Case (0x08) { If (LEqual (Arg2, 0x0200)) { If (Arg1) { Store (One, GLLE) } Else { Store (Zero, GLLE) } } If (LEqual (Arg2, 0x0208)) { If (Arg1) { Store (One, GHLE) } Else { Store (Zero, GHLE) } } } Case (0x09) { If (LEqual (Arg2, 0x0200)) { If (Arg1) { Store (One, GLLE) } Else { Store (Zero, GLLE) } } If (LEqual (Arg2, 0x0208)) { If (Arg1) { Store (One, GHLE) } Else { Store (Zero, GHLE) } } } Case (0x0A) { If (LOr (LEqual (Arg2, 0x60), LEqual (Arg2, 0x64))) { If (Arg1) { Store (One, KCLE) } Else { Store (Zero, KCLE) } } } Case (0x0B) { If (LOr (LEqual (Arg2, 0x62), LEqual (Arg2, 0x66))) { If (Arg1) { Store (One, MCLE) } Else { Store (Zero, MCLE) } } } Case (0x0C) { If (LEqual (Arg2, 0x2E)) { If (Arg1) { Store (One, C1LE) } Else { Store (Zero, C1LE) } } If (LEqual (Arg2, 0x4E)) { If (Arg1) { Store (One, C2LE) } Else { Store (Zero, C2LE) } } } Case (0x0D) { If (LEqual (Arg2, 0x2E)) { If (Arg1) { Store (One, C1LE) } Else { Store (Zero, C1LE) } } If (LEqual (Arg2, 0x4E)) { If (Arg1) { Store (One, C2LE) } Else { Store (Zero, C2LE) } } } } } Method (RDMA, 3, NotSerialized) { } Scope (_GPE) { Method (_L69, 0, Serialized) // _Lxx: Level-Triggered GPE { \_SB.PCI0.RP01.HPME () \_SB.PCI0.RP02.HPME () \_SB.PCI0.RP03.HPME () \_SB.PCI0.RP04.HPME () \_SB.PCI0.RP05.HPME () \_SB.PCI0.RP06.HPME () \_SB.PCI0.RP07.HPME () \_SB.PCI0.RP08.HPME () \_SB.PCI0.RP09.HPME () \_SB.PCI0.RP10.HPME () \_SB.PCI0.RP11.HPME () \_SB.PCI0.RP12.HPME () \_SB.PCI0.RP13.HPME () \_SB.PCI0.RP14.HPME () \_SB.PCI0.RP15.HPME () \_SB.PCI0.RP16.HPME () \_SB.PCI0.RP17.HPME () \_SB.PCI0.RP18.HPME () \_SB.PCI0.RP19.HPME () \_SB.PCI0.RP20.HPME () \_SB.PCI0.RP21.HPME () \_SB.PCI0.RP22.HPME () \_SB.PCI0.RP23.HPME () \_SB.PCI0.RP24.HPME () If (LEqual (\_SB.PCI0.D1F0, One)) { \_SB.PCI0.PEG0.HPME () Notify (\_SB.PCI0.PEG0, 0x02) Notify (\_SB.PCI0.PEG0.PEGP, 0x02) } If (LEqual (\_SB.PCI0.D1F1, One)) { \_SB.PCI0.PEG1.HPME () Notify (\_SB.PCI0.PEG1, 0x02) } If (LEqual (\_SB.PCI0.D1F2, One)) { \_SB.PCI0.PEG2.HPME () Notify (\_SB.PCI0.PEG2, 0x02) } } Method (_L61, 0, NotSerialized) // _Lxx: Level-Triggered GPE { Add (L01C, One, L01C) P8XH (Zero, One) P8XH (One, L01C) If (LAnd (LNotEqual (\_SB.PCI0.RP01.VDID, 0xFFFFFFFF), \_SB.PCI0.RP01.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, One))) { Sleep (0x64) } If (\_SB.PCI0.RP01.PDCX) { Store (One, \_SB.PCI0.RP01.PDCX) Store (One, \_SB.PCI0.RP01.HPSX) If (LNot (\_SB.PCI0.RP01.PDSX)) { Store (Zero, \_SB.PCI0.RP01.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, One))) { Notify (\_SB.PCI0.RP01, Zero) } } Else { Store (One, \_SB.PCI0.RP01.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP02.VDID, 0xFFFFFFFF), \_SB.PCI0.RP02.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x02))) { Sleep (0x64) } If (\_SB.PCI0.RP02.PDCX) { Store (One, \_SB.PCI0.RP02.PDCX) Store (One, \_SB.PCI0.RP02.HPSX) If (LNot (\_SB.PCI0.RP02.PDSX)) { Store (Zero, \_SB.PCI0.RP02.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x02))) { Notify (\_SB.PCI0.RP02, Zero) } } Else { Store (One, \_SB.PCI0.RP02.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP03.VDID, 0xFFFFFFFF), \_SB.PCI0.RP03.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x03))) { Sleep (0x64) } If (\_SB.PCI0.RP03.PDCX) { Store (One, \_SB.PCI0.RP03.PDCX) Store (One, \_SB.PCI0.RP03.HPSX) If (LNot (\_SB.PCI0.RP03.PDSX)) { Store (Zero, \_SB.PCI0.RP03.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x03))) { Notify (\_SB.PCI0.RP03, Zero) } } Else { Store (One, \_SB.PCI0.RP03.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP04.VDID, 0xFFFFFFFF), \_SB.PCI0.RP04.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x04))) { Sleep (0x64) } If (\_SB.PCI0.RP04.PDCX) { Store (One, \_SB.PCI0.RP04.PDCX) Store (One, \_SB.PCI0.RP04.HPSX) If (LNot (\_SB.PCI0.RP04.PDSX)) { Store (Zero, \_SB.PCI0.RP04.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x04))) { Notify (\_SB.PCI0.RP04, Zero) } } Else { Store (One, \_SB.PCI0.RP04.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP05.VDID, 0xFFFFFFFF), \_SB.PCI0.RP05.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x05))) { Sleep (0x64) } If (\_SB.PCI0.RP05.PDCX) { Store (One, \_SB.PCI0.RP05.PDCX) Store (One, \_SB.PCI0.RP05.HPSX) If (LNot (\_SB.PCI0.RP05.PDSX)) { Store (Zero, \_SB.PCI0.RP05.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x05))) { Notify (\_SB.PCI0.RP05, Zero) } } Else { Store (One, \_SB.PCI0.RP05.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP06.VDID, 0xFFFFFFFF), \_SB.PCI0.RP06.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x06))) { Sleep (0x64) } If (\_SB.PCI0.RP06.PDCX) { Store (One, \_SB.PCI0.RP06.PDCX) Store (One, \_SB.PCI0.RP06.HPSX) If (LNot (\_SB.PCI0.RP06.PDSX)) { Store (Zero, \_SB.PCI0.RP06.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x06))) { Notify (\_SB.PCI0.RP06, Zero) } } Else { Store (One, \_SB.PCI0.RP06.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP07.VDID, 0xFFFFFFFF), \_SB.PCI0.RP07.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x07))) { Sleep (0x64) } If (\_SB.PCI0.RP07.PDCX) { Store (One, \_SB.PCI0.RP07.PDCX) Store (One, \_SB.PCI0.RP07.HPSX) If (LNot (\_SB.PCI0.RP07.PDSX)) { Store (Zero, \_SB.PCI0.RP07.L0SE) } If (LEqual (PFLV, 0x02)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x07))) { Notify (\_SB.PCI0.RP07, Zero) } } ElseIf (ECON) { If (LEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.DOCK)), Zero)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x07))) { Notify (\_SB.PCI0.RP07, Zero) } } } } Else { Store (One, \_SB.PCI0.RP07.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP08.VDID, 0xFFFFFFFF), \_SB.PCI0.RP08.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x08))) { Sleep (0x64) } If (\_SB.PCI0.RP08.PDCX) { Store (One, \_SB.PCI0.RP08.PDCX) Store (One, \_SB.PCI0.RP08.HPSX) If (LNot (\_SB.PCI0.RP08.PDSX)) { Store (Zero, \_SB.PCI0.RP08.L0SE) } If (LEqual (PFLV, 0x02)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x08))) { Notify (\_SB.PCI0.RP08, Zero) } } ElseIf (ECON) { If (LEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.DOCK)), Zero)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x08))) { Notify (\_SB.PCI0.RP08, Zero) } } } } Else { Store (One, \_SB.PCI0.RP08.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP09.VDID, 0xFFFFFFFF), \_SB.PCI0.RP09.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x09))) { Sleep (0x64) } If (\_SB.PCI0.RP09.PDCX) { Store (One, \_SB.PCI0.RP09.PDCX) Store (One, \_SB.PCI0.RP09.HPSX) If (LNot (\_SB.PCI0.RP09.PDSX)) { Store (Zero, \_SB.PCI0.RP09.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x09))) { Notify (\_SB.PCI0.RP09, Zero) } } Else { Store (One, \_SB.PCI0.RP09.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP10.VDID, 0xFFFFFFFF), \_SB.PCI0.RP10.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0A))) { Sleep (0x64) } If (\_SB.PCI0.RP10.PDCX) { Store (One, \_SB.PCI0.RP10.PDCX) Store (One, \_SB.PCI0.RP10.HPSX) If (LNot (\_SB.PCI0.RP10.PDSX)) { Store (Zero, \_SB.PCI0.RP10.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0A))) { Notify (\_SB.PCI0.RP10, Zero) } } Else { Store (One, \_SB.PCI0.RP10.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP11.VDID, 0xFFFFFFFF), \_SB.PCI0.RP11.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0B))) { Sleep (0x64) } If (\_SB.PCI0.RP11.PDCX) { Store (One, \_SB.PCI0.RP11.PDCX) Store (One, \_SB.PCI0.RP11.HPSX) If (LNot (\_SB.PCI0.RP11.PDSX)) { Store (Zero, \_SB.PCI0.RP11.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0B))) { Notify (\_SB.PCI0.RP11, Zero) } } Else { Store (One, \_SB.PCI0.RP11.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP12.VDID, 0xFFFFFFFF), \_SB.PCI0.RP12.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0C))) { Sleep (0x64) } If (\_SB.PCI0.RP12.PDCX) { Store (One, \_SB.PCI0.RP12.PDCX) Store (One, \_SB.PCI0.RP12.HPSX) If (LNot (\_SB.PCI0.RP12.PDSX)) { Store (Zero, \_SB.PCI0.RP12.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0C))) { Notify (\_SB.PCI0.RP12, Zero) } } Else { Store (One, \_SB.PCI0.RP12.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP13.VDID, 0xFFFFFFFF), \_SB.PCI0.RP13.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0D))) { Sleep (0x64) } If (\_SB.PCI0.RP13.PDCX) { Store (One, \_SB.PCI0.RP13.PDCX) Store (One, \_SB.PCI0.RP13.HPSX) If (LNot (\_SB.PCI0.RP13.PDSX)) { Store (Zero, \_SB.PCI0.RP13.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0D))) { Notify (\_SB.PCI0.RP13, Zero) } } Else { Store (One, \_SB.PCI0.RP13.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP14.VDID, 0xFFFFFFFF), \_SB.PCI0.RP14.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0E))) { Sleep (0x64) } If (\_SB.PCI0.RP14.PDCX) { Store (One, \_SB.PCI0.RP14.PDCX) Store (One, \_SB.PCI0.RP14.HPSX) If (LNot (\_SB.PCI0.RP14.PDSX)) { Store (Zero, \_SB.PCI0.RP14.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0E))) { Notify (\_SB.PCI0.RP14, Zero) } } Else { Store (One, \_SB.PCI0.RP14.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP15.VDID, 0xFFFFFFFF), \_SB.PCI0.RP15.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0F))) { Sleep (0x64) } If (\_SB.PCI0.RP15.PDCX) { Store (One, \_SB.PCI0.RP15.PDCX) Store (One, \_SB.PCI0.RP15.HPSX) If (LNot (\_SB.PCI0.RP15.PDSX)) { Store (Zero, \_SB.PCI0.RP15.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x0F))) { Notify (\_SB.PCI0.RP15, Zero) } } Else { Store (One, \_SB.PCI0.RP15.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP16.VDID, 0xFFFFFFFF), \_SB.PCI0.RP16.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x10))) { Sleep (0x64) } If (\_SB.PCI0.RP16.PDCX) { Store (One, \_SB.PCI0.RP16.PDCX) Store (One, \_SB.PCI0.RP16.HPSX) If (LNot (\_SB.PCI0.RP16.PDSX)) { Store (Zero, \_SB.PCI0.RP16.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x10))) { Notify (\_SB.PCI0.RP16, Zero) } } Else { Store (One, \_SB.PCI0.RP16.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP17.VDID, 0xFFFFFFFF), \_SB.PCI0.RP17.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x11))) { Sleep (0x64) } If (\_SB.PCI0.RP17.PDCX) { Store (One, \_SB.PCI0.RP17.PDCX) Store (One, \_SB.PCI0.RP17.HPSX) If (LNot (\_SB.PCI0.RP17.PDSX)) { Store (Zero, \_SB.PCI0.RP17.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x11))) { Notify (\_SB.PCI0.RP17, Zero) } } Else { Store (One, \_SB.PCI0.RP17.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP18.VDID, 0xFFFFFFFF), \_SB.PCI0.RP18.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x12))) { Sleep (0x64) } If (\_SB.PCI0.RP18.PDCX) { Store (One, \_SB.PCI0.RP18.PDCX) Store (One, \_SB.PCI0.RP18.HPSX) If (LNot (\_SB.PCI0.RP18.PDSX)) { Store (Zero, \_SB.PCI0.RP18.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x12))) { Notify (\_SB.PCI0.RP18, Zero) } } Else { Store (One, \_SB.PCI0.RP18.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP19.VDID, 0xFFFFFFFF), \_SB.PCI0.RP19.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x13))) { Sleep (0x64) } If (\_SB.PCI0.RP19.PDCX) { Store (One, \_SB.PCI0.RP19.PDCX) Store (One, \_SB.PCI0.RP19.HPSX) If (LNot (\_SB.PCI0.RP19.PDSX)) { Store (Zero, \_SB.PCI0.RP19.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x13))) { Notify (\_SB.PCI0.RP19, Zero) } } Else { Store (One, \_SB.PCI0.RP19.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP20.VDID, 0xFFFFFFFF), \_SB.PCI0.RP20.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x14))) { Sleep (0x64) } If (\_SB.PCI0.RP20.PDCX) { Store (One, \_SB.PCI0.RP20.PDCX) Store (One, \_SB.PCI0.RP20.HPSX) If (LNot (\_SB.PCI0.RP20.PDSX)) { Store (Zero, \_SB.PCI0.RP20.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x14))) { Notify (\_SB.PCI0.RP20, Zero) } } Else { Store (One, \_SB.PCI0.RP20.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP21.VDID, 0xFFFFFFFF), \_SB.PCI0.RP21.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x15))) { Sleep (0x64) } If (\_SB.PCI0.RP21.PDCX) { Store (One, \_SB.PCI0.RP21.PDCX) Store (One, \_SB.PCI0.RP21.HPSX) If (LNot (\_SB.PCI0.RP21.PDSX)) { Store (Zero, \_SB.PCI0.RP21.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x15))) { Notify (\_SB.PCI0.RP21, Zero) } } Else { Store (One, \_SB.PCI0.RP21.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP22.VDID, 0xFFFFFFFF), \_SB.PCI0.RP22.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x16))) { Sleep (0x64) } If (\_SB.PCI0.RP22.PDCX) { Store (One, \_SB.PCI0.RP22.PDCX) Store (One, \_SB.PCI0.RP22.HPSX) If (LNot (\_SB.PCI0.RP22.PDSX)) { Store (Zero, \_SB.PCI0.RP22.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x16))) { Notify (\_SB.PCI0.RP22, Zero) } } Else { Store (One, \_SB.PCI0.RP22.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP23.VDID, 0xFFFFFFFF), \_SB.PCI0.RP23.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x17))) { Sleep (0x64) } If (\_SB.PCI0.RP23.PDCX) { Store (One, \_SB.PCI0.RP23.PDCX) Store (One, \_SB.PCI0.RP23.HPSX) If (LNot (\_SB.PCI0.RP23.PDSX)) { Store (Zero, \_SB.PCI0.RP23.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x17))) { Notify (\_SB.PCI0.RP23, Zero) } } Else { Store (One, \_SB.PCI0.RP23.HPSX) } } If (LAnd (LNotEqual (\_SB.PCI0.RP24.VDID, 0xFFFFFFFF), \_SB.PCI0.RP24.HPSX)) { If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x18))) { Sleep (0x64) } If (\_SB.PCI0.RP24.PDCX) { Store (One, \_SB.PCI0.RP24.PDCX) Store (One, \_SB.PCI0.RP24.HPSX) If (LNot (\_SB.PCI0.RP24.PDSX)) { Store (Zero, \_SB.PCI0.RP24.L0SE) } If (LOr (LNotEqual (TBTS, One), LNotEqual (TBSE, 0x18))) { Notify (\_SB.PCI0.RP24, Zero) } } Else { Store (One, \_SB.PCI0.RP24.HPSX) } } } Method (_L62, 0, NotSerialized) // _Lxx: Level-Triggered GPE { Store (Zero, GPEC) If (CondRefOf (\_PR.DTSE)) { If (LGreaterEqual (\_PR.DTSE, One)) { If (LEqual (\_PR.DTSI, One)) { Notify (\_TZ.TZ00, 0x80) Notify (\_TZ.TZ01, 0x80) Store (Zero, \_PR.DTSI) } } } If (LEqual (\_PR.HWPI, One)) { If (CondRefOf (\_GPE.HLVT)) { HLVT () } Store (Zero, \_PR.HWPI) } } Method (_L66, 0, NotSerialized) // _Lxx: Level-Triggered GPE { If (LAnd (\_SB.PCI0.GFX0.GSSE, LNot (GSMI))) { \_SB.PCI0.GFX0.GSCI () } } Name (PRES, One) Method (_L6F, 0, NotSerialized) // _Lxx: Level-Triggered GPE { If (LEqual (RTD3, One)) { If (CondRefOf (\_GPE.AL6F)) { AL6F () } } If (LEqual (SGGP, One)) { If (CondRefOf (\_GPE.P0L6)) { P0L6 () \_SB.CAGS (P0WK) } } If (LEqual (P1GP, One)) { If (CondRefOf (\_GPE.P1L6)) { P1L6 () \_SB.CAGS (P1WK) } } If (LEqual (P2GP, One)) { If (CondRefOf (\_GPE.P2L6)) { P2L6 () \_SB.CAGS (P2WK) } } \_SB.CGLS () } } If (LEqual (CAMT, One)) { Scope (_SB) { Device (ICAM) { Name (_HID, "INT33A3") // _HID: Hardware ID Name (IDFU, Zero) Name (IPWR, Zero) Method (_STA, 0, Serialized) // _STA: Status { If (LEqual (IVDF, One)) { Return (0x0F) } Return (Zero) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("f5cf0ff7-5d60-4842-82c0-fa1a61d873f2"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (ToInteger (Arg1), Zero)) { Return (Buffer (One) { 0x07 }) } Return (Buffer (One) { 0x00 }) } Case (One) { If (LEqual (DerefOf (Index (Arg3, Zero)), Zero)) { WRGP (IFWG, Zero) Store (Zero, IDFU) } Else { WRGP (IFWG, One) Store (One, IDFU) } Return (Zero) } Case (0x02) { If (LEqual (DerefOf (Index (Arg3, Zero)), Zero)) { WRGP (IVDG, Zero) Store (Zero, IPWR) } Else { WRGP (IVDG, One) Store (One, IPWR) } Return (Zero) } Default { Return (Zero) } } } Else { Return (Buffer (One) { 0x00 }) } } } } } If (LEqual (PCHV (), SPTL)) { If (LNotEqual (SDWE, Zero)) { Scope (_SB.PCI0.PSDC) { Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { If (LLess (OSYS, 0x07DC)) { Return (Buffer (0x02) { 0x79, 0x00 }) } Name (RBUF, ResourceTemplate () { GpioInt (Edge, ActiveBoth, SharedAndWake, PullNone, 0x2710, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } GpioIo (Shared, PullDefault, 0x0000, 0x0000, IoRestrictionInputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0x0000 } }) CreateWordField (RBUF, 0x17, SDIP) CreateWordField (RBUF, 0x3F, SDGP) If (LEqual (SDWE, One)) { Store (GNUM (0x02010011), SDIP) Store (GNUM (0x02010011), SDGP) } If (LEqual (SDWE, 0x02)) { Store (GNUM (0x0203000A), SDIP) Store (GNUM (0x0203000A), SDGP) } Return (RBUF) } } } } If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { Scope (_SB.PCI0.RP01.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } } Scope (_SB.PCI0.RP02.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP03.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP04.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } If (CondRefOf (\_SB.PCI0.RP05.PXSX)) { Scope (_SB.PCI0.RP05.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } } Scope (_SB.PCI0.RP06.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP07.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP08.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } If (CondRefOf (\_SB.PCI0.RP09.PXSX)) { Scope (_SB.PCI0.RP09.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } } Scope (_SB.PCI0.RP10.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP11.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP12.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP13.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP14.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP15.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP16.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP17.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP18.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP19.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0.RP20.PXSX) { OperationRegion (RPXX, PCI_Config, Zero, 0x10) Field (RPXX, AnyAcc, NoLock, Preserve) { VDID, 32 } OperationRegion (FLDR, PCI_Config, 0x44, 0x06) Field (FLDR, ByteAcc, NoLock, Preserve) { DCAP, 32, DCTR, 16 } Name (SPLX, Package (0x04) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (SPLC, 0, Serialized) { Store (DOM1, Index (DerefOf (Index (SPLX, One)), Zero)) Store (LIM1, Index (DerefOf (Index (SPLX, One)), One)) Store (TIM1, Index (DerefOf (Index (SPLX, One)), 0x02)) Store (DOM2, Index (DerefOf (Index (SPLX, 0x02)), Zero)) Store (LIM2, Index (DerefOf (Index (SPLX, 0x02)), One)) Store (TIM2, Index (DerefOf (Index (SPLX, 0x02)), 0x02)) Store (DOM3, Index (DerefOf (Index (SPLX, 0x03)), Zero)) Store (LIM3, Index (DerefOf (Index (SPLX, 0x03)), One)) Store (TIM3, Index (DerefOf (Index (SPLX, 0x03)), 0x02)) Return (SPLX) } PowerResource (WRST, 0x05, 0x0000) { Method (_STA, 0, NotSerialized) // _STA: Status { ADBG ("PXSX _STA") Return (One) } Method (_ON, 0, NotSerialized) // _ON_: Power On { ADBG ("PXSX _ON") } Method (_OFF, 0, NotSerialized) // _OFF: Power Off { ADBG ("PXSX _OFF") } Method (_RST, 0, NotSerialized) // _RST: Device Reset { ADBG ("PXSX _RST") If (And (DCAP, 0x10000000)) { Store (DCTR, Local0) Or (Local0, 0x8000, Local0) Store (Local0, DCTR) } } } Name (_PRR, Package (0x01) // _PRR: Power Resource for Reset { WRST }) Name (WANX, Package (0x03) { Zero, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 }, Package (0x03) { 0x80000000, 0x80000000, 0x80000000 } }) Method (WAND, 0, Serialized) { Store (Zero, Index (DerefOf (Index (WANX, One)), Zero)) Store (TRD0, Index (DerefOf (Index (WANX, One)), One)) Store (TRL0, Index (DerefOf (Index (WANX, One)), 0x02)) Store (One, Index (DerefOf (Index (WANX, 0x02)), Zero)) Store (TRD1, Index (DerefOf (Index (WANX, 0x02)), One)) Store (TRL1, Index (DerefOf (Index (WANX, 0x02)), 0x02)) Return (WANX) } Name (WRDX, Package (0x03) { Zero, Package (0x02) { 0x80000000, 0x8000 }, Package (0x02) { 0x80000000, 0x8000 } }) Method (WRDD, 0, Serialized) { Store (WDM1, Index (DerefOf (Index (WRDX, One)), Zero)) Store (CID1, Index (DerefOf (Index (WRDX, One)), One)) Store (WDM2, Index (DerefOf (Index (WRDX, 0x02)), Zero)) Store (CID2, Index (DerefOf (Index (WRDX, 0x02)), One)) Return (WRDX) } Name (WRDY, Package (0x03) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }, Package (0x06) { 0x10, 0x80, 0x80, 0x80, 0x80, 0x80 } }) Method (WRDS, 0, Serialized) { Store (STXE, Index (DerefOf (Index (WRDY, One)), One)) Store (STX0, Index (DerefOf (Index (WRDY, One)), 0x02)) Store (STX1, Index (DerefOf (Index (WRDY, One)), 0x03)) Store (STX2, Index (DerefOf (Index (WRDY, One)), 0x04)) Store (STX3, Index (DerefOf (Index (WRDY, One)), 0x05)) Store (STX4, Index (DerefOf (Index (WRDY, One)), 0x06)) Store (STX5, Index (DerefOf (Index (WRDY, One)), 0x07)) Store (STX6, Index (DerefOf (Index (WRDY, One)), 0x08)) Store (STX7, Index (DerefOf (Index (WRDY, One)), 0x09)) Store (STX8, Index (DerefOf (Index (WRDY, One)), 0x0A)) Store (STX9, Index (DerefOf (Index (WRDY, One)), 0x0B)) Store (WRFE, Index (DerefOf (Index (WRDY, 0x02)), One)) Store (WRC1, Index (DerefOf (Index (WRDY, 0x02)), 0x02)) Store (WRC2, Index (DerefOf (Index (WRDY, 0x02)), 0x03)) Store (WRC3, Index (DerefOf (Index (WRDY, 0x02)), 0x04)) Store (WRC4, Index (DerefOf (Index (WRDY, 0x02)), 0x05)) Return (WRDY) } Method (AWVC, 0, Serialized) { Return (AWVI) } Method (WIST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x095A8086) { Return (One) } Case (0x095B8086) { Return (One) } Case (0x31658086) { Return (One) } Case (0x31668086) { Return (One) } Case (0x08B18086) { Return (One) } Case (0x08B28086) { Return (One) } Case (0x08B38086) { Return (One) } Case (0x08B48086) { Return (One) } Case (0x24F38086) { Return (One) } Case (0x24F48086) { Return (One) } Case (0x24F58086) { Return (One) } Case (0x24F68086) { Return (One) } Case (0x24FD8086) { Return (One) } Case (0x24FB8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("1730e71d-e5dd-4a34-be57-4d76b6a2fe37"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Switch (ToInteger (DerefOf (Index (Arg3, Zero)))) { Case (Zero) { } Case (One) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x80) } } Case (0x02) { } Case (0x03) { } Case (0x04) { If (CondRefOf (\_SB.SLPB)) { Notify (SLPB, 0x02) } } } } Return (Zero) } ElseIf (LEqual (Arg0, ToUUID ("7574eb17-d1a2-4cc2-9929-4a08fcc29107"))) { Switch (ToInteger (Arg2)) { Case (Zero) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Case (One) { Return (WHIT ()) } Case (0x02) { Return (SELF ()) } Default { Return (Buffer (One) { 0x00 }) } } } Else { Return (Buffer (One) { 0x00 }) } } Method (WGST, 0, Serialized) { If (CondRefOf (VDID)) { Switch (ToInteger (VDID)) { Case (0x093C8086) { Return (One) } Case (0x097C8086) { Return (One) } Default { Return (Zero) } } } Else { Return (Zero) } } } Scope (_SB.PCI0) { Method (WHIT, 0, NotSerialized) { Return (Package (0x01) { Package (0x05) { "DockOemId", "DockSkuId", Zero, 0x02, 0x02 } }) } Method (SELF, 0, NotSerialized) { Return (Package (0x02) { "PcOemId", "PcSkuId" }) } } Scope (_SB.PCI0.GFX0) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_SB.PCI0.SAT0) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LNotEqual (And (PEPC, 0x03), Zero))) { Return (Package (0x01) { PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_SB.PCI0.SAT0.VOL0) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { Return (Package (0x01) { PEPD }) } } If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Scope (_SB.PCI0.I2C0) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.I2C1) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.I2C2) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.I2C3) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.I2C4) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.I2C5) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.SPI0) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.SPI1) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.UA00) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.UA01) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } Scope (_SB.PCI0.UA02) { Name (_DEP, Package (0x01) // _DEP: Dependencies { PEPD }) } } Scope (_SB.PCI0.XHC) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { PEPD }) } Else { Return (Package (0x00){}) } } } If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { Scope (_SB.PCI0.RP01.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } } Scope (_SB.PCI0.RP02.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP03.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP04.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } If (CondRefOf (\_SB.PCI0.RP05.PXSX)) { Scope (_SB.PCI0.RP05.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } } Scope (_SB.PCI0.RP06.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP07.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP08.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } If (CondRefOf (\_SB.PCI0.RP09.PXSX)) { Scope (_SB.PCI0.RP09.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } } Scope (_SB.PCI0.RP10.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP11.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP12.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP13.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP14.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP15.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP16.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP17.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP18.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP19.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_SB.PCI0.RP20.PXSX) { Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (LOr (PAHC (), PNVM ())) { If (LAnd (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF)), LOr (LEqual (And (PEPC, 0x0400), 0x0400), LEqual (And (PEPC, 0x0800), 0x0800)))) { Return (Package (0x01) { PEPD }) } } Return (Package (0x00){}) } OperationRegion (PCCX, PCI_Config, 0x09, 0x04) Field (PCCX, ByteAcc, NoLock, Preserve) { PIXX, 8, SCCX, 8, BCCX, 8 } Method (PAHC, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x06)) { If (LEqual (PIXX, One)) { Return (One) } } } Return (Zero) } Method (PNVM, 0, Serialized) { If (LEqual (BCCX, One)) { If (LEqual (SCCX, 0x08)) { If (LEqual (PIXX, 0x02)) { Return (One) } } } Return (Zero) } } Scope (_PR.CPU0) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU1) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU2) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU3) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU4) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU5) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU6) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_PR.CPU7) { Method (XDEP, 0, NotSerialized) { If (LOr (LEqual (S0ID, One), LGreaterEqual (OSYS, 0x07DF))) { Return (Package (0x01) { \_SB.PEPD }) } Else { Return (Package (0x00){}) } } } Scope (_SB) { Device (PEPD) { Name (_HID, "INT33A1") // _HID: Hardware ID Name (_CID, EisaId ("PNP0D80")) // _CID: Compatible ID Name (_UID, One) // _UID: Unique ID Name (DEVY, Package (0x2E) { Package (0x03) { "\\_PR.CPU0", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU1", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU2", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU3", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU4", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU5", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU6", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_PR.CPU7", Zero, Package (0x02) { Zero, Package (0x02) { 0xFF, Zero } } }, Package (0x03) { "\\_SB.PCI0.GFX0", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.SAT0", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.UA00", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.UA01", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.I2C0", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.I2C1", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.XHC", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "INTELAUDIO\\FUNC_01&VEN_10EC*", One, Package (0x03) { Zero, Package (0x02) { Zero, Zero }, Package (0x02) { One, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.PEMC", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.PSDC", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.I2C2", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.I2C3", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.I2C4", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.I2C5", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.UA02", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.SPI0", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.SPI1", One, Package (0x02) { Zero, Package (0x02) { 0xFF, 0x03 } } }, Package (0x03) { "\\_SB.PCI0.RP01.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP02.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP03.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP04.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP05.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP06.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP07.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP08.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP09.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP10.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP11.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP12.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP13.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP14.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP15.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP16.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP17.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP18.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP19.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.RP20.PXSX", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } }, Package (0x03) { "\\_SB.PCI0.SAT0.VOL0", Zero, Package (0x02) { Zero, Package (0x03) { 0xFF, Zero, 0x81 } } } }) Name (BCCD, Package (0x1A) { Package (0x02) { "\\_SB.PCI0.SAT0", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x3E80 } } }, Package (0x02) { "\\_SB.PCI0.SAT0.PRT0", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x3E80 } } }, Package (0x02) { "\\_SB.PCI0.SAT0.PRT1", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x3E80 } } }, Package (0x02) { "\\_SB.PCI0.SAT0.PRT2", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x3E80 } } }, Package (0x02) { "\\_SB.PCI0.SAT0.PRT3", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x3E80 } } }, Package (0x02) { "\\_SB.PCI0.SAT0.VOL0", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x3E80 } } }, Package (0x02) { "\\_SB.PCI0.RP01.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP02.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP03.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP04.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP05.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP06.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP07.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP08.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP09.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP10.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP11.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP12.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP13.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP14.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP15.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP16.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP17.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP18.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP19.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } }, Package (0x02) { "\\_SB.PCI0.RP20.PXSX", Package (0x01) { Package (0x03) { Package (0x05) { One, 0x08, Zero, One, 0xB2 }, Package (0x03) { Zero, 0xCD, One }, 0x000186A0 } } } }) Method (_STA, 0, NotSerialized) // _STA: Status { If (LOr (LGreaterEqual (OSYS, 0x07DF), LAnd (LGreaterEqual (OSYS, 0x07DC), LEqual (S0ID, One)))) { Return (0x0F) } Return (Zero) } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("c4eb40a0-6cd2-11e2-bcfd-0800200c9a66"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x7F }) } If (LEqual (Arg2, One)) { If (LEqual (S0ID, Zero)) { Return (Package (0x00){}) } If (LEqual (And (PEPC, 0x03), One)) { Store (One, Index (DerefOf (Index (DEVY, 0x09)), One)) If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { If (LOr (^^PCI0.RP01.PXSX.PAHC (), ^^PCI0.RP01.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x19)), One)) } } If (LOr (^^PCI0.RP02.PXSX.PAHC (), ^^PCI0.RP02.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x1A)), One)) } If (LOr (^^PCI0.RP03.PXSX.PAHC (), ^^PCI0.RP03.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x1B)), One)) } If (LOr (^^PCI0.RP04.PXSX.PAHC (), ^^PCI0.RP04.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x1C)), One)) } If (CondRefOf (\_SB.PCI0.RP05.PXSX)) { If (LOr (^^PCI0.RP05.PXSX.PAHC (), ^^PCI0.RP05.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x1D)), One)) } } If (LOr (^^PCI0.RP06.PXSX.PAHC (), ^^PCI0.RP06.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x1E)), One)) } If (LOr (^^PCI0.RP07.PXSX.PAHC (), ^^PCI0.RP07.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x1F)), One)) } If (LOr (^^PCI0.RP08.PXSX.PAHC (), ^^PCI0.RP08.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x20)), One)) } If (CondRefOf (\_SB.PCI0.RP09.PXSX)) { If (LOr (^^PCI0.RP09.PXSX.PAHC (), ^^PCI0.RP09.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x21)), One)) } } If (LOr (^^PCI0.RP10.PXSX.PAHC (), ^^PCI0.RP10.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x22)), One)) } If (LOr (^^PCI0.RP11.PXSX.PAHC (), ^^PCI0.RP11.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x23)), One)) } If (LOr (^^PCI0.RP12.PXSX.PAHC (), ^^PCI0.RP12.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x24)), One)) } If (LOr (^^PCI0.RP13.PXSX.PAHC (), ^^PCI0.RP13.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x25)), One)) } If (LOr (^^PCI0.RP14.PXSX.PAHC (), ^^PCI0.RP14.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x26)), One)) } If (LOr (^^PCI0.RP15.PXSX.PAHC (), ^^PCI0.RP15.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x27)), One)) } If (LOr (^^PCI0.RP16.PXSX.PAHC (), ^^PCI0.RP16.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x28)), One)) } If (LOr (^^PCI0.RP17.PXSX.PAHC (), ^^PCI0.RP17.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x29)), One)) } If (LOr (^^PCI0.RP18.PXSX.PAHC (), ^^PCI0.RP18.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x2A)), One)) } If (LOr (^^PCI0.RP19.PXSX.PAHC (), ^^PCI0.RP19.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x2B)), One)) } If (LOr (^^PCI0.RP20.PXSX.PAHC (), ^^PCI0.RP20.PXSX.PNVM ())) { Store (One, Index (DerefOf (Index (DEVY, 0x2C)), One)) } } ElseIf (LEqual (And (PEPC, 0x03), 0x02)) { Store (One, Index (DerefOf (Index (DEVY, 0x2D)), One)) } If (LEqual (And (PEPC, 0x04), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x0A)), One)) } If (LEqual (And (PEPC, 0x08), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x0B)), One)) } If (LEqual (And (PEPC, 0x10), Zero)){} If (LEqual (And (PEPC, 0x20), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x0C)), One)) } If (LEqual (And (PEPC, 0x40), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x0D)), One)) } If (LEqual (And (PEPC, 0x80), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x0E)), One)) } If (LEqual (And (PEPC, 0x0100), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x0F)), One)) } If (LEqual (And (PEPC, 0x0200), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x08)), One)) } If (LGreaterEqual (TCNT, One)) { Store (One, Index (DerefOf (Index (DEVY, Zero)), One)) } If (LGreaterEqual (TCNT, 0x02)) { Store (One, Index (DerefOf (Index (DEVY, One)), One)) } If (LGreaterEqual (TCNT, 0x03)) { Store (One, Index (DerefOf (Index (DEVY, 0x02)), One)) } If (LGreaterEqual (TCNT, 0x04)) { Store (One, Index (DerefOf (Index (DEVY, 0x03)), One)) } If (LGreaterEqual (TCNT, 0x05)) { Store (One, Index (DerefOf (Index (DEVY, 0x04)), One)) } If (LGreaterEqual (TCNT, 0x06)) { Store (One, Index (DerefOf (Index (DEVY, 0x05)), One)) } If (LGreaterEqual (TCNT, 0x07)) { Store (One, Index (DerefOf (Index (DEVY, 0x06)), One)) } If (LGreaterEqual (TCNT, 0x08)) { Store (One, Index (DerefOf (Index (DEVY, 0x07)), One)) } If (LEqual (And (PEPC, 0x0400), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, Zero)), One)) Store (Zero, Index (DerefOf (Index (DEVY, One)), One)) Store (Zero, Index (DerefOf (Index (DEVY, 0x02)), One)) Store (Zero, Index (DerefOf (Index (DEVY, 0x03)), One)) Store (Zero, Index (DerefOf (Index (DEVY, 0x04)), One)) Store (Zero, Index (DerefOf (Index (DEVY, 0x05)), One)) Store (Zero, Index (DerefOf (Index (DEVY, 0x06)), One)) Store (Zero, Index (DerefOf (Index (DEVY, 0x07)), One)) } If (LEqual (And (PEPC, 0x0800), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x10)), One)) } If (LEqual (And (PEPC, 0x1000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x11)), One)) } If (LEqual (And (PEPC, 0x2000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x12)), One)) } If (LEqual (And (PEPC, 0x4000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x13)), One)) } If (LEqual (And (PEPC, 0x8000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x14)), One)) } If (LEqual (And (PEPC, 0x00010000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x15)), One)) } If (LEqual (And (PEPC, 0x00020000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x16)), One)) } If (LEqual (And (PEPC, 0x00040000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x17)), One)) } If (LEqual (And (PEPC, 0x00080000), Zero)) { Store (Zero, Index (DerefOf (Index (DEVY, 0x18)), One)) } If (LGreaterEqual (OSYS, 0x07DF)) { If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { If (^^PCI0.RP01.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x19)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x19)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x19)), One)) } } If (^^PCI0.RP02.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1A)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1A)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x1A)), One)) } If (^^PCI0.RP03.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1B)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1B)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x1B)), One)) } If (^^PCI0.RP04.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1C)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1C)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x1C)), One)) } If (CondRefOf (\_SB.PCI0.RP05.PXSX)) { If (^^PCI0.RP05.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1D)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1D)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x1D)), One)) } } If (^^PCI0.RP06.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1E)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1E)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x1E)), One)) } If (^^PCI0.RP07.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1F)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x1F)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x1F)), One)) } If (^^PCI0.RP08.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x20)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x20)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x20)), One)) } If (CondRefOf (\_SB.PCI0.RP09.PXSX)) { If (^^PCI0.RP09.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x21)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x21)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x21)), One)) } } If (^^PCI0.RP10.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x22)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x22)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x22)), One)) } If (^^PCI0.RP11.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x23)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x23)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x23)), One)) } If (^^PCI0.RP12.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x24)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x24)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x24)), One)) } If (^^PCI0.RP13.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x25)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x25)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x25)), One)) } If (^^PCI0.RP14.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x26)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x26)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x26)), One)) } If (^^PCI0.RP15.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x27)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x27)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x27)), One)) } If (^^PCI0.RP16.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x28)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x28)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x28)), One)) } If (^^PCI0.RP17.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x29)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x29)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x29)), One)) } If (^^PCI0.RP18.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x2A)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x2A)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x2A)), One)) } If (^^PCI0.RP19.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x2B)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x2B)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x2B)), One)) } If (^^PCI0.RP20.PXSX.WIST ()) { Store (0x03, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x2C)), 0x02)), One)), One)) Store (Zero, Index (DerefOf (Index (DerefOf (Index (DerefOf (Index (DEVY, 0x2C)), 0x02)), One)), 0x02)) Store (One, Index (DerefOf (Index (DEVY, 0x2C)), One)) } } If (LAnd (LGreaterEqual (OSYS, 0x07DF), LEqual (PWIG, One))) { If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { If (^^PCI0.RP01.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x19)), One)) } } If (^^PCI0.RP02.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x1A)), One)) } If (^^PCI0.RP03.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x1B)), One)) } If (^^PCI0.RP04.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x1C)), One)) } If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { If (^^PCI0.RP05.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x1D)), One)) } } If (^^PCI0.RP06.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x1E)), One)) } If (^^PCI0.RP07.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x1F)), One)) } If (^^PCI0.RP08.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x20)), One)) } If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { If (^^PCI0.RP09.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x21)), One)) } } If (^^PCI0.RP10.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x22)), One)) } If (^^PCI0.RP11.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x23)), One)) } If (^^PCI0.RP12.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x24)), One)) } If (^^PCI0.RP13.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x25)), One)) } If (^^PCI0.RP14.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x26)), One)) } If (^^PCI0.RP15.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x27)), One)) } If (^^PCI0.RP16.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x28)), One)) } If (^^PCI0.RP17.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x29)), One)) } If (^^PCI0.RP18.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x2A)), One)) } If (^^PCI0.RP19.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x2B)), One)) } If (^^PCI0.RP20.PXSX.WGST ()) { Store (One, Index (DerefOf (Index (DEVY, 0x2C)), One)) } } Return (DEVY) } If (LEqual (Arg2, 0x02)) { Return (BCCD) } If (LEqual (Arg2, 0x03)) { If (LEqual (S0ID, One)) { ^^PCI0.LPCB.H_EC.ECNT (One) } } If (LEqual (Arg2, 0x04)) { If (LEqual (S0ID, One)) { ^^PCI0.LPCB.H_EC.ECNT (Zero) } } If (LEqual (Arg2, 0x05)) { If (LEqual (S0ID, One)) { GUAM (One) } ^^PCI0.LPCB.H_EC.ECNT (0x03) } If (LEqual (Arg2, 0x06)) { If (LEqual (S0ID, One)) { GUAM (Zero) } ^^PCI0.LPCB.H_EC.ECNT (0x02) } } Return (Buffer (One) { 0x00 }) } } } Scope (_SB.PCI0) { Method (IICB, 2, Serialized) { Switch (ToInteger (Arg1)) { Case (Zero) { Name (IIC0, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C0", 0x00, ResourceConsumer, _Y31, Exclusive, ) }) CreateWordField (IIC0, \_SB.PCI0.IICB._Y31._ADR, DAD0) // _ADR: Address Store (Arg0, DAD0) Return (IIC0) } Case (One) { Name (IIC1, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C1", 0x00, ResourceConsumer, _Y32, Exclusive, ) }) CreateWordField (IIC1, \_SB.PCI0.IICB._Y32._ADR, DAD1) // _ADR: Address Store (Arg0, DAD1) Return (IIC1) } Case (0x02) { Name (IIC2, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, _Y33, Exclusive, ) }) CreateWordField (IIC2, \_SB.PCI0.IICB._Y33._ADR, DAD2) // _ADR: Address Store (Arg0, DAD2) Return (IIC2) } Case (0x03) { Name (IIC3, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C3", 0x00, ResourceConsumer, _Y34, Exclusive, ) }) CreateWordField (IIC3, \_SB.PCI0.IICB._Y34._ADR, DAD3) // _ADR: Address Store (Arg0, DAD3) Return (IIC3) } Case (0x04) { Name (IIC4, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C4", 0x00, ResourceConsumer, _Y35, Exclusive, ) }) CreateWordField (IIC4, \_SB.PCI0.IICB._Y35._ADR, DAD4) // _ADR: Address Store (Arg0, DAD4) Return (IIC4) } Default { Name (IIC5, ResourceTemplate () { I2cSerialBusV2 (0x0000, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C5", 0x00, ResourceConsumer, _Y36, Exclusive, ) }) CreateWordField (IIC5, \_SB.PCI0.IICB._Y36._ADR, DAD5) // _ADR: Address Store (Arg0, DAD5) Return (IIC5) } } } Method (PINR, 2, Serialized) { Name (GPIR, ResourceTemplate () { GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, , ) { // Pin list 0xFFFF } }) CreateWordField (GPIR, 0x17, PINF) Store (Add (Multiply (0x18, Arg1), Arg0), PINF) Return (GPIR) } Method (DSMI, 4, Serialized) { ShiftLeft (Arg3, 0x18, Local3) ShiftLeft (Arg2, 0x10, Local2) ShiftLeft (Arg1, 0x08, Local1) Or (Local1, Arg0, Local0) Or (Local0, Local2, Local0) Or (Local0, Local3, Local0) Return (Local0) } Method (GPPI, 4, Serialized) { ShiftLeft (Arg3, 0x18, Local3) ShiftLeft (Arg2, 0x10, Local2) ShiftLeft (Arg1, 0x08, Local1) Or (Local1, Arg0, Local0) Or (Local0, Local2, Local0) Or (Local0, Local3, Local0) Return (Local0) } Method (GRID, 1, Serialized) { Name (BUF, Buffer (0x09){}) Switch (ToInteger (Arg0)) { Case (Zero) { Store (L0H0, Index (BUF, Zero)) Store (L0H1, Index (BUF, One)) Store (L0H2, Index (BUF, 0x02)) Store (L0H3, Index (BUF, 0x03)) Store (L0H4, Index (BUF, 0x04)) Store (L0H5, Index (BUF, 0x05)) Store (L0H6, Index (BUF, 0x06)) Store (L0H7, Index (BUF, 0x07)) Store (L0H8, Index (BUF, 0x08)) } Case (One) { Store (L1H0, Index (BUF, Zero)) Store (L1H1, Index (BUF, One)) Store (L1H2, Index (BUF, 0x02)) Store (L1H3, Index (BUF, 0x03)) Store (L1H4, Index (BUF, 0x04)) Store (L1H5, Index (BUF, 0x05)) Store (L1H6, Index (BUF, 0x06)) Store (L1H7, Index (BUF, 0x07)) Store (L1H8, Index (BUF, 0x08)) } Case (0x02) { Store (L2H0, Index (BUF, Zero)) Store (L2H1, Index (BUF, One)) Store (L2H2, Index (BUF, 0x02)) Store (L2H3, Index (BUF, 0x03)) Store (L2H4, Index (BUF, 0x04)) Store (L2H5, Index (BUF, 0x05)) Store (L2H6, Index (BUF, 0x06)) Store (L2H7, Index (BUF, 0x07)) Store (L2H8, Index (BUF, 0x08)) } Default { Store (L3H0, Index (BUF, Zero)) Store (L3H1, Index (BUF, One)) Store (L3H2, Index (BUF, 0x02)) Store (L3H3, Index (BUF, 0x03)) Store (L3H4, Index (BUF, 0x04)) Store (L3H5, Index (BUF, 0x05)) Store (L3H6, Index (BUF, 0x06)) Store (L3H7, Index (BUF, 0x07)) Store (L3H8, Index (BUF, 0x08)) } } Return (ToString (BUF, Ones)) } Method (HCID, 1, Serialized) { Switch (ToInteger (Arg0)) { Case (Zero) { Store (L0SM, Local0) } Case (One) { Store (L1SM, Local0) } Case (0x02) { Store (L2SM, Local0) } Default { Store (L3SM, Local0) } } Switch (ToInteger (Local0)) { Case (Zero) { Return ("INT3471") } Case (One) { Return ("INT33BE") } Case (0x02) { Return ("INT3476") } Case (0x03) { Return ("INT3477") } Case (0x04) { Return ("INT3474") } Case (0x05) { Return ("INT3473") } Case (0x06) { Return ("INT3475") } Case (0x07) { Return ("INT3478") } Case (0x08) { Return ("INT3479") } Case (0x09) { Return ("INT347A") } Case (0x0A) { Return ("INT347B") } Default { Return (GRID (Arg0)) } } } Method (CDEP, 1, Serialized) { If (LEqual (Arg0, Zero)) { If (LEqual (C0TP, One)) { Switch (ToInteger (L0BS)) { Case (Zero) { Return (Package (0x02) { DSC0, I2C0 }) } Case (One) { Return (Package (0x02) { DSC0, I2C1 }) } Case (0x02) { Return (Package (0x02) { DSC0, I2C2 }) } Case (0x03) { Return (Package (0x02) { DSC0, I2C3 }) } Case (0x04) { Return (Package (0x02) { DSC0, I2C4 }) } Case (0x05) { Return (Package (0x02) { DSC0, I2C5 }) } Default { Return (Package (0x01) { DSC0 }) } } } If (LGreater (C0TP, One)) { Return (Package (0x01) { CLP0 }) } } If (LEqual (Arg0, One)) { If (LEqual (C1TP, One)) { Switch (ToInteger (L1BS)) { Case (Zero) { Return (Package (0x02) { DSC1, I2C0 }) } Case (One) { Return (Package (0x02) { DSC1, I2C1 }) } Case (0x02) { Return (Package (0x02) { DSC1, I2C2 }) } Case (0x03) { Return (Package (0x02) { DSC1, I2C3 }) } Case (0x04) { Return (Package (0x02) { DSC1, I2C4 }) } Case (0x05) { Return (Package (0x02) { DSC1, I2C5 }) } Default { Return (Package (0x01) { DSC1 }) } } } If (LGreater (C1TP, One)) { Return (Package (0x01) { CLP1 }) } } If (LEqual (Arg0, 0x02)) { If (LEqual (C2TP, One)) { Switch (ToInteger (L2BS)) { Case (Zero) { Return (Package (0x02) { DSC2, I2C0 }) } Case (One) { Return (Package (0x02) { DSC2, I2C1 }) } Case (0x02) { Return (Package (0x02) { DSC2, I2C2 }) } Case (0x03) { Return (Package (0x02) { DSC2, I2C3 }) } Case (0x04) { Return (Package (0x02) { DSC2, I2C4 }) } Case (0x05) { Return (Package (0x02) { DSC2, I2C5 }) } Default { Return (Package (0x01) { DSC2 }) } } } If (LGreater (C2TP, One)) { Return (Package (0x01) { CLP2 }) } } If (LEqual (Arg0, 0x03)) { If (LEqual (C3TP, One)) { Switch (ToInteger (L3BS)) { Case (Zero) { Return (Package (0x02) { DSC3, I2C0 }) } Case (One) { Return (Package (0x02) { DSC3, I2C1 }) } Case (0x02) { Return (Package (0x02) { DSC3, I2C2 }) } Case (0x03) { Return (Package (0x02) { DSC3, I2C3 }) } Case (0x04) { Return (Package (0x02) { DSC3, I2C4 }) } Case (0x05) { Return (Package (0x02) { DSC3, I2C5 }) } Default { Return (Package (0x01) { DSC3 }) } } } If (LGreater (C3TP, One)) { Return (Package (0x01) { CLP3 }) } } Return (Package (0x01) { PCI0 }) } Method (CDEG, 1, Serialized) { Switch (ToInteger (Arg0)) { Case (Zero) { Return (Zero) } Case (One) { Return (0x2D) } Case (0x02) { Return (0x5A) } Case (0x03) { Return (0x87) } Case (0x04) { Return (0xB4) } Case (0x05) { Return (0xE1) } Case (0x06) { Return (0x010E) } Case (0x07) { Return (0x013B) } Default { Return (Zero) } } } Device (DSC0) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, Zero) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (C0GP, Zero)) { Store (PINR (C0P0, C0G0), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C0GP, One)) { Store (PINR (C0P1, C0G1), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C0GP, 0x02)) { Store (PINR (C0P2, C0G2), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C0GP, 0x03)) { Store (PINR (C0P3, C0G3), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL00) { If (LEqual (C0TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C0TP, Index (PAR, One)) Store (C0CV, Index (PAR, 0x03)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("79234640-9e10-4fea-a5c1-b5aa8b19756f"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x3F }) } If (LEqual (Arg2, One)) { Return (C0GP) } If (LEqual (Arg2, 0x02)) { Return (GPPI (C0F0, Add (Multiply (0x18, C0G0), C0P0), C0I0, C0A0)) } If (LEqual (Arg2, 0x03)) { Return (GPPI (C0F1, Add (Multiply (0x18, C0G1), C0P1), C0I1, C0A1)) } If (LEqual (Arg2, 0x04)) { Return (GPPI (C0F2, Add (Multiply (0x18, C0G2), C0P2), C0I2, C0A2)) } If (LEqual (Arg2, 0x05)) { Return (GPPI (C0F3, Add (Multiply (0x18, C0G3), C0P3), C0I3, C0A3)) } Return (Buffer (One) { 0x00 }) } Return (Buffer (One) { 0x00 }) } } Device (DSC1) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, One) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (C1GP, Zero)) { Store (PINR (C1P0, C1G0), Local1) ConcatenateResTemplate (Local0, Local1, Local0) } If (LGreater (C1GP, One)) { Store (PINR (C1P1, C1G1), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C1GP, 0x02)) { Store (PINR (C1P2, C1G2), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C1GP, 0x03)) { Store (PINR (C1P3, C1G3), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL01) { If (LEqual (C1TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C1TP, Index (PAR, One)) Store (C1CV, Index (PAR, 0x03)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("79234640-9e10-4fea-a5c1-b5aa8b19756f"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x3F }) } If (LEqual (Arg2, One)) { Return (C1GP) } If (LEqual (Arg2, 0x02)) { Return (GPPI (C1F0, Add (Multiply (0x18, C1G0), C1P0), C1I0, C1A0)) } If (LEqual (Arg2, 0x03)) { Return (GPPI (C1F1, Add (Multiply (0x18, C1G1), C1P1), C1I1, C1A1)) } If (LEqual (Arg2, 0x04)) { Return (GPPI (C1F2, Add (Multiply (0x18, C1G2), C1P2), C1I2, C1A2)) } If (LEqual (Arg2, 0x05)) { Return (GPPI (C1F3, Add (Multiply (0x18, C1G3), C1P3), C1I3, C1A3)) } } Return (Buffer (One) { 0x00 }) } } Device (DSC2) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, 0x02) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (C2GP, Zero)) { Store (PINR (C2P0, C2G0), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C2GP, One)) { Store (PINR (C2P1, C2G1), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C2GP, 0x02)) { Store (PINR (C2P2, C2G2), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C2GP, 0x03)) { Store (PINR (C2P3, C2G3), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL02) { If (LEqual (C2TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C2TP, Index (PAR, One)) Store (C2CV, Index (PAR, 0x03)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("79234640-9e10-4fea-a5c1-b5aa8b19756f"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x3F }) } If (LEqual (Arg2, One)) { Return (C2GP) } If (LEqual (Arg2, 0x02)) { Return (GPPI (C2F0, Add (Multiply (0x18, C2G0), C2P0), C2I0, C2A0)) } If (LEqual (Arg2, 0x03)) { Return (GPPI (C2F1, Add (Multiply (0x18, C2G1), C2P1), C2I1, C2A1)) } If (LEqual (Arg2, 0x04)) { Return (GPPI (C2F2, Add (Multiply (0x18, C2G2), C2P2), C2I2, C2A2)) } If (LEqual (Arg2, 0x05)) { Return (GPPI (C2F3, Add (Multiply (0x18, C2G3), C2P3), C2I3, C2A3)) } } Return (Buffer (One) { 0x00 }) } } Device (DSC3) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, 0x03) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (C3GP, Zero)) { Store (PINR (C3P0, C3G0), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C3GP, One)) { Store (PINR (C3P1, C3G1), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C3GP, 0x02)) { Store (PINR (C3P2, C3G2), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (C3GP, 0x03)) { Store (PINR (C3P3, C3G3), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL03) { If (LEqual (C3TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C3TP, Index (PAR, One)) Store (C3CV, Index (PAR, 0x03)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("79234640-9e10-4fea-a5c1-b5aa8b19756f"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x3F }) } If (LEqual (Arg2, One)) { Return (C3GP) } If (LEqual (Arg2, 0x02)) { Return (GPPI (C3F0, Add (Multiply (0x18, C3G0), C3P0), C3I0, C3A0)) } If (LEqual (Arg2, 0x03)) { Return (GPPI (C3F1, Add (Multiply (0x18, C3G1), C3P1), C3I1, C3A1)) } If (LEqual (Arg2, 0x04)) { Return (GPPI (C3F2, Add (Multiply (0x18, C3G2), C3P2), C3I2, C3A2)) } If (LEqual (Arg2, 0x05)) { Return (GPPI (C3F3, Add (Multiply (0x18, C3G3), C3P3), C3I3, C3A3)) } } Return (Buffer (One) { 0x00 }) } } Device (CLP0) { Name (_ADR, Zero) // _ADR: Address Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (CL00) { If (LEqual (C0IB, 0x02)) { Return (Package (0x01) { I2C2 }) } If (LEqual (C0IB, 0x03)) { Return (Package (0x01) { I2C3 }) } } Return (Package (0x01) { PCI0 }) } Name (_UID, Zero) // _UID: Unique ID Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) ConcatenateResTemplate (Local0, IICB (C0IA, C0IB), Local2) Store (Local2, Local0) Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL00) { If (LGreater (C0TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C0TP, Index (PAR, One)) Store (C0CV, Index (PAR, 0x03)) Return (PAR) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x29, 0x0D, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) Store (C0PL, BPOS) Return (PLDB) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Return (One) } If (LEqual (Arg2, 0x02)) { Return (DSMI (0x0B, C0IA, Zero, C0IB)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) Store (One, I2CC) Store (DSMI (0x0B, C0IA, Zero, C0IB), DEV0) Return (DSMB) } } Return (Buffer (One) { 0x00 }) } } Device (CLP1) { Name (_ADR, Zero) // _ADR: Address Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (CL01) { If (LEqual (C1IB, 0x02)) { Return (Package (0x01) { I2C2 }) } If (LEqual (C1IB, 0x03)) { Return (Package (0x01) { I2C3 }) } } Return (Package (0x01) { PCI0 }) } Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, One) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) ConcatenateResTemplate (Local0, IICB (C1IA, C1IB), Local2) Store (Local2, Local0) Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL01) { If (LGreater (C1TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C1TP, Index (PAR, One)) Store (C1CV, Index (PAR, 0x03)) Return (PAR) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x29, 0x0D, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) Store (C1PL, BPOS) Return (PLDB) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Return (One) } If (LEqual (Arg2, 0x02)) { Return (DSMI (0x0B, C1IA, Zero, C1IB)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) Store (One, I2CC) Store (DSMI (0x0B, C1IA, Zero, C1IB), DEV0) Return (DSMB) } } Return (Buffer (One) { 0x00 }) } } Device (CLP2) { Name (_ADR, Zero) // _ADR: Address Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (CL02) { If (LEqual (C2IB, 0x02)) { Return (Package (0x01) { I2C2 }) } If (LEqual (C2IB, 0x03)) { Return (Package (0x01) { I2C3 }) } } Return (Package (0x01) { PCI0 }) } Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, 0x02) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) ConcatenateResTemplate (Local0, IICB (C2IA, C2IB), Local2) Store (Local2, Local0) Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL02) { If (LGreater (C2TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C2TP, Index (PAR, One)) Store (C2CV, Index (PAR, 0x03)) Return (PAR) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x29, 0x0D, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) Store (C2PL, BPOS) Return (PLDB) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Return (One) } If (LEqual (Arg2, 0x02)) { Return (DSMI (0x0B, C2IA, Zero, C2IB)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) Store (One, I2CC) Store (DSMI (0x0B, C2IA, Zero, C2IB), DEV0) Return (DSMB) } } Return (Buffer (One) { 0x00 }) } } Device (CLP3) { Name (_ADR, Zero) // _ADR: Address Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (CL03) { If (LEqual (C3IB, 0x02)) { Return (Package (0x01) { I2C2 }) } If (LEqual (C3IB, 0x03)) { Return (Package (0x01) { I2C3 }) } } Return (Package (0x01) { PCI0 }) } Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG") // _DDN: DOS Device Name Name (_UID, 0x03) // _UID: Unique ID Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) ConcatenateResTemplate (Local0, IICB (C3IA, C3IB), Local2) Store (Local2, Local0) Return (Local0) } Method (_STA, 0, NotSerialized) // _STA: Status { If (CL03) { If (LGreater (C3TP, One)) { Return (0x0F) } } Return (Zero) } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Store (C3TP, Index (PAR, One)) Store (C3CV, Index (PAR, 0x03)) Return (PAR) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x29, 0x0D, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) Store (C3PL, BPOS) Return (PLDB) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Return (One) } If (LEqual (Arg2, 0x02)) { Return (DSMI (0x0B, C3IA, Zero, C3IB)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) Store (One, I2CC) Store (DSMI (0x0B, C3IA, Zero, C3IB), DEV0) Return (DSMB) } } Return (Buffer (One) { 0x00 }) } } Device (LNK0) { Name (_ADR, Zero) // _ADR: Address Method (_STA, 0, NotSerialized) // _STA: Status { If (L0EN) { Return (0x0F) } Else { Return (Zero) } } Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (L0EN) { Return (CDEP (L0CL)) } Else { Return (Package (0x01) { PCI0 }) } } Name (_UID, Zero) // _UID: Unique ID Method (_HID, 0, NotSerialized) // _HID: Hardware ID { Return (HCID (Zero)) } Method (_CID, 0, NotSerialized) // _CID: Compatible ID { Return (HCID (Zero)) } Method (_DDN, 0, NotSerialized) // _DDN: DOS Device Name { Name (BUF, Buffer (0x10){}) Store (L0M0, Index (BUF, Zero)) Store (L0M1, Index (BUF, One)) Store (L0M2, Index (BUF, 0x02)) Store (L0M3, Index (BUF, 0x03)) Store (L0M4, Index (BUF, 0x04)) Store (L0M5, Index (BUF, 0x05)) Store (L0M6, Index (BUF, 0x06)) Store (L0M7, Index (BUF, 0x07)) Store (L0M8, Index (BUF, 0x08)) Store (L0M9, Index (BUF, 0x09)) Store (L0MA, Index (BUF, 0x0A)) Store (L0MB, Index (BUF, 0x0B)) Store (L0MC, Index (BUF, 0x0C)) Store (L0MD, Index (BUF, 0x0D)) Store (L0ME, Index (BUF, 0x0E)) Store (L0MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x69, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) CreateField (DerefOf (Index (PLDB, Zero)), 0x73, 0x04, RPOS) Store (L0PL, BPOS) Store (L0DG, RPOS) Return (PLDB) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (L0DI, Zero)) { Store (IICB (L0A0, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, One)) { Store (IICB (L0A1, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x02)) { Store (IICB (L0A2, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x03)) { Store (IICB (L0A3, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x04)) { Store (IICB (L0A4, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x05)) { Store (IICB (L0A5, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x06)) { Store (IICB (L0A6, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x07)) { Store (IICB (L0A7, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x08)) { Store (IICB (L0A8, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x09)) { Store (IICB (L0A9, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x0A)) { Store (IICB (L0AA, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L0DI, 0x0B)) { Store (IICB (L0AB, L0BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (SSDB, 0, NotSerialized) { Name (PAR, Buffer (0x6C) { /* 0000 */ 0x00, 0x00, 0x69, 0x56, 0x39, 0x8A, 0xF7, 0x11, /* 0008 */ 0xA9, 0x4E, 0x9C, 0x7D, 0x20, 0xEE, 0x0A, 0xB5, /* 0010 */ 0xCA, 0x40, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x09, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00 }) Store (L0DV, Index (PAR, Zero)) Store (L0CV, Index (PAR, One)) Store (CDIV, Index (PAR, 0x18)) Store (L0LU, Index (PAR, 0x1C)) Store (L0NL, Index (PAR, 0x1D)) Store (L0EE, Index (PAR, 0x4E)) Store (L0VC, Index (PAR, 0x4F)) Store (L0FS, Index (PAR, 0x52)) Store (CDEG (L0DG), Index (PAR, 0x54)) CreateDWordField (PAR, 0x56, DAT) Store (L0CK, DAT) Store (L0CL, Index (PAR, 0x5A)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("822ace8f-2814-4174-a56b-5f029fe079ee"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (BUF, Buffer (0x10){}) Store (L0M0, Index (BUF, Zero)) Store (L0M1, Index (BUF, One)) Store (L0M2, Index (BUF, 0x02)) Store (L0M3, Index (BUF, 0x03)) Store (L0M4, Index (BUF, 0x04)) Store (L0M5, Index (BUF, 0x05)) Store (L0M6, Index (BUF, 0x06)) Store (L0M7, Index (BUF, 0x07)) Store (L0M8, Index (BUF, 0x08)) Store (L0M9, Index (BUF, 0x09)) Store (L0MA, Index (BUF, 0x0A)) Store (L0MB, Index (BUF, 0x0B)) Store (L0MC, Index (BUF, 0x0C)) Store (L0MD, Index (BUF, 0x0D)) Store (L0ME, Index (BUF, 0x0E)) Store (L0MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) CreateDWordField (DSMB, 0x08, DEV1) CreateDWordField (DSMB, 0x0C, DEV2) CreateDWordField (DSMB, 0x10, DEV3) CreateDWordField (DSMB, 0x14, DEV4) CreateDWordField (DSMB, 0x18, DEV5) CreateDWordField (DSMB, 0x1C, DEV6) CreateDWordField (DSMB, 0x20, DEV7) CreateDWordField (DSMB, 0x24, DEV8) CreateDWordField (DSMB, 0x28, DEV9) CreateDWordField (DSMB, 0x2C, DEVA) CreateDWordField (DSMB, 0x30, DEVB) Store (L0DI, I2CC) Store (DSMI (L0D0, L0A0, Zero, L0BS), DEV0) Store (DSMI (L0D1, L0A1, Zero, L0BS), DEV1) Store (DSMI (L0D2, L0A2, Zero, L0BS), DEV2) Store (DSMI (L0D3, L0A3, Zero, L0BS), DEV3) Store (DSMI (L0D4, L0A4, Zero, L0BS), DEV4) Store (DSMI (L0D5, L0A5, Zero, L0BS), DEV5) Store (DSMI (L0D6, L0A6, Zero, L0BS), DEV6) Store (DSMI (L0D7, L0A7, Zero, L0BS), DEV7) Store (DSMI (L0D8, L0A8, Zero, L0BS), DEV8) Store (DSMI (L0D9, L0A9, Zero, L0BS), DEV9) Store (DSMI (L0DA, L0AA, Zero, L0BS), DEVA) Store (DSMI (L0DB, L0AB, Zero, L0BS), DEVB) Return (DSMB) } Return (Buffer (One) { 0x00 }) } If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (0x02) { 0xFF, 0x1F }) } If (LEqual (Arg2, One)) { Return (L0DI) } If (LEqual (Arg2, 0x02)) { If (LGreater (L0DI, Zero)) { Return (DSMI (L0D0, L0A0, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x03)) { If (LGreater (L0DI, One)) { Return (DSMI (L0D1, L0A1, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x04)) { If (LGreater (L0DI, 0x02)) { Return (DSMI (L0D2, L0A2, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x05)) { If (LGreater (L0DI, 0x03)) { Return (DSMI (L0D3, L0A3, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x06)) { If (LGreater (L0DI, 0x04)) { Return (DSMI (L0D4, L0A4, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x07)) { If (LGreater (L0DI, 0x05)) { Return (DSMI (L0D5, L0A5, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L0DI, 0x06)) { Return (DSMI (L0D6, L0A6, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L0DI, 0x07)) { Return (DSMI (L0D7, L0A7, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x09)) { If (LGreater (L0DI, 0x08)) { Return (DSMI (L0D8, L0A8, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0A)) { If (LGreater (L0DI, 0x09)) { Return (DSMI (L0D9, L0A9, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0B)) { If (LGreater (L0DI, 0x0A)) { Return (DSMI (L0DA, L0AA, Zero, L0BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0C)) { If (LGreater (L0DI, 0x0B)) { Return (DSMI (L0DB, L0AB, Zero, L0BS)) } Else { Return (Zero) } } } Return (Buffer (One) { 0x00 }) } } Device (LNK1) { Name (_ADR, Zero) // _ADR: Address Method (_STA, 0, NotSerialized) // _STA: Status { If (L1EN) { Return (0x0F) } Else { Return (Zero) } } Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (L1EN) { Return (CDEP (L1CL)) } Else { Return (Package (0x01) { PCI0 }) } } Name (_UID, One) // _UID: Unique ID Method (_HID, 0, NotSerialized) // _HID: Hardware ID { Return (HCID (One)) } Method (_CID, 0, NotSerialized) // _CID: Compatible ID { Return (HCID (One)) } Method (_DDN, 0, NotSerialized) // _DDN: DOS Device Name { Name (BUF, Buffer (0x10){}) Store (L1M0, Index (BUF, Zero)) Store (L1M1, Index (BUF, One)) Store (L1M2, Index (BUF, 0x02)) Store (L1M3, Index (BUF, 0x03)) Store (L1M4, Index (BUF, 0x04)) Store (L1M5, Index (BUF, 0x05)) Store (L1M6, Index (BUF, 0x06)) Store (L1M7, Index (BUF, 0x07)) Store (L1M8, Index (BUF, 0x08)) Store (L1M9, Index (BUF, 0x09)) Store (L1MA, Index (BUF, 0x0A)) Store (L1MB, Index (BUF, 0x0B)) Store (L1MC, Index (BUF, 0x0C)) Store (L1MD, Index (BUF, 0x0D)) Store (L1ME, Index (BUF, 0x0E)) Store (L1MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x69, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) CreateField (DerefOf (Index (PLDB, Zero)), 0x73, 0x04, RPOS) Store (L1DG, RPOS) Store (L1PL, BPOS) Return (PLDB) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (L1DI, Zero)) { Store (IICB (L1A0, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, One)) { Store (IICB (L1A1, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x02)) { Store (IICB (L1A2, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x03)) { Store (IICB (L1A3, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x04)) { Store (IICB (L1A4, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x05)) { Store (IICB (L1A5, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x06)) { Store (IICB (L1A6, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x07)) { Store (IICB (L1A7, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x08)) { Store (IICB (L1A8, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x09)) { Store (IICB (L1A9, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x0A)) { Store (IICB (L1AA, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L1DI, 0x0B)) { Store (IICB (L1AB, L1BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (SSDB, 0, NotSerialized) { Name (PAR, Buffer (0x6C) { /* 0000 */ 0x00, 0x00, 0x69, 0x56, 0x39, 0x8A, 0xF7, 0x11, /* 0008 */ 0xA9, 0x4E, 0x9C, 0x7D, 0x20, 0xEE, 0x0A, 0xB5, /* 0010 */ 0xCA, 0x40, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x09, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00 }) Store (L1DV, Index (PAR, Zero)) Store (L1CV, Index (PAR, One)) Store (CDIV, Index (PAR, 0x18)) Store (L1LU, Index (PAR, 0x1C)) Store (L1NL, Index (PAR, 0x1D)) Store (L1EE, Index (PAR, 0x4E)) Store (L1VC, Index (PAR, 0x4F)) Store (L1FS, Index (PAR, 0x52)) Store (CDEG (L1DG), Index (PAR, 0x54)) CreateDWordField (PAR, 0x56, DAT) Store (L1CK, DAT) Store (L1CL, Index (PAR, 0x5A)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("822ace8f-2814-4174-a56b-5f029fe079ee"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (BUF, Buffer (0x10){}) Store (L1M0, Index (BUF, Zero)) Store (L1M1, Index (BUF, One)) Store (L1M2, Index (BUF, 0x02)) Store (L1M3, Index (BUF, 0x03)) Store (L1M4, Index (BUF, 0x04)) Store (L1M5, Index (BUF, 0x05)) Store (L1M6, Index (BUF, 0x06)) Store (L1M7, Index (BUF, 0x07)) Store (L1M8, Index (BUF, 0x08)) Store (L1M9, Index (BUF, 0x09)) Store (L1MA, Index (BUF, 0x0A)) Store (L1MB, Index (BUF, 0x0B)) Store (L1MC, Index (BUF, 0x0C)) Store (L1MD, Index (BUF, 0x0D)) Store (L1ME, Index (BUF, 0x0E)) Store (L1MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) CreateDWordField (DSMB, 0x08, DEV1) CreateDWordField (DSMB, 0x0C, DEV2) CreateDWordField (DSMB, 0x10, DEV3) CreateDWordField (DSMB, 0x14, DEV4) CreateDWordField (DSMB, 0x18, DEV5) CreateDWordField (DSMB, 0x1C, DEV6) CreateDWordField (DSMB, 0x20, DEV7) CreateDWordField (DSMB, 0x24, DEV8) CreateDWordField (DSMB, 0x28, DEV9) CreateDWordField (DSMB, 0x2C, DEVA) CreateDWordField (DSMB, 0x30, DEVB) Store (L1DI, I2CC) Store (DSMI (L1D0, L1A0, Zero, L1BS), DEV0) Store (DSMI (L1D1, L1A1, Zero, L1BS), DEV1) Store (DSMI (L1D2, L1A2, Zero, L1BS), DEV2) Store (DSMI (L1D3, L1A3, Zero, L1BS), DEV3) Store (DSMI (L1D4, L1A4, Zero, L1BS), DEV4) Store (DSMI (L1D5, L1A5, Zero, L1BS), DEV5) Store (DSMI (L1D6, L1A6, Zero, L1BS), DEV6) Store (DSMI (L1D7, L1A7, Zero, L1BS), DEV7) Store (DSMI (L1D8, L1A8, Zero, L1BS), DEV8) Store (DSMI (L1D9, L1A9, Zero, L1BS), DEV9) Store (DSMI (L1DA, L1AA, Zero, L1BS), DEVA) Store (DSMI (L1DB, L1AB, Zero, L1BS), DEVB) Return (DSMB) } Return (Buffer (One) { 0x00 }) } If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (0x02) { 0xFF, 0x1F }) } If (LEqual (Arg2, One)) { Return (L1DI) } If (LEqual (Arg2, 0x02)) { If (LGreater (L1DI, Zero)) { Return (DSMI (L1D0, L1A0, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x03)) { If (LGreater (L1DI, One)) { Return (DSMI (L1D1, L1A1, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x04)) { If (LGreater (L1DI, 0x02)) { Return (DSMI (L1D2, L1A2, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x05)) { If (LGreater (L1DI, 0x03)) { Return (DSMI (L1D3, L1A3, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x06)) { If (LGreater (L1DI, 0x04)) { Return (DSMI (L1D4, L1A4, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x07)) { If (LGreater (L1DI, 0x05)) { Return (DSMI (L1D5, L1A5, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L1DI, 0x06)) { Return (DSMI (L1D6, L1A6, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L1DI, 0x07)) { Return (DSMI (L1D7, L1A7, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x09)) { If (LGreater (L1DI, 0x08)) { Return (DSMI (L1D8, L1A8, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0A)) { If (LGreater (L1DI, 0x09)) { Return (DSMI (L1D9, L1A9, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0B)) { If (LGreater (L1DI, 0x0A)) { Return (DSMI (L1DA, L1AA, Zero, L1BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0C)) { If (LGreater (L1DI, 0x0B)) { Return (DSMI (L1DB, L1AB, Zero, L1BS)) } Else { Return (Zero) } } } Return (Buffer (One) { 0x00 }) } } Device (LNK2) { Name (_ADR, Zero) // _ADR: Address Method (_STA, 0, NotSerialized) // _STA: Status { If (L2EN) { Return (0x0F) } Else { Return (Zero) } } Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (L2EN) { Return (CDEP (L2CL)) } Else { Return (Package (0x01) { PCI0 }) } } Name (_UID, 0x02) // _UID: Unique ID Method (_HID, 0, NotSerialized) // _HID: Hardware ID { Return (HCID (0x02)) } Method (_CID, 0, NotSerialized) // _CID: Compatible ID { Return (HCID (0x02)) } Method (_DDN, 0, NotSerialized) // _DDN: DOS Device Name { Name (BUF, Buffer (0x10){}) Store (L2M0, Index (BUF, Zero)) Store (L2M1, Index (BUF, One)) Store (L2M2, Index (BUF, 0x02)) Store (L2M3, Index (BUF, 0x03)) Store (L2M4, Index (BUF, 0x04)) Store (L2M5, Index (BUF, 0x05)) Store (L2M6, Index (BUF, 0x06)) Store (L2M7, Index (BUF, 0x07)) Store (L2M8, Index (BUF, 0x08)) Store (L2M9, Index (BUF, 0x09)) Store (L2MA, Index (BUF, 0x0A)) Store (L2MB, Index (BUF, 0x0B)) Store (L2MC, Index (BUF, 0x0C)) Store (L2MD, Index (BUF, 0x0D)) Store (L2ME, Index (BUF, 0x0E)) Store (L2MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x69, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) CreateField (DerefOf (Index (PLDB, Zero)), 0x73, 0x04, RPOS) Store (L2PL, BPOS) Store (L2DG, RPOS) Return (PLDB) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (L2DI, Zero)) { Store (IICB (L2A0, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, One)) { Store (IICB (L2A1, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x02)) { Store (IICB (L2A2, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x03)) { Store (IICB (L2A3, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x04)) { Store (IICB (L2A4, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x05)) { Store (IICB (L2A5, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x06)) { Store (IICB (L2A6, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x07)) { Store (IICB (L2A7, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x08)) { Store (IICB (L2A8, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x09)) { Store (IICB (L2A9, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x0A)) { Store (IICB (L2AA, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L2DI, 0x0B)) { Store (IICB (L2AB, L2BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (SSDB, 0, NotSerialized) { Name (PAR, Buffer (0x6C) { /* 0000 */ 0x00, 0x00, 0x69, 0x56, 0x39, 0x8A, 0xF7, 0x11, /* 0008 */ 0xA9, 0x4E, 0x9C, 0x7D, 0x20, 0xEE, 0x0A, 0xB5, /* 0010 */ 0xCA, 0x40, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x09, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00 }) Store (L2DV, Index (PAR, Zero)) Store (L2CV, Index (PAR, One)) Store (CDIV, Index (PAR, 0x18)) Store (L2LU, Index (PAR, 0x1C)) Store (L2NL, Index (PAR, 0x1D)) Store (L2EE, Index (PAR, 0x4E)) Store (L2VC, Index (PAR, 0x4F)) Store (L2FS, Index (PAR, 0x52)) Store (CDEG (L2DG), Index (PAR, 0x54)) CreateDWordField (PAR, 0x56, DAT) Store (L2CK, DAT) Store (L2CL, Index (PAR, 0x5A)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("822ace8f-2814-4174-a56b-5f029fe079ee"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (BUF, Buffer (0x10){}) Store (L2M0, Index (BUF, Zero)) Store (L2M1, Index (BUF, One)) Store (L2M2, Index (BUF, 0x02)) Store (L2M3, Index (BUF, 0x03)) Store (L2M4, Index (BUF, 0x04)) Store (L2M5, Index (BUF, 0x05)) Store (L2M6, Index (BUF, 0x06)) Store (L2M7, Index (BUF, 0x07)) Store (L2M8, Index (BUF, 0x08)) Store (L2M9, Index (BUF, 0x09)) Store (L2MA, Index (BUF, 0x0A)) Store (L2MB, Index (BUF, 0x0B)) Store (L2MC, Index (BUF, 0x0C)) Store (L2MD, Index (BUF, 0x0D)) Store (L2ME, Index (BUF, 0x0E)) Store (L2MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) CreateDWordField (DSMB, 0x08, DEV1) CreateDWordField (DSMB, 0x0C, DEV2) CreateDWordField (DSMB, 0x10, DEV3) CreateDWordField (DSMB, 0x14, DEV4) CreateDWordField (DSMB, 0x18, DEV5) CreateDWordField (DSMB, 0x1C, DEV6) CreateDWordField (DSMB, 0x20, DEV7) CreateDWordField (DSMB, 0x24, DEV8) CreateDWordField (DSMB, 0x28, DEV9) CreateDWordField (DSMB, 0x2C, DEVA) CreateDWordField (DSMB, 0x30, DEVB) Store (L2DI, I2CC) Store (DSMI (L2D0, L2A0, Zero, L2BS), DEV0) Store (DSMI (L2D1, L2A1, Zero, L2BS), DEV1) Store (DSMI (L2D2, L2A2, Zero, L2BS), DEV2) Store (DSMI (L2D3, L2A3, Zero, L2BS), DEV3) Store (DSMI (L2D4, L2A4, Zero, L2BS), DEV4) Store (DSMI (L2D5, L2A5, Zero, L2BS), DEV5) Store (DSMI (L2D6, L2A6, Zero, L2BS), DEV6) Store (DSMI (L2D7, L2A7, Zero, L2BS), DEV7) Store (DSMI (L2D8, L2A8, Zero, L2BS), DEV8) Store (DSMI (L2D9, L2A9, Zero, L2BS), DEV9) Store (DSMI (L2DA, L2AA, Zero, L2BS), DEVA) Store (DSMI (L2DB, L2AB, Zero, L2BS), DEVB) Return (DSMB) } Return (Buffer (One) { 0x00 }) } If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (0x02) { 0xFF, 0x1F }) } If (LEqual (Arg2, One)) { Return (L2DI) } If (LEqual (Arg2, 0x02)) { If (LGreater (L2DI, Zero)) { Return (DSMI (L2D0, L2A0, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x03)) { If (LGreater (L2DI, One)) { Return (DSMI (L2D1, L2A1, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x04)) { If (LGreater (L2DI, 0x02)) { Return (DSMI (L2D2, L2A2, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x05)) { If (LGreater (L2DI, 0x03)) { Return (DSMI (L2D3, L2A3, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x06)) { If (LGreater (L2DI, 0x04)) { Return (DSMI (L2D4, L2A4, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x07)) { If (LGreater (L2DI, 0x05)) { Return (DSMI (L2D5, L2A5, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L2DI, 0x06)) { Return (DSMI (L2D6, L2A6, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L2DI, 0x07)) { Return (DSMI (L2D7, L2A7, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x09)) { If (LGreater (L2DI, 0x08)) { Return (DSMI (L2D8, L2A8, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0A)) { If (LGreater (L2DI, 0x09)) { Return (DSMI (L2D9, L2A9, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0B)) { If (LGreater (L2DI, 0x0A)) { Return (DSMI (L2DA, L2AA, Zero, L2BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0C)) { If (LGreater (L2DI, 0x0B)) { Return (DSMI (L2DB, L2AB, Zero, L2BS)) } Else { Return (Zero) } } } Return (Buffer (One) { 0x00 }) } } Device (LNK3) { Name (_ADR, Zero) // _ADR: Address Method (_STA, 0, NotSerialized) // _STA: Status { If (L3EN) { Return (0x0F) } Else { Return (Zero) } } Method (_DEP, 0, NotSerialized) // _DEP: Dependencies { If (L3EN) { Return (CDEP (L3CL)) } Else { Return (Package (0x01) { PCI0 }) } } Name (_UID, 0x03) // _UID: Unique ID Method (_HID, 0, NotSerialized) // _HID: Hardware ID { Return (HCID (0x03)) } Method (_CID, 0, NotSerialized) // _CID: Compatible ID { Return (HCID (0x03)) } Method (_DDN, 0, NotSerialized) // _DDN: DOS Device Name { Name (BUF, Buffer (0x10){}) Store (L3M0, Index (BUF, Zero)) Store (L3M1, Index (BUF, One)) Store (L3M2, Index (BUF, 0x02)) Store (L3M3, Index (BUF, 0x03)) Store (L3M4, Index (BUF, 0x04)) Store (L3M5, Index (BUF, 0x05)) Store (L3M6, Index (BUF, 0x06)) Store (L3M7, Index (BUF, 0x07)) Store (L3M8, Index (BUF, 0x08)) Store (L3M9, Index (BUF, 0x09)) Store (L3MA, Index (BUF, 0x0A)) Store (L3MB, Index (BUF, 0x0B)) Store (L3MC, Index (BUF, 0x0C)) Store (L3MD, Index (BUF, 0x0D)) Store (L3ME, Index (BUF, 0x0E)) Store (L3MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x69, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) CreateByteField (DerefOf (Index (PLDB, Zero)), 0x08, BPOS) CreateField (DerefOf (Index (PLDB, Zero)), 0x73, 0x04, RPOS) Store (L3PL, BPOS) Store (L3DG, RPOS) Return (PLDB) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Store (Buffer (0x02) { 0x79, 0x00 }, Local0) If (LGreater (L3DI, Zero)) { Store (IICB (L3A0, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, One)) { Store (IICB (L3A1, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x02)) { Store (IICB (L3A2, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x03)) { Store (IICB (L3A3, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x04)) { Store (IICB (L3A4, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x05)) { Store (IICB (L3A5, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x06)) { Store (IICB (L3A6, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x07)) { Store (IICB (L3A7, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x08)) { Store (IICB (L3A8, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x09)) { Store (IICB (L3A9, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x0A)) { Store (IICB (L3AA, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } If (LGreater (L3DI, 0x0B)) { Store (IICB (L3AB, L3BS), Local1) ConcatenateResTemplate (Local0, Local1, Local2) Store (Local2, Local0) } Return (Local0) } Method (SSDB, 0, NotSerialized) { Name (PAR, Buffer (0x6C) { /* 0000 */ 0x00, 0x00, 0x69, 0x56, 0x39, 0x8A, 0xF7, 0x11, /* 0008 */ 0xA9, 0x4E, 0x9C, 0x7D, 0x20, 0xEE, 0x0A, 0xB5, /* 0010 */ 0xCA, 0x40, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x09, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00 }) Store (L3DV, Index (PAR, Zero)) Store (L3CV, Index (PAR, One)) Store (CDIV, Index (PAR, 0x18)) Store (L3LU, Index (PAR, 0x1C)) Store (L3NL, Index (PAR, 0x1D)) Store (L3EE, Index (PAR, 0x4E)) Store (L3VC, Index (PAR, 0x4F)) Store (L3FS, Index (PAR, 0x52)) Store (CDEG (L3DG), Index (PAR, 0x54)) CreateDWordField (PAR, 0x56, DAT) Store (L3CK, DAT) Store (L3CL, Index (PAR, 0x5A)) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("822ace8f-2814-4174-a56b-5f029fe079ee"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (BUF, Buffer (0x10){}) Store (L3M0, Index (BUF, Zero)) Store (L3M1, Index (BUF, One)) Store (L3M2, Index (BUF, 0x02)) Store (L3M3, Index (BUF, 0x03)) Store (L3M4, Index (BUF, 0x04)) Store (L3M5, Index (BUF, 0x05)) Store (L3M6, Index (BUF, 0x06)) Store (L3M7, Index (BUF, 0x07)) Store (L3M8, Index (BUF, 0x08)) Store (L3M9, Index (BUF, 0x09)) Store (L3MA, Index (BUF, 0x0A)) Store (L3MB, Index (BUF, 0x0B)) Store (L3MC, Index (BUF, 0x0C)) Store (L3MD, Index (BUF, 0x0D)) Store (L3ME, Index (BUF, 0x0E)) Store (L3MF, Index (BUF, 0x0F)) Return (ToString (BUF, Ones)) } } If (LEqual (Arg0, ToUUID ("5815c5c8-c47d-477b-9a8d-76173176414b"))) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, Zero)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) } } If (LEqual (Arg2, One)) { Name (DSMB, Buffer (0x34){}) CreateDWordField (DSMB, Zero, I2CC) CreateDWordField (DSMB, 0x04, DEV0) CreateDWordField (DSMB, 0x08, DEV1) CreateDWordField (DSMB, 0x0C, DEV2) CreateDWordField (DSMB, 0x10, DEV3) CreateDWordField (DSMB, 0x14, DEV4) CreateDWordField (DSMB, 0x18, DEV5) CreateDWordField (DSMB, 0x1C, DEV6) CreateDWordField (DSMB, 0x20, DEV7) CreateDWordField (DSMB, 0x24, DEV8) CreateDWordField (DSMB, 0x28, DEV9) CreateDWordField (DSMB, 0x2C, DEVA) CreateDWordField (DSMB, 0x30, DEVB) Store (L3DI, I2CC) Store (DSMI (L3D0, L3A0, Zero, L3BS), DEV0) Store (DSMI (L3D1, L3A1, Zero, L3BS), DEV1) Store (DSMI (L3D2, L3A2, Zero, L3BS), DEV2) Store (DSMI (L3D3, L3A3, Zero, L3BS), DEV3) Store (DSMI (L3D4, L3A4, Zero, L3BS), DEV4) Store (DSMI (L3D5, L3A5, Zero, L3BS), DEV5) Store (DSMI (L3D6, L3A6, Zero, L3BS), DEV6) Store (DSMI (L3D7, L3A7, Zero, L3BS), DEV7) Store (DSMI (L3D8, L3A8, Zero, L3BS), DEV8) Store (DSMI (L3D9, L3A9, Zero, L3BS), DEV9) Store (DSMI (L3DA, L3AA, Zero, L3BS), DEVA) Store (DSMI (L3DB, L3AB, Zero, L3BS), DEVB) Return (DSMB) } Return (Buffer (One) { 0x00 }) } If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { Return (Buffer (0x02) { 0xFF, 0x1F }) } If (LEqual (Arg2, One)) { Return (L3DI) } If (LEqual (Arg2, 0x02)) { If (LGreater (L3DI, Zero)) { Return (DSMI (L3D0, L3A0, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x03)) { If (LGreater (L3DI, One)) { Return (DSMI (L3D1, L3A1, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x04)) { If (LGreater (L3DI, 0x02)) { Return (DSMI (L3D2, L3A2, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x05)) { If (LGreater (L3DI, 0x03)) { Return (DSMI (L3D3, L3A3, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x06)) { If (LGreater (L3DI, 0x04)) { Return (DSMI (L3D4, L3A4, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x07)) { If (LGreater (L3DI, 0x05)) { Return (DSMI (L3D5, L3A5, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L3DI, 0x06)) { Return (DSMI (L3D6, L3A6, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x08)) { If (LGreater (L3DI, 0x07)) { Return (DSMI (L3D7, L3A7, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x09)) { If (LGreater (L3DI, 0x08)) { Return (DSMI (L3D8, L3A8, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0A)) { If (LGreater (L3DI, 0x09)) { Return (DSMI (L3D9, L3A9, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0B)) { If (LGreater (L3DI, 0x0A)) { Return (DSMI (L3DA, L3AA, Zero, L3BS)) } Else { Return (Zero) } } If (LEqual (Arg2, 0x0C)) { If (LGreater (L3DI, 0x0B)) { Return (DSMI (L3DB, L3AB, Zero, L3BS)) } Else { Return (Zero) } } } Return (Buffer (One) { 0x00 }) } } } Scope (_SB.PCI0.I2C2) { Device (CAM0) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3471") // _HID: Hardware ID Name (_CID, "INT3471") // _CID: Compatible ID Name (_DDN, "IMX135-CRDG2") // _DDN: DOS Device Name Name (_UID, "0") // _UID: Unique ID Name (_DEP, Package (0x01) // _DEP: Dependencies { PMIC }) Name (_PLD, Package (0x01) // _PLD: Physical Location of Device { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x69, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBUF, ResourceTemplate () { I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x000E, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x0050, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x0051, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x0052, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x0053, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) }) Return (SBUF) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (SCSS, One)) { Return (0x0F) } Else { Return (Zero) } } Method (SSDB, 0, NotSerialized) { Name (PAR, Buffer (0x6C) { /* 0000 */ 0x00, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x03, /* 0050 */ 0x09, 0x00, 0x02, 0x01, 0x00, 0x01, 0x00, 0x36, /* 0058 */ 0x6E, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00 }) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("822ace8f-2814-4174-a56b-5f029fe079ee"))) { Return ("13P2BAD33") } If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, One)) { Return (0x06) } If (LEqual (Arg2, 0x02)) { Return (0x02001000) } If (LEqual (Arg2, 0x03)) { Return (0x02000E01) } If (LEqual (Arg2, 0x04)) { Return (0x02005002) } If (LEqual (Arg2, 0x05)) { Return (0x02005103) } If (LEqual (Arg2, 0x06)) { Return (0x02005204) } If (LEqual (Arg2, 0x07)) { Return (0x02005305) } } Return (Buffer (One) { 0x00 }) } } } Scope (_SB.PCI0.I2C4) { Device (CAM1) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3474") // _HID: Hardware ID Name (_CID, "INT3474") // _CID: Compatible ID Name (_DDN, "OV2740-CRDG2") // _DDN: DOS Device Name Name (_UID, "0") // _UID: Unique ID Name (_DEP, Package (0x01) // _DEP: Dependencies { ^^I2C2.PMIC }) Name (_PLD, Package (0x01) // _PLD: Physical Location of Device { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBUF, ResourceTemplate () { I2cSerialBusV2 (0x0036, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C4", 0x00, ResourceConsumer, , Exclusive, ) }) Return (SBUF) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (SCSS, One)) { Return (0x0F) } Else { Return (Zero) } } Method (SSDB, 0, NotSerialized) { Name (PAR, Buffer (0x6C) { /* 0000 */ 0x00, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x09, 0x00, 0x02, 0x01, 0x00, 0x01, 0x00, 0xF8, /* 0058 */ 0x24, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00 }) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("822ace8f-2814-4174-a56b-5f029fe079ee"))) { Return ("4SF259T2") } If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, One)) { Return (One) } If (LEqual (Arg2, 0x02)) { Return (0x04003600) } } Return (Buffer (One) { 0x00 }) } } } Scope (_SB.PCI0.I2C2) { Device (PMIC) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3472") // _HID: Hardware ID Name (_CID, "INT3472") // _CID: Compatible ID Name (_DDN, "PMIC-CRDG2") // _DDN: DOS Device Name Name (_UID, "0") // _UID: Unique ID Name (_PLD, Package (0x01) // _PLD: Physical Location of Device { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x21, 0x0D, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (SBUF, ResourceTemplate () { I2cSerialBusV2 (0x004C, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer, , Exclusive, ) }) Return (SBUF) } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (SCSS, One)) { Return (0x0F) } Else { Return (Zero) } } Method (CLDB, 0, NotSerialized) { Name (PAR, Buffer (0x20) { /* 0000 */ 0x00, 0x02, 0x00, 0x50, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Return (PAR) } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("26257549-9271-4ca4-bb43-c4899d5a4881"))) { If (LEqual (Arg2, Zero)) { Return (0x07) } If (LEqual (Arg2, One)) { Return (One) } If (LEqual (Arg2, 0x02)) { Return (0x02004C0B) } } Return (Buffer (One) { 0x00 }) } } } Scope (_SB) { Device (WCT0) { Name (_HID, EisaId ("IWC0001")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (WIFC, One)) { Return (0x0F) } Else { Return (Zero) } } Method (PCMD, 1, NotSerialized) { If (^^PCI0.LPCB.H_EC.ECAV) { Store (Arg0, ^^PCI0.LPCB.H_EC.IWCW) ^^PCI0.LPCB.H_EC.ECMD (0xE1) } } Method (ITPW, 1, NotSerialized) { If (^^PCI0.LPCB.H_EC.ECAV) { Store (Arg0, ^^PCI0.LPCB.H_EC.IWCW) ^^PCI0.LPCB.H_EC.ECMD (0xE1) } } Method (ITPR, 0, NotSerialized) { If (^^PCI0.LPCB.H_EC.ECAV) { Return (^^PCI0.LPCB.H_EC.IWCR) } Return (Package (0x00){}) } Method (PSRC, 0, NotSerialized) { Return (^^PCI0.LPCB.H_EC.ECRD (RefOf (^^PCI0.LPCB.H_EC.PWRT))) } } } Scope (_SB.PCI0.HDAS) { Method (PPMS, 1, Serialized) { If (LEqual (Arg0, ToUUID ("7c708106-3aff-40fe-88be-8c999b3f7445"))) { Return (And (ADPM, 0x04)) } If (LEqual (Arg0, ToUUID ("ec774fa9-28d3-424a-90e4-69f984f1eeb7"))) { Return (And (ADPM, 0x0100)) } If (LEqual (Arg0, ACCG (AG1L, AG1H))) { Return (And (ADPM, 0x20000000)) } If (LEqual (Arg0, ACCG (AG2L, AG2H))) { Return (And (ADPM, 0x40000000)) } If (LEqual (Arg0, ACCG (AG3L, AG3H))) { Return (And (ADPM, 0x80000000)) } } Method (ACCG, 2, NotSerialized) { Name (GBUF, Buffer (0x10){}) Concatenate (Arg0, Arg1, GBUF) Return (GBUF) } } Scope (_SB.PCI0.LPCB) { Device (FWHD) { Name (_HID, EisaId ("INT0800")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { Memory32Fixed (ReadOnly, 0xFF000000, // Address Base 0x01000000, // Address Length ) }) } Device (HPET) { Name (_HID, EisaId ("PNP0103")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFED00000, // Address Base 0x00000400, // Address Length _Y37) }) Method (_STA, 0, NotSerialized) // _STA: Status { If (HPTE) { Return (0x0F) } Return (Zero) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { If (HPTE) { CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y37._BAS, HPT0) // _BAS: Base Address Store (HPTB, HPT0) } Return (BUF0) } } Device (IPIC) { Name (_HID, EisaId ("PNP0000")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0024, // Range Minimum 0x0024, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0028, // Range Minimum 0x0028, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x002C, // Range Minimum 0x002C, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0030, // Range Minimum 0x0030, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0034, // Range Minimum 0x0034, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0038, // Range Minimum 0x0038, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x003C, // Range Minimum 0x003C, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A4, // Range Minimum 0x00A4, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A8, // Range Minimum 0x00A8, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00AC, // Range Minimum 0x00AC, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00B0, // Range Minimum 0x00B0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00B4, // Range Minimum 0x00B4, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00B8, // Range Minimum 0x00B8, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00BC, // Range Minimum 0x00BC, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IRQNoFlags () {2} }) } Device (MATH) { Name (_HID, EisaId ("PNP0C04")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {13} }) Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (PCHV (), SPTH)) { Return (0x1F) } Else { Return (Zero) } } } Device (LDRC) { Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x002E, // Range Minimum 0x002E, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x004E, // Range Minimum 0x004E, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0063, // Range Minimum 0x0063, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0067, // Range Minimum 0x0067, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0092, // Range Minimum 0x0092, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x00B2, // Range Minimum 0x00B2, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0680, // Range Minimum 0x0680, // Range Maximum 0x01, // Alignment 0x20, // Length ) IO (Decode16, 0xFFFF, // Range Minimum 0xFFFF, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0xFFFF, // Range Minimum 0xFFFF, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0xFFFF, // Range Minimum 0xFFFF, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x1800, // Range Minimum 0x1800, // Range Maximum 0x01, // Alignment 0xFF, // Length ) IO (Decode16, 0x164E, // Range Minimum 0x164E, // Range Maximum 0x01, // Alignment 0x02, // Length ) }) } Device (LDR2) { Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID Name (_UID, "LPC_DEV") // _UID: Unique ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0800, // Range Minimum 0x0800, // Range Maximum 0x01, // Alignment 0x80, // Length ) }) Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (PCHV (), SPTH)) { Return (0x0F) } Else { Return (Zero) } } } Device (RTC) { Name (_HID, EisaId ("PNP0B00")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {8} }) } Device (TIMR) { Name (_HID, EisaId ("PNP0100")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x01, // Alignment 0x04, // Length ) IO (Decode16, 0x0050, // Range Minimum 0x0050, // Range Maximum 0x10, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) } Device (CWDT) { Name (_HID, EisaId ("INT3F0D")) // _HID: Hardware ID Name (_CID, EisaId ("PNP0C02")) // _CID: Compatible ID Name (BUF0, ResourceTemplate () { IO (Decode16, 0x1854, // Range Minimum 0x1854, // Range Maximum 0x04, // Alignment 0x04, // Length ) }) Method (_STA, 0, Serialized) // _STA: Status { Return (0x0F) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Return (BUF0) } } } Device (ALSD) { Name (_HID, "ACPI0008") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (ALSE, 0x02)) { Return (0x0B) } Return (Zero) } Method (_ALI, 0, NotSerialized) // _ALI: Ambient Light Illuminance { Return (Or (ShiftLeft (LHIH, 0x08), LLOW)) } Name (_ALR, Package (0x05) // _ALR: Ambient Light Response { Package (0x02) { 0x46, Zero }, Package (0x02) { 0x49, 0x0A }, Package (0x02) { 0x55, 0x50 }, Package (0x02) { 0x64, 0x012C }, Package (0x02) { 0x96, 0x03E8 } }) } Scope (_SB) { Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) // _HID: Hardware ID Name (PBST, One) Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) } } } Scope (_SB.PCI0.LPCB) { Device (H_EC) { Name (_HID, EisaId ("PNP0C09")) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Store (0x03, ^^^GFX0.CLID) Return (Zero) } Name (ECAV, Zero) Name (B1ST, 0x32) Name (B2ST, 0x36) Name (CFAN, 0x03) Name (CMDR, 0x3A) Name (DOCK, 0x30) Name (PLMX, One) Name (PECH, 0x83) Name (PECL, 0x82) Name (PENV, 0x44) Name (PINV, 0x43) Name (PPSH, 0x42) Name (PPSL, 0x41) Name (PSTP, 0x45) Name (RPWR, 0x03) Name (LSTE, 0x03) Name (VPWR, 0x30) Name (WTMS, 0xC4) Name (AWT2, 0xC5) Name (AWT1, 0xC6) Name (AWT0, 0xC7) Name (DLED, 0x78) Name (SPT2, 0xC8) Name (PB10, 0x78) Name (IWCW, 0xA0) Name (IWCR, 0xA0) Name (PVOL, 0xE8) Name (PWRT, 0x79) Method (ECRD, 1, Serialized) { Store (DerefOf (Arg0), Local0) Switch (ToInteger (Local0)) { Case (0x32) { Return (Zero) } Case (0x36) { Return (Zero) } Case (0x03) { Return (Zero) } Case (0x3A) { Return (Zero) } Case (0x30) { Return (Zero) } Case (One) { Return (Zero) } Case (0x83) { Return (Zero) } Case (0x82) { Return (Zero) } Case (0x44) { Return (Zero) } Case (0x43) { Return (Zero) } Case (0x42) { Return (Zero) } Case (0x41) { Return (Zero) } Case (0x45) { Return (Zero) } Case (0x03) { Return (Zero) } Case (0x03) { Return (Zero) } Case (0x30) { Return (Zero) } Case (0xC4) { Return (Zero) } Case (0xC5) { Return (Zero) } Case (0xC6) { Return (Zero) } Case (0xC7) { Return (Zero) } Case (0x78) { Return (Zero) } Case (0xC8) { Return (Zero) } Case (0x78) { Return (Zero) } Case (0xA0) { Return (Zero) } Case (0xA0) { Return (Zero) } Case (0xE8) { Return (Zero) } Case (0x79) { Return (Zero) } } Return (Zero) } Method (ECWT, 2, Serialized) { Store (DerefOf (Arg0), Local0) Switch (ToInteger (Local0)) { Case (0x32) { } Case (0x36) { } Case (0x03) { } Case (0x3A) { } Case (0x30) { } Case (One) { } Case (0x83) { } Case (0x82) { } Case (0x44) { } Case (0x43) { } Case (0x42) { } Case (0x41) { } Case (0x45) { } Case (0x03) { } Case (0x03) { } Case (0x30) { } Case (0xC4) { } Case (0xC5) { } Case (0xC6) { } Case (0xC7) { } Case (0x78) { } Case (0xC8) { } Case (0x78) { } Case (0xA0) { } Case (0xA0) { } Case (0xE8) { } Case (0x79) { } } } Method (ECMD, 1, Serialized) { } Method (ECNT, 1, Serialized) { } Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } } Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } Method (_BST, 0, NotSerialized) // _BST: Battery Status { Return (BST1 ()) } } Device (BAT2) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } Method (_BST, 0, NotSerialized) // _BST: Battery Status { Return (BST2 ()) } } } } Scope (\) { Field (GNVS, AnyAcc, Lock, Preserve) { Offset (0x20), B1SC, 8, Offset (0x23), B1SS, 8 } } Scope (\) { Field (GNVS, AnyAcc, Lock, Preserve) { Offset (0x21), B2SC, 8, Offset (0x24), B2SS, 8 } } Device (_SB.PCI0.DOCK) { Name (_HID, "ABCD0000") // _HID: Hardware ID Name (_CID, EisaId ("PNP0C15")) // _CID: Compatible ID Name (_UID, 0x02) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } } Scope (_SB) { Method (PWPR, 0, Serialized) { } Method (PWRR, 0, Serialized) { } Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } Method (_LID, 0, NotSerialized) // _LID: Lid Status { Return (One) } } } Scope (_SB.PCI0.LPCB.H_EC) { Method (BST1, 0, NotSerialized) { Name (PKG1, Package (0x04) { Zero, Zero, Zero, Zero }) Return (PKG1) } Method (BST2, 0, NotSerialized) { Name (PKG2, Package (0x04) { Zero, Zero, Zero, Zero }) Return (PKG2) } } Scope (_SB.PCI0) { Device (PS2M) { Name (_HID, EisaId ("PNP0F03")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { 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) // _CRS: Current Resource Settings { If (And (IOST, 0x0400)) { Return (CRS1) } Else { Return (CRS2) } } Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings { StartDependentFn (0x00, 0x00) { IRQNoFlags () {12} } EndDependentFn () }) Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake { Store (Arg0, MSFG) } } Scope (\) { Name (MSFG, One) } } Scope (_SB.PCI0) { } Device (_SB.TPM) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (TCMF) { Return (0x01013469) } ElseIf (LEqual (TTDP, Zero)) { Return (0x310CD041) } Else { Return ("MSFT0101") } } Method (_STR, 0, NotSerialized) // _STR: Description String { If (LEqual (TTDP, Zero)) { Return (Unicode ("TPM 1.2 Device")) } Else { Return (Unicode ("TPM 2.0 Device")) } } Name (_UID, One) // _UID: Unique ID Name (CRST, ResourceTemplate () { Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00001000, // Address Length _Y38) Memory32Fixed (ReadOnly, 0xFED70000, // Address Base 0x00001000, // Address Length _Y39) }) Name (CRSD, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFED40000, // Address Base 0x00001000, // Address Length _Y3A) }) Name (CRSI, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFED40000, // Address Base 0x00001000, // Address Length _Y3B) }) Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { If (LEqual (AMDT, One)) { CreateDWordField (CRST, \_SB.TPM._Y38._BAS, MTFB) // _BAS: Base Address CreateDWordField (CRST, \_SB.TPM._Y38._LEN, LTFB) // _LEN: Length Store (TPMB, MTFB) Store (0x1000, LTFB) CreateDWordField (CRST, \_SB.TPM._Y39._BAS, MTFC) // _BAS: Base Address CreateDWordField (CRST, \_SB.TPM._Y39._LEN, LTFC) // _LEN: Length Store (TPMC, MTFC) Store (0x1000, LTFC) Return (CRST) } Else { If (LEqual (DTPT, One)) { CreateDWordField (CRSD, \_SB.TPM._Y3A._BAS, MTFE) // _BAS: Base Address CreateDWordField (CRSD, \_SB.TPM._Y3A._LEN, LTFE) // _LEN: Length Store (0xFED40000, MTFE) Store (0x0880, LTFE) Return (CRSD) } ElseIf (LEqual (TTPF, One)) { CreateDWordField (CRSI, \_SB.TPM._Y3B._BAS, MTFD) // _BAS: Base Address CreateDWordField (CRSI, \_SB.TPM._Y3B._LEN, LTFD) // _LEN: Length Store (0xFED40000, MTFD) Store (0x5000, LTFD) Return (CRSI) } ElseIf (LEqual (TTPF, Zero)) { CreateDWordField (CRSI, \_SB.TPM._Y3B._BAS, MTFF) // _BAS: Base Address Store (TPMM, MTFF) Return (CRSI) } Store (Zero, MTFE) Store (Zero, LTFE) Return (CRSI) } } OperationRegion (TMMB, SystemMemory, 0xFED40000, 0x5000) Field (TMMB, ByteAcc, Lock, Preserve) { Offset (0x04), LCST, 32, Offset (0x40), CREQ, 32, CSTS, 32, Offset (0x4C), SCMD, 32 } OperationRegion (CRBD, SystemMemory, TPMM, 0x48) Field (CRBD, AnyAcc, NoLock, Preserve) { Offset (0x04), HERR, 32, Offset (0x40), HCMD, 32, HSTS, 32 } Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (TTDP, Zero)) { If (TPMF) { Return (0x0F) } Return (Zero) } ElseIf (LEqual (TTDP, One)) { If (TPMF) { Return (0x0F) } Return (Zero) } Return (Zero) } Method (STRT, 3, Serialized) { OperationRegion (TPMR, SystemMemory, FTPM, 0x1000) Field (TPMR, AnyAcc, NoLock, Preserve) { Offset (0x04), FERR, 32, Offset (0x0C), BEGN, 32 } Name (TIMR, Zero) Switch (ToInteger (Arg1)) { Case (Zero) { Return (Buffer (One) { 0x03 }) } Case (One) { Store (Zero, TIMR) If (LEqual (AMDT, One)) { While (LAnd (LEqual (BEGN, One), LLess (TIMR, 0x0200))) { If (LEqual (BEGN, One)) { Sleep (One) Increment (TIMR) } } Return (Zero) } Else { If (LEqual (Or (And (HSTS, 0x02), And (HSTS, One)), 0x03)) { Store (One, HCMD) } Else { Store (One, FERR) Store (Zero, BEGN) } Return (Zero) } } } Return (One) } Method (CRYF, 3, Serialized) { Switch (ToInteger (Arg1)) { Case (Zero) { Return (Buffer (One) { 0x03 }) } Case (One) { Name (TPMV, Package (0x02) { One, Package (0x02) { One, 0x20 } }) If (LEqual (_STA (), Zero)) { Return (Package (0x01) { Zero }) } Return (TPMV) } } Return (Buffer (One) { 0x00 }) } } Scope (_SB.TPM) { OperationRegion (TSMI, SystemIO, SMIA, 0x02) Field (TSMI, WordAcc, NoLock, Preserve) { SMI, 16 } OperationRegion (ATNV, SystemMemory, PPIM, PPIL) Field (ATNV, AnyAcc, NoLock, Preserve) { RQST, 32, RCNT, 32, ERRO, 32, FLAG, 32, MISC, 32, OPTN, 32, SRSP, 32 } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("3dddfaa6-361b-4eb4-a424-8d10089d1653") /* Physical Presence Interface */)) { Switch (ToInteger (Arg2)) { Case (Zero) { Return (Buffer (0x02) { 0xFF, 0x01 }) } Case (One) { If (LEqual (PPIV, Zero)) { Return ("1.2") } Else { Return ("1.3") } } Case (0x02) { ToInteger (DerefOf (Index (Arg3, Zero)), RQST) Store (Zero, SRSP) Store (0x02, FLAG) Store (OFST, TMF1) Store (Zero, SRSP) Store (TMF1, SMI) Return (SRSP) } Case (0x03) { Name (PPI1, Package (0x02) { Zero, Zero }) Store (RQST, Index (PPI1, One)) Return (PPI1) } Case (0x04) { Return (TRST) } Case (0x05) { Name (PPI2, Package (0x03) { Zero, Zero, Zero }) Store (Zero, SRSP) Store (0x05, FLAG) Store (OFST, SMI) Store (RCNT, Index (PPI2, One)) Store (ERRO, Index (PPI2, 0x02)) Return (PPI2) } Case (0x06) { Return (0x03) } Case (0x07) { ToInteger (DerefOf (Index (Arg3, Zero)), RQST) Store (0x07, FLAG) Store (Zero, OPTN) If (LEqual (RQST, 0x17)) { ToInteger (DerefOf (Index (Arg3, One)), OPTN) } Store (OFST, TMF1) Store (Zero, SRSP) Store (TMF1, SMI) Return (SRSP) } Case (0x08) { ToInteger (DerefOf (Index (Arg3, Zero)), RQST) Store (0x08, FLAG) Store (OFST, TMF1) Store (Zero, SRSP) Store (TMF1, SMI) Return (SRSP) } Default { } } } ElseIf (LEqual (Arg0, ToUUID ("376054ed-cc13-4675-901c-4756d7f2d45d"))) { Switch (ToInteger (Arg2)) { Case (Zero) { Return (Buffer (One) { 0x03 }) } Case (One) { ToInteger (DerefOf (Index (Arg3, Zero)), RQST) Store (0x09, FLAG) Store (OFST, TMF1) Store (Zero, SRSP) Store (TMF1, SMI) Return (SRSP) } Default { } } } If (LEqual (Arg0, ToUUID ("cf8e16a5-c1e8-4e25-b712-4f54a96702c8"))) { Return (CRYF (Arg1, Arg2, Arg3)) } If (LEqual (Arg0, ToUUID ("6bbf6cab-5463-4714-b7cd-f0203c0368d4"))) { Return (STRT (Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } Method (TPTS, 1, Serialized) { Switch (ToInteger (Arg0)) { Case (0x04) { Store (Zero, RQST) Store (0x09, FLAG) Store (Zero, SRSP) Store (OFST, SMI) Return (SRSP) } Case (0x05) { Store (Zero, RQST) Store (0x09, FLAG) Store (Zero, SRSP) Store (OFST, SMI) Return (SRSP) } } } } OperationRegion (EXBU, SystemMemory, 0x7AEF2D18, 0x001F) Field (EXBU, AnyAcc, Lock, Preserve) { FADR, 32, FSIZ, 16, FSTA, 16, FSFN, 8, AMLA, 32, CCNM, 8, FSMI, 8, ALPR, 32, ACPF, 8, ALSP, 8, ALAE, 8, LBTN, 8, KBLC, 8, KBLV, 8, WLDP, 8, BTDP, 8, TPME, 8, INSK, 8, LBLV, 8, LBLS, 8 } Scope (_SB) { OperationRegion (ECMS, SystemIO, 0x72, 0x02) Field (ECMS, ByteAcc, Lock, Preserve) { EIND, 8, EDAT, 8 } IndexField (EIND, EDAT, ByteAcc, NoLock, Preserve) { Offset (0xC0), IKFG, 8, Offset (0xC3), RAMB, 32, AVOL, 8, LBTN, 8, ERRF, 8, OCLK, 8, WIDE, 1, OVCK, 2, SLPN, 3, ACRD, 1, VGAS, 1, CPUR, 6, CPUF, 2, LBT2, 8, PCMS, 8, ALSL, 8, ALAE, 1, ALDE, 1, ALSP, 1, Offset (0xD1), WLEX, 1, BTEX, 1, WLST, 1, BTST, 1, WRPS, 1, BRPS, 1, Offset (0xD2), SYNA, 1, ALPS, 1, ELAN, 1, AWTP, 1, Offset (0xD3), IKF2, 8, UHDB, 8, OSPM, 8, TCGF, 8, PPIS, 8, PPIR, 8, SIDE, 1, PWBS, 1, WFFG, 1, OCST, 3, SMTT, 1, Offset (0xDA), SP80, 1, Offset (0xDB), SWD2, 1, F9KP, 1, HACF, 6, UWDP, 1, EX3G, 1, GPDP, 1, TGDP, 1, UWST, 1, WIST, 1, GPST, 1, TGST, 1, UWPS, 1, WMPS, 1, GPSP, 1, TGPS, 1, Offset (0xDE), SPDC, 8, DROK, 1, SPDG, 1, Offset (0xE0), KBLV, 8, FVGA, 1, P4HN, 1, USSC, 1, MFTM, 1, Offset (0xE2), EGCP, 7, PA3D, 1, ISS5, 8, ISON, 8, MPDR, 8, AWC3, 8, , 1, , 1, , 1, RSST, 1, , 1, , 1, , 1, RSEX, 1, WAKT, 15, DS3W, 1, S4RE, 8, DPSB, 8, DPSD, 8, IRDA, 1, LTE4, 1, IRST, 1, LTST, 1, IRPS, 1, LTPS, 1, Offset (0xEE), LTCL, 2, LOLK, 2, EGC2, 2, PBAF, 1, Offset (0xEF), INSK, 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 (\) { Method (SALS, 1, NotSerialized) { } Method (GPBL, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (SPBI, 1, NotSerialized) { If (LEqual (Arg0, 0x02)) { Store (One, \_SB.BLCT) } Else { Store (Zero, \_SB.BLCT) } } Method (GKLS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (GALL, 0, NotSerialized) { Store (0x80, Local0) Return (Local0) } Method (SLKI, 1, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (GLBS, 0, NotSerialized) { Store (LBLS, Local0) Return (Local0) } Method (SLBS, 1, NotSerialized) { Store (Arg0, LBLS) } Method (SLBL, 1, NotSerialized) { Store (Arg0, LBLV) } Method (GLBL, 0, NotSerialized) { Store (LBLV, Local0) Return (Local0) } Method (GAC3, 0, NotSerialized) { Store (0x04, Local0) Return (Local0) } Method (SAIC, 1, NotSerialized) { } Method (GAC6, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (SUCP, 1, NotSerialized) { } Method (SPTP, 1, NotSerialized) { If (LEqual (Arg0, Zero)){} If (LEqual (Arg0, One)){} If (LEqual (Arg0, 0x02)){} } Method (PCNS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (PCDS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (FCT3, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (BRC4, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (MVNS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (MVDS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (DV47, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (PCS4, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (FCC9, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (GDKS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (GDKA, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (GUSB, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } } Scope (_SB) { Name (ATKP, Zero) Name (AITM, Zero) Name (PLMD, Zero) Name (MUTX, One) Name (LEDS, Zero) Name (PWKY, Zero) Name (BBAT, Zero) Name (BLCT, 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) } Method (ASMI, 1, Serialized) { Store (Arg0, ALPR) Store (EXSI, WSCP) Return (ALPR) } Device (ASHS) { Name (_HID, "ATK4002") // _HID: Hardware ID Method (HSWC, 1, Serialized) { If (LLess (Arg0, 0x02)) { OWGD (Arg0) Return (One) } If (LEqual (Arg0, 0x02)) { Store (OWGS (), Local0) If (Local0) { Return (0x04) } Else { Return (0x05) } } If (LEqual (Arg0, 0x03)) { Return (OHWS ()) } If (LEqual (Arg0, 0x04)) { OWGD (Zero) Return (One) } If (LEqual (Arg0, 0x05)) { OWGD (One) Return (One) } If (LEqual (Arg0, 0x80)) { Return (One) } } Method (_STA, 0, NotSerialized) // _STA: Status { If (LGreaterEqual (OSYS, 0x07DC)) { Return (0x0F) } Else { Return (Zero) } } Method (OWGD, 1, NotSerialized) { ^^ATKD.WLED (Arg0) ^^ATKD.BLED (Arg0) ^^ATKD.WMXC (Arg0) } Method (OWGS, 0, NotSerialized) { Store (Zero, Local0) Return (Local0) } Method (OHWS, 0, NotSerialized) { Return (0xFF) } } Device (ATKD) { Name (_HID, "PNP0C14") // _HID: Hardware ID Name (_UID, "ATK") // _UID: Unique ID 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) Name (SWKP, Zero) Method (IANQ, 1, Serialized) { P8XH (Zero, 0xD3) 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) { P8XH (Zero, 0xF2) If (AQNO) { Decrement (AQNO) Store (DerefOf (Index (ATKQ, AQHI)), Local0) Increment (AQHI) And (AQHI, 0x0F, AQHI) Return (Local0) } Return (One) } Method (IANE, 1, Serialized) { P8XH (Zero, 0xF1) 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 (OFBD, 1, NotSerialized) { Name (FBDT, Package (0x53) { 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x7F, 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x91, 0x92, 0x93, 0x96, 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF, 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xF0, 0xF1, 0xF2, 0xF3, 0xF6, 0xF7, 0xFA }) Store (Match (FBDT, MEQ, Arg0, MTR, Zero, Zero), Local0) Increment (Local0) Return (Local0) } Method (WMNB, 3, Serialized) { P8XH (Zero, 0x11) CreateDWordField (Arg2, Zero, IIA0) CreateDWordField (Arg2, 0x04, IIA1) And (Arg1, 0xFFFFFFFF, Local0) If (LEqual (Local0, 0x54494E49)) { INIT (IIA0) Return (One) } If (LEqual (Local0, 0x53545342)) { Return (BSTS ()) } If (LEqual (Local0, 0x4E554653)) { Return (SFUN ()) } If (LEqual (Local0, 0x474F4457)) { Return (WDOG (IIA0)) } If (LEqual (Local0, 0x494E424B)) { Return (KBNI ()) } If (LEqual (Local0, 0x47444353)) { Return (SCDG (IIA0)) } If (LEqual (Local0, 0x43455053)) { Return (SPEC (IIA0)) } If (LEqual (Local0, 0x5256534F)) { OSVR (IIA0) Return (Zero) } If (LEqual (Local0, 0x53524556)) { Return (VERS (IIA0, IIA1)) } If (LEqual (Local0, 0x4C425053)) { Return (SPBL (IIA0)) } If (LEqual (Local0, 0x50534453)) { SDSP (IIA0) Return (One) } If (LEqual (Local0, 0x50534447)) { Return (GDSP (IIA0)) } If (LEqual (Local0, 0x44434C47)) { Return (GLCD ()) } If (LEqual (Local0, 0x49564E41)) { Return (ANVI (IIA0)) } If (LEqual (Local0, 0x46494243)) { Return (CBIF (IIA0)) } If (LEqual (Local0, 0x4647574D)) { If (LEqual (IIA0, 0x00020013)) { If (LEqual (IIA1, Zero)) { Return (Local0) } } If (LEqual (IIA0, 0x00010016)) { Store (OFBD (IIA1), Local0) If (Local0) { Store (One, FSMI) Return (ASMI (IIA1)) } Else { Return (Zero) } } If (LEqual (IIA0, 0x0006001F)) { Store (0x02, FSMI) Return (ASMI (Zero)) } If (LEqual (IIA0, 0x0010001F)) { Store (0x03, FSMI) Return (ASMI (IIA1)) } } If (LEqual (Local0, 0x53545344)) { If (LEqual (IIA0, 0x00010001)) { Return (0x00040000) } If (LEqual (IIA0, 0x00010002)) { Return (0x00050002) } If (LEqual (IIA0, 0x00010003)) { Return (Zero) } If (LEqual (IIA0, 0x00010011)) { If (WLDP) { Return (0x00030001) } Else { Return (0x02) } } If (LEqual (IIA0, 0x00010012)) { Return (Zero) } If (LEqual (IIA0, 0x00010013)) { If (BTDP) { Return (0x00030001) } Else { Return (0x02) } } If (LEqual (IIA0, 0x00010014)) { Return (Zero) } If (LEqual (IIA0, 0x00010015)) { Return (Zero) } If (LEqual (IIA0, 0x00010016)) { Return (Zero) } If (LEqual (IIA0, 0x00010019)) { Return (Zero) } If (LEqual (IIA0, 0x00010020)) { Return (Zero) } If (LEqual (IIA0, 0x00010021)) { Return (Zero) } If (LEqual (IIA0, 0x00010022)) { Return (Zero) } If (LEqual (IIA0, 0x00010023)) { Return (Zero) } If (LEqual (IIA0, 0x00010024)) { Return (Zero) } If (LEqual (IIA0, 0x00010025)) { Return (Zero) } If (LEqual (IIA0, 0x00010026)) { Return (Zero) } If (LEqual (IIA0, 0x00020013)) { Return (Or (GALE (0x04), 0x00050000)) } If (LEqual (IIA0, 0x00020019)) { Return (Zero) } If (LEqual (IIA0, 0x00020023)) { Return (Zero) } If (LEqual (IIA0, 0x00030001)) { Return (Zero) } If (LEqual (IIA0, 0x00030011)) { Return (Zero) } If (LEqual (IIA0, 0x00030012)) { Return (Zero) } If (LEqual (IIA0, 0x00030021)) { Return (Zero) } If (LEqual (IIA0, 0x00030022)) { Return (Zero) } If (LEqual (IIA0, 0x00040015)) { Return (Zero) } If (LEqual (IIA0, 0x00040016)) { Return (Zero) } If (LEqual (IIA0, 0x00050001)) { GALS () } If (LEqual (IIA0, 0x00050011)) { Return (GPBL ()) } If (LEqual (IIA0, 0x00050012)) { If (LGreaterEqual (OSYS, 0x07DC)) { Store (0x64, Local0) ShiftLeft (Local0, 0x08, Local0) Add (Local0, 0x64, Local1) } Else { } Return (Local1) } If (LEqual (IIA0, 0x00050013)) { And (GALS (), 0x0F0F, Local0) Return (Local0) } If (LEqual (IIA0, 0x00050014)) { Return (Zero) } If (LEqual (IIA0, 0x00050015)) { Return (Zero) } If (LEqual (IIA0, 0x00050016)) { Return (Zero) } If (LEqual (IIA0, 0x00050017)) { Return (Zero) } If (LEqual (IIA0, 0x00050018)) { Return (Zero) } If (LEqual (IIA0, 0x00050021)) { If (GLKB (One)) { ShiftLeft (Local0, 0x08, Local0) Add (GLKB (0x02), Local0, Local0) Or (Local0, 0x00050000, Local0) } Return (0x8000) } If (LEqual (IIA0, 0x00050022)) { Return (Zero) } If (LEqual (IIA0, 0x00050023)) { Return (Zero) } If (LEqual (IIA0, 0x00050024)) { Return (Zero) } If (LEqual (IIA0, 0x00050025)) { Return (GLBS ()) } If (LEqual (IIA0, 0x00050026)) { Return (GLBL ()) } If (LEqual (IIA0, 0x00060013)) { Return (Zero) } If (LEqual (IIA0, 0x00060023)) { Return (GAC3 ()) } If (LEqual (IIA0, 0x00060024)) { Return (Package (0x03) { 0xA12F8086, 0x02, 0xFFFFFFFF }) } If (LEqual (IIA0, 0x00060025)) { Return (Package (0x02) { 0x1400, 0xFFFFFFFF }) } If (LEqual (IIA0, 0x00060026)) { Return (GAC6 ()) } If (LEqual (IIA0, 0x00060031)) { Return (Zero) } If (LEqual (IIA0, 0x00060041)) { Return (Zero) } If (LEqual (IIA0, 0x00060051)) { Return (Zero) } If (LEqual (IIA0, 0x00060054)) { Return (Zero) } If (LEqual (IIA0, 0x00060055)) { Return (Zero) } If (LEqual (IIA0, 0x00060056)) { Return (Zero) } If (LEqual (IIA0, 0x00060057)) { Return (Zero) } If (LEqual (IIA0, 0x00060061)) { Return (Zero) } If (LEqual (IIA0, 0x00060062)) { Return (Zero) } If (LEqual (IIA0, 0x00060064)) { Return (Zero) } If (LEqual (IIA0, 0x00060065)) { Return (Zero) } If (LEqual (IIA0, 0x00060072)) { Return (Zero) } If (LEqual (IIA0, 0x00060073)) { Return (Zero) } If (LEqual (IIA0, 0x00060081)) { Return (Zero) } If (LEqual (IIA0, 0x00060091)) { Return (Zero) } If (LEqual (IIA0, 0x00060092)) { Return (Zero) } If (LEqual (IIA0, 0x00080041)) { Return (Zero) } If (LEqual (IIA0, 0x00080042)) { Return (Zero) } If (LEqual (IIA0, 0x00080043)) { Return (Zero) } If (LEqual (IIA0, 0x00080044)) { Return (Zero) } If (LEqual (IIA0, 0x00090014)) { Return (Zero) } If (LEqual (IIA0, 0x00090015)) { Return (Zero) } If (LEqual (IIA0, 0x00100012)) { CPTL (One) } If (LEqual (IIA0, 0x00100013)) { Return (Zero) } If (LEqual (IIA0, 0x00100021)) { Return (Zero) } If (LEqual (IIA0, 0x00100022)) { Return (Zero) } If (LEqual (IIA0, 0x00100031)) { Return (Zero) } If (LEqual (IIA0, 0x00100033)) { Return (Zero) } If (LEqual (IIA0, 0x00100041)) { Return (Zero) } If (LEqual (IIA0, 0x00100051)) { Return (0x00010001) } If (LEqual (IIA0, 0x00100052)) { Return (Zero) } If (LEqual (IIA0, 0x00100053)) { Return (Zero) } If (LEqual (IIA0, 0x00100054)) { Return (Zero) } If (LEqual (IIA0, 0x00100061)) { Return (Zero) } If (LEqual (IIA0, 0x00100062)) { Return (Zero) } If (LEqual (IIA0, 0x00110011)) { Return (And (TMPR (), 0xFFFF)) } If (LEqual (IIA0, 0x00110013)) { Store (^^PCI0.LPCB.EC0.RRAM (0x0521), Local5) And (Local5, 0x40, Local5) If (LNotEqual (Local5, Zero)) { Store (0xFF, Local0) Or (Local0, 0x00010000, Local0) Return (Local0) } Store (^^PCI0.LPCB.EC0.F0TS, Local0) Divide (0x008C6180, 0x80, Local1, Local2) Multiply (0x3C, Local2, Local3) Multiply (Local0, 0x02, Local0) Divide (Local3, Local0, Local4, Local0) Divide (Local0, 0x64, Local4, Local0) If (LGreaterEqual (Local4, 0x32)) { Add (Local0, One, Local0) } Or (Local0, 0x00010000, Local0) Return (Local0) } If (LEqual (IIA0, 0x00110014)) { Return (Zero) } If (LEqual (IIA0, 0x00110015)) { Return (0x00010000) } If (LEqual (IIA0, 0x00110016)) { Return (Zero) } If (LEqual (IIA0, 0x00110017)) { Return (Zero) } If (LEqual (IIA0, 0x00120012)) { Return (PSTC (Zero)) } If (LEqual (IIA0, 0x00120013)) { Return (Zero) } If (LEqual (IIA0, 0x00120015)) { Return (Zero) } If (LEqual (IIA0, 0x00120031)) { Return (Zero) } If (LEqual (IIA0, 0x00120041)) { Return (PCNS ()) } If (LEqual (IIA0, 0x00120042)) { Return (PCDS ()) } If (LEqual (IIA0, 0x00120043)) { Return (FCT3 ()) } If (LEqual (IIA0, 0x00120044)) { Return (BRC4 ()) } If (LEqual (IIA0, 0x00120045)) { Return (MVNS ()) } If (LEqual (IIA0, 0x00120046)) { Return (MVDS ()) } If (LEqual (IIA0, 0x00120047)) { Return (DV47 ()) } If (LEqual (IIA0, 0x00120048)) { Return (PCS4 ()) } If (LEqual (IIA0, 0x00120049)) { Return (FCC9 ()) } If (LEqual (IIA0, 0x0012004A)) { Return (Zero) } If (LEqual (IIA0, 0x00120050)) { Return (Package (0x05) { 0x0001FFFF, Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) } If (LEqual (IIA0, 0x00120051)) { Return (Package (0x05) { 0x0001FFFF, Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) } If (LEqual (IIA0, 0x00120052)) { Return (Package (0x05) { 0x0001FFFF, Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) } If (LEqual (IIA0, 0x00120053)) { Return (Zero) } If (LEqual (IIA0, 0x00120054)) { Return (Zero) } If (LEqual (IIA0, 0x00120055)) { Return (Zero) } If (LEqual (IIA0, 0x00120061)) { Return (Zero) } If (LEqual (IIA0, 0x00120062)) { Return (Zero) } If (LEqual (IIA0, 0x00120063)) { Return (GDKS ()) } If (LEqual (IIA0, 0x00120064)) { Return (Zero) } If (LEqual (IIA0, 0x00120065)) { Return (GDKA ()) } If (LEqual (IIA0, 0x00120067)) { Return (Zero) } If (LEqual (IIA0, 0x00120068)) { Return (GUSB ()) } If (LEqual (IIA0, 0x00120069)) { Return (Zero) } If (LEqual (IIA0, 0x00120072)) { Name (PSSI, Zero) Name (FREQ, Zero) Store (Package (0x0A) { Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero }, Local0) If (And (OSCP, 0x0400)) { Store (SizeOf (\_PR.CPU0.TPSS), PSSI) } Else { Store (SizeOf (\_PR.CPU0.LPSS), PSSI) } Store (DerefOf (Index (DerefOf (Index (\_PR.CPU0.TPSS, Zero)), Zero)), FREQ) Store (FREQ, Index (Local0, 0x04)) Decrement (PSSI) Store (DerefOf (Index (DerefOf (Index (\_PR.CPU0.TPSS, PSSI)), Zero)), FREQ) Store (FREQ, Index (Local0, 0x06)) Return (Local0) } If (LEqual (IIA0, 0x00120073)) { Return (Zero) } If (LEqual (IIA0, 0x00120074)) { Return (Zero) } If (LEqual (IIA0, 0x00130011)) { Return (Zero) } Return (Zero) } If (LEqual (Local0, 0x53564544)) { If (LEqual (IIA0, 0x00010001)) { Return (One) } If (LEqual (IIA0, 0x00010002)) { OWGD (IIA1) Return (One) } If (LEqual (IIA0, 0x00010003)) { Return (CWAP (IIA1)) } If (LEqual (IIA0, 0x00010011)) { Return (One) } If (LEqual (IIA0, 0x00010012)) { WLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010013)) { BLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010014)) { BLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010015)) { GPSC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010016)) { GLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010017)) { WMXC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010018)) { WMXL (IIA1) Return (One) } If (LEqual (IIA0, 0x00010019)) { GSMC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010020)) { SMCL (IIA1) Return (One) } If (LEqual (IIA0, 0x00010021)) { UWBC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010022)) { UWBL (IIA1) Return (One) } If (LEqual (IIA0, 0x00010023)) { IDAC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010024)) { IDAL (IIA1) Return (One) } If (LEqual (IIA0, 0x00010025)) { LTEC (IIA1) Return (One) } If (LEqual (IIA0, 0x00010026)) { LTEL (IIA1) Return (One) } If (LEqual (IIA0, 0x00020013)) { Return (SALE (Add (IIA1, 0x08))) } If (LEqual (IIA0, 0x00020019)) { Return (One) } If (LEqual (IIA0, 0x00020023)) { Return (One) } If (LEqual (IIA0, 0x00030001)) { Return (One) } If (LEqual (IIA0, 0x00030011)) { Return (One) } If (LEqual (IIA0, 0x00030012)) { Return (One) } If (LEqual (IIA0, 0x00030021)) { Return (One) } If (LEqual (IIA0, 0x00030022)) { Return (One) } If (LEqual (IIA0, 0x00040015)) { Return (SALE (Add (IIA1, 0x10))) } If (LEqual (IIA0, 0x00040016)) { Return (One) } If (LEqual (IIA0, 0x00050001)) { Return (ALSC (IIA1)) } If (LEqual (IIA0, 0x00050011)) { SPBI (IIA1) } If (LEqual (IIA0, 0x00050012)) { SPLV (IIA1) Return (One) } If (LEqual (IIA0, 0x00050013)) { Return (ALSL (IIA1)) } If (LEqual (IIA0, 0x00050016)) { Return (One) } If (LEqual (IIA0, 0x00050017)) { Store (One, SWKP) Return (One) } If (LEqual (IIA0, 0x00050018)) { Return (One) } If (LEqual (IIA0, 0x00050021)) { SLKB (IIA1) Return (One) } If (LEqual (IIA0, 0x00050023)) { RLKB (IIA1) Return (One) } If (LEqual (IIA0, 0x00050024)) { Return (One) } If (LEqual (IIA0, 0x00050025)) { SLBS (IIA1) Return (One) } If (LEqual (IIA0, 0x00050026)) { SLBL (IIA1) Return (One) } If (LEqual (IIA0, 0x00060013)) { Return (Zero) } If (LEqual (IIA0, 0x00060023)) { SAIC (IIA1) Return (One) } If (LEqual (IIA0, 0x00060024)) { Return (One) } If (LEqual (IIA0, 0x00060025)) { Return (One) } If (LEqual (IIA0, 0x00060026)) { SUCP (IIA1) Return (One) } If (LEqual (IIA0, 0x00060031)) { Return (0x00010000) } If (LEqual (IIA0, 0x00060054)) { Return (One) } If (LEqual (IIA0, 0x00060057)) { Return (One) } If (LEqual (IIA0, 0x00060061)) { Return (One) } If (LEqual (IIA0, 0x00060062)) { Return (One) } If (LEqual (IIA0, 0x00060063)) { Return (One) } If (LEqual (IIA0, 0x00060064)) { Return (One) } If (LEqual (IIA0, 0x00060066)) { Return (One) } If (LEqual (IIA0, 0x00060073)) { Return (One) } If (LEqual (IIA0, 0x00060091)) { Return (One) } If (LEqual (IIA0, 0x00060092)) { Return (One) } If (LEqual (IIA0, 0x00090014)) { Return (One) } If (LEqual (IIA0, 0x00090015)) { Return (One) } If (LEqual (IIA0, 0x00100012)) { Return (One) } If (LEqual (IIA0, 0x00100013)) { SPTP (IIA1) Return (One) } If (LEqual (IIA0, 0x00100021)) { If (LEqual (IIA1, 0x6C)) { Store (0x6C, P80H) Notify (SLPB, 0x80) Return (Zero) } If (LEqual (IIA1, 0x88)) { Store (0x88, P80H) ^^PCI0.LPCB.EC0._Q12 () Return (Zero) } If (LEqual (IIA1, 0xC5)) { Store (0xC5, P80H) ^^PCI0.LPCB.EC0._Q13 () Return (Zero) } If (LEqual (IIA1, 0xC4)) { Store (0xC4, P80H) ^^PCI0.LPCB.EC0._Q14 () Return (Zero) } If (LEqual (IIA1, 0x10)) { Store (0x10, P80H) ^^PCI0.LPCB.EC0._Q15 () Return (Zero) } If (LEqual (IIA1, 0x20)) { Store (0x20, P80H) ^^PCI0.LPCB.EC0._Q16 () Return (Zero) } If (LEqual (IIA1, 0x35)) { Store (0x35, P80H) ^^PCI0.LPCB.EC0._Q17 () Return (Zero) } If (LEqual (IIA1, 0x6B)) { Store (0x6B, P80H) ^^PCI0.LPCB.EC0._Q19 () Return (Zero) } If (LEqual (IIA1, 0x8A)) { Return (One) } If (LEqual (IIA1, 0x82)) { Store (0x82, P80H) ^^PCI0.LPCB.EC0._Q46 () Return (One) } If (LEqual (IIA1, 0xB5)) { Store (0xB5, P80H) ^^PCI0.LPCB.EC0._Q20 () Return (Zero) } If (LEqual (IIA1, 0x5B)) { Store (0x5B, P80H) If (ATKP) { IANE (0x5B) } Return (One) } If (LEqual (IIA1, 0x38)) { If (ATKP) { IANE (0x38) } Return (Zero) } Return (One) } If (LEqual (IIA0, 0x00100022)) { If (And (IIA1, 0x02)) { Return (One) } Else { Return (One) } Return (Zero) } If (LEqual (IIA0, 0x00100031)) { Return (One) } If (LEqual (IIA0, 0x00100033)) { Return (One) } If (LEqual (IIA0, 0x00100041)) { Return (One) } If (LEqual (IIA0, 0x00100051)) { Return (Zero) } If (LEqual (IIA0, 0x00100052)) { Return (One) } If (LEqual (IIA0, 0x00100054)) { Return (One) } If (LEqual (IIA0, 0x00100061)) { Return (One) } If (LEqual (IIA0, 0x00110013)) { Return (One) } If (LEqual (IIA0, 0x00110014)) { Return (One) } If (LEqual (IIA0, 0x00110015)) { Store (IIA1, Local0) And (Local0, 0xFF, Local0) If (LEqual (Local0, 0xFF)) { Store (^^PCI0.LPCB.EC0.RRAM (0x0521), Local1) Or (Local1, 0x40, Local1) ^^PCI0.LPCB.EC0.WRAM (0x0521, Local1) } Else { Store (^^PCI0.LPCB.EC0.RRAM (0x0521), Local1) And (Local1, 0xBF, Local1) ^^PCI0.LPCB.EC0.WRAM (0x0521, Local1) ^^PCI0.LPCB.EC0.WEIE () Store (0x96, ^^PCI0.LPCB.EC0.AEIC) ^^PCI0.LPCB.EC0.WEIE () Store (Zero, ^^PCI0.LPCB.EC0.AEID) ^^PCI0.LPCB.EC0.WEIE () Store (Local0, ^^PCI0.LPCB.EC0.AEID) ^^PCI0.LPCB.EC0.WEOF () } Return (One) } If (LEqual (IIA0, 0x00110017)) { Return (One) } If (LEqual (IIA0, 0x00120012)) { Return (PSTC (Add (IIA1, One))) } If (LEqual (IIA0, 0x00120013)) { Return (One) } If (LEqual (IIA0, 0x00120031)) { DESP (IIA1) Return (One) } If (LEqual (IIA0, 0x00120053)) { If (And (IIA1, One)) { Store (IIA1, BBAT) Notify (^^PCI0.AC0, 0x80) Return (One) } Else { Store (IIA1, BBAT) Notify (^^PCI0.AC0, 0x80) Return (One) } Return (Zero) } If (LEqual (IIA0, 0x00120055)) { Return (One) } If (LEqual (IIA0, 0x00120062)) { Return (One) } If (LEqual (IIA0, 0x00120064)) { Return (One) } If (LEqual (IIA0, 0x00120072)) { Return (Zero) } If (LEqual (IIA0, 0x00120073)) { Return (Zero) } If (LEqual (IIA0, 0x00120074)) { Return (Zero) } If (LEqual (IIA0, 0x00130011)) { Return (One) } Return (Zero) } } Method (SPEC, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (0x00080001) } If (LEqual (Arg0, One)) { Return (One) } Return (One) } Method (SCDG, 1, NotSerialized) { Return (Zero) } Method (_WED, 1, NotSerialized) // _Wxx: Wake Event { If (LEqual (Arg0, 0xFF)) { Return (GANQ ()) } Return (One) } Method (INIT, 1, NotSerialized) { Store (One, ATKP) } Method (BSTS, 0, NotSerialized) { If (LOr (LEqual (^^PCI0.LPCB.EC0.RRAM (0x04FE), 0x34), LEqual (^^PCI0.LPCB.EC0.RRAM (0x04FE), 0x39))) { Return (0x05) } Else { Return (Zero) } } Method (SFUN, 0, NotSerialized) { Store (0x21, Local0) Or (Local0, 0x40, Local0) Or (Local0, 0x00020000, Local0) Or (Local0, 0x00080000, Local0) Or (Local0, 0x00400000, Local0) Return (Local0) } Method (WDOG, 1, NotSerialized) { Return (Zero) } Method (KBNI, 0, NotSerialized) { Return (One) } Method (OSVR, 1, NotSerialized) { Store (Arg0, OSFG) } Method (VERS, 2, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (0x00090000) } Return (0xFFFFFFFE) } 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) { If (LEqual (Arg0, 0x02)) { Return (One) } ElseIf (LEqual (Arg0, 0x03)) { Return (One) } If (LEqual (Arg0, 0x04)) { Return (One) } ElseIf (LEqual (Arg0, 0x05)) { Return (One) } If (LEqual (Arg0, 0x08)) { Return (One) } ElseIf (LEqual (Arg0, 0x09)) { Return (One) } If (LEqual (Arg0, 0x10)) { Return (One) } ElseIf (LEqual (Arg0, 0x11)) { Return (One) } If (LEqual (Arg0, 0x20)) { Return (One) } ElseIf (LEqual (Arg0, 0x21)) { Return (One) } If (LEqual (Arg0, 0x40)) { Return (One) } ElseIf (LEqual (Arg0, 0x41)) { Return (One) } If (LEqual (Arg0, 0x80)) { Return (One) } ElseIf (LEqual (Arg0, 0x81)) { Return (One) } Return (One) } Method (TMPR, 0, NotSerialized) { Return (One) } Method (GALS, 0, NotSerialized) { Store (Zero, Local0) Or (Local0, 0x20, Local0) If (ALAE) { Or (Local0, 0x10, Local0) } Store (0x0A, Local1) ShiftLeft (Local1, 0x08, Local1) Or (Local0, Local1, Local0) Return (Local0) } Method (SPLV, 1, Serialized) { Store (Arg0, Local0) Switch (Local0) { Case (Zero) { Store (0x33, Local1) } Case (One) { Store (0x40, Local1) } Case (0x02) { Store (0x4D, Local1) } Case (0x03) { Store (0x59, Local1) } Case (0x04) { Store (0x66, Local1) } Case (0x05) { Store (0x73, Local1) } Case (0x06) { Store (0x80, Local1) } Case (0x07) { Store (0x8C, Local1) } Case (0x08) { Store (0xA6, Local1) } Case (0x09) { Store (0xCC, Local1) } Case (0x0A) { Store (0xFF, Local1) } } Store (Local0, LBTN) Return (Local1) } Method (SPBL, 1, NotSerialized) { If (LEqual (Arg0, 0x0100)) { Return (Zero) } If (LEqual (Arg0, 0x80)) { Return (One) } If (LGreater (Arg0, 0x0F)) { Return (Zero) } If (LLess (Arg0, Zero)) { Return (Zero) } Return (One) } Method (ALSC, 1, NotSerialized) { SALS (Arg0) Return (One) } Method (ALSL, 1, NotSerialized) { Return (One) } Method (CWAP, 1, NotSerialized) { Or (Arg0, WAPF, WAPF) Return (One) } Method (BLED, 1, NotSerialized) { Return (One) } Method (GPSC, 1, NotSerialized) { Return (One) } Method (GLED, 1, NotSerialized) { Return (One) } Method (GSMC, 1, NotSerialized) { Return (One) } Method (SMCL, 1, NotSerialized) { Return (One) } Method (WMXC, 1, NotSerialized) { Return (One) } Method (WMXL, 1, NotSerialized) { Return (One) } Method (UWBC, 1, NotSerialized) { Return (One) } Method (UWBL, 1, NotSerialized) { Return (One) } Method (WLED, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { SGOV (0x01050005, Zero) } ElseIf (LEqual (Arg0, One)) { SGOV (0x01050005, One) } Else { } Return (One) } Method (IDAC, 1, NotSerialized) { Return (One) } Method (IDAL, 1, NotSerialized) { Return (One) } Method (LTEC, 1, NotSerialized) { Return (One) } Method (LTEL, 1, NotSerialized) { Return (One) } Method (SDSP, 1, NotSerialized) { Return (One) } Method (GDSP, 1, NotSerialized) { If (LEqual (Arg0, Zero)){} If (LEqual (Arg0, One)){} If (LEqual (Arg0, 0x02)){} If (LEqual (Arg0, 0x03)){} If (LEqual (Arg0, 0x04)){} If (LEqual (Arg0, 0x05)){} If (LEqual (Arg0, 0x06)){} If (LEqual (Arg0, 0x80)) { Return (One) } Return (Zero) } Method (GLCD, 0, NotSerialized) { Return (Zero) } Method (PSTC, 1, Serialized) { 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) Store (Local1, \_PR.P000._PPC) Notify (\_PR.P000, 0x80) 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) { Store (0x04, FSMI) Return (ASMI (Arg0)) } Method (CBIF, 1, Serialized) { Return (One) } Method (DESP, 1, Serialized) { Return (One) } Method (TLED, 1, NotSerialized) { Return (One) } Method (CPTL, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (Zero) } If (LEqual (Arg0, One)) { Return (Zero) } } Method (GLKB, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (GKLS ()) } ElseIf (LEqual (Arg0, 0x02)) { Return (KBLV) } ElseIf (LEqual (Arg0, 0x03)) { Return (GALL ()) } Return (One) } Method (SLKB, 1, NotSerialized) { Return (SLKI (Arg0)) } Method (RLKB, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (One) } If (LEqual (Arg0, One)) { Return (One) } If (LEqual (Arg0, 0x02)) { Return (One) } If (LEqual (Arg0, 0x0100)) { Return (One) } Return (Zero) } Method (GNIC, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (Zero) } ElseIf (LEqual (Arg0, One)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x02)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x03)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x04)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x05)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x06)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x07)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x08)) { Return (Zero) } ElseIf (LEqual (Arg0, 0x09)) { Return (Zero) } } Method (OWGD, 1, Serialized) { If (LEqual (Arg0, Zero)){} ElseIf (LEqual (Arg0, One)){} ElseIf (LEqual (Arg0, 0x04)){} ElseIf (LEqual (Arg0, 0x05)){} } Method (SPRK, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Store (Zero, PWKY) Return (One) } If (LEqual (Arg0, One)) { Store (One, PWKY) Return (One) } Return (Zero) } Method (SNIC, 2, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (One) } If (LEqual (Arg0, One)) { Return (One) } If (LEqual (Arg0, 0x02)) { Return (One) } If (LEqual (Arg0, 0x03)) { Return (One) } If (LEqual (Arg0, 0x04)) { Return (One) } If (LEqual (Arg0, 0x05)) { Return (One) } If (LEqual (Arg0, 0x06)) { Return (One) } If (LEqual (Arg0, 0x07)) { Return (One) } If (LEqual (Arg0, 0x08)) { Return (One) } If (LEqual (Arg0, 0x09)) { Return (One) } If (LEqual (Arg0, 0x10)) { Return (One) } Return (Zero) } Method (SVGA, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (One) } If (LEqual (Arg0, One)) { Return (One) } If (LEqual (Arg0, 0x02)) { Return (One) } If (LEqual (Arg0, 0x0256)) { Return (One) } Return (Zero) } Method (CASG, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (One) } If (LEqual (Arg0, One)) { Return (One) } If (LEqual (Arg0, 0x02)) { Return (One) } If (LEqual (Arg0, 0x03)) { Return (One) } 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 (CPCS, 1, NotSerialized) { Return (One) } Method (GSEC, 0, NotSerialized) { Return (One) } } Method (USBC, 1, NotSerialized) { Return (One) } } OperationRegion (PECM, SystemIO, 0x72, 0x02) Field (PECM, ByteAcc, Lock, Preserve) { EIND, 8, EDAT, 8 } IndexField (EIND, EDAT, ByteAcc, NoLock, Preserve) { Offset (0x40), RAMB, 32, RESV, 32 } OperationRegion (RAMW, SystemMemory, RAMB, 0x0100) Field (RAMW, AnyAcc, NoLock, Preserve) { TRTY, 8, PFSF, 8, PFST, 16, PADR, 32, PFSI, 16, SLPT, 8, MNAM, 64, BATP, 8, ALSI, 32, DBR1, 8, DBR2, 32, DBR3, 32, DBR4, 32, PRTC, 16, PMIM, 32, PMIS, 8, AIST, 16, AICD, 32, PLED, 32 } Scope (\) { OperationRegion (GPSC, SystemIO, 0xB2, 0x02) Field (GPSC, ByteAcc, NoLock, Preserve) { SMCM, 8, SMST, 8 } Method (ISMI, 1, Serialized) { Store (Arg0, SMCM) } Method (ASMI, 1, Serialized) { Store (Arg0, ALSI) Store (0xD6, SMCM) Return (ALSI) } Method (DBGR, 4, NotSerialized) { Store (Arg0, DBR1) Store (Arg1, DBR2) Store (Arg2, DBR3) Store (Arg3, DBR4) ASMI (0x80) } } Scope (_SB.PCI0.LPCB) { Device (EC0) { Name (_HID, EisaId ("PNP0C09")) // _HID: Hardware ID 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 ) }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (CRS) } Name (_GPE, 0x03) // _GPE: General Purpose Events OperationRegion (TRDP, SystemIO, 0x025C, 0x02) Field (TRDP, ByteAcc, NoLock, Preserve) { AEID, 8, AEIC, 8 } Mutex (MUEC, 0x00) Name (ECFL, Ones) Method (ECAV, 0, NotSerialized) { If (LGreaterEqual (_REV, 0x02)) { Return (One) } If (LGreaterEqual (SLPT, 0x04)) { Return (Zero) } If (LEqual (ECFL, Ones)) { Return (Zero) } Return (ECFL) } OperationRegion (ECW1, SystemMemory, 0xFEFF0380, 0x80) Field (ECW1, ByteAcc, Lock, Preserve) { Offset (0x01), EPWS, 8, EB0S, 8, EB1S, 8, EB0R, 8, EB1R, 8, EB0T, 8, EB1T, 8, OCOT, 8, Offset (0x10), B0PN, 16, B0VL, 16, B0RC, 16, B0FC, 16, B0ST, 16, B0CC, 16, B0TM, 16, B0C1, 16, B0CV, 16, Offset (0x30), B1PN, 16, B1VL, 16, B1RC, 16, B1FC, 16, B1ST, 16, B1CC, 16, B1TM, 16, B1C1, 16, B1CV, 16, Offset (0x50), B0DC, 16, B0DV, 16, B0SN, 16, B0MD, 16, B1DC, 16, B1DV, 16, B1SN, 16, B1MD, 16, TH1R, 8, TH1L, 8, TH0R, 8, TH0L, 8, ECRT, 8, EPSV, 8, EACT, 8, TERR, 8, F0TS, 16, F1TS, 16, F0CS, 8, F1CS, 8, PCPT, 16, ALSC, 8, Offset (0x72), ALSU, 16, ALSL, 16, ALSX, 16, BRTC, 8, BCDV, 8, AINP, 16 } OperationRegion (ECW2, SystemMemory, 0xFEFF0700, 0x80) Field (ECW2, ByteAcc, Lock, Preserve) { ESEM, 8, CMD1, 8, CDT1, 8, CDT2, 8, CDT3, 8, CDT4, 8, CDT5, 8, CDT6, 8, CDT7, 8, CDT8, 8, CDT9, 8, CD10, 8, CD11, 8, CD12, 8, Offset (0x40), EDA1, 8, EDA2, 8, EDA3, 8, EDA4, 8, EDA5, 8, EDA6, 8, EDA7, 8, EDA8, 8, EDA9, 8, ED10, 8, ED11, 8, ED12, 8 } OperationRegion (PHM0, SystemMemory, 0xFEFF0380, 0x80) Field (PHM0, ByteAcc, Lock, Preserve) { Offset (0x12), BD25, 8, BD26, 8, BD27, 8, BD28, 8, BD29, 8, BD2A, 8, BD2D, 8, BD2E, 8, BD2F, 8, BD30, 8, BD31, 8, BD32, 8, Offset (0x22), BD33, 8, BD34, 8, BD35, 8, BD36, 8, BD37, 8, BD38, 8, BD39, 8, BD3A, 8, Offset (0x50), BD3B, 8, BD3C, 8, BD3D, 8, BD3E, 8, Offset (0x60), BD20, 8, Offset (0x62), BD22, 8, Offset (0x68), BD23, 8, BD24, 8, Offset (0x6E), BD21, 8 } OperationRegion (PHM1, SystemMemory, 0xFEFF0700, 0xFF) Field (PHM1, ByteAcc, Lock, Preserve) { Offset (0xB7), BD1E, 8, BD1F, 8, Offset (0xBA), BD1C, 8, BD1D, 8, Offset (0xBE), BD1A, 8, BD1B, 8, Offset (0xC5), PECR, 8, Offset (0xC8), CR01, 8, CR02, 8, CR03, 8, CR04, 8, CR05, 8 } OperationRegion (ECWB, SystemMemory, 0xFEFF0700, 0x80) Field (ECWB, ByteAcc, Lock, Preserve) { ESEB, 8, CMDB, 8, CDTB, 496, EDAB, 512 } Method (_REG, 2, NotSerialized) // _REG: Region Availability { } Name (BADR, 0x0B) Name (CADR, 0x09) Name (SADR, 0x0A) Name (ISHE, Zero) Name (THOT, Zero) Method (_INI, 0, Serialized) // _INI: Initialize { Store (One, ECFL) Store (RRAM (0x04A0), Local1) Or (Local1, 0x08, Local1) WRAM (0x04A0, Local1) If (LGreaterEqual (OSYS, 0x07DC)) { WRAM (0x0617, One) } Else { WRAM (0x0617, Zero) } } Method (ALMH, 1, NotSerialized) { If (LEqual (Arg0, BADR)) { NBAT (0x80) } } Method (BIFW, 1, NotSerialized) { Store (SMBR (RDWD, BADR, Arg0), Local0) Store (DerefOf (Index (Local0, Zero)), Local1) If (Local1) { Return (Ones) } Else { Return (DerefOf (Index (Local0, 0x02))) } } Name (BSLF, Zero) Method (BATS, 1, Serialized) { If (Arg0) { Store (One, BSLF) } Else { Store (Zero, BSLF) } } Method (BIF0, 0, Serialized) { If (BSLF) { Store (B1MD, Local0) } Else { Store (B0MD, Local0) } If (LNotEqual (Local0, 0xFFFF)) { ShiftRight (Local0, 0x0F, Local1) And (Local1, One, Local1) XOr (Local1, One, Local0) } Return (Local0) } Method (BIF1, 0, Serialized) { If (BSLF) { Store (B1DC, Local0) } Else { Store (B0DC, Local0) } And (Local0, 0xFFFF, Local0) Return (Local0) } Method (BIF2, 0, Serialized) { If (BSLF) { Store (B1FC, Local0) } Else { Store (B0FC, Local0) } And (Local0, 0xFFFF, Local0) Return (Local0) } Method (BIF3, 0, Serialized) { If (BSLF) { Store (B1MD, Local0) } Else { Store (B0MD, Local0) } If (LNotEqual (Local0, 0xFFFF)) { ShiftRight (Local0, 0x09, Local0) And (Local0, One, Local0) XOr (Local0, One, Local0) } Else { Store (Zero, Local0) } Return (Local0) } Method (BIF4, 0, Serialized) { If (BSLF) { Store (B1DV, Local0) } Else { Store (B0DV, Local0) } Return (Local0) } Method (BIF9, 0, NotSerialized) { Name (BSTR, Buffer (0x20){}) Store (SMBR (RDBL, BADR, 0x21), Local0) If (LNotEqual (DerefOf (Index (Local0, Zero)), Zero)) { Store (MNAM, BSTR) Store (Zero, Index (BSTR, 0x04)) } Else { Store (DerefOf (Index (Local0, 0x02)), BSTR) Store (Zero, Index (BSTR, DerefOf (Index (Local0, One)))) } Return (BSTR) } Method (BIFA, 0, Serialized) { If (BSLF) { Store (B1SN, Local0) } Else { Store (B0SN, Local0) } Return (Local0) } Method (BSTS, 0, Serialized) { If (BSLF) { Store (B1ST, Local0) } Else { Store (B0ST, Local0) } Return (Local0) } Method (BCRT, 0, Serialized) { If (BSLF) { Store (B1CC, Local0) } Else { Store (B0CC, Local0) } Return (Local0) } Method (BRCP, 0, Serialized) { If (BSLF) { Store (B1RC, Local0) } Else { Store (B0RC, Local0) } Return (Local0) } Method (BVOT, 0, Serialized) { If (BSLF) { Store (B1VL, Local0) } Else { Store (B0VL, Local0) } Return (Local0) } Method (BATP, 1, Serialized) { And (EPWS, 0x02, Local0) If (Local0) { Store (One, Local1) } Else { Store (Zero, Local1) } And (EPWS, 0x04, Local0) If (Local0) { Store (One, Local2) } Else { Store (Zero, Local2) } Store (RRAM (0x06B3), Local3) Store (RRAM (0x06B2), Local4) And (Local3, One, Local3) And (Local4, 0x10, Local4) If (LAnd (LEqual (Local3, One), LEqual (Local4, 0x10))) { Store (Zero, Local1) Store (Zero, Local2) } If (Arg0) { Return (Local2) } Else { Return (Local1) } } Method (ACAP, 0, Serialized) { And (EPWS, One, Local0) If (LEqual (BBAT, One)) { Return (Zero) } Return (Local0) } Method (GBTT, 1, Serialized) { If (LEqual (Arg0, Zero)) { Store (EB0T, Local0) } Else { Store (EB1T, Local0) } Return (Local0) } Method (BCHG, 1, Serialized) { If (Arg0) { Store (EB1S, Local0) } Else { Store (EB0S, Local0) } And (Local0, 0xFF, Local0) If (LNotEqual (Local0, 0xFF)) { And (Local0, 0x02, Local0) ShiftRight (Local0, One, Local0) } Else { Store (Zero, Local0) } Return (Local0) } Method (CHBT, 1, Serialized) { Store (GBTT (Arg0), Local1) If (LEqual (Local1, 0xFF)) { Store (Zero, Local0) } Else { And (Local1, 0x10, Local0) If (Local0) { Store (One, Local0) } } Return (Local0) } Method (TACH, 1, Serialized) { If (Arg0) { Store (F1TS, Local0) } Else { Store (F0TS, Local0) } Not (Local0, Local0) And (Local0, 0xFFFF, Local0) If (LNotEqual (Local0, Zero)) { If (LEqual (Local0, 0xFFFF)) { Store (Zero, Local0) } Else { Multiply (Local0, 0x02, Local0) Store (0x001C8402, Local1) Divide (Local1, Local0, Local2, Local0) } } Else { Store (Zero, Local0) } Return (Local0) } Method (RTMP, 0, NotSerialized) { Store (PCPT, Local0) Return (Local0) } Method (RCRT, 0, NotSerialized) { Store (ECRT, Local0) If (LGreater (Local0, 0x80)) { Store (0x7F, Local0) } Return (Local0) } Method (RPSV, 0, NotSerialized) { Store (EPSV, Local0) If (LGreater (Local0, 0x80)) { Store (0x7F, Local0) } Return (Local0) } Method (EC0S, 1, NotSerialized) { } Method (EC0W, 1, NotSerialized) { If (LEqual (Arg0, 0x03)) { PTPT () } If (LLessEqual (Arg0, 0x04)) { PNOT () Store (RRAM (0x06B3), Local1) Store (RRAM (0x06B2), Local2) And (Local1, One, Local1) And (Local2, 0x10, Local2) If (LAnd (LEqual (Local1, One), LEqual (Local2, 0x10))) { Notify (BAT0, 0x80) Notify (BAT0, 0x81) } } If (LEqual (Arg0, 0x04)){} } Method (RRAM, 1, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, Local0) And (Local0, 0xFF, Local1) ShiftRight (Local0, 0x08, Local0) And (Local0, 0xFF, Local0) Store (Local1, CDT2) Store (Local0, CDT1) Store (0x80, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (EDA1, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (WRAM, 2, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, Local0) And (Local0, 0xFF, Local1) ShiftRight (Local0, 0x08, Local0) And (Local0, 0xFF, Local0) Store (Local1, CDT2) Store (Local0, CDT1) Store (Arg1, CDT3) Store (0x81, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (SBRV, 1, Serialized) { WBOV (Zero, Arg0) } Name (DECF, Zero) Method (SFNV, 2, Serialized) { Store (RRAM (0x0521), Local1) Store (RRAM (0x0522), Local2) Store (RRAM (0x0523), Local3) Store (RRAM (0x0524), Local4) If (LEqual (Arg0, Zero)) { Or (Local3, 0x80, Local3) Or (Local4, 0x80, Local4) If (And (Local1, 0x80)) { ShiftRight (Local1, 0x04, Local0) And (Local0, 0x03, Local0) If (LEqual (Local0, Zero)) { WRAM (0x0523, Local3) } ElseIf (LEqual (Local0, One)) { WRAM (0x0524, Local4) } ElseIf (LEqual (Local0, 0x02)) { WRAM (0x0523, Local3) WRAM (0x0524, Local4) } } If (And (Local2, 0x80)) { ShiftRight (Local2, 0x04, Local0) And (Local0, 0x03, Local0) If (LEqual (Local0, Zero)) { WRAM (0x0523, Local3) } ElseIf (LEqual (Local0, One)) { WRAM (0x0524, Local4) } ElseIf (LEqual (Local0, 0x02)) { WRAM (0x0523, Local3) WRAM (0x0524, Local4) } } Return (Zero) } And (Local3, 0x7F, Local3) And (Local4, 0x7F, Local4) WRAM (0x0523, Local3) WRAM (0x0524, Local4) WFOV (Decrement (Arg0), Arg1) Return (Zero) } Method (SPIN, 3, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, Local0) Store (Arg1, Local1) If (LGreaterEqual (Local0, 0x41)) { Subtract (Local0, 0x41, Local0) } ShiftLeft (Local0, 0x04, Local0) Or (Local0, Local1, Local0) Store (Local0, CDT2) If (LEqual (Arg2, One)) { Store (0x20, Local2) } Else { Store (0x40, Local2) } Store (Local2, CDT1) Store (0x87, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (RPIN, 2, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, Local0) If (LGreaterEqual (Local0, 0x41)) { Subtract (Local0, 0x41, Local0) } ShiftLeft (Local0, 0x04, Local0) Or (Local0, Arg1, Local0) Store (Local0, CDT2) Store (Zero, CDT1) Store (0x87, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (EDA1, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Name (WRQK, 0x02) Name (RDQK, 0x03) Name (SDBT, 0x04) Name (RCBT, 0x05) Name (WRBT, 0x06) Name (RDBT, 0x07) Name (WRWD, 0x08) Name (RDWD, 0x09) Name (WRBL, 0x0A) Name (RDBL, 0x0B) Name (WBLP, 0x8A) Name (RBLP, 0x8B) Name (PCLL, 0x0C) Name (GOOD, Zero) Name (UKER, 0x07) Name (DAER, 0x10) Name (DERR, 0x11) Name (CMDN, 0x12) Name (UKE2, 0x13) Name (DADN, 0x17) Name (SBTO, 0x18) Name (USPT, 0x19) Name (SBBY, 0x1A) Method (SMBR, 3, Serialized) { Store (Package (0x03) { 0x07, Zero, Zero }, Local0) OperationRegion (ECBD, SystemMemory, 0xFEFF0700, 0x80) Field (ECBD, ByteAcc, Lock, Preserve) { Offset (0x40), BCNT, 8, BDAT, 256 } If (LNotEqual (Arg0, RDBL)) { If (LNotEqual (Arg0, RDWD)) { If (LNotEqual (Arg0, RDBT)) { If (LNotEqual (Arg0, RCBT)) { If (LNotEqual (Arg0, RDQK)) { If (LNotEqual (Arg0, RBLP)) { Return (Local0) } } } } } } If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Zero, CDT1) Store (Arg0, CDT2) ShiftLeft (Arg1, One, Local1) Store (Local1, CDT3) Store (Arg2, CDT4) Store (Zero, CDT5) Store (0x9A, CMD1) Store (0x0F, ESEM) Store (0x7F, Local2) While (LAnd (Local2, CMD1)) { Sleep (One) Decrement (Local2) } If (LEqual (CMD1, Zero)) { Store (GOOD, Index (Local0, Zero)) If (LEqual (Arg0, RDBL)) { Store (BCNT, Index (Local0, One)) Store (BDAT, Index (Local0, 0x02)) } If (LEqual (Arg0, RBLP)) { Store (BCNT, Index (Local0, One)) Store (BDAT, Index (Local0, 0x02)) } If (LEqual (Arg0, RDWD)) { Store (0x02, Index (Local0, One)) Store (EDA2, Local1) ShiftLeft (Local1, 0x08, Local1) Or (Local1, EDA3, Local1) Store (Local1, Index (Local0, 0x02)) } If (LEqual (Arg0, RDBT)) { Store (One, Index (Local0, One)) Store (EDA1, Index (Local0, 0x02)) } If (LEqual (Arg0, RCBT)) { Store (One, Index (Local0, One)) Store (EDA1, Index (Local0, 0x02)) } } Release (MUEC) } Return (Local0) } Method (SMBW, 5, Serialized) { Store (Package (0x03) { 0x07, Zero, Zero }, Local0) OperationRegion (ECBD, SystemMemory, 0xFEFF0380, 0x80) Field (ECBD, ByteAcc, Lock, Preserve) { Offset (0x07), BDAT, 256 } If (LNotEqual (Arg0, WRBL)) { If (LNotEqual (Arg0, WRWD)) { If (LNotEqual (Arg0, WRBT)) { If (LNotEqual (Arg0, SDBT)) { If (LNotEqual (Arg0, WRQK)) { If (LNotEqual (Arg0, WBLP)) { Return (Local0) } } } } } } If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (0x7F, Local6) Store (0x0F, Local7) While (LAnd (Local6, And (Local7, ESEM))) { Sleep (0x02) Decrement (Local6) } Store (Zero, CDT1) Store (Arg0, CDT2) ShiftLeft (Arg1, One, Local1) Store (Local1, CDT3) Store (Arg2, CDT4) If (LEqual (Arg0, WRBL)) { Store (Arg3, CDT5) Store (Arg4, BDAT) } If (LEqual (Arg0, WBLP)) { Store (Arg3, CDT5) Store (Arg4, BDAT) } If (LEqual (Arg0, WRWD)) { Store (0x02, CDT5) Store (Arg4, Local1) ShiftRight (Local1, 0x08, Local1) Store (Local1, CDT6) And (Arg4, 0xFF, Local1) Store (Local1, CDT7) } If (LEqual (Arg0, WRBT)) { Store (Zero, CDT5) Store (Arg4, CDT6) } If (LEqual (Arg0, SDBT)) { Store (Zero, CDT5) Store (Arg4, CDT6) } Store (0x9A, CMD1) Store (0x0F, ESEM) Store (0x7F, Local2) While (LAnd (Local2, CMD1)) { Sleep (One) Decrement (Local2) } If (LEqual (CMD1, Zero)) { Store (Zero, Index (Local0, Zero)) } Else { Store (UKER, Index (Local0, Zero)) } Release (MUEC) } Return (Local0) } Method (RBEP, 1, NotSerialized) { Return (Zero) } Method (WBEP, 2, NotSerialized) { Return (Zero) } Method (SDAC, 2, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (Arg1, CDT2) Store (0x86, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (ECXT, 6, NotSerialized) { Store (Package (0x06) { 0x10, Zero, Zero, Zero, Zero, Zero }, Local1) If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg1, CDT1) Store (Arg2, CDT2) Store (Arg3, CDT3) Store (Arg4, CDT4) Store (Arg5, CDT5) Store (Arg0, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (Zero, Index (Local1, Zero)) Store (EDA1, Index (Local1, One)) Store (EDA2, Index (Local1, 0x02)) Store (EDA3, Index (Local1, 0x03)) Store (EDA4, Index (Local1, 0x04)) Store (EDA5, Index (Local1, 0x05)) } Else { Store (0x10, Index (Local1, Zero)) } Release (MUEC) } Return (Local1) } Method (ECX1, 1, Serialized) { Store (Package (0x0D) { 0x10, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero }, Local1) If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (DerefOf (Index (Arg0, One)), CDT1) Store (DerefOf (Index (Arg0, 0x02)), CDT2) Store (DerefOf (Index (Arg0, 0x03)), CDT3) Store (DerefOf (Index (Arg0, 0x04)), CDT4) Store (DerefOf (Index (Arg0, 0x05)), CDT5) Store (DerefOf (Index (Arg0, 0x06)), CDT6) Store (DerefOf (Index (Arg0, 0x07)), CDT7) Store (DerefOf (Index (Arg0, 0x08)), CDT8) Store (DerefOf (Index (Arg0, 0x09)), CDT9) Store (DerefOf (Index (Arg0, 0x0A)), CD10) Store (DerefOf (Index (Arg0, 0x0B)), CD11) Store (DerefOf (Index (Arg0, 0x0C)), CD12) Store (DerefOf (Index (Arg0, Zero)), CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (Zero, Index (Local1, Zero)) Store (EDA1, Index (Local1, One)) Store (EDA2, Index (Local1, 0x02)) Store (EDA3, Index (Local1, 0x03)) Store (EDA4, Index (Local1, 0x04)) Store (EDA5, Index (Local1, 0x05)) Store (EDA6, Index (Local1, 0x06)) Store (EDA7, Index (Local1, 0x07)) Store (EDA8, Index (Local1, 0x08)) Store (EDA9, Index (Local1, 0x09)) Store (ED10, Index (Local1, 0x0A)) Store (ED11, Index (Local1, 0x0B)) Store (ED12, Index (Local1, 0x0C)) } Else { Store (0x10, Index (Local1, Zero)) } Release (MUEC) } Return (Local1) } Method (ECSB, 6, NotSerialized) { Store (Package (0x05) { 0x11, Zero, Zero, Zero, Zero }, Local1) If (LGreater (Arg0, One)) { Return (Local1) } If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (Arg1, CDT2) Store (Arg2, CDT3) Store (Arg3, CDT4) Store (Zero, CDT5) Store (Arg4, CDT6) Store (Arg5, CDT7) Store (0x9A, CMD1) Store (0x0F, ESEM) Store (0x7F, Local2) While (LAnd (Local2, CMD1)) { Sleep (One) Decrement (Local2) } If (LEqual (CMD1, Zero)) { Store (Zero, Index (Local1, Zero)) Store (EDA1, Index (Local1, One)) Store (EDA2, Index (Local1, 0x02)) Store (EDA3, Index (Local1, 0x03)) Store (EDA4, Index (Local1, 0x04)) } Else { Store (0x10, Index (Local1, Zero)) } Release (MUEC) } Return (Local1) } Method (WEIE, 0, Serialized) { Store (0x4000, Local0) And (AEIC, 0x02, Local1) While (LAnd (LNotEqual (Local0, Zero), LEqual (Local1, 0x02))) { And (AEIC, 0x02, Local1) Decrement (Local0) } } Method (WEOF, 0, Serialized) { Store (0x4000, Local0) And (AEIC, One, Local1) While (LAnd (LNotEqual (Local0, Zero), LEqual (Local1, Zero))) { And (AEIC, One, Local1) Decrement (Local0) } } Method (RFOV, 1, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (0x83, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (EDA1, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (WFOV, 2, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (Arg1, CDT2) Store (0x84, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (RBOV, 1, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (0x85, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (EDA1, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (WBOV, 2, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (Arg1, CDT2) Store (0x86, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (PKEN, 1, NotSerialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (0xB1, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (FNLK, 1, NotSerialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (Arg0, CDT1) Store (0xB0, CMD1) Store (0x0F, ESEM) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (PTHP, 1, NotSerialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { CreateField (Arg0, Zero, 0x01F0, CDB0) Store (CDB0, CDTB) Store (0x97, CMDB) Store (0x0F, ESEB) Store (0x7F, Local0) While (LAnd (Local0, CMD1)) { Sleep (One) Decrement (Local0) } If (LEqual (CMD1, Zero)) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (ACPS, 0, Serialized) { Return (And (GPWS (), One)) } Method (DCPS, 1, Serialized) { Store (GPWS (), Local0) If (Arg0) { And (Local0, 0x04, Local0) } Else { And (Local0, 0x02, Local0) } If (Local0) { Store (One, Local0) } Else { Store (Zero, Local0) } Return (Local0) } Method (GPWS, 0, Serialized) { Store (EPWS, Local0) Return (Local0) } Method (ECDT, 0, Serialized) { Name (DAT1, Zero) Name (DAT2, Zero) Name (DAT3, Zero) Store (Zero, Local0) Store (RRAM (0x0520), DAT1) And (DAT1, 0xFC, DAT2) Or (DAT2, 0x11, DAT3) And (DAT3, 0x7F, Local0) WRAM (0x0520, Local0) Store (RRAM (0x0521), Local0) And (Local0, 0x40, Local0) Or (Local0, 0xAC, Local0) WRAM (0x0521, Local0) WRAM (0x0522, 0x2C) WRAM (0x0523, 0x9D) WRAM (0x0524, 0xD9) WRAM (0x0520, 0x91) WRAM (0x052A, 0x9E) WRAM (0x052C, Zero) } Method (ECUT, 0, Serialized) { Name (DAT1, Zero) Name (DAT2, Zero) Name (DAT3, Zero) Store (RRAM (0x0520), DAT1) And (DAT1, 0x7C, DAT2) And (DAT2, 0x7F, DAT3) WRAM (0x0520, DAT3) Store (RRAM (0x0521), Local0) And (Local0, 0x40, Local0) Or (Local0, 0x8C, Local0) WRAM (0x0521, Local0) WRAM (0x0522, Zero) WRAM (0x0523, 0x9D) WRAM (0x0524, Zero) WRAM (0x0520, 0x80) WRAM (0x052A, Zero) WRAM (0x052C, Zero) } Method (BCLE, 1, Serialized) { If (Arg0) { If (ECAV ()) { Store (EB1S, Local1) And (Local1, 0xFFFF, Local1) If (LNotEqual (Local1, 0xFFFF)) { And (Local1, 0x16, Local1) If (LEqual (Local1, 0x04)) { Store (Zero, Local0) } ElseIf (LEqual (Local1, 0x02)) { Store (One, Local0) } ElseIf (LEqual (Local1, 0x10)) { Store (One, Local0) } } Store (Ones, Local0) } Else { Store (Ones, Local0) } Return (Local0) } Else { If (ECAV ()) { Store (EB0S, Local1) And (Local1, 0xFFFF, Local1) If (LNotEqual (Local1, 0xFFFF)) { And (Local1, 0x16, Local1) If (LEqual (Local1, 0x04)) { Store (Zero, Local0) } ElseIf (LEqual (Local1, 0x02)) { Store (One, Local0) } ElseIf (LEqual (Local1, 0x10)) { Store (One, Local0) } } Store (Ones, Local0) } Else { Store (Ones, Local0) } Return (Local0) } } Method (_QA0, 0, NotSerialized) // _Qxx: EC Query { If (ACPS ()) { Store (Zero, THOT) Store (One, PWRS) Store (0x58, Local0) SGOV (0x01010003, One) Notify (^^^PEG0.PEGP, 0xD1) } Else { Store (Zero, PWRS) Store (0x57, Local0) } PNOT () Sleep (0x0A) NBAT (0x80) If (ATKP) { ^^^^ATKD.IANE (Local0) } } Method (_QA5, 0, NotSerialized) // _Qxx: EC Query { Notify (BAT0, 0x80) If (ACPS ()) { Return (Zero) } Store (And (EB0S, One), Local0) If (LNotEqual (Local0, Zero)) { Store (And (EB0S, 0x08), Local0) Return (Zero) } Return (Zero) } Method (PTPP, 1, Serialized) { If (LEqual (Acquire (MUEC, 0xFFFF), Zero)) { Store (0x7F, Local6) Store (0x0F, Local7) While (LAnd (Local6, And (Local7, ESEB))) { Sleep (0x02) Decrement (Local6) } Store (0x97, CMDB) Store (Arg0, CDTB) Store (0x0F, ESEB) Store (0x7F, Local0) Store (0x0F, Local1) While (LAnd (LAnd (Local0, CMDB), And (Local1, ESEB))) { Sleep (One) Decrement (Local0) } If (LAnd (LEqual (CMDB, Zero), LEqual (ESEB, 0xF0))) { Store (One, Local0) } Else { Store (Ones, Local0) } Release (MUEC) Return (Local0) } Return (Ones) } Method (PTPT, 0, Serialized) { Name (AADG, Buffer (0x32) { /* 0000 */ 0x00, 0x9D, 0x63, 0x62, 0x60, 0x62, 0x5A, 0x44, /* 0008 */ 0x6E, 0x2D, 0x37, 0x3C, 0x41, 0x46, 0x54, 0x54, /* 0010 */ 0x54, 0x82, 0x0A, 0x0B, 0x0A, 0x0B, 0x0B, 0x0E, /* 0018 */ 0x0E, 0x0E, 0x49, 0x68, 0x84, 0x9B, 0xBF, 0xE6, /* 0020 */ 0xE6, 0xE6, 0x01, 0x02, 0x04, 0x06, 0x01, 0x02, /* 0028 */ 0x04, 0x06, 0x01, 0x02, 0x04, 0x06, 0x01, 0x02, /* 0030 */ 0x04, 0x06 }) Name (F0DG, Buffer (0x11) { /* 0000 */ 0x02, 0x36, 0x04, 0x3D, 0x03, 0xA2, 0x02, 0x57, /* 0008 */ 0x02, 0x01, 0x02, 0xC1, 0x01, 0x00, 0x00, 0x00, /* 0010 */ 0x00 }) Name (ABDG, Buffer (0x32) { /* 0000 */ 0x01, 0xD9, 0x63, 0x62, 0x60, 0x62, 0x5A, 0x44, /* 0008 */ 0x6E, 0x2D, 0x54, 0x54, 0x54, 0x54, 0x54, 0x54, /* 0010 */ 0x54, 0x82, 0x06, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, /* 0018 */ 0x0E, 0x0E, 0x49, 0xE6, 0xE6, 0xE6, 0xE6, 0xE6, /* 0020 */ 0xE6, 0xE6, 0x01, 0x02, 0x04, 0x06, 0x01, 0x02, /* 0028 */ 0x04, 0x06, 0x01, 0x02, 0x04, 0x06, 0x01, 0x02, /* 0030 */ 0x04, 0x06 }) Name (F1DG, Buffer (0x11) { /* 0000 */ 0x03, 0x36, 0x04, 0xC1, 0x01, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00 }) PTPP (AADG) PTPP (F0DG) PTPP (ABDG) PTPP (F1DG) WRAM (0x0520, 0x91) WRAM (0x0521, 0xAC) WRAM (0x0522, 0x25) WRAM (0x052A, 0x9E) WRAM (0x052C, Zero) WRAM (0x03E4, 0x62) WRAM (0x03E5, 0x61) } } } Scope (_SB.PCI0.LPCB.EC0) { } Name (ATKP, Zero) Scope (\) { Device (WMI0) { Name (_HID, "PNP0C14") // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (WAPF, Zero) Name (_WDG, Buffer (0x01B8) { /* 0000 */ 0x00, 0x24, 0x14, 0x39, 0xA3, 0xC6, 0xFA, 0x40, /* 0008 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0010 */ 0x30, 0x30, 0x01, 0x01, 0x00, 0x24, 0x14, 0x49, /* 0018 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0020 */ 0x52, 0x83, 0x41, 0x00, 0x30, 0x31, 0x01, 0x01, /* 0028 */ 0x00, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 0030 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0038 */ 0x30, 0x32, 0x01, 0x01, 0x01, 0x24, 0x14, 0x49, /* 0040 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0048 */ 0x52, 0x83, 0x41, 0x00, 0x31, 0x31, 0x01, 0x01, /* 0050 */ 0x01, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 0058 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0060 */ 0x31, 0x32, 0x01, 0x01, 0x02, 0x24, 0x14, 0x49, /* 0068 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0070 */ 0x52, 0x83, 0x41, 0x00, 0x32, 0x31, 0x01, 0x01, /* 0078 */ 0x02, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 0080 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0088 */ 0x32, 0x32, 0x01, 0x01, 0x03, 0x24, 0x14, 0x49, /* 0090 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0098 */ 0x52, 0x83, 0x41, 0x00, 0x33, 0x31, 0x01, 0x01, /* 00A0 */ 0x03, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 00A8 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 00B0 */ 0x33, 0x32, 0x01, 0x01, 0x04, 0x24, 0x14, 0x49, /* 00B8 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 00C0 */ 0x52, 0x83, 0x41, 0x00, 0x34, 0x31, 0x01, 0x01, /* 00C8 */ 0x04, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 00D0 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 00D8 */ 0x34, 0x32, 0x01, 0x01, 0x05, 0x24, 0x14, 0x49, /* 00E0 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 00E8 */ 0x52, 0x83, 0x41, 0x00, 0x35, 0x31, 0x01, 0x01, /* 00F0 */ 0x05, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 00F8 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0100 */ 0x35, 0x32, 0x01, 0x01, 0x06, 0x24, 0x14, 0x49, /* 0108 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0110 */ 0x52, 0x83, 0x41, 0x00, 0x36, 0x31, 0x01, 0x01, /* 0118 */ 0x06, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 0120 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0128 */ 0x36, 0x32, 0x01, 0x01, 0x07, 0x24, 0x14, 0x49, /* 0130 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0138 */ 0x52, 0x83, 0x41, 0x00, 0x37, 0x31, 0x01, 0x01, /* 0140 */ 0x07, 0x24, 0x14, 0x4A, 0xA3, 0xC6, 0xFA, 0x40, /* 0148 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0150 */ 0x37, 0x32, 0x01, 0x01, 0x00, 0x24, 0x14, 0x59, /* 0158 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0160 */ 0x52, 0x83, 0x41, 0x00, 0x80, 0x00, 0x01, 0x08, /* 0168 */ 0x00, 0x24, 0x14, 0x69, 0xA3, 0xC6, 0xFA, 0x40, /* 0170 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 0178 */ 0x30, 0x35, 0x01, 0x02, 0x00, 0x24, 0x14, 0x79, /* 0180 */ 0xA3, 0xC6, 0xFA, 0x40, 0xBA, 0xDB, 0x8A, 0x26, /* 0188 */ 0x52, 0x83, 0x41, 0x00, 0x30, 0x36, 0x01, 0x02, /* 0190 */ 0x00, 0x24, 0x14, 0x89, 0xA3, 0xC6, 0xFA, 0x40, /* 0198 */ 0xBA, 0xDB, 0x8A, 0x26, 0x52, 0x83, 0x41, 0x00, /* 01A0 */ 0x30, 0x37, 0x01, 0x02, 0x21, 0x12, 0x90, 0x05, /* 01A8 */ 0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0, /* 01B0 */ 0xC9, 0x06, 0x29, 0x10, 0x42, 0x41, 0x01, 0x01 }) Name (XVCD, Zero) Method (WQ00, 1, NotSerialized) { Return (XVCD) } OperationRegion (\WMIA, SystemMemory, PMIM, 0x9000) Field (WMIA, AnyAcc, NoLock, Preserve) { WAG1, 2048, WAG2, 2048, WAG3, 2048, WAG4, 2048, WAG5, 2048, WAG6, 2048, WAG7, 2048, WAG8, 2048, Offset (0x1000), WPD1, 32768, WPD2, 32768, WPD3, 32768, WPD4, 32768, WPD5, 32768, WPD6, 32768, WPD7, 32768, WPD8, 32768 } Method (WQ01, 1, NotSerialized) { Return (WAG1) } Method (WS01, 2, NotSerialized) { Store (Arg1, WAG1) Return (Zero) } Method (WQ02, 1, NotSerialized) { Return (WPD1) } Method (WS02, 2, NotSerialized) { Store (Arg1, WPD1) Return (Zero) } Method (WQ11, 1, NotSerialized) { Return (WAG2) } Method (WS11, 2, NotSerialized) { Store (Arg1, WAG2) Return (Zero) } Method (WQ12, 1, NotSerialized) { Return (WPD2) } Method (WS12, 2, NotSerialized) { Store (Arg1, WPD2) Return (Zero) } Method (WQ21, 1, NotSerialized) { Return (WAG3) } Method (WS21, 2, NotSerialized) { Store (Arg1, WAG3) Return (Zero) } Method (WQ22, 1, NotSerialized) { Return (WPD3) } Method (WS22, 2, NotSerialized) { Store (Arg1, WPD3) Return (Zero) } Method (WQ31, 1, NotSerialized) { Return (WAG4) } Method (WS31, 2, NotSerialized) { Store (Arg1, WAG4) Return (Zero) } Method (WQ32, 1, NotSerialized) { Return (WPD4) } Method (WS32, 2, NotSerialized) { Store (Arg1, WPD4) Return (Zero) } Method (WQ41, 1, NotSerialized) { Return (WAG5) } Method (WS41, 2, NotSerialized) { Store (Arg1, WAG5) Return (Zero) } Method (WQ42, 1, NotSerialized) { Return (WPD5) } Method (WS42, 2, NotSerialized) { Store (Arg1, WPD5) Return (Zero) } Method (WQ51, 1, NotSerialized) { Return (WAG6) } Method (WS51, 2, NotSerialized) { Store (Arg1, WAG6) Return (Zero) } Method (WQ52, 1, NotSerialized) { Return (WPD6) } Method (WS52, 2, NotSerialized) { Store (Arg1, WPD6) Return (Zero) } Method (WQ61, 1, NotSerialized) { Return (WAG7) } Method (WS61, 2, NotSerialized) { Store (Arg1, WAG7) Return (Zero) } Method (WQ62, 1, NotSerialized) { Return (WPD7) } Method (WS62, 2, NotSerialized) { Store (Arg1, WPD7) Return (Zero) } Method (WQ71, 1, NotSerialized) { Return (WAG8) } Method (WS71, 2, NotSerialized) { Store (Arg1, WAG8) Return (Zero) } Method (WQ72, 1, NotSerialized) { Return (WPD8) } Method (WS72, 2, NotSerialized) { Store (Arg1, WPD8) Return (Zero) } Method (WM05, 3, NotSerialized) { CreateDWordField (Arg2, Zero, WMA5) If (LEqual (WMA5, One)) { WMIG (PMIM, Add (PMIM, 0x1000), One) Return (Zero) } If (LEqual (WMA5, 0x02)) { WMIG (Add (PMIM, 0x0100), Add (PMIM, 0x2000), 0x02) Return (Zero) } If (LEqual (WMA5, 0x03)) { WMIG (Add (PMIM, 0x0200), Add (PMIM, 0x3000), 0x03) Return (Zero) } If (LEqual (WMA5, 0x04)) { WMIG (Add (PMIM, 0x0300), Add (PMIM, 0x4000), 0x04) Return (Zero) } If (LEqual (WMA5, 0x05)) { WMIG (Add (PMIM, 0x0400), Add (PMIM, 0x5000), 0x05) Return (Zero) } If (LEqual (WMA5, 0x06)) { WMIG (Add (PMIM, 0x0500), Add (PMIM, 0x6000), 0x06) Return (Zero) } If (LEqual (WMA5, 0x07)) { WMIG (Add (PMIM, 0x0600), Add (PMIM, 0x7000), 0x07) Return (Zero) } If (LEqual (WMA5, 0x08)) { WMIG (Add (PMIM, 0x0700), Add (PMIM, 0x8000), 0x08) Return (Zero) } Return (Zero) } Method (WM06, 3, Serialized) { CreateDWordField (Arg2, Zero, WM6A) Store (INIT (WM6A), Local0) Return (Local0) } Method (WM07, 3, Serialized) { CreateDWordField (Arg2, Zero, WM7A) Store (WDOG (WM7A), Local0) Return (Local0) } Method (NTFY, 1, Serialized) { Store (Arg0, XVCD) Notify (WMI0, 0x80) } Method (WSMI, 1, Serialized) { Store (Arg0, PMIS) ISMI (0x9C) Stall (0xFF) } Name (WQBA, Buffer (0x0914) { /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, /* 0008 */ 0x04, 0x09, 0x00, 0x00, 0x50, 0x67, 0x00, 0x00, /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, /* 0018 */ 0x28, 0xC7, 0xB2, 0x00, 0x01, 0x06, 0x18, 0x42, /* 0020 */ 0x10, 0x2B, 0x10, 0x92, 0x2B, 0x81, 0x42, 0x04, /* 0028 */ 0x0A, 0x44, 0x24, 0x81, 0x30, 0x28, 0x0D, 0x20, /* 0030 */ 0x92, 0x03, 0x21, 0x17, 0x4C, 0x4C, 0x80, 0x08, /* 0038 */ 0x08, 0x79, 0x15, 0x60, 0x53, 0x80, 0x49, 0x10, /* 0040 */ 0xF5, 0xEF, 0x0F, 0x51, 0x12, 0x1C, 0x4A, 0x08, /* 0048 */ 0x84, 0x24, 0x0A, 0x30, 0x2F, 0x40, 0xB7, 0x00, /* 0050 */ 0xC3, 0x02, 0x6C, 0x0B, 0x30, 0x2D, 0xC0, 0x31, /* 0058 */ 0x24, 0x95, 0x06, 0x4E, 0x09, 0x2C, 0x05, 0x42, /* 0060 */ 0x42, 0x05, 0x28, 0x17, 0xE0, 0x5B, 0x80, 0x76, /* 0068 */ 0x44, 0x49, 0x16, 0xB0, 0xA3, 0x30, 0x09, 0x3C, /* 0070 */ 0x8A, 0xC8, 0x46, 0xE3, 0xD0, 0xD8, 0x61, 0x58, /* 0078 */ 0x26, 0x98, 0x06, 0x71, 0x18, 0x65, 0x23, 0x8B, /* 0080 */ 0xC0, 0x13, 0xEA, 0x74, 0x74, 0x05, 0x08, 0x13, /* 0088 */ 0x20, 0x1E, 0x55, 0x18, 0xCD, 0x41, 0x91, 0x08, /* 0090 */ 0xD0, 0x28, 0x31, 0x63, 0x22, 0xB0, 0x9D, 0x63, /* 0098 */ 0x6B, 0x14, 0xA7, 0x51, 0xB8, 0x00, 0xE9, 0x18, /* 00A0 */ 0x1A, 0xC1, 0x71, 0x85, 0xF7, 0xC8, 0x8E, 0x90, /* 00A8 */ 0x59, 0x1C, 0x8B, 0x20, 0x43, 0x85, 0xEB, 0x10, /* 00B0 */ 0x4E, 0x73, 0x32, 0xC8, 0x89, 0x9C, 0x49, 0xEC, /* 00B8 */ 0x08, 0x05, 0x09, 0xB0, 0x8E, 0x21, 0xA4, 0x58, /* 00C0 */ 0x51, 0x6A, 0xC6, 0xD3, 0x0C, 0x82, 0x34, 0x0A, /* 00C8 */ 0xA5, 0xC9, 0x79, 0x00, 0x61, 0xC2, 0xC3, 0x20, /* 00D0 */ 0x30, 0xFE, 0x11, 0x61, 0x64, 0x40, 0xC8, 0x33, /* 00D8 */ 0xB2, 0x86, 0x6A, 0x02, 0xBB, 0x17, 0xE0, 0x6C, /* 00E0 */ 0x6A, 0x32, 0x36, 0x39, 0x29, 0x9B, 0x1D, 0x41, /* 00E8 */ 0x68, 0x0B, 0x5E, 0xDA, 0x04, 0x18, 0x04, 0x13, /* 00F0 */ 0x4A, 0x24, 0x0F, 0xE5, 0x78, 0xA2, 0x54, 0x88, /* 00F8 */ 0xA4, 0xF1, 0xC5, 0x88, 0x52, 0x1C, 0x8A, 0x60, /* 0100 */ 0x23, 0xB6, 0x86, 0x21, 0x98, 0x98, 0x21, 0xE3, /* 0108 */ 0x07, 0xB7, 0xFD, 0x83, 0x01, 0x53, 0x00, 0xD1, /* 0110 */ 0x02, 0x88, 0x22, 0x8D, 0x06, 0x75, 0x18, 0x48, /* 0118 */ 0xF0, 0x70, 0xE0, 0x71, 0x9E, 0xD6, 0xF9, 0x1D, /* 0120 */ 0xD7, 0x41, 0x04, 0x39, 0xE1, 0xE3, 0xAA, 0xF3, /* 0128 */ 0x54, 0x40, 0x46, 0xC6, 0xFE, 0xFF, 0x58, 0x09, /* 0130 */ 0x3A, 0x38, 0x26, 0x40, 0x71, 0x0D, 0xA8, 0x69, /* 0138 */ 0x3E, 0x1D, 0xB0, 0x81, 0x86, 0xC3, 0x0C, 0xD1, /* 0140 */ 0xA3, 0x0D, 0x77, 0x02, 0x87, 0xC8, 0x00, 0x3D, /* 0148 */ 0xA2, 0x07, 0x03, 0xEC, 0x10, 0x4F, 0xE6, 0x25, /* 0150 */ 0xA0, 0x54, 0x01, 0x66, 0x4F, 0x08, 0x9A, 0x76, /* 0158 */ 0x82, 0xE3, 0xF1, 0x71, 0xC0, 0xF3, 0x39, 0xE1, /* 0160 */ 0x04, 0x96, 0x3F, 0x08, 0xD4, 0xC8, 0x0C, 0xED, /* 0168 */ 0x71, 0x9E, 0xD6, 0x5B, 0x81, 0x8F, 0x00, 0x26, /* 0170 */ 0xB0, 0x58, 0x08, 0x6D, 0x52, 0xE3, 0x01, 0x02, /* 0178 */ 0x8A, 0x0F, 0x05, 0x42, 0x78, 0x75, 0xF0, 0x7C, /* 0180 */ 0x4D, 0x30, 0x32, 0x84, 0x9C, 0x8C, 0x07, 0x35, /* 0188 */ 0x0A, 0x83, 0xD6, 0x0A, 0xAE, 0x9B, 0x40, 0x02, /* 0190 */ 0x47, 0x84, 0xD0, 0x67, 0xC3, 0xA2, 0x86, 0x4D, /* 0198 */ 0x8F, 0x16, 0xFC, 0x54, 0xC1, 0x20, 0xCF, 0xE0, /* 01A0 */ 0x11, 0xC0, 0x23, 0x39, 0x21, 0x1F, 0x3E, 0x3C, /* 01A8 */ 0x30, 0xF8, 0xB3, 0xF0, 0x91, 0x02, 0x1C, 0x1E, /* 01B0 */ 0xC1, 0x84, 0xF3, 0x0A, 0x01, 0x6B, 0xA4, 0xF0, /* 01B8 */ 0x6F, 0x11, 0x46, 0xF6, 0xA9, 0xE1, 0xB5, 0x21, /* 01C0 */ 0x81, 0x0F, 0x1E, 0x81, 0xB1, 0x43, 0xB5, 0x5F, /* 01C8 */ 0x01, 0x08, 0xC1, 0xA3, 0x3D, 0x0A, 0x3C, 0x7B, /* 01D0 */ 0x44, 0x78, 0xDC, 0xC0, 0xFC, 0xFF, 0x8F, 0x1B, /* 01D8 */ 0xB0, 0x09, 0x8A, 0x1C, 0x20, 0x7A, 0x0C, 0xFC, /* 01E0 */ 0x04, 0x71, 0x0A, 0xF1, 0xC3, 0x1F, 0xC3, 0x11, /* 01E8 */ 0x45, 0x89, 0x7C, 0x48, 0x3E, 0x9C, 0x18, 0xE1, /* 01F0 */ 0x10, 0x9E, 0x49, 0xCE, 0xC0, 0x07, 0x0C, 0x4F, /* 01F8 */ 0xEB, 0x14, 0x5E, 0x24, 0x3C, 0x02, 0x4C, 0xA0, /* 0200 */ 0x43, 0x0C, 0x8D, 0xB2, 0x7E, 0x45, 0x80, 0x41, /* 0208 */ 0x9D, 0x63, 0x00, 0x57, 0x30, 0xCF, 0x31, 0xE0, /* 0210 */ 0x3B, 0x3E, 0xF0, 0x6B, 0x00, 0xE6, 0x7C, 0xF2, /* 0218 */ 0x14, 0x03, 0x07, 0x97, 0x81, 0xBC, 0x04, 0xC4, /* 0220 */ 0x79, 0x77, 0xF1, 0xCD, 0xC4, 0xD7, 0x02, 0xE3, /* 0228 */ 0x3E, 0xC4, 0x80, 0x61, 0x60, 0x0F, 0x31, 0xE0, /* 0230 */ 0xFC, 0xFF, 0x1F, 0x62, 0xE0, 0x05, 0x3F, 0xC4, /* 0238 */ 0x00, 0x34, 0x91, 0x77, 0xBE, 0x90, 0x91, 0x55, /* 0240 */ 0xF8, 0x10, 0x83, 0xBA, 0x21, 0x9C, 0xCF, 0x43, /* 0248 */ 0xCA, 0xD3, 0x01, 0x93, 0x73, 0xCE, 0xA0, 0x87, /* 0250 */ 0x18, 0xE0, 0x01, 0x88, 0xF7, 0x3E, 0x65, 0x32, /* 0258 */ 0x82, 0x33, 0x35, 0xA0, 0x51, 0x7D, 0xAE, 0x00, /* 0260 */ 0xC7, 0x79, 0x82, 0xFF, 0xFF, 0xCF, 0x13, 0x18, /* 0268 */ 0xBC, 0xD7, 0x0A, 0x76, 0x0C, 0x60, 0x67, 0x0A, /* 0270 */ 0x38, 0x57, 0x0A, 0x9F, 0x5A, 0x7C, 0x4E, 0xF0, /* 0278 */ 0x18, 0xF9, 0x58, 0x0C, 0x1A, 0xF2, 0x41, 0xC0, /* 0280 */ 0x0B, 0xB4, 0xAC, 0xB3, 0x0D, 0x68, 0x2E, 0x13, /* 0288 */ 0xCF, 0x3D, 0xD8, 0xA3, 0x0D, 0x18, 0x90, 0x2A, /* 0290 */ 0xBD, 0x05, 0xE8, 0x02, 0x82, 0x23, 0xF0, 0xC1, /* 0298 */ 0x06, 0xF8, 0xC4, 0x3A, 0xD5, 0xD0, 0x30, 0x63, /* 02A0 */ 0x54, 0x10, 0x18, 0xD4, 0xC1, 0x06, 0x70, 0x75, /* 02A8 */ 0xE8, 0xF0, 0xC1, 0x06, 0x3C, 0xFF, 0xFF, 0x11, /* 02B0 */ 0xB2, 0xC1, 0x9C, 0x44, 0x98, 0xA3, 0x08, 0xF6, /* 02B8 */ 0x2C, 0xE1, 0x9B, 0x0D, 0x78, 0xB0, 0xB1, 0x27, /* 02C0 */ 0x1B, 0xB0, 0x9C, 0x09, 0x9E, 0x6C, 0x80, 0x49, /* 02C8 */ 0xF8, 0x93, 0x0D, 0x40, 0x1E, 0xD8, 0x27, 0x81, /* 02D0 */ 0x77, 0x80, 0xFF, 0xFF, 0x93, 0x0D, 0x60, 0xF1, /* 02D8 */ 0x4A, 0x81, 0x3D, 0xD9, 0x40, 0x5E, 0xBC, 0x4E, /* 02E0 */ 0x36, 0xE0, 0x3A, 0x03, 0x82, 0xED, 0x08, 0x02, /* 02E8 */ 0xF3, 0x6C, 0x03, 0x9C, 0xCE, 0x80, 0xC0, 0xE1, /* 02F0 */ 0xFF, 0x7F, 0x06, 0x04, 0x1C, 0x9E, 0x5B, 0x9E, /* 02F8 */ 0x01, 0xC1, 0x75, 0xF2, 0x64, 0x67, 0x40, 0x70, /* 0300 */ 0xA1, 0x3C, 0x03, 0x02, 0x66, 0xFF, 0xFF, 0x67, /* 0308 */ 0x40, 0xC0, 0xD2, 0xE9, 0x80, 0x9D, 0x01, 0x01, /* 0310 */ 0x4E, 0xFD, 0xFF, 0x2F, 0x20, 0xFC, 0x0C, 0x08, /* 0318 */ 0x30, 0xEC, 0x66, 0x03, 0x1B, 0x1B, 0x7B, 0xB2, /* 0320 */ 0x01, 0xCB, 0x19, 0x10, 0x77, 0xB2, 0x01, 0xEF, /* 0328 */ 0xFF, 0xFF, 0x0C, 0x08, 0x30, 0xE9, 0x64, 0x03, /* 0330 */ 0x58, 0xFB, 0xFF, 0x9F, 0x01, 0x01, 0x63, 0x67, /* 0338 */ 0x1B, 0x60, 0x75, 0x06, 0x04, 0xBC, 0xFF, 0xFF, /* 0340 */ 0xCF, 0x80, 0xF8, 0x63, 0xCB, 0x33, 0x20, 0xB8, /* 0348 */ 0x70, 0x9F, 0x01, 0xC1, 0x87, 0xF1, 0x0C, 0x08, /* 0350 */ 0xF0, 0xEF, 0x74, 0xC0, 0x8E, 0x36, 0xFC, 0xFF, /* 0358 */ 0x7F, 0x06, 0x04, 0x18, 0x75, 0x10, 0x60, 0x67, /* 0360 */ 0x40, 0xC0, 0xD3, 0xFF, 0xFF, 0x0C, 0x08, 0x58, /* 0368 */ 0xBB, 0xD9, 0xC0, 0xC6, 0xC6, 0x9E, 0x6C, 0xC0, /* 0370 */ 0x72, 0x06, 0xC4, 0x9D, 0x6C, 0xC0, 0x7F, 0x06, /* 0378 */ 0x04, 0x5C, 0xFD, 0xFF, 0xCF, 0x80, 0x80, 0x95, /* 0380 */ 0x93, 0x0D, 0xE0, 0xF1, 0x0C, 0x08, 0xF8, 0x39, /* 0388 */ 0x0A, 0xFC, 0xFF, 0x9F, 0x01, 0x01, 0x6E, 0xCD, /* 0390 */ 0xE1, 0x19, 0x10, 0x5C, 0x33, 0xF3, 0x19, 0x10, /* 0398 */ 0x6C, 0xF7, 0x1A, 0x9F, 0x01, 0xC1, 0xFF, 0xFF, /* 03A0 */ 0x3F, 0x03, 0x02, 0xEC, 0x39, 0x1D, 0xB0, 0xA3, /* 03A8 */ 0x0D, 0xE0, 0xEE, 0xFF, 0x7F, 0x06, 0x04, 0xEC, /* 03B0 */ 0x1C, 0x04, 0xD8, 0x19, 0x10, 0xE0, 0xD6, 0xFF, /* 03B8 */ 0xFF, 0x66, 0x03, 0x1F, 0x1B, 0x7B, 0xB2, 0x01, /* 03C0 */ 0xCB, 0x19, 0x10, 0x77, 0xB2, 0x01, 0xFF, 0x19, /* 03C8 */ 0x10, 0x60, 0xD0, 0xC9, 0x06, 0xF6, 0xFF, 0xFF, /* 03D0 */ 0x0C, 0x08, 0x30, 0xE9, 0x6C, 0x03, 0xAC, 0xCE, /* 03D8 */ 0x80, 0xC0, 0xEF, 0xFF, 0x7F, 0x06, 0x04, 0x3C, /* 03E0 */ 0xDD, 0x5B, 0x9E, 0x01, 0xC1, 0x85, 0xFB, 0x0C, /* 03E8 */ 0x08, 0x3E, 0x88, 0x67, 0x40, 0xC0, 0xFA, 0xFF, /* 03F0 */ 0xFF, 0x0C, 0x08, 0x98, 0x38, 0x1D, 0xB0, 0x33, /* 03F8 */ 0x20, 0xC0, 0xAC, 0x83, 0x00, 0x3B, 0xD8, 0xE0, /* 0400 */ 0xFF, 0xFF, 0x67, 0x40, 0x80, 0x4D, 0x37, 0x1B, /* 0408 */ 0xD8, 0xD8, 0xD8, 0x93, 0x0D, 0x58, 0xCE, 0x80, /* 0410 */ 0xB8, 0x93, 0x0D, 0xF8, 0xCF, 0x80, 0x70, 0xFE, /* 0418 */ 0xFF, 0x67, 0x40, 0x80, 0x2D, 0x27, 0x1B, 0xC0, /* 0420 */ 0xE3, 0x95, 0x02, 0xF3, 0xFF, 0x3F, 0x03, 0x02, /* 0428 */ 0x56, 0xCE, 0x36, 0xC0, 0xEA, 0x0C, 0x08, 0xF0, /* 0430 */ 0xE0, 0xE0, 0xF2, 0x66, 0x83, 0xF9, 0xFF, 0x9F, /* 0438 */ 0x01, 0xC1, 0x80, 0xFB, 0x0C, 0x08, 0xBE, 0xFB, /* 0440 */ 0xC1, 0x33, 0x20, 0xC0, 0xBF, 0xD3, 0x01, 0x3B, /* 0448 */ 0xDA, 0x80, 0xE3, 0xFF, 0x7F, 0x06, 0x04, 0x58, /* 0450 */ 0x73, 0x10, 0x60, 0x67, 0x40, 0xC0, 0xE1, 0xFF, /* 0458 */ 0xFF, 0x0C, 0x08, 0x98, 0xB9, 0xD9, 0xC0, 0xC6, /* 0460 */ 0xC6, 0x9E, 0x6C, 0xC0, 0x72, 0x06, 0xC4, 0x9D, /* 0468 */ 0x6C, 0xC0, 0x7F, 0x06, 0x04, 0x3C, 0xFE, 0xFF, /* 0470 */ 0xCF, 0x80, 0xC0, 0xFC, 0x64, 0x03, 0x78, 0x3C, /* 0478 */ 0x03, 0x02, 0x7E, 0xCE, 0x36, 0xB0, 0xFF, 0xFF, /* 0480 */ 0x67, 0x40, 0x80, 0x3F, 0xDE, 0xCE, 0x80, 0x20, /* 0488 */ 0xC3, 0x7D, 0x06, 0x04, 0xDF, 0xFD, 0xE0, 0x19, /* 0490 */ 0x10, 0xD8, 0xFD, 0xFF, 0xCF, 0x80, 0x00, 0x43, /* 0498 */ 0x4E, 0x07, 0xEC, 0x0C, 0x08, 0x78, 0xFD, 0xFF, /* 04A0 */ 0x9F, 0x01, 0x01, 0x03, 0x07, 0x01, 0x76, 0x06, /* 04A8 */ 0x04, 0xD8, 0x75, 0xB3, 0x81, 0xF9, 0xFF, 0xBF, /* 04B0 */ 0x60, 0xC1, 0x38, 0xD9, 0x80, 0xE5, 0x0C, 0x88, /* 04B8 */ 0x3B, 0xD9, 0x80, 0xFF, 0x0C, 0x08, 0x30, 0xE8, /* 04C0 */ 0x64, 0x03, 0xE6, 0xFF, 0xFF, 0x19, 0x10, 0x60, /* 04C8 */ 0xCB, 0xD9, 0x06, 0x58, 0x9D, 0x01, 0x81, 0xFB, /* 04D0 */ 0xFF, 0xFF, 0x0C, 0x08, 0xB8, 0x38, 0x1A, 0x3C, /* 04D8 */ 0x03, 0x82, 0xEB, 0x96, 0xE0, 0x33, 0x20, 0xD8, /* 04E0 */ 0xEE, 0x07, 0xCF, 0x80, 0x00, 0x23, 0xFE, 0xFF, /* 04E8 */ 0x67, 0x40, 0x60, 0x7B, 0x3A, 0x60, 0x67, 0x40, /* 04F0 */ 0x80, 0x59, 0x07, 0x01, 0x76, 0xB0, 0x01, 0xD7, /* 04F8 */ 0xFF, 0xFF, 0x0C, 0x08, 0x30, 0xE6, 0x66, 0x03, /* 0500 */ 0x1B, 0x1B, 0x7B, 0xB2, 0x01, 0xCB, 0x19, 0x10, /* 0508 */ 0x77, 0xB2, 0x01, 0xFF, 0x19, 0x10, 0x7C, 0xFF, /* 0510 */ 0xFF, 0x33, 0x20, 0xC0, 0x88, 0x93, 0x0D, 0xE0, /* 0518 */ 0xF1, 0x0C, 0x08, 0x96, 0xFF, 0xFF, 0x19, 0x10, /* 0520 */ 0x98, 0x9F, 0x6D, 0x80, 0x55, 0xB4, 0x83, 0x0D, /* 0528 */ 0x2A, 0xCC, 0xD9, 0x06, 0x10, 0x3D, 0xEF, 0x87, /* 0530 */ 0x0F, 0x1F, 0x0C, 0x7C, 0x10, 0xC0, 0xDC, 0x6C, /* 0538 */ 0xE0, 0xDC, 0x2A, 0x7C, 0x5D, 0xF1, 0x41, 0xC4, /* 0540 */ 0x87, 0x07, 0xF6, 0xFF, 0x87, 0x8A, 0x13, 0x9E, /* 0548 */ 0x9F, 0x1C, 0x7C, 0xB6, 0x81, 0x7D, 0x9A, 0x79, /* 0550 */ 0x08, 0xC4, 0x21, 0x3C, 0xDB, 0x80, 0xFD, 0x4D, /* 0558 */ 0xE1, 0x63, 0x81, 0xCF, 0x36, 0x00, 0x3F, 0x44, /* 0560 */ 0x1C, 0x30, 0xE4, 0x64, 0x3C, 0xA8, 0x51, 0x58, /* 0568 */ 0xE3, 0x25, 0x81, 0x4C, 0xDB, 0x04, 0x43, 0x43, /* 0570 */ 0xE8, 0xB4, 0xE4, 0xB3, 0x0D, 0x38, 0xFF, 0xFF, /* 0578 */ 0x67, 0x1B, 0x70, 0x9E, 0x4E, 0xF0, 0x67, 0x1B, /* 0580 */ 0x30, 0x9D, 0x25, 0x30, 0x04, 0x1E, 0x32, 0xFC, /* 0588 */ 0xD3, 0x0C, 0x3F, 0x3E, 0xBC, 0x3F, 0x24, 0xF0, /* 0590 */ 0xB9, 0x0F, 0x6C, 0xA7, 0x0E, 0x38, 0x87, 0x19, /* 0598 */ 0x60, 0x32, 0x26, 0xDC, 0x91, 0xC2, 0x43, 0xE0, /* 05A0 */ 0x03, 0x68, 0x75, 0x7E, 0xE4, 0x58, 0x78, 0x56, /* 05A8 */ 0xB8, 0xB3, 0x0C, 0x1F, 0x15, 0xE6, 0x74, 0x83, /* 05B0 */ 0x8B, 0xF2, 0x3E, 0x30, 0x81, 0x82, 0xBC, 0x0B, /* 05B8 */ 0x24, 0xF2, 0x81, 0x40, 0x61, 0x7C, 0xBA, 0x01, /* 05C0 */ 0x8E, 0xFF, 0xFF, 0xD3, 0x0D, 0xF0, 0x98, 0xA4, /* 05C8 */ 0x4F, 0x37, 0x60, 0x83, 0x88, 0x18, 0xAC, 0x68, /* 05D0 */ 0x30, 0xDD, 0x9A, 0x70, 0xB7, 0x1B, 0x1C, 0x5E, /* 05D8 */ 0xB8, 0x18, 0xA7, 0xC3, 0x10, 0xA2, 0x3C, 0xB0, /* 05E0 */ 0x18, 0x99, 0x1F, 0x03, 0xC1, 0x70, 0x9B, 0x79, /* 05E8 */ 0xB6, 0x01, 0x2E, 0xE1, 0x0E, 0x05, 0xFA, 0x43, /* 05F0 */ 0xF9, 0x6C, 0x03, 0xF8, 0xFC, 0xFF, 0x9F, 0x6D, /* 05F8 */ 0x80, 0xCF, 0x41, 0x04, 0x77, 0x32, 0x01, 0xC3, /* 0600 */ 0x89, 0x01, 0xD6, 0xB1, 0x0D, 0xB8, 0x88, 0x5B, /* 0608 */ 0xA9, 0x4E, 0x3B, 0x16, 0x06, 0x22, 0x1B, 0x87, /* 0610 */ 0x45, 0x3A, 0x54, 0x0B, 0xA1, 0xD2, 0x90, 0x7C, /* 0618 */ 0x04, 0x3A, 0xBB, 0x47, 0x85, 0xE7, 0x04, 0x01, /* 0620 */ 0x09, 0xD4, 0x10, 0x0E, 0x0F, 0xA1, 0xE8, 0xA3, /* 0628 */ 0xA1, 0xC0, 0x0E, 0x0B, 0x46, 0x41, 0x3C, 0x7A, /* 0630 */ 0x07, 0x81, 0xD0, 0xA1, 0x08, 0x7F, 0x62, 0xF0, /* 0638 */ 0x7C, 0xDE, 0xF8, 0x4D, 0xF0, 0xB0, 0xF1, 0xB4, /* 0640 */ 0x00, 0xEB, 0x62, 0xE0, 0x63, 0x00, 0x3F, 0x13, /* 0648 */ 0xE2, 0x0F, 0xFD, 0x26, 0xE0, 0xC7, 0x1E, 0xF0, /* 0650 */ 0x09, 0x3C, 0x0D, 0x80, 0x02, 0xC8, 0x93, 0xF7, /* 0658 */ 0xB1, 0xE6, 0x01, 0x80, 0xCD, 0xE1, 0xC9, 0xC6, /* 0660 */ 0x68, 0xFF, 0xFF, 0x47, 0x1A, 0x9C, 0x8C, 0x95, /* 0668 */ 0xEA, 0x4B, 0xE3, 0x33, 0xA3, 0xC7, 0xC5, 0xCF, /* 0670 */ 0x03, 0x3E, 0xB8, 0xB0, 0xB3, 0x01, 0xEE, 0x0C, /* 0678 */ 0x85, 0x81, 0xF5, 0x48, 0x39, 0xAC, 0xD1, 0xC2, /* 0680 */ 0x1E, 0xF0, 0x43, 0x83, 0x2F, 0x1C, 0x9E, 0x99, /* 0688 */ 0xCF, 0x28, 0x3E, 0x6A, 0x80, 0xE5, 0x38, 0x05, /* 0690 */ 0xFF, 0xB0, 0x82, 0x3B, 0xC9, 0xC0, 0x9D, 0xE6, /* 0698 */ 0x23, 0xC1, 0xA3, 0x9E, 0x87, 0x1E, 0xDE, 0x47, /* 06A0 */ 0x18, 0xCF, 0x2E, 0x88, 0xAF, 0x9D, 0xFC, 0xF2, /* 06A8 */ 0x7D, 0x5A, 0xBE, 0xEF, 0xF8, 0xE8, 0x63, 0xA0, /* 06B0 */ 0x27, 0x86, 0xA8, 0xAF, 0x27, 0x9E, 0x00, 0xBF, /* 06B8 */ 0x50, 0x38, 0xC6, 0xA9, 0x88, 0x06, 0x5A, 0xA9, /* 06C0 */ 0xA4, 0xAE, 0x99, 0xC2, 0xF8, 0x54, 0x04, 0xB8, /* 06C8 */ 0x8A, 0x30, 0x78, 0x50, 0xFC, 0xFF, 0x4F, 0x45, /* 06D0 */ 0xD8, 0x1B, 0x86, 0x2F, 0x03, 0x3E, 0x14, 0x81, /* 06D8 */ 0xE5, 0x40, 0xE2, 0x89, 0xBD, 0x04, 0xF8, 0xDC, /* 06E0 */ 0x80, 0xC3, 0x39, 0x03, 0x7E, 0x32, 0x02, 0xC3, /* 06E8 */ 0x5D, 0xFB, 0xC9, 0x08, 0xB8, 0x44, 0x3B, 0x19, /* 06F0 */ 0x01, 0x34, 0x39, 0xDF, 0xE1, 0xFE, 0xFF, 0x27, /* 06F8 */ 0x23, 0x30, 0x9C, 0x1A, 0x60, 0x1C, 0x8C, 0x80, /* 0700 */ 0x8B, 0xA4, 0x83, 0x11, 0x95, 0x73, 0x30, 0x82, /* 0708 */ 0x72, 0x84, 0xC0, 0x1D, 0x8C, 0xC0, 0x3F, 0xA6, /* 0710 */ 0x33, 0x7A, 0x1D, 0x38, 0x75, 0x1F, 0x8C, 0x00, /* 0718 */ 0x73, 0xC3, 0xF5, 0xC1, 0x08, 0xF8, 0xFC, 0xFF, /* 0720 */ 0x0F, 0x46, 0xC0, 0xE5, 0x70, 0xE1, 0x83, 0x11, /* 0728 */ 0xB8, 0x0F, 0x0B, 0xFC, 0x10, 0x83, 0x25, 0x28, /* 0730 */ 0xFE, 0x35, 0x64, 0x02, 0x85, 0x5A, 0xA4, 0x24, /* 0738 */ 0x2F, 0x97, 0xC2, 0xF8, 0x4C, 0x04, 0xB8, 0x8A, /* 0740 */ 0x71, 0x26, 0x02, 0x21, 0xC6, 0xE3, 0xB1, 0x11, /* 0748 */ 0xCF, 0x38, 0x6C, 0xB8, 0xE7, 0x8B, 0xA7, 0x22, /* 0750 */ 0xB0, 0xCF, 0xE1, 0x0C, 0xFA, 0xBC, 0x6E, 0xE9, /* 0758 */ 0x54, 0x84, 0xFF, 0xFF, 0x9F, 0x8A, 0x60, 0x1C, /* 0760 */ 0x83, 0x9E, 0x8A, 0x80, 0x4B, 0xBC, 0x53, 0x11, /* 0768 */ 0x40, 0x93, 0x13, 0xC4, 0x53, 0x11, 0xB8, 0xCE, /* 0770 */ 0x0D, 0x30, 0xCF, 0x45, 0xE0, 0xFB, 0xFF, 0x9F, /* 0778 */ 0x8B, 0xE0, 0x3E, 0x08, 0x7C, 0x18, 0x22, 0xE7, /* 0780 */ 0x22, 0x74, 0x78, 0x2A, 0x1D, 0x22, 0x70, 0xB1, /* 0788 */ 0xCF, 0x45, 0x74, 0xD8, 0x0E, 0x4C, 0xA2, 0x43, /* 0790 */ 0xBD, 0xCF, 0x45, 0x3C, 0xE6, 0x91, 0x86, 0x82, /* 0798 */ 0x18, 0xD0, 0x19, 0xCE, 0x45, 0x68, 0x15, 0xE7, /* 07A0 */ 0x22, 0xE4, 0x20, 0xDF, 0x16, 0xD8, 0xEC, 0x7C, /* 07A8 */ 0x0F, 0xE0, 0x37, 0x15, 0x5F, 0x8B, 0x18, 0x6E, /* 07B0 */ 0x35, 0xD7, 0x1D, 0x14, 0x98, 0x6F, 0x45, 0x18, /* 07B8 */ 0x5D, 0xA7, 0x22, 0x90, 0xE9, 0xBB, 0x14, 0x81, /* 07C0 */ 0x1C, 0x9D, 0x9F, 0xA8, 0xC0, 0x87, 0xFF, 0x3C, /* 07C8 */ 0xE0, 0x21, 0x3C, 0x51, 0xC1, 0x3D, 0x13, 0xBC, /* 07D0 */ 0xF5, 0xF8, 0x44, 0x05, 0xFB, 0x90, 0x4B, 0x4E, /* 07D8 */ 0x54, 0x40, 0xE3, 0xFF, 0x7F, 0xA2, 0x02, 0x5F, /* 07E0 */ 0xEC, 0x13, 0x15, 0xA0, 0xE7, 0x08, 0x82, 0x3B, /* 07E8 */ 0xB9, 0x82, 0xF5, 0x98, 0x81, 0x51, 0x68, 0xD3, /* 07F0 */ 0xA7, 0x46, 0xA3, 0x56, 0x0D, 0xCA, 0xD4, 0x28, /* 07F8 */ 0xD3, 0xA0, 0x56, 0x9F, 0x4A, 0x8D, 0x19, 0xBB, /* 0800 */ 0x0F, 0x58, 0xE2, 0x3B, 0x41, 0xC3, 0x75, 0x40, /* 0808 */ 0x10, 0x1A, 0x89, 0x42, 0x20, 0x8E, 0xF2, 0xA7, /* 0810 */ 0x10, 0x88, 0x85, 0x78, 0x00, 0x61, 0x42, 0x57, /* 0818 */ 0x24, 0x10, 0x8B, 0x5B, 0x9B, 0x40, 0x1C, 0x0D, /* 0820 */ 0x84, 0x46, 0x5F, 0x9D, 0x40, 0x1C, 0xD8, 0x07, /* 0828 */ 0x08, 0x93, 0xFB, 0x26, 0x10, 0x88, 0xE3, 0x18, /* 0830 */ 0x01, 0x61, 0x11, 0x5E, 0x54, 0x3A, 0x06, 0x10, /* 0838 */ 0x2B, 0x20, 0x4C, 0xA0, 0x16, 0x10, 0x26, 0xCB, /* 0840 */ 0x0C, 0x08, 0x0B, 0x05, 0x42, 0x43, 0x7F, 0x39, /* 0848 */ 0x04, 0xE2, 0xA0, 0x76, 0x40, 0x98, 0x4C, 0x3D, /* 0850 */ 0x20, 0x2C, 0x86, 0x1F, 0x10, 0x26, 0x5E, 0xD1, /* 0858 */ 0x60, 0x28, 0x08, 0x95, 0xF6, 0xE6, 0xD2, 0x61, /* 0860 */ 0x82, 0x78, 0x02, 0x61, 0x61, 0x40, 0xE8, 0xFF, /* 0868 */ 0x3F, 0xAC, 0x28, 0x10, 0x16, 0xD1, 0xD5, 0x60, /* 0870 */ 0xE8, 0xDB, 0x40, 0x20, 0x0E, 0xF0, 0x4C, 0x0A, /* 0878 */ 0x42, 0x44, 0x3F, 0x25, 0x04, 0xE2, 0xC8, 0x20, /* 0880 */ 0x54, 0xD2, 0x1F, 0x42, 0x43, 0x25, 0x7F, 0xA5, /* 0888 */ 0x83, 0x61, 0x20, 0x34, 0xE6, 0x83, 0xE9, 0x50, /* 0890 */ 0xD9, 0x5F, 0x4B, 0x20, 0x16, 0xA6, 0x0E, 0x84, /* 0898 */ 0x09, 0x77, 0x37, 0x54, 0xFA, 0x19, 0xD1, 0x60, /* 08A0 */ 0x08, 0x08, 0x15, 0xF3, 0xA8, 0xD0, 0x50, 0xC9, /* 08A8 */ 0x83, 0x22, 0x08, 0x91, 0x0F, 0x42, 0xE3, 0xBD, /* 08B0 */ 0x04, 0x34, 0x54, 0xF2, 0x21, 0xD0, 0x60, 0xC8, /* 08B8 */ 0x1B, 0x47, 0x20, 0x96, 0xFC, 0x4A, 0xD3, 0x50, /* 08C0 */ 0xC9, 0x43, 0x41, 0x20, 0x0E, 0x09, 0x42, 0x45, /* 08C8 */ 0xBC, 0x72, 0x82, 0x90, 0xF0, 0xCF, 0x8B, 0x20, /* 08D0 */ 0x44, 0xBA, 0xD1, 0x41, 0xD0, 0xE7, 0xC5, 0x83, /* 08D8 */ 0x01, 0xB3, 0x0A, 0xC2, 0x04, 0x69, 0x1D, 0x36, /* 08E0 */ 0x7D, 0x28, 0x14, 0xF0, 0x15, 0xD0, 0xE1, 0x20, /* 08E8 */ 0x88, 0x80, 0x2C, 0xD2, 0xED, 0x80, 0x29, 0x08, /* 08F0 */ 0x15, 0x63, 0x17, 0x90, 0x49, 0x03, 0x11, 0x90, /* 08F8 */ 0xE3, 0x0A, 0x06, 0x61, 0x62, 0x5F, 0x14, 0x41, /* 0900 */ 0x48, 0xAE, 0xE7, 0x51, 0x40, 0x12, 0x12, 0x44, /* 0908 */ 0xC7, 0x03, 0xF2, 0x84, 0x13, 0x90, 0xC3, 0x81, /* 0910 */ 0x08, 0xC8, 0xFF, 0x7F }) } } Scope (WMI0) { Name (WMIP, Zero) Method (INIT, 1, NotSerialized) { Store (One, WMIP) Return (Zero) } Name (PCDV, Zero) Method (WDOG, 1, NotSerialized) { Return (Zero) } Method (_WED, 1, NotSerialized) // _Wxx: Wake Event { Return (Arg0) } Method (WMIG, 3, Serialized) { Store (WGFN (Arg0), Local0) Store (And (ShiftRight (Local0, 0x10), 0xFFFF), Local1) And (Local0, 0xFFFF, Local0) If (CWAC (Arg0, Local0, Local1, Arg2)) { Return (Zero) } WGLN (Arg0, Arg1, Local0, Local1, Arg2) OperationRegion (\WMIF, SystemMemory, Arg0, 0x0100) Field (WMIF, DWordAcc, NoLock, Preserve) { Offset (0x06), STAS, 8, REST, 8 } If (LNotEqual (LAnd (STAS, One), One)) { Return (Zero) } Store (0x82, STAS) Store (One, REST) Return (Zero) } Method (WGFN, 1, NotSerialized) { OperationRegion (\PAR, SystemMemory, Arg0, 0x08) Field (PAR, DWordAcc, NoLock, Preserve) { FUNC, 32, Offset (0x06), STAS, 8, EROR, 8 } Store (Zero, EROR) Store (One, STAS) Return (FUNC) } Name (WGSL, Package (0x05) { 0x66, One, 0x6A, One, 0xFFFFFFFF }) Method (CWAC, 4, NotSerialized) { Store (Zero, Local0) While (One) { Store (DerefOf (Index (WGSL, Local0)), Local1) If (LEqual (Local1, 0xFFFFFFFF)) { Return (Zero) } Add (Local0, One, Local0) Store (DerefOf (Index (WGSL, Local0)), Local2) If (LEqual (Local1, Arg1)) { If (LEqual (Local2, Arg2)) { Break } } Add (Local0, One, Local0) } OperationRegion (\WMIC, SystemMemory, Arg0, 0x0100) Field (WMIC, DWordAcc, NoLock, Preserve) { Offset (0x07), REST, 8 } Store (Arg3, PMIS) ISMI (0xDE) Return (REST) } } Scope (_SB.PCI0.LPCB.EC0) { Name (DVOT, 0x0E) Name (LFC0, Zero) Name (LFC1, Zero) Name (NBIF, Package (0x0D) { Zero, 0xFFFFFFFF, 0xFFFFFFFF, One, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, "", "", "", "" }) Name (PBIF, Package (0x0D) { One, 0x1770, 0x1770, One, 0x39D0, Zero, Zero, 0x3C, 0x3C, "Model", " ", "LIon", "OEM" }) Name (PBST, Package (0x04) { Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Name (BIXP, Package (0x14) { Zero, Zero, 0xFFFFFFFF, 0xFFFFFFFF, One, 0xFFFFFFFF, Zero, Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, Zero, Zero, One, One, "SDI ICR18650", "123456789", "LION", "Simplo" }) Mutex (MUBT, 0x00) Method (FBIF, 5, NotSerialized) { Store (Arg1, Local1) Store (Arg2, Local2) If (LEqual (Arg0, Zero)) { Multiply (Local1, 0x0A, Local1) Multiply (Local2, 0x0A, Local2) } Store (Arg0, Index (PBIF, Zero)) Store (Local1, Index (PBIF, One)) Store (Local2, Index (PBIF, 0x02)) Store (Arg3, Index (PBIF, 0x03)) Store (Arg4, Index (PBIF, 0x04)) Divide (Local2, 0x64, Local3, Local5) Divide (Local1, 0x64, Local3, Local7) Store (Local7, Index (PBIF, 0x07)) Store (Local7, Index (PBIF, 0x08)) If (Arg0) { Store (DerefOf (Index (PBIF, 0x04)), Local0) Divide (Local0, 0x03E8, Local1, DVOT) Store (Zero, Index (PBIF, Zero)) Multiply (DerefOf (Index (PBIF, One)), DVOT, Index (PBIF, One)) Multiply (DerefOf (Index (PBIF, 0x02)), DVOT, Index (PBIF, 0x02)) Multiply (DerefOf (Index (PBIF, 0x07)), DVOT, Index (PBIF, 0x07)) Multiply (DerefOf (Index (PBIF, 0x08)), DVOT, Index (PBIF, 0x08)) } } Method (BIFP, 1, Serialized) { If (LNot (BATP (Arg0))) { Return (NBIF) } If (LEqual (GBTT (Arg0), 0xFF)) { Return (NBIF) } If (LEqual (Acquire (MUBT, 0xFFFF), Zero)) { BATS (Arg0) Store (BIF9 (), Index (PBIF, 0x09)) Store (BIF0 (), Local0) Store (BIF1 (), Local1) Store (BIF2 (), Local2) If (Arg0) { Store (Local2, LFC1) } Else { Store (Local2, LFC0) } Store (BIF3 (), Local3) Store (BIF4 (), Local4) If (LNotEqual (Local0, Ones)) { If (LNotEqual (Local1, Ones)) { If (LNotEqual (Local2, Ones)) { If (LNotEqual (Local3, Ones)) { If (LNotEqual (Local4, Ones)) { FBIF (Local0, Local1, Local2, Local3, Local4) } } } } } Release (MUBT) } Return (PBIF) } Method (FBST, 5, NotSerialized) { And (Arg1, 0xFFFF, Local1) Store (Zero, Local0) If (ACAP ()) { Store (One, Local0) } If (Local0) { If (BCHG (Arg4)) { Store (0x02, Local0) } Else { Store (Zero, Local0) } } Else { Store (One, Local0) } If (LGreaterEqual (Local1, 0x8000)) { Subtract (0xFFFF, Local1, Local1) } Store (BIF0 (), Local6) Store (BIF2 (), Local7) Store (Arg2, Local2) If (LEqual (Local6, Zero)) { Multiply (Local1, DVOT, Local1) Multiply (Local2, 0x0A, Local2) Multiply (Local7, 0x0A, Local7) } And (Local0, 0x02, Local3) If (LNot (Local3)) { Subtract (Local7, Local2, Local3) Divide (Local7, 0xC8, Local4, Local5) If (LLess (Local3, Local5)) { Store (Local7, Local2) } } Else { Divide (Local7, 0xC8, Local4, Local5) Subtract (Local7, Local5, Local4) If (LGreater (Local2, Local4)) { Store (Local4, Local2) } } If (LNot (ACAP ())) { Divide (Local2, 0x0A, Local3, Local4) If (LLess (Local1, Local4)) { Store (Local4, Local1) } } Store (Local0, Index (PBST, Zero)) Store (Local1, Index (PBST, One)) Store (Local2, Index (PBST, 0x02)) Store (Arg3, Index (PBST, 0x03)) } Method (BSTP, 1, Serialized) { Store (Zero, Index (PBST, Zero)) Store (Ones, Index (PBST, One)) Store (Ones, Index (PBST, 0x02)) Store (Ones, Index (PBST, 0x03)) If (LNot (BATP (Arg0))) { Return (PBST) } If (LEqual (GBTT (Arg0), 0xFF)) { Return (PBST) } If (LEqual (Acquire (MUBT, 0xFFFF), Zero)) { BATS (Arg0) Store (BSTS (), Local0) Store (BCRT (), Local1) Store (BRCP (), Local2) Store (BVOT (), Local3) If (LNotEqual (Local0, Ones)) { If (LNotEqual (Local1, Ones)) { If (LNotEqual (Local2, Ones)) { If (LNotEqual (Local3, Ones)) { FBST (Local0, Local1, Local2, Local3, Arg0) } } } } Store (BIF2 (), Local4) Release (MUBT) } If (Arg0) { Store (LFC1, Local5) } Else { Store (LFC0, Local5) } Return (PBST) } Method (FBIX, 1, Serialized) { Store (BIF0 (), Index (BIXP, One)) Store (BIF1 (), Index (BIXP, 0x02)) Store (BIF2 (), Index (BIXP, 0x03)) Store (BIF3 (), Index (BIXP, 0x04)) Store (BIF4 (), Index (BIXP, 0x05)) If (BIF2 ()) { Store (Divide (BIF1 (), 0x64, ), Index (BIXP, 0x08)) Store (Divide (BIF1 (), 0x64, ), Index (BIXP, 0x0E)) Store (Divide (BIF1 (), 0x64, ), Index (BIXP, 0x0F)) Store (0x40, Index (BIXP, 0x09)) } Return (BIXP) } } Scope (_SB.PCI0) { Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (_PCL, Package (0x01) // _PCL: Power Consumer List { PCI0 }) Method (_STA, 0, NotSerialized) // _STA: Status { If (^^LPCB.EC0.BATP (Zero)) { Return (0x1F) } Else { Return (0x0F) } } Method (_BIF, 0, Serialized) // _BIF: Battery Information { Return (^^LPCB.EC0.BIFP (Zero)) } Method (_BST, 0, NotSerialized) // _BST: Battery Status { If (ATKP) { ^^LPCB.EC0.ACAP () If (^^LPCB.EC0.ACPS ()) { Store (One, S4CT) } ElseIf (LAnd (LLessEqual (^^LPCB.EC0.B0PN, One), LEqual (^^LPCB.EC0.ACPS (), Zero))) { ^^^ATKD.IANE (0x6D) } } Return (^^LPCB.EC0.BSTP (Zero)) } Method (_BIX, 0, NotSerialized) // _BIX: Battery Information Extended { Return (^^LPCB.EC0.FBIX (Zero)) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_QA1, 0, NotSerialized) // _Qxx: EC Query { If (DCPS (Zero)) { Sleep (0x07D0) } Notify (BAT0, 0x80) Notify (BAT0, 0x81) } Method (NBAT, 1, NotSerialized) { If (BATP (Zero)) { Notify (BAT0, Arg0) } } } Scope (_SB.PCI0) { Device (AC0) { Name (_HID, "ACPI0003") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) } Method (_PSR, 0, NotSerialized) // _PSR: Power Source { Return (^^LPCB.EC0.ACAP ()) } Name (_PCL, Package (0x01) // _PCL: Power Consumer List { PCI0 }) } } Scope (WMI0) { Method (WGLN, 5, NotSerialized) { MF62 (Arg0, Arg1, Arg2, Arg3, Arg4) MF63 (Arg0, Arg1, Arg2, Arg3, Arg4) MF64 (Arg0, Arg1, Arg2, Arg3, Arg4) WFLH (Arg0, Arg1, Arg2, Arg3, Arg4) MF30 (Arg0, Arg1, Arg2, Arg3, Arg4) MF1F (Arg0, Arg1, Arg2, Arg3, Arg4) MF1X (Arg0, Arg1, Arg2, Arg3, Arg4) } } Scope (WMI0) { Method (MF62, 5, NotSerialized) { If (LNotEqual (Arg2, 0x62)) { Return (Zero) } OperationRegion (FM62, SystemMemory, Arg0, 0x08) Field (FM62, DWordAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, LEN, 16, SM62, 8, EM62, 8 } If (LEqual (Arg3, One)) { M621 (Arg4) } Else { Store (One, EM62) } If (LEqual (EM62, Zero)) { Store (0x80, SM62) } Else { Store (0x82, SM62) } Return (Zero) } Method (M621, 1, NotSerialized) { WSMI (Arg0) } } Scope (WMI0) { Method (MF63, 5, NotSerialized) { If (LNotEqual (Arg2, 0x63)) { Return (Zero) } OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8 } If (LEqual (Arg3, One)) { M631 (Arg0) } ElseIf (LEqual (Arg3, 0x02)) { M632 (Arg0, Arg4) } ElseIf (LEqual (Arg3, 0x03)) { M633 (Arg0) } ElseIf (LEqual (Arg3, 0x04)) { M634 (Arg0) } ElseIf (LEqual (Arg3, 0x05)) { M635 (Arg0) } ElseIf (LEqual (Arg3, 0x06)) { M636 (Arg0) } ElseIf (LEqual (Arg3, 0x07)) { M637 (Arg0) } ElseIf (LEqual (Arg3, 0x08)) { M638 (Arg0) } ElseIf (LEqual (Arg3, 0x09)) { M639 (Arg0) } ElseIf (LEqual (Arg3, 0x0A)) { M63A (Arg0) } ElseIf (LEqual (Arg3, 0x0B)) { M63B (Arg0) } ElseIf (LEqual (Arg3, 0x0C)) { M63C (Arg0) } ElseIf (LEqual (Arg3, 0x0D)) { M63D (Arg0) } ElseIf (LEqual (Arg3, 0x0E)) { M63E (Arg0) } ElseIf (LEqual (Arg3, 0x0F)) { M63F (Arg0) } Else { Store (One, EM63) } If (LEqual (EM63, Zero)) { Store (0x80, SM63) } Else { Store (0x82, SM63) } Return (Zero) } Method (M631, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, TSXR, 8, TSXL, 8 } If (LEqual (FUNC, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x03E2), TSXR) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x03E3), TSXL) } ElseIf (LEqual (FUNC, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x03E0), TSXR) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x03E1), TSXL) } Else { Store (One, EM63) } } Method (M632, 2, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, DEVS, 8, DEVT, 16 } If (LEqual (DEVS, Zero)) { WSMI (Arg1) } ElseIf (LEqual (DEVS, One)) { Store (\_SB.PCI0.LPCB.EC0.PCPT, DEVT) } ElseIf (LEqual (DEVS, 0x02)) { WSMI (Arg1) } ElseIf (LEqual (DEVS, 0x03)) { WSMI (Arg1) } Else { Store (One, EM63) } } Method (M633, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FANX, 8, FANS, 8, FANT, 16, TRGG, 8 } If (LEqual (FANX, Zero)) { Store (\_SB.PCI0.LPCB.EC0.F0CS, FANS) Store (\_SB.PCI0.LPCB.EC0.F0TS, FANT) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0576), TRGG) } ElseIf (LEqual (FANX, One)) { Store (\_SB.PCI0.LPCB.EC0.F1CS, FANS) Store (\_SB.PCI0.LPCB.EC0.F1TS, FANT) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0577), TRGG) } Else { Store (One, EM63) } } Method (M634, 1, Serialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, PARA, 8, DATA, 8 } If (LEqual (FUNC, Zero)) { Switch (ToInteger (PARA)) { Case (Zero) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0521), DATA) } Case (One) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0522), DATA) } Case (0x02) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0523), DATA) } Case (0x03) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0524), DATA) } Case (0x04) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0518), DATA) } Case (0x05) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0519), DATA) } Case (0x06) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0568), DATA) } Default { Store (One, EM63) } } } ElseIf (LEqual (FUNC, One)) { Switch (ToInteger (PARA)) { Case (Zero) { \_SB.PCI0.LPCB.EC0.WRAM (0x0521, DATA) } Case (One) { \_SB.PCI0.LPCB.EC0.WRAM (0x0522, DATA) } Case (0x02) { \_SB.PCI0.LPCB.EC0.WRAM (0x0523, DATA) } Case (0x03) { \_SB.PCI0.LPCB.EC0.WRAM (0x0524, DATA) } Case (0x04) { \_SB.PCI0.LPCB.EC0.WRAM (0x0518, DATA) } Case (0x05) { \_SB.PCI0.LPCB.EC0.WRAM (0x0519, DATA) } Case (0x06) { \_SB.PCI0.LPCB.EC0.WRAM (0x0568, DATA) } Default { Store (One, EM63) } } } Else { Store (One, EM63) } } Method (M635, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, ECSD, 8, OSSD, 8, OSPV, 8, THON, 8, THOF, 8, FNER, 8, VGSD, 8 } If (LEqual (FUNC, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0530), ECSD) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x03E4), OSSD) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x03E5), OSPV) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0533), THON) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0534), THOF) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0535), FNER) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0536), VGSD) } ElseIf (LEqual (FUNC, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0530, ECSD) \_SB.PCI0.LPCB.EC0.WRAM (0x03E4, OSSD) \_SB.PCI0.LPCB.EC0.WRAM (0x03E5, OSPV) \_SB.PCI0.LPCB.EC0.WRAM (0x0533, THON) \_SB.PCI0.LPCB.EC0.WRAM (0x0534, THOF) \_SB.PCI0.LPCB.EC0.WRAM (0x0535, FNER) \_SB.PCI0.LPCB.EC0.WRAM (0x0536, VGSD) } Else { Store (One, EM63) } } Method (M636, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, ALGM, 8, TTS1, 8, TTS2, 8, TTS3, 8, TTS4, 8, TTS5, 8, TTS6, 8, TTS7, 8, TTS8, 8, TFFP, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (ALGM, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0537), TTS1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0538), TTS2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0539), TTS3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x053A), TTS4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x053B), TTS5) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x053C), TTS6) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x053D), TTS7) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x053E), TTS8) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x053F), TFFP) } ElseIf (LEqual (ALGM, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0597), TTS1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0598), TTS2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0599), TTS3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x059A), TTS4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x059B), TTS5) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x059C), TTS6) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x059D), TTS7) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x059E), TTS8) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x059F), TFFP) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (ALGM, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0537, TTS1) \_SB.PCI0.LPCB.EC0.WRAM (0x0538, TTS2) \_SB.PCI0.LPCB.EC0.WRAM (0x0539, TTS3) \_SB.PCI0.LPCB.EC0.WRAM (0x053A, TTS4) \_SB.PCI0.LPCB.EC0.WRAM (0x053B, TTS5) \_SB.PCI0.LPCB.EC0.WRAM (0x053C, TTS6) \_SB.PCI0.LPCB.EC0.WRAM (0x053D, TTS7) \_SB.PCI0.LPCB.EC0.WRAM (0x053E, TTS8) \_SB.PCI0.LPCB.EC0.WRAM (0x053F, TFFP) } ElseIf (LEqual (ALGM, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0597, TTS1) \_SB.PCI0.LPCB.EC0.WRAM (0x0598, TTS2) \_SB.PCI0.LPCB.EC0.WRAM (0x0599, TTS3) \_SB.PCI0.LPCB.EC0.WRAM (0x059A, TTS4) \_SB.PCI0.LPCB.EC0.WRAM (0x059B, TTS5) \_SB.PCI0.LPCB.EC0.WRAM (0x059C, TTS6) \_SB.PCI0.LPCB.EC0.WRAM (0x059D, TTS7) \_SB.PCI0.LPCB.EC0.WRAM (0x059E, TTS8) \_SB.PCI0.LPCB.EC0.WRAM (0x059F, TFFP) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M637, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, ALGM, 8, TDA1, 8, TDA2, 8, TDA3, 8, TDA4, 8, TDA5, 8, TDA6, 8, TDA7, 8, TDA8, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (ALGM, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0548), TDA1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0549), TDA2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x054A), TDA3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x054B), TDA4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x054C), TDA5) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x054D), TDA6) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x054E), TDA7) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x054F), TDA8) } ElseIf (LEqual (ALGM, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A8), TDA1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A9), TDA2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05AA), TDA3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05AB), TDA4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05AC), TDA5) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05AD), TDA6) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05AE), TDA7) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05AF), TDA8) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (ALGM, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0548, TDA1) \_SB.PCI0.LPCB.EC0.WRAM (0x0549, TDA2) \_SB.PCI0.LPCB.EC0.WRAM (0x054A, TDA3) \_SB.PCI0.LPCB.EC0.WRAM (0x054B, TDA4) \_SB.PCI0.LPCB.EC0.WRAM (0x054C, TDA5) \_SB.PCI0.LPCB.EC0.WRAM (0x054D, TDA6) \_SB.PCI0.LPCB.EC0.WRAM (0x054E, TDA7) \_SB.PCI0.LPCB.EC0.WRAM (0x054F, TDA8) } ElseIf (LEqual (ALGM, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x05A8, TDA1) \_SB.PCI0.LPCB.EC0.WRAM (0x05A9, TDA2) \_SB.PCI0.LPCB.EC0.WRAM (0x05AA, TDA3) \_SB.PCI0.LPCB.EC0.WRAM (0x05AB, TDA4) \_SB.PCI0.LPCB.EC0.WRAM (0x05AC, TDA5) \_SB.PCI0.LPCB.EC0.WRAM (0x05AD, TDA6) \_SB.PCI0.LPCB.EC0.WRAM (0x05AE, TDA7) \_SB.PCI0.LPCB.EC0.WRAM (0x05AF, TDA8) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M638, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, ALGM, 8, ASC1, 8, ASC2, 8, ASC3, 8, ASC4, 8, ADA1, 8, ADA2, 8, ADA3, 8, ADA4, 8, DSC1, 8, DSC2, 8, DSC3, 8, DSC4, 8, DDA1, 8, DDA2, 8, DDA3, 8, DDA4, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (ALGM, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0550), ASC1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0551), ASC2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0552), ASC3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0553), ASC4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0554), ADA1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0555), ADA2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0556), ADA3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0557), ADA4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0558), DSC1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0559), DSC2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x055A), DSC3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x055B), DSC4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x055C), DDA1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x055D), DDA2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x055E), DDA3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x055F), DDA4) } ElseIf (LEqual (ALGM, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B0), ASC1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B1), ASC2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B2), ASC3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B3), ASC4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B4), ADA1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B5), ADA2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B6), ADA3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B7), ADA4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B8), DSC1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05B9), DSC2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05BA), DSC3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05BB), DSC4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05BC), DDA1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05BD), DDA2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05BE), DDA3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05BF), DDA4) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (ALGM, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0550, ASC1) \_SB.PCI0.LPCB.EC0.WRAM (0x0551, ASC2) \_SB.PCI0.LPCB.EC0.WRAM (0x0552, ASC3) \_SB.PCI0.LPCB.EC0.WRAM (0x0553, ASC4) \_SB.PCI0.LPCB.EC0.WRAM (0x0554, ADA1) \_SB.PCI0.LPCB.EC0.WRAM (0x0555, ADA2) \_SB.PCI0.LPCB.EC0.WRAM (0x0556, ADA3) \_SB.PCI0.LPCB.EC0.WRAM (0x0557, ADA4) \_SB.PCI0.LPCB.EC0.WRAM (0x0558, DSC1) \_SB.PCI0.LPCB.EC0.WRAM (0x0559, DSC2) \_SB.PCI0.LPCB.EC0.WRAM (0x055A, DSC3) \_SB.PCI0.LPCB.EC0.WRAM (0x055B, DSC4) \_SB.PCI0.LPCB.EC0.WRAM (0x055C, DDA1) \_SB.PCI0.LPCB.EC0.WRAM (0x055D, DDA2) \_SB.PCI0.LPCB.EC0.WRAM (0x055E, DDA3) \_SB.PCI0.LPCB.EC0.WRAM (0x055F, DDA4) } ElseIf (LEqual (ALGM, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x05B0, ASC1) \_SB.PCI0.LPCB.EC0.WRAM (0x05B1, ASC2) \_SB.PCI0.LPCB.EC0.WRAM (0x05B2, ASC3) \_SB.PCI0.LPCB.EC0.WRAM (0x05B3, ASC4) \_SB.PCI0.LPCB.EC0.WRAM (0x05B4, ADA1) \_SB.PCI0.LPCB.EC0.WRAM (0x05B5, ADA2) \_SB.PCI0.LPCB.EC0.WRAM (0x05B6, ADA3) \_SB.PCI0.LPCB.EC0.WRAM (0x05B7, ADA4) \_SB.PCI0.LPCB.EC0.WRAM (0x05B8, DSC1) \_SB.PCI0.LPCB.EC0.WRAM (0x05B9, DSC2) \_SB.PCI0.LPCB.EC0.WRAM (0x05BA, DSC3) \_SB.PCI0.LPCB.EC0.WRAM (0x05BB, DSC4) \_SB.PCI0.LPCB.EC0.WRAM (0x05BC, DDA1) \_SB.PCI0.LPCB.EC0.WRAM (0x05BD, DDA2) \_SB.PCI0.LPCB.EC0.WRAM (0x05BE, DDA3) \_SB.PCI0.LPCB.EC0.WRAM (0x05BF, DDA4) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M639, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, ALGM, 8, HYS1, 8, HYS2, 8, HYS3, 8, HYS4, 8, HYS5, 8, HYS6, 8, HYS7, 8, HYS8, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (ALGM, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0540), HYS1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0541), HYS2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0542), HYS3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0543), HYS4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0544), HYS5) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0545), HYS6) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0546), HYS7) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0547), HYS8) } ElseIf (LEqual (ALGM, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A0), HYS1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A1), HYS2) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A2), HYS3) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A3), HYS4) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A4), HYS5) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A5), HYS6) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A6), HYS7) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05A7), HYS8) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (ALGM, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0540, HYS1) \_SB.PCI0.LPCB.EC0.WRAM (0x0541, HYS2) \_SB.PCI0.LPCB.EC0.WRAM (0x0542, HYS3) \_SB.PCI0.LPCB.EC0.WRAM (0x0543, HYS4) \_SB.PCI0.LPCB.EC0.WRAM (0x0544, HYS5) \_SB.PCI0.LPCB.EC0.WRAM (0x0545, HYS6) \_SB.PCI0.LPCB.EC0.WRAM (0x0546, HYS7) \_SB.PCI0.LPCB.EC0.WRAM (0x0547, HYS8) } ElseIf (LEqual (ALGM, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x05A0, HYS1) \_SB.PCI0.LPCB.EC0.WRAM (0x05A1, HYS2) \_SB.PCI0.LPCB.EC0.WRAM (0x05A2, HYS3) \_SB.PCI0.LPCB.EC0.WRAM (0x05A3, HYS4) \_SB.PCI0.LPCB.EC0.WRAM (0x05A4, HYS5) \_SB.PCI0.LPCB.EC0.WRAM (0x05A5, HYS6) \_SB.PCI0.LPCB.EC0.WRAM (0x05A6, HYS7) \_SB.PCI0.LPCB.EC0.WRAM (0x05A7, HYS8) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M63A, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, FANX, 8, TA1L, 8, TA1H, 8, TA2L, 8, TA2H, 8, TA3L, 8, TA3H, 8, TA4L, 8, TA4H, 8, TA5L, 8, TA5H, 8, TA6L, 8, TA6H, 8, TA7L, 8, TA7H, 8, TA8L, 8, TA8H, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (FANX, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C0), TA1L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C1), TA1H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C2), TA2L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C3), TA2H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C4), TA3L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C5), TA3H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C6), TA4L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C7), TA4H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C8), TA5L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05C9), TA5H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05CA), TA6L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05CB), TA6H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05CC), TA7L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05CD), TA7H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05CE), TA8L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05CF), TA8H) } ElseIf (LEqual (FANX, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D0), TA1L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D1), TA1H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D2), TA2L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D3), TA2H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D4), TA3L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D5), TA3H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D6), TA4L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D7), TA4H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D8), TA5L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05D9), TA5H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05DA), TA6L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05DB), TA6H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05DC), TA7L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05DD), TA7H) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05DE), TA8L) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x05DF), TA8H) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (FANX, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x05C0, TA1L) \_SB.PCI0.LPCB.EC0.WRAM (0x05C1, TA1H) \_SB.PCI0.LPCB.EC0.WRAM (0x05C2, TA2L) \_SB.PCI0.LPCB.EC0.WRAM (0x05C3, TA2H) \_SB.PCI0.LPCB.EC0.WRAM (0x05C4, TA3L) \_SB.PCI0.LPCB.EC0.WRAM (0x05C5, TA3H) \_SB.PCI0.LPCB.EC0.WRAM (0x05C6, TA4L) \_SB.PCI0.LPCB.EC0.WRAM (0x05C7, TA4H) \_SB.PCI0.LPCB.EC0.WRAM (0x05C8, TA5L) \_SB.PCI0.LPCB.EC0.WRAM (0x05C9, TA5H) \_SB.PCI0.LPCB.EC0.WRAM (0x05CA, TA6L) \_SB.PCI0.LPCB.EC0.WRAM (0x05CB, TA6H) \_SB.PCI0.LPCB.EC0.WRAM (0x05CC, TA7L) \_SB.PCI0.LPCB.EC0.WRAM (0x05CD, TA7H) \_SB.PCI0.LPCB.EC0.WRAM (0x05CE, TA8L) \_SB.PCI0.LPCB.EC0.WRAM (0x05CF, TA8H) } ElseIf (LEqual (FANX, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x05D0, TA1L) \_SB.PCI0.LPCB.EC0.WRAM (0x05D1, TA1H) \_SB.PCI0.LPCB.EC0.WRAM (0x05D2, TA2L) \_SB.PCI0.LPCB.EC0.WRAM (0x05D3, TA2H) \_SB.PCI0.LPCB.EC0.WRAM (0x05D4, TA3L) \_SB.PCI0.LPCB.EC0.WRAM (0x05D5, TA3H) \_SB.PCI0.LPCB.EC0.WRAM (0x05D6, TA4L) \_SB.PCI0.LPCB.EC0.WRAM (0x05D7, TA4H) \_SB.PCI0.LPCB.EC0.WRAM (0x05D8, TA5L) \_SB.PCI0.LPCB.EC0.WRAM (0x05D9, TA5H) \_SB.PCI0.LPCB.EC0.WRAM (0x05DA, TA6L) \_SB.PCI0.LPCB.EC0.WRAM (0x05DB, TA6H) \_SB.PCI0.LPCB.EC0.WRAM (0x05DC, TA7L) \_SB.PCI0.LPCB.EC0.WRAM (0x05DD, TA7H) \_SB.PCI0.LPCB.EC0.WRAM (0x05DE, TA8L) \_SB.PCI0.LPCB.EC0.WRAM (0x05DF, TA8H) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M63B, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, PARA, 8, DATA, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (PARA, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0569), DATA) } ElseIf (LEqual (PARA, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x056A), DATA) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (PARA, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0569, DATA) } ElseIf (LEqual (PARA, One)) { \_SB.PCI0.LPCB.EC0.WRAM (0x056A, DATA) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M63C, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x20) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, DATA, 8 } If (LEqual (FUNC, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0511), DATA) } ElseIf (LEqual (FUNC, One)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0512), DATA) } ElseIf (LEqual (FUNC, 0x02)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0513), DATA) } Else { Store (One, EM63) } } Method (M63D, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, FREQ, 16 } If (LEqual (FUNC, Zero)) { Store (0x017D7840, Local0) Store (\_SB.PCI0.LPCB.EC0.RRAM (0xF4A0), Local1) Add (Local1, One, Local1) Store (\_SB.PCI0.LPCB.EC0.RRAM (0xF4A2), Local2) Add (Local2, One, Local2) Multiply (Local2, Local1, Local2) Divide (Local0, Local2, Local3, Local1) Store (Local1, FREQ) } ElseIf (LEqual (FUNC, One)) { Store (Zero, FREQ) } Else { Store (One, EM63) } } Method (M63E, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, FANX, 8, FAND, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (FANX, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RFOV (Zero), FAND) } ElseIf (LEqual (FANX, One)) { Store (\_SB.PCI0.LPCB.EC0.RFOV (One), FAND) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (FANX, Zero)) { \_SB.PCI0.LPCB.EC0.WFOV (Zero, FAND) } ElseIf (LEqual (FANX, One)) { \_SB.PCI0.LPCB.EC0.WFOV (One, FAND) } Else { Store (One, EM63) } } Else { Store (One, EM63) } } Method (M63F, 1, NotSerialized) { OperationRegion (FM63, SystemMemory, Arg0, 0x10) Field (FM63, ByteAcc, NoLock, Preserve) { Offset (0x06), SM63, 8, EM63, 8, FUNC, 8, FANX, 8, DIFF, 8 } If (LEqual (FUNC, Zero)) { If (LEqual (FANX, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0564), DIFF) } ElseIf (LEqual (FANX, One)) { Store (0xFF, DIFF) } Else { Store (One, EM63) } } ElseIf (LEqual (FUNC, One)) { If (LEqual (FANX, Zero)) { \_SB.PCI0.LPCB.EC0.WRAM (0x0564, DIFF) } ElseIf (LEqual (FANX, One)){} Else { Store (One, EM63) } } Else { Store (One, EM63) } } } Scope (WMI0) { Method (MF64, 5, NotSerialized) { If (LNotEqual (Arg2, 0x64)) { Return (Zero) } WSMI (Arg4) Return (Zero) } } Scope (WMI0) { Method (MF30, 5, NotSerialized) { If (LNotEqual (Arg2, 0x30)) { Return (Zero) } OperationRegion (FM30, SystemMemory, Arg0, 0x08) Field (FM30, DWordAcc, NoLock, Preserve) { Offset (0x06), SM30, 8, EM30, 8 } If (LEqual (Arg3, One)) { Store (EC01 (Arg0), EM30) } ElseIf (LEqual (Arg3, 0x02)) { Store (EC02 (Arg0), EM30) } ElseIf (LEqual (Arg3, 0x83)) { Store (EC83 (Arg0), EM30) } ElseIf (LEqual (Arg3, 0x84)) { Store (EC84 (Arg0), EM30) } ElseIf (LEqual (Arg3, 0x80)) { M380 (Arg0) Store (Zero, EM30) } ElseIf (LEqual (Arg3, 0x81)) { M381 (Arg0) Store (Zero, EM30) } ElseIf (LEqual (Arg3, 0x82)) { M382 (Arg0) Store (Zero, EM30) } Else { Store (One, EM30) } If (LEqual (EM30, Zero)) { Store (0x80, SM30) } Else { Store (0x82, SM30) } Return (Zero) } Method (EC01, 1, NotSerialized) { OperationRegion (FEC1, SystemMemory, Arg0, 0x10) Field (FEC1, DWordAcc, NoLock, Preserve) { Offset (0x08), ECMD, 8, EDA1, 8, EDA2, 8, EDA3, 8, EDA4, 8, EDA5, 8 } Store (\_SB.PCI0.LPCB.EC0.ECXT (ECMD, EDA1, EDA2, EDA3, EDA4, EDA5), Local0) Store (DerefOf (Index (Local0, One)), EDA1) Store (DerefOf (Index (Local0, 0x02)), EDA2) Store (DerefOf (Index (Local0, 0x03)), EDA3) Store (DerefOf (Index (Local0, 0x04)), EDA4) Store (DerefOf (Index (Local0, 0x05)), EDA5) Return (DerefOf (Index (Local0, Zero))) } Method (EC02, 1, NotSerialized) { OperationRegion (FEC2, SystemMemory, Arg0, 0x30) Field (FEC2, DWordAcc, NoLock, Preserve) { Offset (0x06), SM30, 8, EM30, 8, BUSN, 8, PROT, 8, DADD, 8, DREG, 8, DAT0, 8, DAT1, 8, BLEN, 8, REVB, 8, BLK1, 32, BLK2, 32, BLK3, 32, BLK4, 32, BLK5, 32, BLK6, 32, BLK7, 32, BLK8, 32 } Store (\_SB.PCI0.LPCB.EC0.ECSB (BUSN, PROT, DADD, DREG, DAT0, DAT1), Local0) Store (DerefOf (Index (Local0, One)), DAT0) Store (DerefOf (Index (Local0, 0x02)), DAT1) Store (DerefOf (Index (Local0, 0x03)), BLEN) Name (BKUF, Buffer (0x20){}) CreateDWordField (BKUF, Zero, DD01) CreateDWordField (BKUF, 0x04, DD02) CreateDWordField (BKUF, 0x08, DD03) CreateDWordField (BKUF, 0x0C, DD04) CreateDWordField (BKUF, 0x10, DD05) CreateDWordField (BKUF, 0x14, DD06) CreateDWordField (BKUF, 0x18, DD07) CreateDWordField (BKUF, 0x1C, DD08) Store (DerefOf (Index (Local0, 0x04)), BKUF) Store (DD01, BLK1) Store (DD02, BLK2) Store (DD03, BLK3) Store (DD04, BLK4) Store (DD05, BLK5) Store (DD06, BLK6) Store (DD07, BLK7) Store (DD08, BLK8) Store (DerefOf (Index (Local0, Zero)), Local2) And (Local2, 0x3F, Local2) Return (Local2) } Method (EC84, 1, NotSerialized) { OperationRegion (ECEG, SystemMemory, Arg0, 0x10) Field (ECEG, DWordAcc, NoLock, Preserve) { Offset (0x08), EVTP, 8, EVID, 8 } \_SB.PCI0.LPCB.EC0.ECXT (0xAE, EVTP, EVID, Zero, Zero, Zero) Return (Zero) } Method (EC83, 1, NotSerialized) { OperationRegion (ECGC, SystemMemory, Arg0, 0x10) Field (ECGC, DWordAcc, NoLock, Preserve) { Offset (0x06), SM1X, 8, EM1X, 8, FUNC, 8, PORT, 8, PIND, 8, DATA, 8 } If (LEqual (FUNC, Zero)) { Store (\_SB.PCI0.LPCB.EC0.RPIN (PORT, PIND), DATA) } ElseIf (LEqual (FUNC, One)) { \_SB.PCI0.LPCB.EC0.SPIN (PORT, PIND, DATA) } Else { Return (One) } Return (Zero) } Method (M380, 1, NotSerialized) { OperationRegion (F380, SystemMemory, Arg0, 0x20) Field (F380, DWordAcc, NoLock, Preserve) { Offset (0x08), EFUN, 8 } \_SB.PCI0.LPCB.EC0.WEIE () Store (0xA7, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (Zero, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (EFUN, \_SB.PCI0.LPCB.EC0.AEID) } Method (M381, 1, NotSerialized) { OperationRegion (F381, SystemMemory, Arg0, 0x20) Field (F381, DWordAcc, NoLock, Preserve) { Offset (0x08), EFUN, 8, BATT, 8, WRNT, 8 } Store (Zero, Local0) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x80, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x06, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x20, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEOF () Store (\_SB.PCI0.LPCB.EC0.AEID, Local0) If (LEqual (EFUN, One)) { Or (Local0, 0x80, Local0) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x81, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x06, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x20, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (Local0, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEOF () Store (Local0, WRNT) } ElseIf (LEqual (EFUN, Zero)) { And (Local0, 0x7F, Local0) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x81, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x06, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x20, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (Local0, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEOF () Store (Local0, WRNT) } } Method (M382, 1, NotSerialized) { OperationRegion (F382, SystemMemory, Arg0, 0x20) Field (F382, DWordAcc, NoLock, Preserve) { Offset (0x08), EFUN, 8, WRNT, 8 } Store (Zero, Local0) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x80, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x05, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x20, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEOF () Store (\_SB.PCI0.LPCB.EC0.AEID, Local0) If (LEqual (EFUN, One)) { Or (Local0, 0x80, Local0) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x81, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x05, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x20, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (Local0, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEOF () Store (Local0, WRNT) } ElseIf (LEqual (EFUN, Zero)) { And (Local0, 0x7F, Local0) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x81, \_SB.PCI0.LPCB.EC0.AEIC) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x05, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (0x20, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEIE () Store (Local0, \_SB.PCI0.LPCB.EC0.AEID) \_SB.PCI0.LPCB.EC0.WEOF () Store (Local0, WRNT) } } } Scope (WMI0) { Method (MF1F, 5, NotSerialized) { If (LEqual (Arg2, 0x1F)) { OperationRegion (F01F, SystemMemory, Arg0, 0x08) Field (F01F, DWordAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, LEN, 16, STAS, 8, EROR, 8 } WSMI (Arg4) And (STAS, 0xFE, STAS) } } } Scope (WMI0) { Method (MF1X, 5, NotSerialized) { If (LNotEqual (And (Arg2, 0xF0), 0x10)) { Return (Zero) } If (LEqual (Arg2, 0x1F)) { Return (Zero) } OperationRegion (FM1X, SystemMemory, Arg0, 0x08) Field (FM1X, DWordAcc, NoLock, Preserve) { Offset (0x06), SM1X, 8, EM1X, 8 } If (LEqual (Arg2, 0x10)) { MF10 (Arg0, Arg3) } ElseIf (LEqual (Arg2, 0x11)) { MF11 (Arg0, Arg3) } ElseIf (LEqual (Arg2, 0x17)) { MF17 (Arg0, Arg3, Arg4) } Else { Store (One, EM1X) } If (LEqual (EM1X, Zero)) { Store (0x80, SM1X) } Else { Store (0x82, SM1X) } Return (Zero) } Method (MF10, 2, NotSerialized) { OperationRegion (FM1X, SystemMemory, Arg0, 0x08) Field (FM1X, DWordAcc, NoLock, Preserve) { Offset (0x06), SM1X, 8, EM1X, 8 } If (LEqual (Arg1, One)) { SRTC (Arg0) } Else { Store (One, EM1X) } } Method (SRTC, 1, NotSerialized) { OperationRegion (\F101, SystemMemory, Arg0, 0x10) Field (F101, DWordAcc, NoLock, Preserve) { Offset (0x08), DLTM, 16 } Store (DLTM, PRTC) } Method (MF11, 2, NotSerialized) { OperationRegion (FM1X, SystemMemory, Arg0, 0x08) Field (FM1X, DWordAcc, NoLock, Preserve) { Offset (0x06), SM1X, 8, EM1X, 8 } If (LEqual (Arg1, Zero)) { Store (G11V (Arg0), Local0) } ElseIf (LEqual (Arg1, One)) { Store (GBAT (Arg0), Local0) } ElseIf (LEqual (Arg1, 0x02)) { Store (ASBR (Arg0), Local0) } ElseIf (LEqual (Arg1, 0x03)) { Store (ASBE (Arg0), Local0) } ElseIf (LEqual (Arg1, 0x04)) { Store (BTCR (Arg0), Local0) } ElseIf (LEqual (Arg1, 0x05)) { OperationRegion (\M115, SystemMemory, Arg0, 0x0B) Field (M115, ByteAcc, NoLock, Preserve) { Offset (0x08), ACT1, 8, WDOG, 16 } If (LEqual (ACT1, Zero)){} Else { } Store (Zero, Local0) } ElseIf (LEqual (Arg1, 0x80)) { Store (GTSB (Arg0, Arg1), Local0) } ElseIf (LEqual (Arg1, 0x81)) { Store (GPST (Arg0, Arg1), Local0) } ElseIf (LEqual (Arg1, 0x82)) { Store (SBSM (Arg0), Local0) } Else { Store (One, EM1X) } Return (Local0) } Method (G11V, 1, NotSerialized) { OperationRegion (\M410, SystemMemory, Arg0, 0x10) Field (M410, DWordAcc, NoLock, Preserve) { Offset (0x08), SVER, 16, MVER, 16 } Store (Zero, MVER) Store (Zero, SVER) Return (Zero) } Method (GBAT, 1, NotSerialized) { OperationRegion (\M411, SystemMemory, Arg0, 0x10) Field (M411, DWordAcc, NoLock, Preserve) { Offset (0x08), BTNM, 8, BTTP, 8 } Store (One, BTNM) Store (Zero, BTTP) Return (Zero) } Method (ASBR, 1, NotSerialized) { OperationRegion (\M412, SystemMemory, Arg0, 0x30) Field (M412, DWordAcc, 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 (LGreaterEqual (BATN, One)) { Return (0x11) } If (LEqual (BATA, Zero)) { Store (\_SB.PCI0.LPCB.EC0.SMBR (\_SB.PCI0.LPCB.EC0.RDWD, \_SB.PCI0.LPCB.EC0.BADR, REGS), Local0) Store (DerefOf (Index (Local0, 0x02)), BDAT) Store (DerefOf (Index (Local0, Zero)), Local2) And (Local2, 0x1F, Local2) If (Local2) { Add (Local2, 0x10, Local2) } Return (Local2) } If (LEqual (BATA, One)) { Store (\_SB.PCI0.LPCB.EC0.SMBW (\_SB.PCI0.LPCB.EC0.WRWD, \_SB.PCI0.LPCB.EC0.BADR, REGS, 0x02, BDAT), Local0) Store (DerefOf (Index (Local0, Zero)), Local2) And (Local2, 0x1F, Local2) If (Local2) { Add (Local2, 0x10, Local2) } Return (Local2) } If (LEqual (BATA, 0x02)) { Name (BKUF, Buffer (0x20){}) Store (\_SB.PCI0.LPCB.EC0.SMBR (\_SB.PCI0.LPCB.EC0.RDBL, \_SB.PCI0.LPCB.EC0.BADR, REGS), Local0) Store (DerefOf (Index (Local0, 0x02)), BKUF) Store (DerefOf (Index (Local0, One)), BLEN) Store (DerefOf (Index (Local0, Zero)), Local2) CreateDWordField (BKUF, One, DAT1) CreateDWordField (BKUF, 0x05, DAT2) CreateDWordField (BKUF, 0x09, DAT3) CreateDWordField (BKUF, 0x0D, DAT4) CreateDWordField (BKUF, 0x11, DAT5) CreateDWordField (BKUF, 0x15, DAT6) CreateDWordField (BKUF, 0x19, DAT7) Store (DerefOf (Index (Local0, 0x02)), BKUF) Store (DAT1, BLK1) Store (DAT2, BLK2) Store (DAT3, BLK3) Store (DAT4, BLK4) Store (DAT5, BLK5) Store (DAT6, BLK6) Store (DAT7, BLK7) Store (Zero, BLK8) Store (DerefOf (Index (Local0, One)), BLEN) Store (DerefOf (Index (Local0, Zero)), Local2) And (Local2, 0x1F, Local2) If (Local2) { Add (Local2, 0x10, Local2) } Return (Local2) } Return (0x10) } Method (ASBE, 1, Serialized) { OperationRegion (\M413, SystemMemory, Arg0, 0x10) Field (M413, ByteAcc, NoLock, Preserve) { Offset (0x08), BATN, 8, BATA, 8, REGS, 8, BDAT, 8 } If (LGreater (BATN, One)) { Return (0x11) } Return (0x10) } Method (BTCR, 1, NotSerialized) { OperationRegion (\M414, SystemMemory, Arg0, 0x10) Field (M414, DWordAcc, NoLock, Preserve) { Offset (0x08), BCDC, 8 } Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0298), Local0) If (LEqual (BCDC, One)) { Or (Local0, 0x40, Local0) } ElseIf (LEqual (BCDC, Zero)) { And (Local0, 0xBF, Local0) } Else { Return (Zero) } Store (\_SB.PCI0.LPCB.EC0.RRAM (0x039B), Local1) \_SB.PCI0.LPCB.EC0.WRAM (0x0298, Local0) Store (\_SB.PCI0.LPCB.EC0.RRAM (0x039B), Local2) And (Local1, 0x80, Local1) And (Local2, 0x80, Local2) Store (0x32, Local3) While (LEqual (Local1, Local2)) { Sleep (0x64) Subtract (Local3, One, Local3) If (LEqual (Local3, Zero)) { Store (Zero, Local2) Break } Store (\_SB.PCI0.LPCB.EC0.RRAM (0x039B), Local2) And (Local2, 0x80, Local2) } If (LEqual (Local2, 0x80)) { Store (One, \_SB.BBAT) } Else { Store (Zero, \_SB.BBAT) } Notify (\_SB.PCI0.AC0, 0x80) Return (Zero) } Method (GTSB, 2, NotSerialized) { OperationRegion (\M418, SystemMemory, Arg0, Arg1) Field (M418, DWordAcc, NoLock, Preserve) { Offset (0x08), BAST, 16 } Store (\_SB.PCI0.LPCB.EC0.SMBR (\_SB.PCI0.LPCB.EC0.RDWD, 0x16, Zero), Local0) Store (DerefOf (Index (Local0, 0x02)), BAST) Store (DerefOf (Index (Local0, Zero)), Local1) And (Local1, 0x1F, Local1) If (Local1) { Add (Local1, 0x10, Local1) } Return (Local1) } Method (GPST, 2, NotSerialized) { OperationRegion (\M419, SystemMemory, Arg0, Arg1) Field (M419, DWordAcc, NoLock, Preserve) { Offset (0x08), SORC, 8, GPCT, 8 } If (Or (LEqual (SORC, Zero), LGreater (SORC, 0x03))) { Return (One) } If (LEqual (SORC, One)) { Store (\_SB.PCI0.LPCB.EC0.RPIN (0x02, 0x04), GPCT) } ElseIf (LEqual (SORC, 0x02)) { Store (\_SB.PCI0.LPCB.EC0.RPIN (0x02, 0x06), Local0) If (Local0) { Store (Zero, GPCT) } Else { Store (One, GPCT) } } ElseIf (LEqual (SORC, 0x03)) { Store (\_SB.PCI0.LPCB.EC0.RPIN (0x09, 0x09), Local0) If (Local0) { Store (Zero, GPCT) } Else { Store (One, GPCT) } } Return (Zero) } Method (SBSM, 1, NotSerialized) { OperationRegion (\F1A3, SystemMemory, Arg0, 0x10) Field (F1A3, DWordAcc, NoLock, Preserve) { Offset (0x08), EABL, 8 } If (LEqual (EABL, One)) { ISMI (0xEB) \_SB.PCI0.LPCB.EC0.WRAM (0x07FE, 0x80) \_SB.PCI0.LPCB.EC0.SMBW (\_SB.PCI0.LPCB.EC0.WRWD, \_SB.PCI0.LPCB.EC0.BADR, Zero, Zero, 0x1000) \_SB.PCI0.LPCB.EC0.WRAM (0x07FE, 0x80) \_SB.PCI0.LPCB.EC0.SMBW (\_SB.PCI0.LPCB.EC0.WRWD, \_SB.PCI0.LPCB.EC0.BADR, Zero, Zero, 0x1000) } Return (Zero) } Method (MF17, 3, NotSerialized) { OperationRegion (FM1X, SystemMemory, Arg0, 0x08) Field (FM1X, DWordAcc, NoLock, Preserve) { Offset (0x06), SM1X, 8, EM1X, 8 } If (LEqual (Arg1, 0x03)) { M173 (Arg0) } Else { Store (One, EM1X) } } Method (M173, 1, NotSerialized) { OperationRegion (F173, SystemMemory, Arg0, 0x20) Field (F173, ByteAcc, NoLock, Preserve) { Offset (0x08), ELEN, 8, ECVR, 128 } \_SB.PCI0.LPCB.EC0.WEIE () Store (0x88, \_SB.PCI0.LPCB.EC0.AEIC) Store (Zero, Local0) Store (Zero, Local1) Store (Zero, Local2) Name (ECBF, Buffer (0x10){}) While (One) { \_SB.PCI0.LPCB.EC0.WEOF () Store (\_SB.PCI0.LPCB.EC0.AEID, Local1) If (LNotEqual (Local1, Zero)) { Store (Local1, Index (ECBF, Local0)) Add (Local0, One, Local0) } If (LEqual (Local2, 0x10)) { Break } Add (Local2, One, Local2) } Store (Local0, ELEN) Store (ECBF, ECVR) } } Scope (WMI0) { Method (FSMI, 1, NotSerialized) { Store (Arg0, PFSF) Or (Arg0, 0xA0, Local0) ISMI (0xDC) Return (PFST) } Method (WFLH, 5, Serialized) { If (LEqual (Arg2, 0x66)) { If (LEqual (Arg3, One)) { OperationRegion (\WFLS, SystemMemory, Arg0, 0x0100) Field (WFLS, DWordAcc, NoLock, Preserve) { Offset (0x06), STAS, 8, REST, 8, PFSF, 8, PFST, 16, PADR, 32, PFSI, 16 } And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) Store (0xDC, TRTY) Store (PFSF, \PFSF) Store (PFST, \PFST) Store (PADR, \PADR) Store (PFSI, \PFSI) If (LEqual (PFSF, One)) { Store (Arg1, \PADR) } ElseIf (LEqual (PFSF, 0x80)) { Store (Arg1, PADR) Store (0x012C, Local0) While (LAnd (Local0, TRTY)) { Sleep (One) Decrement (Local0) } } ISMI (0xDC) Store (\PFSF, PFSF) Store (\PFST, PFST) Store (\PADR, PADR) Store (\PFSI, PFSI) And (STAS, 0xFE, STAS) Or (STAS, 0x80, STAS) } } } } Scope (_SB) { Device (LID) { Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Store (One, Local0) Store (^^PCI0.LPCB.EC0.RPIN (0x04, 0x06), Local0) If (LEqual (Local0, Ones)) { Store (One, Local0) } Return (Local0) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query { Notify (LID, 0x80) } } Scope (\) { Name (TSP, 0x0A) Name (TC1, 0x02) Name (TC2, 0x0A) Name (PSVF, Zero) Name (CRTF, Zero) Name (TCRT, 0x7F) Name (TPSV, 0x7F) } Scope (_TZ) { 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) } Method (CELC, 1, NotSerialized) { Subtract (Arg0, 0x0AAC, Local0) Divide (Local0, 0x0A, Local1, Local0) Return (Local0) } Name (PLCY, Zero) ThermalZone (THRM) { Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature { Store (\_SB.PCI0.LPCB.EC0.RCRT (), TCRT) Return (KELV (TCRT)) } Method (_TMP, 0, NotSerialized) // _TMP: Temperature { Store (0x05, Local1) While (Local1) { Store (\_SB.PCI0.LPCB.EC0.RTMP (), Local0) If (LGreater (Local0, TCRT)) { Decrement (Local1) } Else { Store (Zero, Local1) } } Store (TCRT, Local2) Decrement (Local2) If (LGreater (Local0, Local2)) { If (LEqual (PSVF, One)) { Return (KELV (Local2)) } ElseIf (LEqual (CRTF, One)) { Return (KELV (Local0)) } Return (KELV (Local2)) } Return (KELV (Local0)) } Method (_PSL, 0, NotSerialized) // _PSL: Passive List { Return (Package (0x01) { \_PR.CPU0 }) } Method (XTSP, 0, NotSerialized) { Multiply (TSP, 0x0A, Local0) Return (Local0) } Method (XTC1, 0, NotSerialized) { Return (TC1) } Method (XTC2, 0, NotSerialized) { Return (TC2) } Method (_PSV, 0, NotSerialized) // _PSV: Passive Temperature { Store (\_SB.PCI0.LPCB.EC0.RPSV (), TPSV) Return (KELV (TPSV)) } Method (_SCP, 1, NotSerialized) // _SCP: Set Cooling Policy { Store (Zero, PLCY) Notify (THRM, 0x81) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (S2SC, 1, Serialized) { } Method (_QAE, 0, NotSerialized) // _Qxx: EC Query { Store (One, THOT) If (ACAP ()) { Notify (^^^PEG0.PEGP, 0xD4) } Else { Notify (^^^PEG0.PEGP, 0xD5) } } Method (_QAF, 0, NotSerialized) // _Qxx: EC Query { Store (Zero, THOT) If (LGreaterEqual (B0PN, 0x32)) { Notify (^^^PEG0.PEGP, 0xD1) } ElseIf (ACAP ()) { Notify (^^^PEG0.PEGP, 0xD1) } Else { Notify (^^^PEG0.PEGP, 0xD4) } } Method (_QBE, 0, NotSerialized) // _Qxx: EC Query { Store (One, THOT) Notify (^^^PEG0.PEGP, 0xD5) } Method (_QBF, 0, NotSerialized) // _Qxx: EC Query { Store (Zero, THOT) If (LGreaterEqual (B0PN, 0x32)) { Notify (^^^PEG0.PEGP, 0xD1) } ElseIf (ACAP ()) { Notify (^^^PEG0.PEGP, 0xD1) } Else { Notify (^^^PEG0.PEGP, 0xD4) } } Method (_QAB, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x6D) } Else { Notify (PWRB, 0x80) } } Method (_QCC, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x6D) } Else { Notify (SLPB, 0x80) } } Method (_QB0, 0, NotSerialized) // _Qxx: EC Query { Store (RRAM (0x051C), Local0) If (And (Local0, 0x02)) { Store (One, CRTF) Store (Zero, PSVF) } ElseIf (And (Local0, One)) { Store (One, PSVF) Store (Zero, CRTF) } Else { Store (Zero, PSVF) Store (Zero, CRTF) } Notify (\_TZ.THRM, 0x80) } } Scope (_SB.PCI0.RP04.PXSX) { Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x69, 0x04)) } } Scope (_SB.PCI0.RP04) { Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x69, 0x04)) } } Name (FNF8, Zero) Scope (_SB.PCI0.LPCB.EC0) { Name (HDMI, Zero) Name (F8FG, Zero) Method (_Q11, 0, NotSerialized) // _Qxx: EC Query { Store (0x11, P80H) If (ATKP) { ^^^^ATKD.IANE (0x84) } } Method (_Q12, 0, NotSerialized) // _Qxx: EC Query { Store (0x12, P80H) If (LGreaterEqual (OSYS, 0x07DC)) { Notify (ASHS, 0x88) } } Method (_Q13, 0, NotSerialized) // _Qxx: EC Query { Store (0x13, P80H) If (ATKP) { ^^^^ATKD.IANE (0xC5) } } Method (_Q14, 0, NotSerialized) // _Qxx: EC Query { Store (0x14, P80H) If (ATKP) { ^^^^ATKD.IANE (0xC4) } } Method (_Q15, 0, NotSerialized) // _Qxx: EC Query { Store (0x15, P80H) Store (LBTN, Local0) If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LNotEqual (Local0, Zero)) { Decrement (Local0) } Store (Local0, LBTN) If (LLess (OSYS, 0x07DC)) { ^^^^ATKD.IANE (Add (Local0, 0x20)) } BRTN (0x87) } Method (_Q16, 0, NotSerialized) // _Qxx: EC Query { Store (0x16, P80H) Store (LBTN, Local0) Increment (Local0) If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } Store (Local0, LBTN) If (LLess (OSYS, 0x07DC)) { ^^^^ATKD.IANE (Add (Local0, 0x10)) } BRTN (0x86) } Method (_Q17, 0, NotSerialized) // _Qxx: EC Query { Store (0x17, P80H) If (BLCT) { Store (0x18, P80H) Sleep (0x32) Store (RPIN (0x05, 0x07), Local0) If (Local0) { If (ATKP) { ^^^^ATKD.IANE (0x35) } } Else { XOr (Local0, One, Local0) SPIN (0x05, 0x07, Local0) } } Else { Store (One, Local0) Store (RPIN (0x05, 0x07), Local0) XOr (Local0, One, Local0) SPIN (0x05, 0x07, Local0) } } Method (_Q18, 0, Serialized) // _Qxx: EC Query { Store (0x18, P80H) If (LGreaterEqual (OSYS, 0x07DC)) { If (LEqual (F8FG, Zero)) { Store (One, F8FG) S2SC (0xE0) S2SC (0x5B) } S2SC (0x19) S2SC (0x99) Return (One) } If (LEqual (OSYS, 0x07D9)) { If (LEqual (^^^^ATKD.SWKP, One)) { S2SC (0xE0) S2SC (0x5B) S2SC (0x19) S2SC (0x99) Return (One) } } If (LEqual (FNF8, Zero)) { Or (^^^GFX0.CADL, ^^^GFX0.CAL2, Local0) Switch (Local0) { Case (0x0100) { Store (0x02, ^^^GFX0.NXTD) } Case (0x0300) { If (LEqual (^^^GFX0.CADL, 0x0100)) { Store (Zero, ^^^GFX0.NXTD) } Else { Store (0x04, ^^^GFX0.NXTD) } } Case (0x0400) { Store (One, ^^^GFX0.NXTD) } Case (0x0500) { Store (0x03, ^^^GFX0.NXTD) } Case (0x0700) { Store (0x05, ^^^GFX0.NXTD) } } } If (ATKP) { Store (LEqual (LOr (LOr (LEqual (^^^GFX0.CPDL, 0x0300), LEqual (^^^GFX0.CPL2, 0x0300)), LEqual (^^^GFX0.CPL3, 0x0300)), Zero), HDMI) If (LNotEqual (HDMI, Zero)) { If (LEqual (^^^GFX0.CPDL, 0x0400)) { Store (Zero, ^^^GFX0.NXTD) } If (LEqual (^^^GFX0.CPDL, 0x0100)) { If (LGreaterEqual (^^^GFX0.NXTD, 0x03)) { Store (Zero, ^^^GFX0.NXTD) } } } If (LEqual (HDMI, Zero)) { If (LEqual (^^^GFX0.CPDL, 0x0400)) { If (LEqual (^^^GFX0.NXTD, One)) { Store (0x03, ^^^GFX0.NXTD) } If (LEqual (^^^GFX0.NXTD, 0x02)) { Store (0x03, ^^^GFX0.NXTD) } If (LEqual (^^^GFX0.NXTD, 0x05)) { Store (Zero, ^^^GFX0.NXTD) } } } If (LEqual (^^^GFX0.NXTD, 0x06)) { Store (Zero, ^^^GFX0.NXTD) } If (LEqual (^^^GFX0.NXTD, Zero)) { ^^^^ATKD.IANE (0x61) Store (One, FNF8) } If (LEqual (^^^GFX0.CPDL, 0x0100)) { If (LEqual (^^^GFX0.NXTD, One)) { ^^^^ATKD.IANE (0x62) Store (0x02, FNF8) } If (LEqual (^^^GFX0.NXTD, 0x02)) { ^^^^ATKD.IANE (0x63) Store (0x03, FNF8) } } If (LEqual (HDMI, Zero)) { If (LEqual (^^^GFX0.NXTD, 0x03)) { ^^^^ATKD.IANE (0xA0) Store (0x04, FNF8) } If (LEqual (^^^GFX0.NXTD, 0x04)) { ^^^^ATKD.IANE (0xA1) Store (0x05, FNF8) } If (LEqual (^^^GFX0.CPDL, 0x0100)) { If (LEqual (^^^GFX0.NXTD, 0x05)) { ^^^^ATKD.IANE (0xA2) Store (0x06, FNF8) } } } Increment (^^^GFX0.NXTD) } Else { ^^^GFX0.GNOT (One, 0x80) } } Method (_Q19, 0, NotSerialized) // _Qxx: EC Query { Store (0x19, P80H) If (ATKP) { If (TPME) { ^^^^ATKD.IANE (0x6B) } Else { ^^^^ATKD.IANE (0x6F) } } } Method (_Q1A, 0, NotSerialized) // _Qxx: EC Query { Store (0x1A, P80H) If (LGreaterEqual (OSYS, 0x07DC)) { S2SC (0xE0) S2SC (0x20) S2SC (0xE0) S2SC (0xA0) } If (ATKP) { ^^^^ATKD.IANE (0x32) } } Method (_Q1B, 0, NotSerialized) // _Qxx: EC Query { Store (0x1B, P80H) If (LGreaterEqual (OSYS, 0x07DC)) { S2SC (0xE0) S2SC (0x2E) S2SC (0xE0) S2SC (0xAE) Return (One) } If (ATKP) { ^^^^ATKD.IANE (0x31) } } Method (_Q1C, 0, NotSerialized) // _Qxx: EC Query { Store (0x1C, P80H) If (LGreaterEqual (OSYS, 0x07DC)) { S2SC (0xE0) S2SC (0x30) S2SC (0xE0) S2SC (0xB0) } If (ATKP) { ^^^^ATKD.IANE (0x30) } } Method (_Q20, 0, NotSerialized) // _Qxx: EC Query { Store (0x20, P80H) If (ATKP) { ^^^^ATKD.IANE (0xB5) } } Method (_Q21, 0, NotSerialized) // _Qxx: EC Query { Store (0x21, P80H) If (ATKP) { ^^^^ATKD.IANE (0x5C) } } Method (_Q30, 0, NotSerialized) // _Qxx: EC Query { Store (0x30, P80H) If (ATKP) { ^^^^ATKD.IANE (0x7A) } } Method (_Q33, 0, NotSerialized) // _Qxx: EC Query { Store (0x33, P80H) If (ATKP) { ^^^^ATKD.IANE (0x8A) } } Method (_Q34, 0, NotSerialized) // _Qxx: EC Query { Store (0x34, P80H) If (ATKP) { ^^^^ATKD.IANE (0xB1) } } Method (_Q46, 0, NotSerialized) // _Qxx: EC Query { Store (0x46, P80H) If (ATKP) { ^^^^ATKD.IANE (0x82) } } Method (_Q50, 0, NotSerialized) // _Qxx: EC Query { Store (0x50, P80H) If (ATKP) { ^^^^ATKD.IANE (0x43) } } Method (_Q51, 0, NotSerialized) // _Qxx: EC Query { Store (0x51, P80H) If (ATKP) { ^^^^ATKD.IANE (0x45) } } Method (_Q52, 0, NotSerialized) // _Qxx: EC Query { Store (0x52, P80H) If (ATKP) { ^^^^ATKD.IANE (0x40) } } Method (_Q53, 0, NotSerialized) // _Qxx: EC Query { Store (0x53, P80H) If (ATKP) { ^^^^ATKD.IANE (0x41) } } Method (_Q60, 0, NotSerialized) // _Qxx: EC Query { Store (0x60, P80H) If (ATKP) { ^^^^ATKD.IANE (0xE7) } } Method (_Q61, 0, NotSerialized) // _Qxx: EC Query { Store (0x61, P80H) If (ATKP) { ^^^^ATKD.IANE (0x6E) } } Method (_Q62, 0, NotSerialized) // _Qxx: EC Query { Store (0x62, P80H) If (ATKP) { ^^^^ATKD.IANE (0x75) } } Method (_Q63, 0, NotSerialized) // _Qxx: EC Query { Store (0x63, P80H) If (ATKP) { ^^^^ATKD.IANE (0x75) } } Method (_Q64, 0, NotSerialized) // _Qxx: EC Query { Store (0x64, P80H) If (ATKP) { ^^^^ATKD.IANE (0xF4) } } Method (_Q65, 0, NotSerialized) // _Qxx: EC Query { Store (0x65, P80H) If (ATKP) { ^^^^ATKD.IANE (0xC6) } } Method (_Q66, 0, NotSerialized) // _Qxx: EC Query { Store (0x66, P80H) If (ATKP) { ^^^^ATKD.IANE (0xC7) } } Method (_QB1, 0, NotSerialized) // _Qxx: EC Query { Store (0xB1, P80H) } } Scope (_SB.PCI0.LPCB.EC0) { Name (CULV, Zero) Method (SPLV, 1, NotSerialized) { Name (GPUL, Package (0x05) { 0xD5, 0xD4, 0xD3, 0xD2, 0xD1 }) Name (PL1L, Package (0x05) { 0xA0, 0xF0, 0x0118, 0x0140, 0x0168 }) Name (GPTL, Package (0x05) { Zero, One, One, One, One }) Name (PWLV, Zero) If (LAnd (LLess (Arg0, 0x06), LGreaterEqual (Arg0, One))) { Subtract (Arg0, One, PWLV) Notify (^^^PEG0.PEGP, DerefOf (Index (GPUL, PWLV))) Store (DerefOf (Index (PL1L, PWLV)), PPL1) SGOV (0x01010003, DerefOf (Index (GPTL, PWLV))) } } Method (_QDA, 0, NotSerialized) // _Qxx: EC Query { If (LEqual (THOT, Zero)) { Notify (^^^PEG0.PEGP, 0xD1) } } Method (_QDB, 0, NotSerialized) // _Qxx: EC Query { If (LEqual (THOT, Zero)) { Notify (^^^PEG0.PEGP, 0xD4) } } Method (_QDC, 0, NotSerialized) // _Qxx: EC Query { Notify (^^^PEG0.PEGP, 0xD5) } } }