/* * 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 iASLOSkapI.aml, Fri Jun 15 15:11:52 2018 * * Original Table Header: * Signature "DSDT" * Length 0x00029D6F (171375) * Revision 0x02 * Checksum 0x95 * 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_.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_.ALS_, DeviceObj) // (from opcode) External (_SB_.ALS_.LUXL, UnknownObj) // (from opcode) External (_SB_.IETM, DeviceObj) // (from opcode) External (_SB_.PCI0.GFX0.AINT, MethodObj) // 2 Arguments (from opcode) External (_SB_.PCI0.GFX0.ALSI, 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.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.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.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.EC0_.RALS, 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.RP01.PXSX, DeviceObj) // Warning: Unknown object 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.NVM1.IR3E, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.SAT0.NVM1.RAID, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.SAT0.NVM2.IR3E, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.SAT0.NVM2.RAID, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.SAT0.NVM3.IR3E, MethodObj) // 0 Arguments (from opcode) External (_SB_.PCI0.SAT0.NVM3.RAID, MethodObj) // 0 Arguments (from opcode) 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_.THRM, 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 (MSOS, MethodObj) // 0 Arguments (from opcode) External (OSW7, UnknownObj) // (from opcode) // Conflicts with a later declaration 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) External (VLPM, UnknownObj) // Warning: Unknown object Name (PEBS, 0xF0000000) Name (PELN, 0x08000000) 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, Zero) Name (SHPC, One) Name (PEPM, Zero) Name (PEER, Zero) Name (PECS, Zero) Name (ITKE, Zero) Name (MBEC, 0xFFFF) 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, 0x8AD93F18) Name (PPIL, 0x1C) Name (AMDT, Zero) Name (TPMF, One) Name (PPIV, Zero) Name (MBLF, 0x0A) Name (SS1, Zero) Name (SS2, Zero) Name (SS3, One) Name (SS4, One) Name (IOST, 0xFFFF) Name (TOPM, 0x00000000) Name (ROMS, 0xFFE00000) Name (VGAF, One) OperationRegion (GNVS, SystemMemory, 0x8AD8E000, 0x06B3) 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, BATP, 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, UCSI, 8, UCG1, 32, UCG2, 32, WGUR, 32, AES3, 8 } 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 (0x2A) { 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) { 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) { 0x0017FFFF, Zero, LNKA, 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 }, Package (0x04) { 0x0002FFFF, Zero, LNKA, Zero } }) Name (AR00, Package (0x2D) { 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) { 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) { 0x0017FFFF, Zero, Zero, 0x10 }, 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 }, Package (0x04) { 0x0002FFFF, Zero, Zero, 0x10 } }) 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) } 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, 0x8A531F98, 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, 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 }) } Method (HPME, 0, Serialized) { If (LAnd (LNotEqual (VDID, 0xFFFFFFFF), LEqual (PMSX, One))) { 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, 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 (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 (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.PCI0.LPCB.EC0.EC0S (Arg0) SBDS (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) SBDW (Arg0) \_SB.PCI0.LPCB.EC0.EC0W (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, 0x8AD93018) 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, 0x04)) } 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)) } If (LEqual (Arg3, ToUUID ("88373a01-16a5-469d-a39a-bdeb594178b8"))) { Return (One) } If (LEqual (Arg3, ToUUID ("54cab206-82cb-4b67-a1ee-fcd45c126dc8"))) { Return (One) } If (LEqual (Arg3, ToUUID ("70002307-da3e-4e0b-ba03-4c72314b2aaa"))) { Return (One) } 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 } 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 (_PS3, 0, Serialized) // _PS3: Power State 3 { If (CondRefOf (IR3E)) { ADBG (Concatenate ("_PS3s: ", ToHexString (VLPM))) If (LEqual (IR3E (), One)) { If (LEqual (RAID (), Zero)) { RPOF () } } ADBG (Concatenate ("_PS3e: ", ToHexString (VLPM))) } } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { If (CondRefOf (IR3E)) { ADBG (Concatenate ("_PS0s: ", ToHexString (VLPM))) If (LEqual (IR3E (), One)) { If (LEqual (RAID (), Zero)) { RPON () } } ADBG (Concatenate ("_PS0e: ", ToHexString (VLPM))) } } Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (ISD3) } 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) { 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))) } } 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 (_PS3, 0, Serialized) // _PS3: Power State 3 { If (CondRefOf (IR3E)) { ADBG (Concatenate ("_PS3s: ", ToHexString (VLPM))) If (LEqual (IR3E (), One)) { If (LEqual (RAID (), Zero)) { RPOF () } } ADBG (Concatenate ("_PS3e: ", ToHexString (VLPM))) } } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { If (CondRefOf (IR3E)) { ADBG (Concatenate ("_PS0s: ", ToHexString (VLPM))) If (LEqual (IR3E (), One)) { If (LEqual (RAID (), Zero)) { RPON () } } ADBG (Concatenate ("_PS0e: ", ToHexString (VLPM))) } } Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (ISD3) } 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) { 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))) } } 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 (_PS3, 0, Serialized) // _PS3: Power State 3 { If (CondRefOf (IR3E)) { ADBG (Concatenate ("_PS3s: ", ToHexString (VLPM))) If (LEqual (IR3E (), One)) { If (LEqual (RAID (), Zero)) { RPOF () } } ADBG (Concatenate ("_PS3e: ", ToHexString (VLPM))) } } Method (_PS0, 0, Serialized) // _PS0: Power State 0 { If (CondRefOf (IR3E)) { ADBG (Concatenate ("_PS0s: ", ToHexString (VLPM))) If (LEqual (IR3E (), One)) { If (LEqual (RAID (), Zero)) { RPON () } } ADBG (Concatenate ("_PS0e: ", ToHexString (VLPM))) } } Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (ISD3) } 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) { 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))) } } 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 { If (LEqual (SBRG, Zero)) { Return (Zero) } If (LEqual (GPEN, Zero)) { Return (Zero) } 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)) { Store ("CUST0001", _HID) Store (TPDH, HID2) Store (TPDB, BADR) If (LEqual (TPDS, Zero)) { Store (0x000186A0, SPED) } If (LEqual (TPDS, One)) { Store (0x00061A80, SPED) } If (LEqual (TPDS, 0x02)) { Store (0x000F4240, SPED) } 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, NotSerialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } 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) \_SB.PCI0.LPCB.EC0.CSEE (0xAF) 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) \_SB.PCI0.LPCB.EC0.CSEE (0xAE) 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.THRM, 0x80) Notify (\_TZ.THRM, 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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 (0x02) { Zero, Package (0x0C) { 0x07, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 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)) Return (WRDY) } 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){}) } } } 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 (0x19) { 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.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.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) } } } 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 (B1CC, Zero) Name (B1ST, Zero) Name (B2CC, Zero) Name (B2ST, Zero) Name (CFAN, Zero) Name (CMDR, Zero) Name (DOCK, Zero) Name (EJET, Zero) Name (PLMX, Zero) Name (PECH, Zero) Name (PECL, Zero) Name (PENV, Zero) Name (PINV, Zero) Name (PPSH, Zero) Name (PPSL, Zero) Name (PSTP, Zero) Name (RPWR, Zero) Name (LIDS, Zero) Name (LSTE, Zero) Name (SLPC, Zero) Name (VPWR, Zero) Name (WTMS, Zero) Name (AWT2, Zero) Name (AWT1, Zero) Name (AWT0, Zero) Name (DLED, Zero) Name (ECAV, Zero) Name (SPT2, Zero) Name (PB10, Zero) Name (IWCW, Zero) Name (IWCR, Zero) Name (PVOL, Zero) Name (PWRT, Zero) Method (ECMD, 1, Serialized) { If (ECON) { While (CMDR) { Stall (0x14) } Store (Arg0, CMDR) } } Method (ECRD, 1, Serialized) { Return (DerefOf (Arg0)) } Method (ECWT, 2, Serialized) { Store (Arg0, Arg1) } Method (ECNT, 1, Serialized) { Return (Zero) } Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } } Scope (\) { Field (GNVS, AnyAcc, Lock, Preserve) { Offset (0x20), B1SC, 8, Offset (0x23), B1SS, 8 } } Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } } Scope (\) { Field (GNVS, AnyAcc, Lock, Preserve) { Offset (0x21), B2SC, 8, Offset (0x24), B2SS, 8 } } Device (BAT2) { Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } } } } 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) } } } OperationRegion (ABNV, SystemMemory, 0xFFFF0000, 0xAA55) Field (ABNV, AnyAcc, Lock, Preserve) { ABMA, 64, ABMS, 8, ABIA, 16, ABIL, 16, ABRA, 32, ABRS, 16 } 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) } } } } Scope (_SB) { OperationRegion (RAMW, SystemMemory, 0x8AD94000, 0x010B) Field (RAMW, AnyAcc, NoLock, Preserve) { TRTY, 8, FSFN, 8, FSTA, 16, FADR, 64, FSIZ, 16, ACTD, 8, AVLD, 8, SETD, 8, ACPF, 8, DCPF, 8, DCP2, 8, DCTP, 8, CTPY, 8, OPAD, 16, OCAD, 16, CSTE, 16, NSTE, 16, SSTE, 16, SFUN, 8, TPSV, 8, TAC0, 8, TCRT, 8, TDO1, 8, TDO2, 8, PPSV, 8, PAC0, 8, T0HL, 8, T0LL, 8, T0F1, 8, T0F2, 8, T1HL, 8, T1LL, 8, T1F1, 8, T1F2, 8, T2HL, 8, T2LL, 8, T2F1, 8, T2F2, 8, T3HL, 8, T3LL, 8, T3F1, 8, T3F2, 8, T4HL, 8, T4LL, 8, T4F1, 8, T4F2, 8, T5HL, 8, T5LL, 8, T5F1, 8, T5F2, 8, T6HL, 8, T6LL, 8, T6F1, 8, T6F2, 8, T7HL, 8, T7LL, 8, T7F1, 8, T7F2, 8, SLPT, 8, AIBF, 8, IDES, 8, VGAF, 16, C4CP, 8, LUXS, 8, LUXL, 8, LUXH, 8, LUXF, 8, MNAM, 64, LCDV, 32, LCDR, 8, PTIM, 8, PTMP, 8, SMIF, 8, DTSE, 8, DTS1, 8, DTS2, 8, MPEN, 8, QFAN, 8, VBIF, 16, BIPA, 32, RTCW, 16, CPUN, 8, ALPR, 32, CIST, 8, GNBF, 32, CPUP, 16, SLMT, 16, LDES, 8, HDDF, 8, GCDF, 16, SMBB, 32, FEBL, 32, TMPB, 8, DSYN, 8, LDFT, 8, TBOT, 16, RTC1, 8, RTC2, 8, RTC3, 8, BRTI, 8, SGEN, 8, RBUF, 32, RVBS, 32, EXTS, 8, SCMA, 32, CTBO, 8, DOSF, 8, PTAB, 32, CPCH, 32, HTPT, 32, CPUH, 8, XHCB, 32, USBC, 8, VBOF, 16, RSKY, 8, WOLO, 8, INSK, 8, FPBA, 32, FPTR, 32, NVLK, 8, NVLP, 64, ACPI, 8, NRS3, 16, DPS3, 16, S4FG, 8, MODE, 8, S4TM, 32, EVET, 32, ALSA, 16, EZFU, 8, SMFA, 32, ISDF, 8, CALB, 32, CFG2, 32, TJMX, 8, SCWT, 16, CA10, 32, CA11, 32, ASMU, 8, MVOE, 8, LBFD, 8, LBCI, 8, LBLS, 8, LBLV, 8, LBFN, 8, EGBF, 32, TPIF, 8, TPDI, 8, TPLP, 8, TPLI, 8, PTDI, 8, WLDP, 8, BTDP, 8, KBLC, 8, KBLV, 8, TPHI, 8, ALSP, 8, ALAE, 8 } } Scope (\) { Method (DIAG, 1, NotSerialized) { P8XH (Zero, Arg0) } 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, \_SB.ALPR) Store (0xA3, SMCM) Return (\_SB.ALPR) } Name (OSFG, Zero) Name (OS9X, One) Name (OS98, 0x02) Name (OSME, 0x04) Name (OS2K, 0x08) Name (OSXP, 0x10) Name (OSEG, 0x20) Name (OSVT, 0x40) Name (OSW7, 0x80) Name (OSW8, 0x0100) Name (OS13, 0x0110) Name (OS14, 0x0120) Name (OS15, 0x0130) Name (OS16, 0x0140) Name (OS17, 0x0150) Method (MCTH, 2, NotSerialized) { If (LLess (SizeOf (Arg0), SizeOf (Arg1))) { Return (Zero) } Add (SizeOf (Arg0), One, Local0) Name (BUF0, Buffer (Local0){}) Name (BUF1, Buffer (Local0){}) Store (Arg0, BUF0) Store (Arg1, BUF1) While (Local0) { Decrement (Local0) If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (BUF1, Local0)))) { Return (Zero) } } Return (One) } Method (MSOS, 0, NotSerialized) { If (LGreaterEqual (OSYS, 0x07DC)) { Store (OSW8, OSFG) } ElseIf (LEqual (OSYS, 0x07D9)) { Store (OSW7, OSFG) } ElseIf (LEqual (OSYS, 0x07D6)) { Store (OSVT, OSFG) } ElseIf (LAnd (LGreaterEqual (OSYS, 0x07D1), LLessEqual (OSYS, 0x07D3))) { Store (OSXP, OSFG) } ElseIf (LEqual (OSYS, 0x07D0)) { Store (OSME, OSFG) } ElseIf (LEqual (OSYS, 0x07CE)) { Store (OS98, OSFG) } Else { Store (OSW8, OSFG) } Return (OSFG) } Method (ADVG, 0, NotSerialized) { Return (0x03) } Method (GCDM, 0, NotSerialized) { Return (One) } Method (SWHG, 1, Serialized) { Return (Zero) } Method (NATK, 0, NotSerialized) { Return (One) } } Scope (_SB.PCI0.XHC.RHUB.HS06) { Name (CAPD, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x14, 0x00, 0x14, 0x00, /* 0008 */ 0x25, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF } }) Device (DCAM) { Name (_ADR, 0x06) // _ADR: Address Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { Return (CAPD) } } } Scope (_SB) { Name (ATKP, Zero) Name (AITM, Zero) Name (PLMD, Zero) Name (MUTX, One) Name (LEDS, Zero) Name (FNIV, Zero) 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) Method (IANQ, 1, Serialized) { If (LGreaterEqual (AQNO, 0x10)) { Store (0x64, Local0) While (LAnd (Local0, LGreaterEqual (AQNO, 0x10))) { Decrement (Local0) Sleep (0x0A) } If (LAnd (LNot (Local0), LGreaterEqual (AQNO, 0x10))) { Return (Zero) } } Increment (AQTI) And (AQTI, 0x0F, AQTI) Store (Arg0, Index (ATKQ, AQTI)) Increment (AQNO) Return (One) } Method (GANQ, 0, Serialized) { If (AQNO) { Decrement (AQNO) Store (DerefOf (Index (ATKQ, AQHI)), Local0) Increment (AQHI) And (AQHI, 0x0F, AQHI) Return (Local0) } Return (Ones) } Name (_WDG, Buffer (0x3C) { /* 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, /* 0028 */ 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1, 0x11, /* 0030 */ 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, /* 0038 */ 0x4D, 0x4F, 0x01, 0x00 }) Scope (\_SB.ATKD) { Method (WLED, 1, NotSerialized) { SGOV (0x0203000E, Arg0) XOr (Arg0, One, Arg0) If (LEqual (LAnd (WAPF, 0x05), Zero)){} Return (One) } Method (BLED, 1, NotSerialized) { SGOV (0x0203000E, Arg0) Return (One) } Name (WAPF, Zero) Method (CWAP, 1, NotSerialized) { Or (Arg0, WAPF, WAPF) Return (One) } } Scope (\_SB.ATKD) { 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) } } Scope (\_SB.ATKD) { 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) { CreateDWordField (Arg2, Zero, IIA0) CreateDWordField (Arg2, 0x04, IIA1) And (Arg1, 0xFFFFFFFF, Local0) If (LEqual (Local0, 0x54494E49)) { Return (INIT (IIA0)) } 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, IIA1)) } 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)) { Return (SDSP (IIA0)) } 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)) { Store (\_TZ.RTMP (), Local0) Return (Local0) } } If (LEqual (IIA0, 0x00010016)) { Store (OFBD (IIA1), Local0) If (Local0) { Store (One, SMIF) Return (ASMI (IIA1)) } Else { Return (Zero) } } If (LEqual (IIA0, 0x0006001F)) { Store (0x02, SMIF) Return (ASMI (Zero)) } If (LEqual (IIA0, 0x0010001F)) { Store (0x03, SMIF) Return (ASMI (IIA1)) } } If (LEqual (Local0, 0x53545344)) { If (LEqual (IIA0, 0x00010002)) { Return (Zero) } If (LEqual (IIA0, 0x00010011)) { If (WLDP) { Return (0x00030001) } Else { Return (0x02) } } If (LEqual (IIA0, 0x00010013)) { If (BTDP) { Return (0x00030001) } Else { Return (0x02) } } If (LEqual (IIA0, 0x00080042)) { Return (Zero) } If (LEqual (IIA0, 0x00080043)) { Return (Zero) } If (LEqual (IIA0, 0x00080044)) { Return (Zero) } If (LEqual (IIA0, 0x00030022)) { Store (Zero, Local0) Return (Local0) } If (LEqual (IIA0, 0x00100054)) { Store (Zero, Local0) Return (Local0) } If (LEqual (IIA0, 0x00120065)) { Return (0x00010001) } If (LEqual (IIA0, 0x00060061)) { Return (Zero) } If (LEqual (IIA0, 0x00110015)) { Return (Zero) } If (LEqual (IIA0, 0x00110016)) { Return (Zero) } If (LEqual (IIA0, 0x00020011)) { Return (Or (GALE (One), 0x00050000)) } If (LEqual (IIA0, 0x00020012)) { Return (Or (GALE (0x02), 0x00050000)) } If (LEqual (IIA0, 0x00020013)) { Return (Or (GALE (0x04), 0x00050000)) } If (LEqual (IIA0, 0x00040015)) { Return (Or (GALE (0x08), 0x00050000)) } If (LEqual (IIA0, 0x00020014)) { Return (Or (GALE (0x10), 0x00050000)) } If (LEqual (IIA0, 0x00020015)) { Return (Or (GALE (0x20), 0x00050000)) } If (LEqual (IIA0, 0x00020016)) { Return (Or (GALE (0x40), 0x00050000)) } If (LEqual (IIA0, 0x00110013)) { Store (\_TZ.RFAN (Zero), Local0) If (LEqual (Local0, 0xFF)) { Add (Local0, 0x00080000, Local0) } Return (Add (0x00010000, Local0)) } If (LEqual (IIA0, 0x00110014)) { Store (^^PCI0.LPCB.EC0.RRAM (0x0520), Local0) If (And (Local0, 0x02)) { Store (\_TZ.RFAN (One), Local0) If (LEqual (Local0, 0xFF)) { Add (Local0, 0x00080000, Local0) } Return (Add (0x00010000, Local0)) } Return (Zero) } If (LEqual (IIA0, 0x00010001)) { Return (0x00040000) } If (LEqual (IIA0, 0x00120063)) { Store (^^PCI0.LPCB.EC0.DKPS (), Local0) If (LEqual (Local0, One)) { Return (0x00010001) } Else { Return (0x00010000) } } If (LEqual (IIA0, 0x00050021)) { If (^^PCI0.LPCB.EC0.GLKB (One)) { Store (^^PCI0.LPCB.EC0.GLKB (0x03), Local0) ShiftLeft (Local0, 0x08, Local0) Add (^^PCI0.LPCB.EC0.GLKB (0x02), Local0, Local0) Or (Local0, 0x00050000, Local0) Return (Local0) } Return (0x8000) } If (LEqual (IIA0, 0x00050001)) { If (LNot (ALSP)) { Return (0x02) } And (GALS, 0x10, Local0) If (Local0) { Return (0x00050001) } Else { Return (0x00050000) } } If (LEqual (IIA0, 0x00050013)) { And (GALS, 0x0F0F, Local0) Return (Local0) } If (LEqual (IIA0, 0x00060023)) { Store (And (^^PCI0.LPCB.EC0.STA8 (Zero), 0x03), Local0) If (Ones) { Or (0x04, Local0, Local0) } If (LEqual (And (^^PCI0.LPCB.EC0.STA8 (Zero), 0x80), 0x80)) { If (LEqual (^^PCI0.LPCB.EC0.STA8 (0x02), 0x03)) { Or (0x08, Local0, Local0) } } Return (Local0) } If (LEqual (IIA0, 0x00060024)) { Return (Package (0x03) { 0x9D2F8086, One, 0xFFFFFFFF }) } If (LEqual (IIA0, 0x00060026)) { Store (^^PCI0.LPCB.EC0.STA8 (Zero), Local0) And (Local0, 0x04, Local0) If (LEqual (Local0, 0x04)) { Return (0x00010001) } ElseIf (LEqual (Local0, Zero)) { Return (0x00010000) } } } If (LEqual (Local0, 0x53564544)) { If (LEqual (IIA0, 0x00010002)) { SWBL (IIA1) Return (One) } If (LEqual (IIA0, 0x00010012)) { WLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010013)) { BLED (IIA1) Return (One) } If (LEqual (IIA0, 0x00010003)) { Return (CWAP (IIA1)) } If (LEqual (IIA0, 0x00100054)) { Return (Zero) } If (LEqual (IIA0, 0x00060057)) { Return (Zero) } If (LEqual (IIA0, 0x00100013)) { If (LEqual (IIA1, Zero)){} If (LEqual (IIA1, One)){} If (LEqual (IIA1, 0x02)) { If (^^PCI0.LPCB.EC0.ECAV ()) { Acquire (^^PCI0.LPCB.EC0.MU4T, 0xFFFF) Store (0xFF, ^^PCI0.LPCB.EC0.CMD) Store (0xB6, ^^PCI0.LPCB.EC0.EDA1) Store (Zero, ^^PCI0.LPCB.EC0.EDA2) ^^PCI0.LPCB.EC0.ECAC () Release (^^PCI0.LPCB.EC0.MU4T) Return (One) } } Return (Zero) } Method (ALSC, 1, NotSerialized) { If (Arg0) { ^^^PCI0.LPCB.EC0.TALS (One) Store (^^^PCI0.LPCB.EC0.RALS (), Local0) } Else { ^^^PCI0.LPCB.EC0.TALS (Zero) Store (0x0190, Local0) } Store (Arg0, ALAE) If (LEqual (MSOS (), OSW7)) { ^^^PCI0.GFX0.AINT (Zero, Local0) } Else { Notify (ALS, 0x80) } Return (One) } Method (ALSL, 1, 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) } If (LEqual (IIA0, 0x00050011)) { If (LEqual (IIA1, 0x02)) { Store (One, ^^PCI0.LPCB.EC0.BLCT) } Return (One) } If (LEqual (IIA0, 0x00050001)) { Return (ALSC (IIA1)) } If (LEqual (IIA0, 0x00050013)) { Return (ALSL (IIA1)) } If (LEqual (IIA0, 0x00050021)) { ^^PCI0.LPCB.EC0.SLKB (IIA1) Return (One) } If (LEqual (IIA0, 0x00100022)) { If (And (IIA1, 0x02)) { ^^PCI0.LPCB.EC0.STB1 (0x04) ^^PCI0.LPCB.EC0.STB1 (0x05) Store (One, FNIV) Return (One) } Else { ^^PCI0.LPCB.EC0.KINI () Return (One) } Return (Zero) } If (LEqual (IIA0, 0x00110013)) { Store (^^PCI0.LPCB.EC0.RRAM (0x0521), Local0) If (LEqual (IIA1, Zero)) { And (Local0, 0xFFFFFFFFFFFFFFBF, Local1) } ElseIf (LEqual (IIA1, One)) { Or (Local0, 0x40, Local1) } ^^PCI0.LPCB.EC0.WRAM (0x0521, Local1) Return (One) } If (LEqual (IIA0, 0x00110014)) { Store (^^PCI0.LPCB.EC0.RRAM (0x0520), Local0) If (And (Local0, 0x02)) { Store (^^PCI0.LPCB.EC0.RRAM (0x0522), Local0) If (LEqual (IIA1, Zero)) { And (Local0, 0xFFFFFFFFFFFFFFBF, Local1) } ElseIf (LEqual (IIA1, One)) { Or (Local0, 0x40, Local1) } ^^PCI0.LPCB.EC0.WRAM (0x0522, Local1) Return (One) } Return (Zero) } If (LEqual (IIA0, 0x00110015)) { Return (Zero) } If (LEqual (IIA0, 0x00110016)) { Return (Zero) } If (LEqual (IIA0, 0x00060023)) { ShiftRight (IIA1, 0x09, Local0) If (LEqual (And (Local0, One), One)) { Store (One, VBOF) ShiftRight (IIA1, 0x18, Local0) Multiply (Local0, 0x0100, Local0) Or (Local0, VBOF, VBOF) } Else { Store (Zero, VBOF) } And (IIA1, 0xFF, Local0) ^^PCI0.LPCB.EC0.STA9 (One, Local0) ShiftRight (IIA1, 0x08, Local0) Store (^^PCI0.LPCB.EC0.STA8 (Zero), Local1) If (LEqual (And (Local0, One), One)) { Or (Local1, 0x02, Local1) And (Local1, 0x0F, Local2) Store (Local2, USBC) ^^PCI0.LPCB.EC0.STA9 (Zero, Local1) } Else { And (Local1, 0xFD, Local1) And (Local1, 0x0F, Local2) Store (Local2, USBC) ^^PCI0.LPCB.EC0.STA9 (Zero, Local1) } Return (One) } If (LEqual (IIA0, 0x00060026)) { Store (^^PCI0.LPCB.EC0.STA8 (Zero), Local0) If (LEqual (IIA1, One)) { Or (0x04, USBC, Local2) Store (Local2, USBC) Or (Local0, 0x04, Local0) ^^PCI0.LPCB.EC0.STA9 (Zero, Local0) } Else { And (0xFB, USBC, Local2) Store (Local2, USBC) And (Local0, 0xFB, Local0) ^^PCI0.LPCB.EC0.STA9 (Zero, Local0) } Return (One) } } Return (0xFFFFFFFE) } Method (_WED, 1, NotSerialized) // _Wxx: Wake Event { If (LEqual (Arg0, 0xFF)) { Return (GANQ ()) } Return (Ones) } Name (WQMO, Buffer (0x0A40) { /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, /* 0008 */ 0x30, 0x0A, 0x00, 0x00, 0xCE, 0x35, 0x00, 0x00, /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, /* 0018 */ 0xA8, 0xD4, 0x99, 0x00, 0x01, 0x06, 0x18, 0x42, /* 0020 */ 0x10, 0x05, 0x10, 0xCA, 0xE7, 0x8B, 0x42, 0x04, /* 0028 */ 0x0A, 0x0D, 0xA1, 0x38, 0x44, 0x86, 0xA1, 0x12, /* 0030 */ 0x20, 0x24, 0x09, 0x42, 0x2E, 0x98, 0x98, 0x00, /* 0038 */ 0x21, 0x10, 0x92, 0x28, 0xC0, 0xBC, 0x00, 0xDD, /* 0040 */ 0x02, 0x0C, 0x0B, 0xB0, 0x2D, 0xC0, 0xB4, 0x00, /* 0048 */ 0xC7, 0x40, 0xEA, 0xDF, 0x1F, 0xA2, 0x34, 0x10, /* 0050 */ 0x89, 0x80, 0xA4, 0x52, 0x20, 0x24, 0x54, 0x80, /* 0058 */ 0x72, 0x01, 0xBE, 0x05, 0x68, 0x47, 0x94, 0x64, /* 0060 */ 0x01, 0x96, 0x61, 0x44, 0x60, 0xAF, 0xC8, 0x04, /* 0068 */ 0x8D, 0x13, 0x94, 0x33, 0x0C, 0x14, 0xBC, 0x01, /* 0070 */ 0xDB, 0x14, 0x60, 0x72, 0x10, 0x54, 0xF6, 0x20, /* 0078 */ 0x50, 0x32, 0x20, 0xE4, 0x51, 0x80, 0x55, 0x38, /* 0080 */ 0x4D, 0x27, 0x81, 0xDD, 0x0B, 0x30, 0x27, 0xC0, /* 0088 */ 0x9B, 0x00, 0x71, 0xA3, 0x91, 0x35, 0x01, 0x16, /* 0090 */ 0xA1, 0x24, 0x4C, 0x80, 0x2D, 0x18, 0xA1, 0xD4, /* 0098 */ 0x06, 0x23, 0x94, 0xC6, 0x10, 0x04, 0x12, 0x27, /* 00A0 */ 0x4A, 0xC4, 0x06, 0x05, 0xEC, 0x34, 0x6C, 0x94, /* 00A8 */ 0x88, 0x61, 0x42, 0x44, 0xA8, 0x0C, 0x83, 0x38, /* 00B0 */ 0x84, 0x12, 0x5A, 0xDC, 0x08, 0xED, 0x0F, 0x82, /* 00B8 */ 0x44, 0x5B, 0xB1, 0x86, 0xEA, 0x48, 0xA3, 0x41, /* 00C0 */ 0x8D, 0x28, 0xC1, 0x81, 0x79, 0x34, 0xA7, 0xDA, /* 00C8 */ 0xB9, 0x00, 0xE9, 0x73, 0x15, 0xC8, 0xB1, 0x9E, /* 00D0 */ 0x62, 0x9D, 0xC3, 0x25, 0x20, 0x09, 0x8C, 0x95, /* 00D8 */ 0xA0, 0x83, 0x21, 0x42, 0x71, 0x0D, 0xA8, 0x89, /* 00E0 */ 0x1F, 0x22, 0x13, 0x04, 0x87, 0x1A, 0xA2, 0xC7, /* 00E8 */ 0x1B, 0xEE, 0x04, 0x8E, 0xFA, 0x48, 0x18, 0xC4, /* 00F0 */ 0x39, 0x1D, 0x0D, 0xE6, 0x1C, 0xE0, 0x71, 0x9D, /* 00F8 */ 0xCC, 0x19, 0x97, 0x2A, 0xC0, 0xEC, 0xD0, 0x35, /* 0100 */ 0xC2, 0x04, 0xC7, 0x63, 0xE8, 0xB3, 0x3F, 0x9F, /* 0108 */ 0x9E, 0x21, 0x89, 0xFC, 0x41, 0xA0, 0x46, 0x66, /* 0110 */ 0x68, 0x8F, 0xF1, 0xB4, 0x62, 0x86, 0x7C, 0x0A, /* 0118 */ 0x38, 0x2C, 0x26, 0xF6, 0x94, 0x40, 0xC7, 0x03, /* 0120 */ 0xEF, 0xFF, 0x3F, 0x1E, 0xF0, 0x28, 0x3E, 0x1A, /* 0128 */ 0x08, 0xE1, 0x95, 0x20, 0xB6, 0x07, 0xF4, 0xB8, /* 0130 */ 0x60, 0x60, 0xEC, 0x80, 0xEC, 0x57, 0x00, 0x42, /* 0138 */ 0xF0, 0x32, 0x47, 0x24, 0xA7, 0x08, 0x1A, 0x93, /* 0140 */ 0x27, 0xD7, 0x3A, 0x84, 0x40, 0x4E, 0xEA, 0x90, /* 0148 */ 0x5F, 0x16, 0x18, 0xE2, 0x6B, 0x82, 0xA7, 0x5F, /* 0150 */ 0x21, 0xA0, 0x44, 0x8E, 0x00, 0x25, 0x66, 0x04, /* 0158 */ 0x28, 0xBC, 0xC8, 0x21, 0xCF, 0xE6, 0x08, 0x8E, /* 0160 */ 0x27, 0xCA, 0x49, 0x1C, 0x90, 0x8F, 0x0E, 0x46, /* 0168 */ 0x38, 0x84, 0x72, 0x4F, 0x10, 0x44, 0xF3, 0x8C, /* 0170 */ 0x34, 0x8D, 0x73, 0x7A, 0x1B, 0x30, 0x41, 0x1D, /* 0178 */ 0xAF, 0x84, 0x02, 0x94, 0x40, 0x7A, 0xA9, 0xB2, /* 0180 */ 0xB1, 0x54, 0x8F, 0x94, 0xE6, 0x3F, 0x23, 0x68, /* 0188 */ 0x86, 0xE7, 0x10, 0xE2, 0x10, 0x13, 0x38, 0x39, /* 0190 */ 0x90, 0x4E, 0x1A, 0x3C, 0x33, 0x89, 0x52, 0x8F, /* 0198 */ 0x86, 0xC2, 0x39, 0xE7, 0x81, 0x83, 0x82, 0x18, /* 01A0 */ 0xD0, 0x21, 0x20, 0xE4, 0xE4, 0x1C, 0x80, 0x1A, /* 01A8 */ 0x84, 0x07, 0xF5, 0xBC, 0x60, 0x88, 0xD7, 0x00, /* 01B0 */ 0x8B, 0x3E, 0x2C, 0xD0, 0xE1, 0xF9, 0x18, 0xC0, /* 01B8 */ 0x35, 0x40, 0xE8, 0x5E, 0x60, 0x64, 0xAB, 0x01, /* 01C0 */ 0xA4, 0x60, 0xFC, 0x70, 0xC1, 0x09, 0xEA, 0xBA, /* 01C8 */ 0x0A, 0x40, 0x1F, 0xE6, 0x11, 0x78, 0x26, 0xEF, /* 01D0 */ 0x16, 0x2F, 0x16, 0x09, 0xEA, 0x3B, 0x0A, 0x80, /* 01D8 */ 0x02, 0xC8, 0x53, 0xB7, 0xD2, 0xE1, 0xD3, 0x31, /* 01E0 */ 0x84, 0x08, 0x13, 0xCD, 0xE8, 0x3C, 0xFC, 0x54, /* 01E8 */ 0x51, 0x71, 0xA7, 0x4A, 0x41, 0x3C, 0xD5, 0xFF, /* 01F0 */ 0x7F, 0x82, 0x51, 0xA6, 0x8A, 0x9E, 0x89, 0xA7, /* 01F8 */ 0xCA, 0xEF, 0x07, 0x26, 0xB0, 0xF0, 0x7B, 0x06, /* 0200 */ 0xB4, 0x4B, 0x41, 0xC4, 0x27, 0x02, 0x4F, 0xC3, /* 0208 */ 0x70, 0x9E, 0x2C, 0x87, 0xF3, 0x64, 0xF9, 0x58, /* 0210 */ 0x7C, 0x8F, 0x80, 0x3F, 0x5A, 0x2C, 0x41, 0x81, /* 0218 */ 0xB3, 0x05, 0x39, 0x3C, 0x46, 0xF0, 0x48, 0xA9, /* 0220 */ 0xAC, 0x71, 0xA1, 0x2E, 0x07, 0x3E, 0x53, 0x30, /* 0228 */ 0xEC, 0x57, 0x84, 0xA3, 0x79, 0x45, 0x38, 0xC3, /* 0230 */ 0xA7, 0x88, 0x83, 0x7A, 0xE6, 0xB0, 0x49, 0x9D, /* 0238 */ 0x26, 0xA5, 0xC2, 0x7A, 0xA4, 0x1C, 0xD6, 0x68, /* 0240 */ 0x61, 0x0F, 0xF8, 0x75, 0xC3, 0x67, 0x15, 0xCF, /* 0248 */ 0xCC, 0x18, 0x61, 0x3D, 0x5A, 0x07, 0x5A, 0xA7, /* 0250 */ 0x2E, 0x13, 0x38, 0x59, 0x40, 0xBA, 0x66, 0x1C, /* 0258 */ 0xD1, 0x31, 0x1D, 0x12, 0x13, 0x74, 0x99, 0xA0, /* 0260 */ 0x10, 0x96, 0x42, 0x21, 0x21, 0x10, 0x3A, 0x12, /* 0268 */ 0xF0, 0xE8, 0x60, 0x14, 0xC4, 0x23, 0x73, 0xAC, /* 0270 */ 0x23, 0x01, 0x5A, 0xD4, 0x1D, 0x82, 0x5E, 0x66, /* 0278 */ 0x70, 0x93, 0x7D, 0x88, 0x61, 0x20, 0xB1, 0xD8, /* 0280 */ 0xC5, 0x80, 0x1F, 0x0C, 0xC0, 0xFC, 0xFF, 0x27, /* 0288 */ 0x60, 0x07, 0x03, 0xC0, 0x93, 0x42, 0xA7, 0x52, /* 0290 */ 0x9D, 0x1E, 0x0C, 0xC0, 0x15, 0xF2, 0x60, 0x80, /* 0298 */ 0x96, 0x0A, 0xA4, 0x09, 0xD5, 0x78, 0x80, 0xD2, /* 02A0 */ 0xAD, 0x25, 0x81, 0x45, 0x1E, 0x0C, 0x50, 0xF2, /* 02A8 */ 0x28, 0x24, 0xEE, 0x60, 0x80, 0x92, 0x03, 0x47, /* 02B0 */ 0x41, 0x3C, 0x32, 0x47, 0x3D, 0x18, 0xA0, 0xC7, /* 02B8 */ 0x99, 0xE0, 0x20, 0x8F, 0xE5, 0x78, 0x0E, 0xEC, /* 02C0 */ 0xBD, 0xE6, 0x6C, 0x9E, 0x0A, 0x3C, 0xF4, 0x38, /* 02C8 */ 0x81, 0xF8, 0x8C, 0x0C, 0xF5, 0x6A, 0x13, 0xEA, /* 02D0 */ 0xF9, 0xC0, 0xA7, 0x22, 0x83, 0xBD, 0x23, 0x18, /* 02D8 */ 0xEA, 0xF1, 0x20, 0xA6, 0x27, 0xF7, 0xF2, 0xE5, /* 02E0 */ 0x13, 0x82, 0xD1, 0xF8, 0x11, 0x01, 0x38, 0xFF, /* 02E8 */ 0xFF, 0x8F, 0x08, 0xC0, 0xDA, 0xA9, 0x46, 0xAB, /* 02F0 */ 0x3A, 0x8F, 0x08, 0xE0, 0x8A, 0x74, 0x4D, 0x42, /* 02F8 */ 0x0B, 0x03, 0xD2, 0x38, 0x0E, 0xB7, 0xCF, 0x33, /* 0300 */ 0x9B, 0x08, 0x2C, 0x09, 0x48, 0xD7, 0x24, 0x2E, /* 0308 */ 0x86, 0x42, 0x32, 0x8E, 0x08, 0xA8, 0xE0, 0x07, /* 0310 */ 0x05, 0x0A, 0x62, 0x40, 0xA7, 0x3A, 0x22, 0xA0, /* 0318 */ 0x0F, 0x45, 0xF6, 0x7E, 0x24, 0x20, 0x77, 0x82, /* 0320 */ 0x23, 0x3B, 0x99, 0x33, 0x7B, 0x0F, 0x3B, 0xD9, /* 0328 */ 0xB7, 0x02, 0x0F, 0xC9, 0x57, 0x84, 0x30, 0xC1, /* 0330 */ 0x1E, 0x0C, 0x7C, 0x1E, 0xF3, 0x85, 0xCB, 0xE7, /* 0338 */ 0x25, 0xC0, 0x97, 0x88, 0x31, 0xA3, 0x62, 0x8F, /* 0340 */ 0x99, 0x82, 0x78, 0xCC, 0xBE, 0xE9, 0xFD, 0xFF, /* 0348 */ 0x8F, 0x19, 0xFB, 0x11, 0xF0, 0x74, 0x71, 0x57, /* 0350 */ 0x0C, 0x9F, 0x65, 0x80, 0xCB, 0x99, 0x09, 0x70, /* 0358 */ 0xE5, 0x55, 0xA2, 0x4F, 0x8F, 0x27, 0x0B, 0x70, /* 0360 */ 0x85, 0x3B, 0xCB, 0xA0, 0x25, 0x02, 0xC9, 0xE5, /* 0368 */ 0x9D, 0x49, 0x07, 0x3A, 0x13, 0xF8, 0x1C, 0xE3, /* 0370 */ 0xB3, 0x0C, 0x3F, 0x3A, 0x59, 0xD4, 0xB1, 0x00, /* 0378 */ 0x75, 0xB8, 0x30, 0x98, 0x41, 0x3C, 0x32, 0x47, /* 0380 */ 0x3C, 0x16, 0xA0, 0x47, 0xEC, 0xF3, 0xC0, 0x63, /* 0388 */ 0x81, 0x6F, 0x7B, 0x3E, 0xD1, 0xB1, 0x7B, 0x8C, /* 0390 */ 0xEF, 0x4C, 0xEC, 0x5C, 0x68, 0xA8, 0x57, 0x83, /* 0398 */ 0x48, 0x1E, 0xD5, 0x9B, 0x9F, 0x51, 0x1F, 0x67, /* 03A0 */ 0xDE, 0x63, 0xB0, 0xC7, 0x03, 0x78, 0xFF, 0xFF, /* 03A8 */ 0x73, 0x0C, 0x60, 0xD4, 0xA5, 0xC2, 0x17, 0xDA, /* 03B0 */ 0xE3, 0x01, 0xB8, 0x44, 0xAD, 0x42, 0xC7, 0x03, /* 03B8 */ 0x5C, 0xB4, 0xB5, 0x68, 0x42, 0x67, 0x76, 0xBA, /* 03C0 */ 0xCF, 0x31, 0x2C, 0xD4, 0x39, 0x06, 0x75, 0xE7, /* 03C8 */ 0x75, 0xA4, 0xE3, 0x01, 0x2A, 0xC4, 0xF1, 0x80, /* 03D0 */ 0x82, 0x78, 0x5C, 0x0E, 0x77, 0x3C, 0x40, 0xCB, /* 03D8 */ 0xBB, 0xDB, 0x92, 0x89, 0xF9, 0x06, 0xE2, 0x09, /* 03E0 */ 0x45, 0x79, 0x2A, 0x78, 0x2E, 0xE0, 0xC7, 0x18, /* 03E8 */ 0x1F, 0x0C, 0xDE, 0x98, 0x7C, 0x40, 0x78, 0x3E, /* 03F0 */ 0x78, 0x35, 0xC0, 0x80, 0x9D, 0x56, 0x1C, 0x43, /* 03F8 */ 0xBC, 0xCA, 0x00, 0xC7, 0xFF, 0xFF, 0xDD, 0x80, /* 0400 */ 0xA5, 0x18, 0x1E, 0x5A, 0xC7, 0xB1, 0x81, 0x0C, /* 0408 */ 0x2D, 0xC2, 0xD9, 0x9D, 0x9F, 0xA7, 0x04, 0xDE, /* 0410 */ 0x71, 0xFB, 0xB4, 0x03, 0x9C, 0x4F, 0x81, 0x3E, /* 0418 */ 0x19, 0xF0, 0xB0, 0x43, 0xA2, 0x20, 0x3E, 0x21, /* 0420 */ 0x38, 0xC8, 0x35, 0x15, 0xCA, 0x65, 0x00, 0x73, /* 0428 */ 0xF4, 0x00, 0xFB, 0x40, 0x7C, 0x22, 0x03, 0x44, /* 0430 */ 0x39, 0x94, 0x78, 0xD0, 0xD1, 0xFF, 0xFF, 0xE8, /* 0438 */ 0x01, 0xA6, 0x4C, 0x27, 0x32, 0xB4, 0xB2, 0xA3, /* 0440 */ 0x07, 0x19, 0xA5, 0xA7, 0x96, 0xC0, 0x9A, 0x8E, /* 0448 */ 0x1E, 0x28, 0x35, 0x14, 0xD2, 0x73, 0xF4, 0x40, /* 0450 */ 0x29, 0xB8, 0x0E, 0xF3, 0x83, 0x0E, 0x8D, 0x77, /* 0458 */ 0xD0, 0x81, 0x72, 0xF4, 0x80, 0x77, 0xED, 0xC0, /* 0460 */ 0x1D, 0xAA, 0xD8, 0xB8, 0xCE, 0xD0, 0x90, 0x87, /* 0468 */ 0xF6, 0x68, 0xE6, 0x03, 0x4F, 0x60, 0x5F, 0x8A, /* 0470 */ 0x01, 0xBF, 0x87, 0x73, 0x1F, 0x24, 0x7D, 0xDA, /* 0478 */ 0xE6, 0x37, 0x32, 0xE0, 0xF1, 0xFF, 0xBF, 0x59, /* 0480 */ 0x00, 0x82, 0x84, 0x5A, 0x74, 0x78, 0x75, 0x04, /* 0488 */ 0xFF, 0xCD, 0xF1, 0x88, 0x6A, 0x9D, 0x92, 0xAE, /* 0490 */ 0x8E, 0x70, 0xEE, 0xA9, 0x3E, 0x12, 0x70, 0x32, /* 0498 */ 0xC3, 0x99, 0xC2, 0x80, 0x4E, 0x77, 0x24, 0x40, /* 04A0 */ 0x5F, 0x17, 0x3C, 0x9E, 0x83, 0x79, 0xAC, 0x78, /* 04A8 */ 0xA4, 0xF0, 0x78, 0xCE, 0xF5, 0x3D, 0x2D, 0xD0, /* 04B0 */ 0x79, 0xF8, 0x8C, 0xE4, 0xC9, 0x87, 0x7A, 0x33, /* 04B8 */ 0xF0, 0xA0, 0x0C, 0x14, 0x8B, 0x69, 0x3F, 0x02, /* 04C0 */ 0x92, 0xEB, 0x99, 0x4F, 0x64, 0xEC, 0x64, 0x01, /* 04C8 */ 0x18, 0xF9, 0xFF, 0xDF, 0xDE, 0x01, 0x0E, 0xF9, /* 04D0 */ 0x74, 0xAA, 0x55, 0xE9, 0xC9, 0x02, 0x5C, 0x8A, /* 04D8 */ 0x2F, 0x73, 0xE8, 0xDC, 0x6B, 0xD1, 0xC1, 0xE2, /* 04E0 */ 0x90, 0x30, 0x89, 0x4F, 0x16, 0xA8, 0xAC, 0x14, /* 04E8 */ 0x4A, 0x76, 0xB2, 0x40, 0x65, 0x39, 0x59, 0x50, /* 04F0 */ 0x10, 0x8F, 0xCB, 0xB7, 0x77, 0xFC, 0xE8, 0x7D, /* 04F8 */ 0xC0, 0x7D, 0x05, 0x62, 0x87, 0x47, 0x8F, 0x08, /* 0500 */ 0xC6, 0xAD, 0x02, 0xFB, 0xFF, 0xBF, 0x55, 0x00, /* 0508 */ 0xD7, 0xBB, 0x2C, 0xFE, 0xA2, 0xEF, 0x1B, 0xC1, /* 0510 */ 0x33, 0x37, 0x9C, 0x91, 0x01, 0x8F, 0x03, 0x1D, /* 0518 */ 0xF0, 0x16, 0x74, 0x39, 0x40, 0x49, 0xB8, 0x1C, /* 0520 */ 0x50, 0x10, 0x9F, 0xB7, 0xE0, 0x88, 0x9B, 0x21, /* 0528 */ 0xB9, 0x1A, 0x80, 0xE3, 0x92, 0x60, 0x0C, 0xDF, /* 0530 */ 0x66, 0xF8, 0xD9, 0x0E, 0x38, 0xFC, 0xFF, 0x2F, /* 0538 */ 0x22, 0x80, 0x25, 0xAD, 0x16, 0x95, 0x3A, 0xBD, /* 0540 */ 0x88, 0x80, 0x2B, 0xCC, 0x8D, 0x09, 0x7D, 0x5B, /* 0548 */ 0xF2, 0xD9, 0xCE, 0xD3, 0x3F, 0xB4, 0x03, 0x20, /* 0550 */ 0x17, 0x11, 0x94, 0x0C, 0x0A, 0x09, 0x39, 0x1C, /* 0558 */ 0xA0, 0xCE, 0x8F, 0x86, 0x33, 0x88, 0x01, 0x9D, /* 0560 */ 0xEB, 0x70, 0x80, 0x9E, 0xB2, 0x87, 0x72, 0x66, /* 0568 */ 0x8F, 0x76, 0x3E, 0x13, 0xFB, 0x40, 0x77, 0xB0, /* 0570 */ 0x2F, 0xA8, 0x46, 0x7A, 0x1C, 0x39, 0xBA, 0x33, /* 0578 */ 0x3A, 0xA5, 0x57, 0x33, 0x23, 0xC4, 0x3A, 0x2E, /* 0580 */ 0x5F, 0x10, 0x7C, 0x7A, 0x07, 0xDC, 0xFC, 0xFF, /* 0588 */ 0xEF, 0x75, 0x00, 0x7F, 0x14, 0xCA, 0x3C, 0x56, /* 0590 */ 0x80, 0x2B, 0xC0, 0xB1, 0x02, 0x7D, 0x9E, 0xF0, /* 0598 */ 0x84, 0x0E, 0xF7, 0xB9, 0xC2, 0xAF, 0x12, 0x7E, /* 05A0 */ 0xAC, 0xE0, 0xD1, 0x49, 0x74, 0x24, 0x80, 0x9B, /* 05A8 */ 0xE5, 0x48, 0x80, 0xBE, 0x40, 0xF8, 0x58, 0x81, /* 05B0 */ 0xBF, 0x7A, 0xF2, 0x03, 0x05, 0xCC, 0xFF, 0xFF, /* 05B8 */ 0x75, 0x0E, 0x60, 0xAF, 0x53, 0x89, 0x17, 0x8A, /* 05C0 */ 0x07, 0x0A, 0x70, 0x85, 0x38, 0x50, 0xA0, 0xA5, /* 05C8 */ 0x28, 0xF8, 0xFF, 0x1F, 0x87, 0x7D, 0xA0, 0xC0, /* 05D0 */ 0x88, 0x38, 0x50, 0xA0, 0xE2, 0x93, 0xF8, 0xD8, /* 05D8 */ 0x83, 0x8A, 0x3C, 0x6E, 0x0A, 0x62, 0x40, 0xE7, /* 05E0 */ 0x39, 0x12, 0xA0, 0x15, 0x5D, 0xE7, 0x50, 0x47, /* 05E8 */ 0x0A, 0x80, 0xA9, 0xFF, 0xFF, 0x23, 0x05, 0xB0, /* 05F0 */ 0xF0, 0x78, 0xA4, 0x00, 0x5D, 0x9C, 0x75, 0xEA, /* 05F8 */ 0x48, 0x81, 0x13, 0x05, 0xA4, 0x23, 0xC5, 0x91, /* 0600 */ 0x1D, 0xDA, 0xF1, 0xB2, 0x5B, 0xB1, 0xFF, 0x13, /* 0608 */ 0xF4, 0x5C, 0x46, 0x64, 0x1C, 0x29, 0x50, 0xC1, /* 0610 */ 0xC1, 0x28, 0x88, 0x47, 0xE6, 0x50, 0x47, 0x02, /* 0618 */ 0xB4, 0xA4, 0x43, 0x15, 0xBD, 0x11, 0x18, 0xE4, /* 0620 */ 0xE1, 0xCF, 0x33, 0x7A, 0x2A, 0x78, 0x2B, 0xF3, /* 0628 */ 0xE1, 0xDD, 0x63, 0x3D, 0x91, 0x17, 0x01, 0x76, /* 0630 */ 0x2E, 0x00, 0x37, 0x81, 0xCF, 0x05, 0x80, 0x28, /* 0638 */ 0x99, 0x0E, 0x25, 0x9E, 0x0B, 0x60, 0xFE, 0xFF, /* 0640 */ 0xCF, 0x05, 0x30, 0xC4, 0x9F, 0x5C, 0xD0, 0x12, /* 0648 */ 0x80, 0x34, 0xA7, 0x3A, 0x2F, 0xB6, 0xC2, 0x7E, /* 0650 */ 0xEA, 0x20, 0xE7, 0x02, 0x3A, 0x22, 0xC7, 0x26, /* 0658 */ 0xD1, 0x91, 0xC0, 0xE7, 0x02, 0x1E, 0xF5, 0x5C, /* 0660 */ 0x40, 0x41, 0x0C, 0xE8, 0x1C, 0xE7, 0x02, 0xB4, /* 0668 */ 0x92, 0x93, 0x07, 0x19, 0xEC, 0x91, 0x3E, 0xB5, /* 0670 */ 0x00, 0xA6, 0xCF, 0x7D, 0x80, 0x9D, 0xFF, 0xFF, /* 0678 */ 0x71, 0x02, 0x98, 0x19, 0xD4, 0xA9, 0xD5, 0xE4, /* 0680 */ 0x71, 0x02, 0x5C, 0x79, 0x8E, 0x13, 0x68, 0x55, /* 0688 */ 0x40, 0x1A, 0xD9, 0xB3, 0xAE, 0x35, 0x42, 0x11, /* 0690 */ 0x3D, 0xE7, 0x2A, 0x94, 0x12, 0x0A, 0x69, 0x39, /* 0698 */ 0xB5, 0xA0, 0xD2, 0x8F, 0x9B, 0x82, 0x18, 0xD0, /* 06A0 */ 0xD1, 0x4E, 0xC2, 0x50, 0xC6, 0xF0, 0x04, 0xEC, /* 06A8 */ 0xC9, 0x3C, 0x14, 0x04, 0x79, 0x65, 0xF1, 0x0D, /* 06B0 */ 0x98, 0xDF, 0x82, 0xD9, 0x94, 0x7C, 0x77, 0xF1, /* 06B8 */ 0xD5, 0x25, 0x9C, 0x35, 0x5F, 0xAF, 0xC8, 0x1D, /* 06C0 */ 0xEB, 0x0D, 0xC9, 0xF7, 0x0A, 0xC0, 0xEE, 0xFF, /* 06C8 */ 0xFF, 0x72, 0x05, 0x78, 0x77, 0xA8, 0xD0, 0xA4, /* 06D0 */ 0xC6, 0x7B, 0x05, 0xB8, 0x84, 0xAC, 0x42, 0xF7, /* 06D8 */ 0x0A, 0x5C, 0x9C, 0xB5, 0x68, 0x16, 0xE7, 0xF1, /* 06E0 */ 0x76, 0xF5, 0x5E, 0xC1, 0x82, 0xDC, 0x2B, 0x50, /* 06E8 */ 0x11, 0x28, 0x14, 0xE2, 0x5E, 0x81, 0x92, 0x7D, /* 06F0 */ 0xF9, 0xA1, 0x20, 0x1E, 0x97, 0x83, 0x1C, 0x09, /* 06F8 */ 0xD0, 0x52, 0x40, 0x74, 0x01, 0x78, 0x76, 0xF6, /* 0700 */ 0x8D, 0xDF, 0x20, 0xE7, 0xFA, 0x12, 0xC0, 0xAE, /* 0708 */ 0x13, 0xC0, 0xF1, 0xFF, 0x7F, 0x23, 0xF0, 0x15, /* 0710 */ 0x16, 0xCE, 0xDD, 0x03, 0x3F, 0xD3, 0x97, 0x0E, /* 0718 */ 0x36, 0x2B, 0xF0, 0x0E, 0xD8, 0x77, 0x23, 0xC0, /* 0720 */ 0xF7, 0x48, 0x7C, 0xE8, 0x00, 0xFC, 0xFC, 0xFF, /* 0728 */ 0x0F, 0x1D, 0xDC, 0xA6, 0x57, 0x8F, 0x87, 0x0E, /* 0730 */ 0x90, 0x65, 0xB8, 0x1B, 0xA1, 0x2F, 0x45, 0x3E, /* 0738 */ 0xC2, 0x7A, 0x4C, 0x87, 0xC4, 0x34, 0x1C, 0x3A, /* 0740 */ 0x50, 0xE9, 0x49, 0x94, 0xFC, 0x48, 0x80, 0xCA, /* 0748 */ 0x7A, 0x24, 0xA0, 0x20, 0x06, 0xF4, 0xA1, 0x03, /* 0750 */ 0xF0, 0x71, 0x9D, 0x00, 0x16, 0x12, 0x2E, 0x2C, /* 0758 */ 0xA8, 0xD0, 0x93, 0xA5, 0x20, 0x9E, 0xAC, 0x03, /* 0760 */ 0x4D, 0x16, 0x7D, 0x81, 0xF0, 0x99, 0xCF, 0x93, /* 0768 */ 0xC5, 0x9C, 0x28, 0x1E, 0x8B, 0x70, 0xB7, 0x22, /* 0770 */ 0x60, 0xF6, 0xFF, 0xBF, 0x51, 0x00, 0x36, 0x7E, /* 0778 */ 0xB0, 0xA5, 0x3A, 0xBD, 0x51, 0x80, 0x4B, 0xCA, /* 0780 */ 0xAD, 0x08, 0x1D, 0xE8, 0x46, 0x41, 0x86, 0xF4, /* 0788 */ 0x6C, 0x79, 0x48, 0x2C, 0xCA, 0x8D, 0x02, 0x75, /* 0790 */ 0xDE, 0x76, 0x8C, 0x53, 0x01, 0x4A, 0xF8, 0xAD, /* 0798 */ 0x88, 0x82, 0xF8, 0x56, 0x04, 0x38, 0x49, 0x33, /* 07A0 */ 0x28, 0xB4, 0x9E, 0x5B, 0x11, 0x94, 0x9B, 0x03, /* 07A8 */ 0x76, 0x5A, 0xE0, 0xFC, 0xFF, 0x5F, 0x8B, 0x00, /* 07B0 */ 0x86, 0x4A, 0xB4, 0xA8, 0xF5, 0xD4, 0x01, 0xB2, /* 07B8 */ 0x00, 0xAB, 0xA0, 0x67, 0x19, 0x4B, 0x86, 0x41, /* 07C0 */ 0x49, 0x80, 0xD0, 0xB9, 0xDB, 0x43, 0xE0, 0x23, /* 07C8 */ 0xF4, 0x9C, 0xFF, 0xFF, 0xCD, 0x9F, 0x36, 0xC9, /* 07D0 */ 0x74, 0x7C, 0xD2, 0x38, 0x00, 0x26, 0x6D, 0x6C, /* 07D8 */ 0xA8, 0x13, 0x87, 0x07, 0xF9, 0x2E, 0xE1, 0x1B, /* 07E0 */ 0x87, 0x2F, 0x36, 0x86, 0x49, 0xE0, 0xB1, 0x31, /* 07E8 */ 0x34, 0x7E, 0x22, 0x80, 0x01, 0x78, 0x88, 0xEF, /* 07F0 */ 0xCE, 0x1E, 0x84, 0x67, 0x76, 0x10, 0x98, 0x93, /* 07F8 */ 0x89, 0x2F, 0x7F, 0xAD, 0x1E, 0x09, 0x10, 0xEE, /* 0800 */ 0x6F, 0x04, 0x3A, 0x92, 0xBE, 0x08, 0x3C, 0xAA, /* 0808 */ 0x1A, 0xC4, 0xD6, 0x04, 0xD8, 0x9A, 0xBC, 0x80, /* 0810 */ 0x7C, 0x1A, 0x88, 0x72, 0x4A, 0x81, 0x1E, 0xCE, /* 0818 */ 0x8D, 0xD2, 0x9C, 0x00, 0x63, 0x50, 0x08, 0x90, /* 0820 */ 0x58, 0xEF, 0x01, 0xB5, 0x81, 0x09, 0x2A, 0x58, /* 0828 */ 0x98, 0x20, 0x86, 0x6A, 0x7F, 0x10, 0x44, 0xFE, /* 0830 */ 0x33, 0x40, 0xD7, 0x0C, 0x47, 0x1A, 0x0D, 0xEA, /* 0838 */ 0x20, 0xC4, 0x47, 0x73, 0xAA, 0x0F, 0x1F, 0x0C, /* 0840 */ 0xE4, 0x21, 0xC5, 0x97, 0xEC, 0xC3, 0xF5, 0x81, /* 0848 */ 0xDA, 0x04, 0x0F, 0x0F, 0x3E, 0x43, 0xC0, 0x71, /* 0850 */ 0x0D, 0xA8, 0x89, 0x1F, 0x22, 0xFB, 0xC9, 0x18, /* 0858 */ 0x8E, 0x0F, 0xD1, 0x87, 0x0A, 0x4F, 0xE0, 0x6D, /* 0860 */ 0xC0, 0x80, 0xEC, 0x10, 0x01, 0x7F, 0x3C, 0x86, /* 0868 */ 0x7E, 0x8A, 0xF0, 0x0D, 0xD0, 0x63, 0xD3, 0x20, /* 0870 */ 0x50, 0x27, 0x0D, 0x3E, 0xCC, 0xD3, 0x8A, 0x19, /* 0878 */ 0xF2, 0x29, 0xE0, 0xB0, 0x98, 0xD8, 0xB3, 0x03, /* 0880 */ 0x1D, 0x0F, 0xF8, 0x15, 0x1F, 0x0D, 0x74, 0x79, /* 0888 */ 0x31, 0xB6, 0xCF, 0x2C, 0x8E, 0x70, 0x10, 0x41, /* 0890 */ 0xFC, 0xFF, 0xC7, 0x83, 0x01, 0x3D, 0x1B, 0x9F, /* 0898 */ 0x21, 0x7C, 0x2F, 0x60, 0x47, 0x0B, 0x2E, 0xEA, /* 08A0 */ 0x68, 0x81, 0x3A, 0x34, 0xF8, 0xBC, 0xC0, 0x10, /* 08A8 */ 0x1F, 0x67, 0x0C, 0xF1, 0x64, 0xC1, 0x4E, 0x52, /* 08B0 */ 0xE0, 0x1C, 0x89, 0x0F, 0x21, 0xF0, 0x41, 0x5E, /* 08B8 */ 0x56, 0x0C, 0x11, 0x24, 0xF8, 0x33, 0xC1, 0xE9, /* 08C0 */ 0xB0, 0xA1, 0x61, 0x08, 0x8A, 0x1C, 0x01, 0xEA, /* 08C8 */ 0xD8, 0xE1, 0x11, 0xF0, 0x73, 0xC2, 0x03, 0x09, /* 08D0 */ 0x1B, 0xC1, 0x3B, 0x89, 0x27, 0x71, 0x40, 0x3E, /* 08D8 */ 0x5B, 0x18, 0x21, 0x76, 0xB9, 0x47, 0x0C, 0x72, /* 08E0 */ 0x51, 0x3E, 0xBE, 0x67, 0x18, 0xCC, 0x98, 0x70, /* 08E8 */ 0x27, 0x06, 0x0F, 0x81, 0x0F, 0xE0, 0xD9, 0xE2, /* 08F0 */ 0xFC, 0x7C, 0x42, 0x39, 0x2B, 0xDC, 0x88, 0xF9, /* 08F8 */ 0x94, 0x70, 0x03, 0xC0, 0x28, 0xB4, 0xE9, 0x53, /* 0900 */ 0xA3, 0x51, 0xAB, 0x06, 0x65, 0x6A, 0x94, 0x69, /* 0908 */ 0x50, 0xAB, 0x4F, 0xA5, 0xC6, 0x8C, 0x0D, 0xE9, /* 0910 */ 0x71, 0x8A, 0x9D, 0x00, 0x2C, 0xE2, 0x11, 0x20, /* 0918 */ 0x10, 0x8B, 0xA5, 0x90, 0x91, 0x51, 0x19, 0x44, /* 0920 */ 0x40, 0x56, 0xF9, 0x2E, 0x11, 0x90, 0x35, 0x83, /* 0928 */ 0x08, 0xC8, 0xA9, 0x2D, 0x00, 0x31, 0x0D, 0x6F, /* 0930 */ 0x0C, 0x01, 0x39, 0x99, 0x07, 0x20, 0x96, 0x13, /* 0938 */ 0x44, 0x40, 0x96, 0x6A, 0x02, 0x88, 0xE9, 0x06, /* 0940 */ 0x11, 0x90, 0xB5, 0xAA, 0x18, 0x04, 0x05, 0x11, /* 0948 */ 0x90, 0x75, 0xBC, 0x1C, 0x04, 0x64, 0x55, 0x20, /* 0950 */ 0x02, 0x72, 0x3E, 0x1B, 0x40, 0x2C, 0x2C, 0x88, /* 0958 */ 0x80, 0x2C, 0x52, 0x07, 0x10, 0x53, 0xAC, 0xE3, /* 0960 */ 0xFF, 0x0F, 0xC4, 0xB4, 0xF9, 0x00, 0x62, 0x4A, /* 0968 */ 0x41, 0x34, 0x20, 0xF2, 0x28, 0x10, 0x90, 0x25, /* 0970 */ 0x50, 0x08, 0xC8, 0x71, 0x41, 0x04, 0xE4, 0xF0, /* 0978 */ 0x40, 0x34, 0xC7, 0xFB, 0x41, 0x40, 0x0E, 0x05, /* 0980 */ 0x22, 0x20, 0x07, 0x78, 0x36, 0x08, 0xC8, 0x71, /* 0988 */ 0x40, 0x04, 0x64, 0x49, 0x5A, 0x80, 0x98, 0x3E, /* 0990 */ 0x10, 0x01, 0x39, 0x24, 0x10, 0x4D, 0x0C, 0x44, /* 0998 */ 0x13, 0x7B, 0x01, 0x62, 0xF9, 0x41, 0x04, 0xE4, /* 09A0 */ 0x10, 0x66, 0x80, 0x58, 0x22, 0x10, 0x01, 0x59, /* 09A8 */ 0xFD, 0xD7, 0x4A, 0x40, 0xCE, 0x02, 0xA2, 0xE1, /* 09B0 */ 0x93, 0x57, 0x81, 0x80, 0xAC, 0x08, 0x44, 0x40, /* 09B8 */ 0x4E, 0x0F, 0x44, 0xB5, 0xD8, 0x39, 0x9F, 0xD1, /* 09C0 */ 0x77, 0x97, 0x80, 0x9C, 0x0A, 0x44, 0x40, 0x4E, /* 09C8 */ 0xE0, 0x07, 0x88, 0xE5, 0x01, 0x11, 0x90, 0xF5, /* 09D0 */ 0x18, 0x02, 0x62, 0xEA, 0x40, 0x04, 0xE4, 0x48, /* 09D8 */ 0x8A, 0x80, 0x58, 0x3E, 0x10, 0x01, 0x39, 0x8B, /* 09E0 */ 0x23, 0x20, 0x96, 0x0C, 0x44, 0x40, 0x56, 0x68, /* 09E8 */ 0x09, 0x88, 0xC9, 0x05, 0x11, 0x90, 0xA5, 0x69, /* 09F0 */ 0x02, 0x62, 0x42, 0x41, 0x04, 0xE4, 0x78, 0x9E, /* 09F8 */ 0x80, 0x58, 0x56, 0x10, 0x01, 0x59, 0xE9, 0xCB, /* 0A00 */ 0x43, 0x40, 0x96, 0x0D, 0x22, 0x20, 0x4B, 0x34, /* 0A08 */ 0x05, 0xC4, 0x04, 0x83, 0x08, 0xC8, 0x31, 0x55, /* 0A10 */ 0x01, 0xB1, 0xCC, 0x20, 0x02, 0x72, 0x4A, 0x57, /* 0A18 */ 0x40, 0x14, 0x44, 0x03, 0x20, 0xCF, 0x9C, 0x03, /* 0A20 */ 0x60, 0x20, 0x02, 0x72, 0x6C, 0x20, 0xAA, 0xE1, /* 0A28 */ 0x59, 0x26, 0x20, 0xE7, 0x05, 0x11, 0x90, 0xD3, /* 0A30 */ 0x03, 0x51, 0x95, 0x9F, 0x9D, 0x20, 0x24, 0x23, /* 0A38 */ 0x08, 0x55, 0xF9, 0x09, 0x11, 0x88, 0xFF, 0xFF }) Method (IANE, 1, Serialized) { IANQ (Arg0) Notify (ATKD, 0xFF) } Method (INIT, 1, NotSerialized) { Store (One, ATKP) Return (One) } Method (BSTS, 0, NotSerialized) { If (ACPF) { Store (Zero, Local0) } Else { Store (^^PCI0.LPCB.EC0.ST8E (0x05, Zero), Local0) If (LEqual (And (Local0, 0xFF), 0x34)) { Store (0x05, Local0) } Else { Store (Zero, Local0) } } Return (Local0) } Method (SFUN, 0, NotSerialized) { Store (0x21, Local0) If (ALSP) { Or (Local0, 0x2000, Local0) } Return (Local0) } Method (WDOG, 1, NotSerialized) { Return (Zero) } Method (KBNI, 0, NotSerialized) { Return (One) } Name (CA1M, Zero) Method (RMEM, 1, NotSerialized) { OperationRegion (VMEM, SystemMemory, Arg0, 0x04) Field (VMEM, ByteAcc, NoLock, Preserve) { MEMI, 32 } Store (MEMI, Local0) Return (Local0) } Method (WMEM, 2, NotSerialized) { OperationRegion (VMEM, SystemMemory, Arg0, 0x04) Field (VMEM, ByteAcc, NoLock, Preserve) { MEMI, 32 } Store (Arg1, MEMI) } Name (MEMD, Package (0x41) { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Method (SCDG, 2, NotSerialized) { Return (Zero) } Method (SPEC, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (0x00090000) } ElseIf (LEqual (Arg0, One)) { Return (One) } Return (0xFFFFFFFE) } Method (OSVR, 1, NotSerialized) { If (LEqual (OSFG, Zero)) { Store (Arg0, OSFG) } } Method (VERS, 2, NotSerialized) { If (LEqual (Arg0, Zero)) { Return (0x00090000) } Return (0xFFFFFFFE) } Method (SPBL, 1, NotSerialized) { If (LEqual (Arg0, 0x80)) { If (LGreaterEqual (MSOS (), OSVT)) { Return (Zero) } Return (One) } If (LGreater (Arg0, 0x0F)) { Return (Zero) } If (LLess (Arg0, Zero)) { Return (Zero) } } Method (SDSP, 1, NotSerialized) { If (NATK ()) { Return (SWHG (Arg0)) } Return (Zero) } Method (GDSP, 1, NotSerialized) { If (NATK ()) { If (LEqual (Arg0, 0x80)) { Return (One) } ElseIf (LEqual (Arg0, 0x02)) { Return (GCDM ()) } Else { Return (Zero) } } Return (Zero) } Method (GLCD, 0, NotSerialized) { Return (LCDV) } Method (ANVI, 1, Serialized) { Store (0x04, SMIF) Return (ASMI (Arg0)) } Method (CBIF, 1, Serialized) { Return (Zero) } } } Scope (_SB) { Device (ASHS) { Name (_HID, "ATK4002") // _HID: Hardware ID Method (HSWC, 1, Serialized) { If (LLess (Arg0, 0x02)) { Return (SWBL (Arg0)) } If (LEqual (Arg0, 0x02)) { If (LEqual (GWBL (), Zero)) { Return (0x04) } Else { Return (0x05) } } If (LEqual (Arg0, 0x03)) { Return (0xFF) } If (LEqual (Arg0, 0x04)) { Return (SWBL (Zero)) } If (LEqual (Arg0, 0x05)) { Return (SWBL (One)) } If (LEqual (Arg0, 0x80)) { Return (One) } } Method (_STA, 0, NotSerialized) // _STA: Status { If (LGreaterEqual (MSOS (), OSW8)) { Return (0x0F) } Else { Return (Zero) } } } } Scope (\) { Method (OHWS, 0, Serialized) { Return (Zero) } Method (GWBL, 0, Serialized) { Return (\_SB.GGOV (0x0203000E)) } Method (SWBL, 1, Serialized) { If (LEqual (Arg0, Zero)) { \_SB.SGOV (0x0203000E, Zero) } ElseIf (LEqual (Arg0, One)) { \_SB.SGOV (0x0203000E, One) } Return (One) } } Scope (\) { OperationRegion (DBIO, SystemIO, 0x0240, 0x08) Field (DBIO, ByteAcc, NoLock, Preserve) { SOUT, 8, Offset (0x05), SSAT, 8 } Method (GETC, 2, NotSerialized) { CreateByteField (Arg0, Arg1, TCHR) Return (TCHR) } Method (THRE, 0, NotSerialized) { And (SSAT, 0x20, Local0) While (LEqual (Local0, Zero)) { And (SSAT, 0x20, Local0) } } Method (OUTX, 1, NotSerialized) { THRE () Store (Arg0, SOUT) } Method (OUTC, 1, NotSerialized) { If (LEqual (Arg0, 0x0A)) { OUTX (0x0D) } OUTX (Arg0) } Method (DBGN, 1, NotSerialized) { And (Arg0, 0x0F, Local0) If (LLess (Local0, 0x0A)) { Add (Local0, 0x30, Local0) } Else { Add (Local0, 0x37, Local0) } OUTC (Local0) } Method (DBGB, 1, NotSerialized) { ShiftRight (Arg0, 0x04, Local0) DBGN (Local0) DBGN (Arg0) } Method (DBGW, 1, NotSerialized) { ShiftRight (Arg0, 0x08, Local0) DBGB (Local0) DBGB (Arg0) } Method (DBGD, 1, NotSerialized) { ShiftRight (Arg0, 0x10, Local0) DBGW (Local0) DBGW (Arg0) } Method (DBGQ, 1, NotSerialized) { ShiftRight (Arg0, 0x30, Local0) DBGW (Local0) ShiftRight (Arg0, 0x20, Local0) DBGW (Local0) ShiftRight (Arg0, 0x10, Local0) DBGW (Local0) DBGW (Arg0) } Name (DBGZ, Buffer (0x50){}) Method (AMLI, 1, NotSerialized) { If (LEqual (ObjectType (Arg0), One)) { If (LGreater (Arg0, 0xFFFFFFFF)) { DBGQ (Arg0) } ElseIf (LGreater (Arg0, 0xFFFF)) { DBGD (Arg0) } ElseIf (LGreater (Arg0, 0xFF)) { DBGW (Arg0) } Else { DBGB (Arg0) } Return (Zero) } If (LEqual (ObjectType (Arg0), 0x02)) { Store (Arg0, DBGZ) Store (Zero, Local1) While (One) { Store (GETC (DBGZ, Local1), Local0) If (LEqual (Local0, Zero)) { Return (Zero) } OUTC (Local0) Increment (Local1) } Return (Zero) } If (LEqual (ObjectType (Arg0), 0x03)) { Store (Zero, Local0) While (LLess (Local0, SizeOf (Arg0))) { Store (GETC (Arg0, Local0), Local1) If (LGreater (Local0, Zero)) { OUTC (0x20) } DBGB (Local1) Increment (Local0) } Return (Zero) } If (LEqual (ObjectType (Arg0), 0x04)) { Store (Zero, Local0) While (LLess (Local0, SizeOf (Arg0))) { OUTC (0x20) OUTC (0x20) AMLI (DerefOf (Index (Arg0, Local0))) OUTC (0x0A) Increment (Local0) } Return (Zero) } Return (One) } } OperationRegion (ASDB, SystemIO, 0xB2, 0x02) Field (ASDB, ByteAcc, Lock, Preserve) { ASB2, 8, ASB3, 8 } Method (SBDS, 1, NotSerialized) { Store (ASB3, Local0) Store (Add (0xD0, Arg0), ASB3) Store (0xE0, ASB2) Store (Local0, ASB3) } Method (SBDW, 1, NotSerialized) { Store (ASB3, Local0) Store (Add (0xF0, Arg0), ASB3) Store (0xE0, ASB2) Store (Local0, ASB3) } Scope (_SB.PCI0.LPCB) { Device (EC0) { Name (_HID, EisaId ("PNP0C09")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { 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 (_GPE, 0, NotSerialized) // _GPE: General Purpose Events { Store (0x50, Local0) Return (Local0) } Mutex (MUEC, 0x00) Mutex (MU4T, 0x00) Name (ECFL, Ones) Method (ECAV, 0, NotSerialized) { If (LGreaterEqual (SLPT, 0x04)) { Return (Zero) } If (LEqual (NVLK, One)) { Return (Zero) } If (LEqual (ECFL, Ones)) { If (LGreaterEqual (_REV, 0x02)) { Return (One) } Else { Return (Zero) } Return (Zero) } Return (ECFL) } OperationRegion (ECOR, EmbeddedControl, Zero, 0xFF) Field (ECOR, ByteAcc, Lock, Preserve) { Offset (0x04), CMD1, 8, CDT1, 8, CDT2, 8, CDT3, 8, Offset (0x80), Offset (0x81), Offset (0x82), Offset (0x83), EB0R, 8, EB1R, 8, EPWF, 8, Offset (0x87), Offset (0x88), Offset (0x89), Offset (0x93), TAH0, 16, TAH1, 16, TSTP, 8, Offset (0x9C), CDT4, 8, CDT5, 8, Offset (0xA0), Offset (0xA1), Offset (0xA2), Offset (0xA3), EACT, 8, TH1R, 8, TH1L, 8, TH0R, 8, TH0L, 8, Offset (0xB0), B0PN, 16, Offset (0xB4), Offset (0xB6), Offset (0xB8), Offset (0xBA), Offset (0xBC), Offset (0xBE), B0TM, 16, B0C1, 16, B0C2, 16, B0C3, 16, B0C4, 16, Offset (0xD0), B1PN, 16, Offset (0xD4), Offset (0xD6), Offset (0xD8), Offset (0xDA), Offset (0xDC), Offset (0xDE), B1TM, 16, B1C1, 16, B1C2, 16, B1C3, 16, B1C4, 16, Offset (0xF0), Offset (0xF2), Offset (0xF4), B0SN, 16, Offset (0xF8), Offset (0xFA), Offset (0xFC), B1SN, 16 } Name (SMBF, Zero) OperationRegion (SMBX, EmbeddedControl, 0x18, 0x28) Field (SMBX, ByteAcc, NoLock, Preserve) { PRTC, 8, SSTS, 5, , 1, ALFG, 1, CDFG, 1, ADDR, 8, CMDB, 8, BDAT, 256, BCNT, 8, , 1, ALAD, 7, ALD0, 8, ALD1, 8 } OperationRegion (SMB2, EmbeddedControl, 0x40, 0x28) Field (SMB2, ByteAcc, NoLock, Preserve) { PRT2, 8, SST2, 5, , 1, ALF2, 1, CDF2, 1, ADD2, 8, CMD2, 8, BDA2, 256, BCN2, 8, , 1, ALA2, 7, ALR0, 8, ALR1, 8 } Field (SMB2, ByteAcc, NoLock, Preserve) { Offset (0x04), DA20, 8, DA21, 8 } Field (SMBX, ByteAcc, NoLock, Preserve) { Offset (0x04), DAT0, 8, DAT1, 8 } Field (SMBX, ByteAcc, NoLock, Preserve) { Offset (0x04), DT2B, 16 } OperationRegion (NSBS, EmbeddedControl, 0x40, 0x04) Field (NSBS, ByteAcc, NoLock, Preserve) { A2AD, 8, A2D0, 8, A2D1, 8, A3AD, 8 } OperationRegion (BRIH, SystemIO, 0x0381, One) Field (BRIH, ByteAcc, Lock, Preserve) { BRAH, 8 } OperationRegion (BRAM, SystemIO, 0x0382, 0x02) Field (BRAM, ByteAcc, Lock, Preserve) { BRAI, 8, BRAD, 8 } IndexField (BRAI, BRAD, ByteAcc, NoLock, Preserve) { Offset (0x90), EPWS, 8, EB0S, 8, EB1S, 8, EB0T, 8, EB1T, 8, Offset (0x98), ECPU, 8, ECRT, 8, EPSV, 8, Offset (0x9C), THL0, 8, THH0, 8, THL1, 8, THH1, 8, B0VL, 16, B0RC, 16, B0FC, 16, B0MD, 16, B0ST, 16, B0CC, 16, B0DC, 16, B0DV, 16, B1VL, 16, B1RC, 16, B1FC, 16, B1MD, 16, B1ST, 16, B1CC, 16, B1DC, 16, B1DV, 16 } Mutex (CMUT, 0x00) Method (_INI, 0, NotSerialized) // _INI: Initialize { If (LLessEqual (MSOS (), OSME)) { Store (One, ECFL) } KINI () } Method (_REG, 2, NotSerialized) // _REG: Region Availability { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECFL) } } } } Scope (_SB.PCI0.LPCB.EC0) { Device (AC0) { Name (_HID, "ACPI0003") // _HID: Hardware ID Method (_PSR, 0, NotSerialized) // _PSR: Power Source { Return (ACPF) } Name (_PCL, Package (0x01) // _PCL: Power Consumer List { PCI0 }) } Device (LID) { Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Store (One, Local0) Store (RPIN (0x11), Local0) If (LEqual (Local0, Ones)) { Store (One, Local0) } Return (Local0) } } Method (KINI, 0, Serialized) { If (LGreaterEqual (MSOS (), OSW8)) { STB1 (0x02) STB1 (0x04) Store (Zero, FNIV) } Else { STB1 (0x02) STB1 (0x03) Store (Zero, FNIV) } } Method (GLID, 0, Serialized) { Return (RPIN (0x11)) } Method (GLKB, 1, NotSerialized) { If (LEqual (Arg0, One)) { And (KBLC, 0x80, Local0) If (Local0) { Return (One) } Else { Return (Zero) } } ElseIf (LEqual (Arg0, 0x02)) { Return (KBLV) } ElseIf (LEqual (Arg0, 0x03)) { If (ALAE) { Store (RALS (), Local0) If (LLessEqual (Local0, 0x64)) { Return (Zero) } ElseIf (LAnd (LLessEqual (Local0, 0x012C), LGreater (Local0, 0x64))) { Return (One) } ElseIf (LGreater (Local0, 0x012C)) { Return (0x02) } Else { Return (0x80) } } Return (0x80) } Return (Ones) } Name (PWKB, Buffer (0x04) { 0x00, 0x55, 0xAA, 0xFF }) Method (SLKB, 1, NotSerialized) { Store (And (Arg0, 0x7F), KBLV) If (And (Arg0, 0x80)) { Store (0x0900, Local0) Add (Local0, 0xF0, Local0) WRAM (Local0, KBLV) Store (DerefOf (Index (PWKB, KBLV)), Local0) } Else { Store (Zero, Local0) } ST9E (0x1F, 0xFF, Local0) Return (One) } Name (KLDT, Zero) Method (_Q80, 0, NotSerialized) // _Qxx: EC Query { If (GLID ()) { ST9E (0x1F, 0xFF, KLDT) } Else { Store (ST8E (0x1F, Zero), KLDT) ST9E (0x1F, 0xFF, Zero) } Notify (LID, 0x80) } } Scope (_SB.PCI0.LPCB.EC0) { OperationRegion (ECAD, SystemMemory, EGBF, 0x10) Field (ECAD, DWordAcc, NoLock, Preserve) { MFUN, 16, SFUN, 16, LEN, 16, STAS, 8, EROR, 8, CMD, 8, EDA1, 8, EDA2, 8, EDA3, 8, EDA4, 8, EDA5, 8, Offset (0x10) } Method (ST83, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x83, EDA1) Store (Arg0, EDA2) ECAC () Store (EDA1, Local0) Release (MU4T) Return (Local0) } Return (Ones) } Method (ST84, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x84, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (ST85, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x85, EDA1) Store (Arg0, EDA2) ECAC () Store (EDA1, Local0) Release (MU4T) Return (Local0) } Return (Ones) } Method (ST86, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x86, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (ST87, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x87, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Store (EDA1, Local0) Release (MU4T) If (LEqual (Arg0, Zero)) { Return (Local0) } Return (Zero) } Return (Ones) } Method (ST8E, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x8E, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Store (EDA1, Local0) Release (MU4T) Return (Local0) } Return (Ones) } Method (ST95, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x95, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Store (EDA1, Local0) Release (MU4T) If (LEqual (Arg0, Zero)) { Return (Local0) } Return (Zero) } Return (Ones) } Method (ST98, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x98, EDA1) Store (Arg0, EDA2) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (ST9E, 3, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x9E, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) Store (Arg2, EDA4) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (STA8, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0xA8, EDA1) Store (Arg0, EDA2) ECAC () Store (EDA1, Local0) Release (MU4T) Return (Local0) } Return (Ones) } Method (ST9F, 3, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0x9F, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) Store (Arg2, EDA4) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (STA9, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0xA9, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (STB0, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0xB0, EDA1) Store (Arg0, EDA2) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (STB1, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0xB1, EDA1) Store (Arg0, EDA2) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (STB2, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0xB2, EDA1) Store (Arg0, EDA2) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (GBTT, 1, Serialized) { If (LEqual (Arg0, Zero)) { Store (0x09, BRAH) Store (EB0T, Local0) } Else { Store (0x09, BRAH) Store (EB1T, Local0) } Return (Local0) } Method (WCMD, 1, Serialized) { If (ECAV ()) { Acquire (MUEC, 0xFFFF) Store (Arg0, CMD1) Release (MUEC) } } Method (DLY0, 1, Serialized) { If (LNot (ECAV ())) { Return (Ones) } Store (Ones, Local0) Acquire (MUEC, 0xFFFF) Store (Arg0, CDT1) Store (0x6B, CDT2) Store (Zero, CDT3) Store (0xBB, CMD1) Store (0x7F, Local1) While (LAnd (Local1, CMD1)) { Sleep (One) Decrement (Local1) } If (LEqual (CMD1, Zero)) { Store (CDT1, Local0) } Release (MUEC) Return (Local0) } Method (RRAM, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (Arg0, Local0) And (Local0, 0xFF, Local1) ShiftRight (Local0, 0x08, Local0) And (Local0, 0xFF, Local0) Store (0xFF, CMD) Store (0x80, EDA1) Store (Local0, EDA2) Store (Local1, EDA3) ECAC () Store (EDA1, Local0) Release (MU4T) Return (Local0) } Return (Ones) } Method (WRAM, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (Arg0, Local0) And (Local0, 0xFF, Local1) ShiftRight (Local0, 0x08, Local0) And (Local0, 0xFF, Local0) Store (0xFF, CMD) Store (0x81, EDA1) Store (Local0, EDA2) Store (Local1, EDA3) Store (Arg1, EDA4) ECAC () Release (MU4T) Return (One) } Return (Ones) } Method (SPIN, 2, Serialized) { If (Arg1) { ST87 (0x20, Arg0) } Else { ST87 (0x40, Arg0) } Return (One) } Method (RPIN, 1, Serialized) { Store (ST87 (Zero, Arg0), Local1) Return (Local1) } 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 (PCLL, 0x0C) Name (GOOD, Zero) Name (UKER, 0x07) Name (DAER, 0x10) Name (CMDN, 0x12) Name (UKE2, 0x13) Name (DADN, 0x17) Name (SBTO, 0x18) Name (USPT, 0x19) Name (SBBY, 0x1A) Method (SWTC, 1, Serialized) { Store (UKER, Local0) Store (0x03, Local1) While (LAnd (Local0, Local1)) { Store (0x23, Local2) While (Local2) { If (PRTC) { Sleep (One) Decrement (Local2) } Else { Store (Zero, Local2) Store (SSTS, Local0) } } If (Local0) { Store (Zero, PRTC) Decrement (Local1) If (Local1) { Sleep (One) Store (Arg0, PRTC) } } } Return (Local0) } Method (SMBR, 3, Serialized) { Store (Package (0x03) { 0x07, Zero, Zero }, Local0) If (LNot (ECAV ())) { Return (Local0) } If (LNotEqual (Arg0, RDBL)) { If (LNotEqual (Arg0, RDWD)) { If (LNotEqual (Arg0, RDBT)) { If (LNotEqual (Arg0, RCBT)) { If (LNotEqual (Arg0, RDQK)) { Return (Local0) } } } } } Acquire (MUEC, 0xFFFF) Store (PRTC, Local1) Store (Zero, Local2) While (LNotEqual (Local1, Zero)) { Stall (0x0A) Increment (Local2) If (LGreater (Local2, 0x03E8)) { Store (SBBY, Index (Local0, Zero)) Store (Zero, Local1) } Else { Store (PRTC, Local1) } } If (LLessEqual (Local2, 0x03E8)) { ShiftLeft (Arg1, One, Local3) Or (Local3, One, Local3) Store (Local3, ADDR) If (LNotEqual (Arg0, RDQK)) { If (LNotEqual (Arg0, RCBT)) { Store (Arg2, CMDB) } } Store (Zero, BDAT) Store (Arg0, PRTC) Store (SWTC (Arg0), Index (Local0, Zero)) If (LEqual (DerefOf (Index (Local0, Zero)), Zero)) { If (LEqual (Arg0, RDBL)) { Store (BCNT, Index (Local0, One)) Store (BDAT, Index (Local0, 0x02)) } If (LEqual (Arg0, RDWD)) { Store (0x02, Index (Local0, One)) Store (DT2B, Index (Local0, 0x02)) } If (LEqual (Arg0, RDBT)) { Store (One, Index (Local0, One)) Store (DAT0, Index (Local0, 0x02)) } If (LEqual (Arg0, RCBT)) { Store (One, Index (Local0, One)) Store (DAT0, Index (Local0, 0x02)) } } } Release (MUEC) Return (Local0) } Method (SMBW, 5, Serialized) { Store (Package (0x01) { 0x07 }, Local0) If (LNot (ECAV ())) { Return (Local0) } If (LNotEqual (Arg0, WRBL)) { If (LNotEqual (Arg0, WRWD)) { If (LNotEqual (Arg0, WRBT)) { If (LNotEqual (Arg0, SDBT)) { If (LNotEqual (Arg0, WRQK)) { Return (Local0) } } } } } Acquire (MUEC, 0xFFFF) Store (PRTC, Local1) Store (Zero, Local2) While (LNotEqual (Local1, Zero)) { Stall (0x0A) Increment (Local2) If (LGreater (Local2, 0x03E8)) { Store (SBBY, Index (Local0, Zero)) Store (Zero, Local1) } Else { Store (PRTC, Local1) } } If (LLessEqual (Local2, 0x03E8)) { Store (Zero, BDAT) ShiftLeft (Arg1, One, Local3) Store (Local3, ADDR) If (LNotEqual (Arg0, WRQK)) { If (LNotEqual (Arg0, SDBT)) { Store (Arg2, CMDB) } } If (LEqual (Arg0, WRBL)) { Store (Arg3, BCNT) Store (Arg4, BDAT) } If (LEqual (Arg0, WRWD)) { Store (Arg4, DT2B) } If (LEqual (Arg0, WRBT)) { Store (Arg4, DAT0) } If (LEqual (Arg0, SDBT)) { Store (Arg4, DAT0) } Store (Arg0, PRTC) Store (SWTC (Arg0), Index (Local0, Zero)) } Release (MUEC) Return (Local0) } Method (TALS, 1, NotSerialized) { If (Arg0) { Store (ST8E (0x30, Zero), Local0) Or (Local0, 0x90, Local0) ST9E (0x30, 0xFF, Local0) } Else { Store (ST8E (0x30, Zero), Local0) And (Local0, 0x6F, Local0) ST9E (0x30, 0xFF, Local0) } } Method (RALS, 0, NotSerialized) { If (ALAE) { Store (RRAM (0x02A3), Local0) Store (RRAM (0x02A4), Local1) ShiftLeft (Local0, 0x08, Local0) Add (Local0, Local1, Local0) Multiply (Local0, 0x03E8, Local1) Divide (Local1, ALSA, Local2, Local3) Return (Local3) } Else { Return (0x0190) } } Name (CUNT, Zero) Method (ECAC, 0, NotSerialized) { Store (0x30, MFUN) Store (One, SFUN) Store (0x10, LEN) Store (0xFF, EROR) Store (One, CUNT) While (LLess (CUNT, 0x06)) { ISMI (0xA2) If (LNotEqual (EROR, Zero)) { Add (CUNT, One, CUNT) } Else { Break } } } Method (CSEE, 1, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (Arg0, CMD) Store (Arg0, EDA1) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (SCTF, 2, Serialized) { If (ECAV ()) { Acquire (MU4T, 0xFFFF) Store (0xFF, CMD) Store (0xB3, EDA1) Store (Arg0, EDA2) Store (Arg1, EDA3) ECAC () Release (MU4T) Return (Zero) } Return (Ones) } Method (ACAP, 0, Serialized) { Return (ACPF) } } Scope (\) { Name (TSP, 0x0A) Name (TC1, 0x02) Name (TC2, 0x0A) } 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 { RCRT () Return (KELV (\_SB.TCRT)) } Method (_TMP, 0, NotSerialized) // _TMP: Temperature { Store (0x05, Local1) While (Local1) { Store (RTMP (), Local0) If (LGreater (Local0, \_SB.TCRT)) { Decrement (Local1) } Else { Store (Zero, Local1) } } Return (KELV (Local0)) } Name (_PSL, Package (0x04) // _PSL: Passive List { \_PR.CPU0, \_PR.CPU1, \_PR.CPU2, \_PR.CPU3 }) 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 { RPSV () If (PLCY) { Return (KELV (\_SB.PPSV)) } Else { Return (KELV (\_SB.TPSV)) } } Method (_SCP, 1, NotSerialized) // _SCP: Set Cooling Policy { Store (Zero, PLCY) Notify (THRM, 0x81) } } } Scope (_TZ) { Name (ATMP, 0x3C) Name (LTMP, 0x3C) Name (FANS, Zero) Method (RTMP, 0, NotSerialized) { If (\_SB.PCI0.LPCB.EC0.ECAV ()) { Store (0x09, \_SB.PCI0.LPCB.EC0.BRAH) Store (\_SB.PCI0.LPCB.EC0.ECPU, Local0) If (LLess (Local0, 0x80)) { Store (Local0, LTMP) } } Return (LTMP) } Method (RCRT, 0, NotSerialized) { If (\_SB.PCI0.LPCB.EC0.ECAV ()) { Store (0x09, \_SB.PCI0.LPCB.EC0.BRAH) Store (\_SB.PCI0.LPCB.EC0.ECRT, Local0) If (LLess (Local0, 0x80)) { Store (Local0, \_SB.TCRT) } } } Method (RPSV, 0, NotSerialized) { If (\_SB.PCI0.LPCB.EC0.ECAV ()) { Store (0x09, \_SB.PCI0.LPCB.EC0.BRAH) Store (\_SB.PCI0.LPCB.EC0.EPSV, Local0) If (LLess (Local0, 0x80)) { Store (Local0, \_SB.TPSV) } } } Method (RFAN, 1, NotSerialized) { If (\_SB.PCI0.LPCB.EC0.ECAV ()) { Store (\_SB.PCI0.LPCB.EC0.ST83 (Arg0), Local0) If (LEqual (Local0, 0xFF)) { Return (Local0) } Store (\_SB.PCI0.LPCB.EC0.TACH (Arg0), Local0) Divide (Local0, 0x64, Local1, Local0) Add (Local0, One, Local0) If (LLessEqual (Local0, 0x3C)) { Store (Local0, FANS) } Else { Store (FANS, Local0) } } Else { Store (Zero, Local0) } Return (Local0) } Method (RFSE, 0, NotSerialized) { If (\_SB.PCI0.LPCB.EC0.ECAV ()) { Store (\_SB.PCI0.LPCB.EC0.ST83 (Zero), Local1) If (LLess (Local1, 0x80)) { If (LLess (Local1, 0x0A)) { Store (Zero, Local0) } Else { Store (One, Local0) } } ElseIf (LLess (Local1, 0xF5)) { Store (0x02, Local0) } Else { Store (0x03, Local0) } } Else { Store (Zero, Local0) } Return (Local0) } } Scope (_SB.PCI0.LPCB.EC0) { Name (F8FG, Zero) Name (BLCT, Zero) 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 (DKPS, 0, Serialized) { Store (GPWS (), Local0) And (Local0, 0x10, Local0) If (Local0) { Store (One, Local0) } Else { Store (Zero, Local0) } Return (Local0) } Method (GPWS, 0, Serialized) { Store (EPWS, Local0) Return (Local0) } Method (BCHG, 1, Serialized) { If (Arg0) { Store (0x09, BRAH) Store (EB1S, Local0) And (Local0, 0xFF, Local0) If (LNotEqual (Local0, 0xFF)) { And (Local0, 0x02, Local0) } Else { Store (Zero, Local0) } Return (Local0) } Else { Store (0x09, BRAH) Store (EB0S, Local0) And (Local0, 0xFF, Local0) If (LNotEqual (Local0, 0xFF)) { And (Local0, 0x02, Local0) } Else { Store (Zero, Local0) } Return (Local0) } } Method (BCLE, 1, Serialized) { If (Arg0) { If (ECAV ()) { Store (Ones, Local0) Store (0x09, BRAH) 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) } } } Else { Store (Ones, Local0) } Return (Local0) } Else { If (ECAV ()) { Store (Ones, Local0) Store (0x09, BRAH) 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) } } } Else { Store (Ones, Local0) } Return (Local0) } } Method (CHBT, 1, Serialized) { If (ECAV ()) { Store (GBTT (Arg0), Local1) If (LEqual (Local1, 0xFF)) { Store (Zero, Local0) } Else { And (Local1, 0x10, Local0) If (Local0) { Store (One, Local0) } } } Else { Store (DCTP, Local0) } Return (Local0) } Method (RTAH, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Store (Acquire (CMUT, 0xFFFF), Local2) If (LEqual (Local2, Zero)) { Store (0x09, BRAH) Store (THH0, Local0) ShiftLeft (Local0, 0x08, Local0) Store (THL0, Local1) Or (Local0, Local1, Local0) Release (CMUT) } } ElseIf (LEqual (Arg0, One)) { Store (Acquire (CMUT, 0xFFFF), Local2) If (LEqual (Local2, Zero)) { Store (0x09, BRAH) Store (THH1, Local0) ShiftLeft (Local0, 0x08, Local0) Store (THL1, Local1) Or (Local0, Local1, Local0) Release (CMUT) } } Else { Store (0xFFFF, Local0) } Return (Local0) } Method (RP2E, 1, NotSerialized) { Store (Acquire (CMUT, 0xFFFF), Local1) If (LEqual (Local1, Zero)) { Store (0x09, BRAH) Store (Arg0, BRAI) Store (BRAD, Local0) Release (CMUT) } Return (Local0) } Method (WP2E, 2, NotSerialized) { Store (Acquire (CMUT, 0xFFFF), Local1) If (LEqual (Local1, Zero)) { Store (0x09, BRAH) Store (Arg0, BRAI) Store (Arg1, BRAD) Release (CMUT) } } Method (TACH, 1, Serialized) { If (ECAV ()) { Switch (Arg0) { Case (Zero) { Store (RTAH (Zero), Local0) Break } Case (One) { Store (RTAH (One), Local0) Break } Default { Return (Ones) } } Multiply (Local0, 0x02, Local0) If (LNotEqual (Local0, Zero)) { Divide (0x0041CDB4, Local0, Local1, Local0) Return (Local0) } Else { Return (Ones) } } Else { Return (Ones) } } Name (HKFG, Zero) Name (KBST, Zero) Name (KBBR, Zero) Method (EC0S, 1, NotSerialized) { If (LEqual (Arg0, 0x03)){} If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { ST9E (0x1F, 0xFF, Zero) } If (LEqual (Arg0, 0x05)) { ST9E (0x1F, 0xFF, Zero) } If (LGreater (Arg0, 0x04)){} } Method (EC0W, 1, NotSerialized) { KINI () If (LEqual (Arg0, 0x03)){} If (LLessEqual (Arg0, 0x04)) { Store (DCPS (Zero), DCPF) Store (ACPS (), Local0) If (LNotEqual (Local0, ACPF)) { Store (ACPS (), ACPF) PNOT () } } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (ALAE) { TALS (One) If (LEqual (MSOS (), OSW7)) { Store (RALS (), Local0) ^^^GFX0.AINT (Zero, Local0) } Else { Notify (ALS, 0x80) } } } If (LEqual (Arg0, 0x05)){} If (And (WOLO, One)) { Store (0x0580, Local0) Add (Local0, Zero, Local0) Store (RRAM (Local0), Local1) Or (Local1, 0x05, Local1) WRAM (Local0, Local1) } If (And (DSYN, One)) { ST9F (0x2B, 0x20, 0x20) } } Method (_Q0A, 0, NotSerialized) // _Qxx: EC Query { Notify (SLPB, 0x80) } Method (_Q0B, 0, NotSerialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { Notify (ASHS, 0x88) } } Method (_Q0C, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { And (KBLC, 0x80, Local1) If (Local1) { ^^^^ATKD.IANE (0xC5) } } } Method (_Q0D, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { And (KBLC, 0x80, Local1) If (Local1) { ^^^^ATKD.IANE (0xC4) } } } Method (_Q0E, 0, NotSerialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { BRTN (0x87) } Return (Zero) } Method (_Q0F, 0, NotSerialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { BRTN (0x86) } Return (Zero) } Method (_Q10, 0, NotSerialized) // _Qxx: EC Query { If (LEqual (BLCT, Zero)) { Store (One, Local0) If (ATKP) { Subtract (0x34, Local0, Local0) ^^^^ATKD.IANE (Local0) } } ElseIf (LEqual (BLCT, One)) { If (ATKP) { ^^^^ATKD.IANE (0x35) } } } Method (_Q11, 0, Serialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { If (LEqual (F8FG, Zero)) { Store (One, F8FG) STB2 (0xE0) STB2 (0x5B) } STB2 (0x19) STB2 (0x99) Return (Zero) } } Method (_Q12, 0, NotSerialized) // _Qxx: EC Query { If (LNot (And (DSYN, One))) { If (ATKP) { ^^^^ATKD.IANE (0x6B) } } ElseIf (ATKP) { ^^^^ATKD.IANE (0x6F) } } Method (_QD7, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0xFA) } } Method (_QD8, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0xFA) } } Method (_Q13, 0, NotSerialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { STB2 (0xE0) STB2 (0x20) STB2 (0xE0) STB2 (0xA0) Return (Zero) } If (ATKP) { ^^^^ATKD.IANE (0x32) } Return (Zero) } Method (_Q14, 0, NotSerialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { STB2 (0xE0) STB2 (0x2E) STB2 (0xE0) STB2 (0xAE) Return (Zero) } If (ATKP) { ^^^^ATKD.IANE (0x31) } Return (Zero) } Method (_Q15, 0, NotSerialized) // _Qxx: EC Query { If (LGreaterEqual (MSOS (), OSW8)) { STB2 (0xE0) STB2 (0x30) STB2 (0xE0) STB2 (0xB0) Return (Zero) } If (ATKP) { ^^^^ATKD.IANE (0x30) } Return (Zero) } Method (_Q6F, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x45) } } Method (_Q6E, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x43) } } Method (_Q6C, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x40) } } Method (_Q6D, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x41) } } Method (_Q76, 0, NotSerialized) // _Qxx: EC Query { If (ATKP) { ^^^^ATKD.IANE (0x7A) } } Name (OLUX, 0x0190) Method (_QCD, 0, NotSerialized) // _Qxx: EC Query { Store (RALS (), Local0) If (LNotEqual (OLUX, Local0)) { If (LEqual (MSOS (), OSW7)) { ^^^GFX0.AINT (Zero, Local0) } Else { Store (Local0, ^^^^ALS.LUXL) Notify (ALS, 0x80) } If (ATKP) { Store (Zero, Local2) If (LAnd (LLessEqual (OLUX, 0x64), LGreater (Local0, 0x64))) { Store (One, Local2) } ElseIf (LAnd (LLessEqual (OLUX, 0x012C), LGreater (Local0, 0x012C))) { Store (One, Local2) } ElseIf (LAnd (LGreaterEqual (OLUX, 0x012C), LLess (Local0, 0x012C))) { Store (One, Local2) } ElseIf (LAnd (LGreaterEqual (OLUX, 0x64), LLess (Local0, 0x64))) { Store (One, Local2) } If (Local2) { ^^^^ATKD.IANE (0xC6) } } } Store (Local0, OLUX) } Method (_QB0, 0, NotSerialized) // _Qxx: EC Query { Notify (\_TZ.THRM, 0x80) } Method (_QA0, 0, NotSerialized) // _Qxx: EC Query { If (ACPS ()) { Store (One, ACPF) Store (0x58, Local0) If (ATKP) { ^^^^ATKD.IANE (0xCF) } } Else { Store (Zero, ACPF) Store (0x57, Local0) } Notify (AC0, 0x80) If (ATKP) { ^^^^ATKD.IANE (Local0) } Sleep (0x64) PNOT () Sleep (0x0A) NBAT (0x80) } Method (_Q20, 0, NotSerialized) // _Qxx: EC Query { If (CDFG) { Store (One, SMBF) Store (Zero, CDFG) } If (ALFG) { Store (Zero, ALFG) } } Method (_QB3, 0, NotSerialized) // _Qxx: EC Query { ^^^^ATKD.IANE (0x6D) } Method (_QAC, 0, NotSerialized) // _Qxx: EC Query { Store (ST8E (0x28, Zero), Local0) If (LEqual (And (Local0, One), One)) { Notify (BAT0, 0x80) } } Method (_QD3, 0, NotSerialized) // _Qxx: EC Query { } Method (_QD4, 0, NotSerialized) // _Qxx: EC Query { If (LEqual (F8FG, One)) { Store (Zero, F8FG) STB2 (0xE0) STB2 (0xDB) } } Method (_QDB, 0, NotSerialized) // _Qxx: EC Query { ^^^^ATKD.IANE (0x6D) } Method (_QDC, 0, NotSerialized) // _Qxx: EC Query { ^^^^ATKD.IANE (0x6D) } Name (CNTR, Zero) } Scope (_SB.PCI0.LPCB.EC0) { Method (CHGS, 1, Serialized) { Store (BCHG (Arg0), Local0) Return (Local0) } Name (BSLF, Zero) Method (BATS, 1, Serialized) { If (Arg0) { Store (One, BSLF) } Else { Store (Zero, BSLF) } } Mutex (MMPX, 0x00) Method (BATO, 0, Serialized) { Acquire (MMPX, 0xFFFF) } Method (BATR, 0, Serialized) { Release (MMPX) } Name (BLLO, Zero) Method (_QA1, 0, NotSerialized) // _Qxx: EC Query { Store (DCPS (Zero), DCPF) If (DCPF) { Sleep (0x07D0) } Notify (BAT0, 0x80) Notify (BAT0, 0x81) } Method (_QA5, 0, NotSerialized) // _Qxx: EC Query { Store (One, BLLO) If (ATKP) { ^^^^ATKD.IANE (0x6E) } ElseIf (BATP (Zero)) { Notify (BAT0, 0x80) } } Method (_QA3, 0, NotSerialized) // _Qxx: EC Query { If (BATP (Zero)) { Store (BCLE (Zero), Local0) If (LEqual (Local0, Zero)) { Notify (BAT0, 0x80) } Else { Notify (BAT0, 0x81) Notify (AC0, 0x80) } } } Method (BATP, 1, Serialized) { If (Arg0) { Return (DCP2) } Else { Return (DCPF) } } Method (NBAT, 1, NotSerialized) { If (BATP (Zero)) { Notify (BAT0, Arg0) } } } Scope (_SB.PCI0.LPCB.EC0) { Name (BADR, 0x0B) Name (CADR, 0x09) Name (SADR, 0x0A) 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))) } } Method (BIF0, 0, NotSerialized) { If (ECAV ()) { If (BSLF) { Store (0x09, BRAH) Store (B1MD, Local0) } Else { Store (0x09, BRAH) Store (B0MD, Local0) } If (LNotEqual (Local0, 0xFFFF)) { ShiftRight (Local0, 0x0F, Local1) And (Local1, One, Local1) XOr (Local1, One, Local0) } } Else { Store (Ones, Local0) } Return (Local0) } Method (BIF1, 0, NotSerialized) { If (ECAV ()) { If (BSLF) { Store (0x09, BRAH) Store (B1DC, Local0) } Else { Store (0x09, BRAH) Store (B0DC, Local0) } And (Local0, 0xFFFF, Local0) } Else { Store (Ones, Local0) } Return (Local0) } Method (BIF2, 0, NotSerialized) { If (ECAV ()) { If (BSLF) { Store (0x09, BRAH) Store (B1FC, Local0) } Else { Store (0x09, BRAH) Store (B0FC, Local0) } And (Local0, 0xFFFF, Local0) } Else { Store (Ones, Local0) } Return (Local0) } Method (BIF3, 0, NotSerialized) { If (ECAV ()) { If (BSLF) { Store (0x09, BRAH) Store (B1MD, Local0) } Else { Store (0x09, BRAH) Store (B0MD, Local0) } If (LNotEqual (Local0, 0xFFFF)) { ShiftRight (Local0, 0x09, Local0) And (Local0, One, Local0) XOr (Local0, One, Local0) } } Else { Store (Ones, Local0) } Return (Local0) } Method (BIF4, 0, NotSerialized) { If (ECAV ()) { If (BSLF) { Store (0x09, BRAH) Store (B1DV, Local0) } Else { Store (0x09, BRAH) Store (B0DV, Local0) } } Else { Store (Ones, Local0) } Return (Local0) } Method (BIF9, 0, NotSerialized) { Name (BSTR, Buffer (0x20){}) Name (DDDD, "ASUS Battery") Store (DDDD, BSTR) Return (BSTR) } Method (BIFA, 0, NotSerialized) { If (ECAV ()) { If (BSLF) { Store (B1SN, Local0) } Else { Store (B0SN, Local0) } } Else { Store (Ones, Local0) } Return (Local0) } Method (BSTS, 0, NotSerialized) { If (BSLF) { Store (0x09, BRAH) Store (B1ST, Local0) } Else { Store (0x09, BRAH) Store (B0ST, Local0) } Return (Local0) } Method (BCRT, 0, NotSerialized) { If (BSLF) { Store (0x09, BRAH) Store (B1CC, Local0) } Else { Store (0x09, BRAH) Store (B0CC, Local0) } Return (Local0) } Method (BRCP, 0, NotSerialized) { If (BSLF) { Store (0x09, BRAH) Store (B1RC, Local0) } Else { Store (0x09, BRAH) Store (B0RC, Local0) } If (LEqual (Local0, 0xFFFF)) { Store (Ones, Local0) } Return (Local0) } Method (BVOT, 0, NotSerialized) { If (BSLF) { Store (0x09, BRAH) Store (B1VL, Local0) } Else { Store (0x09, BRAH) Store (B0VL, Local0) } Return (Local0) } } Scope (_SB.PCI0.LPCB.EC0) { 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 (BATP (Zero)) { Return (0x1F) } Else { Return (0x0F) } } Name (LOW2, 0x012C) Name (PUNT, One) Name (LFCC, 0x1770) Name (NBIF, Package (0x0D) { Zero, 0xFFFFFFFF, 0xFFFFFFFF, One, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, "", "", "", "" }) Name (PBIF, Package (0x0D) { One, 0x1770, 0x1770, One, 0x39D0, 0x0258, 0x012C, 0x3C, 0x3C, "M3N", " ", "LIon", "ASUSTeK" }) Name (PBST, Package (0x04) { Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Name (BIXT, Package (0x14) { Zero, Zero, 0x1770, 0x1770, One, 0x39D0, 0x0258, 0x012C, Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x3C, 0x3C, "M3N", " ", "LIon", "ASUSTeK" }) Name (NBIX, Package (0x14) { Zero, Zero, 0xFFFFFFFF, 0xFFFFFFFF, One, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, Zero, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, "", "", "", "" }) Method (FBIF, 5, NotSerialized) { Store (Arg0, PUNT) Store (Arg1, Local1) Store (Arg2, Local2) If (LEqual (PUNT, 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 (Local2, LFCC) Store (Arg3, Index (PBIF, 0x03)) Store (Arg4, Index (PBIF, 0x04)) Divide (Local1, 0x0A, Local3, Local5) Store (Local5, Index (PBIF, 0x05)) Divide (Local1, 0x64, Local3, Local6) Store (Local6, Index (PBIF, 0x06)) Store (Local6, LOW2) Divide (Local1, 0x64, Local3, Local7) Store (Local7, Index (PBIF, 0x07)) Store (Local7, Index (PBIF, 0x08)) } Method (CBIF, 0, NotSerialized) { If (PUNT) { Store (DerefOf (Index (PBIF, 0x04)), Local0) Store (Zero, Index (PBIF, Zero)) Multiply (DerefOf (Index (PBIF, One)), Local0, Index (PBIF, One)) Multiply (DerefOf (Index (PBIF, 0x02)), Local0, Index (PBIF, 0x02)) Multiply (DerefOf (Index (PBIF, 0x05)), Local0, Index (PBIF, 0x05)) Multiply (DerefOf (Index (PBIF, 0x06)), Local0, Index (PBIF, 0x06)) Multiply (DerefOf (Index (PBIF, 0x07)), Local0, Index (PBIF, 0x07)) Multiply (DerefOf (Index (PBIF, 0x08)), Local0, Index (PBIF, 0x08)) Divide (DerefOf (Index (PBIF, One)), 0x03E8, Local2, Index (PBIF, One)) Divide (DerefOf (Index (PBIF, 0x02)), 0x03E8, Local2, Index (PBIF, 0x02)) Divide (DerefOf (Index (PBIF, 0x05)), 0x03E8, Local2, Index (PBIF, 0x05)) Divide (DerefOf (Index (PBIF, 0x06)), 0x03E8, Local2, Index (PBIF, 0x06)) Divide (DerefOf (Index (PBIF, 0x07)), 0x03E8, Local2, Index (PBIF, 0x07)) Divide (DerefOf (Index (PBIF, 0x08)), 0x03E8, Local2, Index (PBIF, 0x08)) } } Method (_BIF, 0, NotSerialized) // _BIF: Battery Information { If (LNot (BATP (Zero))) { Return (NBIF) } If (LEqual (GBTT (Zero), 0xFF)) { Return (NBIF) } BATO () BATS (Zero) Store (BIF9 (), Index (PBIF, 0x09)) Store (BIF0 (), Local0) Store (BIF1 (), Local1) Store (BIF2 (), Local2) 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) CBIF () } } } } } If (LEqual (PUNT, Zero)) { Multiply (Local2, 0x0A, Local2) } Store (Local2, LFCC) BATR () Return (PBIF) } Method (FBST, 4, NotSerialized) { And (Arg1, 0xFFFF, Local1) Store (Zero, Local0) If (ACAP ()) { Store (One, Local0) } If (Local0) { If (CHGS (Zero)) { Store (0x02, Local0) } Else { Store (One, Local0) } } Else { Store (One, Local0) } If (BLLO) { Store (0x04, Local2) Or (Local0, Local2, Local0) } Store (0x09, BRAH) If (And (EB0S, 0x08)) { Store (0x04, Local2) Or (Local0, Local2, Local0) } If (LGreaterEqual (Local1, 0x8000)) { Subtract (0xFFFF, Local1, Local1) } Store (Arg2, Local2) If (LEqual (PUNT, Zero)) { Store (0x09, BRAH) Multiply (Local1, B0DV, Local1) Multiply (Local2, 0x0A, Local2) } And (Local0, 0x02, Local3) If (LNot (Local3)) { Subtract (LFCC, Local2, Local3) Divide (LFCC, 0xC8, Local4, Local5) If (LLess (Local3, Local5)) { Store (LFCC, Local2) } } Else { Divide (LFCC, 0xC8, Local4, Local5) Subtract (LFCC, Local5, Local4) If (LGreater (Local2, Local4)) { Store (Local4, Local2) } } If (LNot (ACAP ())) { Divide (Local2, MBLF, 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 (CBST, 0, NotSerialized) { If (PUNT) { Store (0x09, BRAH) Store (B0DV, Index (PBST, 0x03)) Store (DerefOf (Index (PBST, 0x03)), Local0) Multiply (DerefOf (Index (PBST, One)), Local0, Index (PBST, One)) Divide (DerefOf (Index (PBST, One)), 0x03E8, Local1, Index (PBST, One)) Multiply (DerefOf (Index (PBST, 0x02)), Local0, Index (PBST, 0x02)) Divide (DerefOf (Index (PBST, 0x02)), 0x03E8, Local1, Index (PBST, 0x02)) } } Method (_BST, 0, NotSerialized) // _BST: Battery Status { Store (Zero, Index (PBST, Zero)) Store (Ones, Index (PBST, One)) Store (Ones, Index (PBST, 0x02)) Store (Ones, Index (PBST, 0x03)) If (LNot (BATP (Zero))) { Store (One, Index (PBST, Zero)) Return (PBST) } If (LEqual (GBTT (Zero), 0xFF)) { Return (PBST) } BATO () BATS (Zero) 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) CBST () } } } } BATR () Return (PBST) } Method (_BIX, 0, NotSerialized) // _BIX: Battery Information Extended { If (LNot (BATP (Zero))) { Return (NBIX) } If (LEqual (GBTT (Zero), 0xFF)) { Return (NBIX) } _BIF () Store (DerefOf (Index (PBIF, Zero)), Index (BIXT, One)) Store (DerefOf (Index (PBIF, One)), Index (BIXT, 0x02)) Store (DerefOf (Index (PBIF, 0x02)), Index (BIXT, 0x03)) Store (DerefOf (Index (PBIF, 0x03)), Index (BIXT, 0x04)) Store (DerefOf (Index (PBIF, 0x04)), Index (BIXT, 0x05)) Store (DerefOf (Index (PBIF, 0x05)), Index (BIXT, 0x06)) Store (DerefOf (Index (PBIF, 0x06)), Index (BIXT, 0x07)) Store (DerefOf (Index (PBIF, 0x07)), Index (BIXT, 0x0E)) Store (DerefOf (Index (PBIF, 0x08)), Index (BIXT, 0x0F)) Store (DerefOf (Index (PBIF, 0x09)), Index (BIXT, 0x10)) Store (DerefOf (Index (PBIF, 0x0A)), Index (BIXT, 0x11)) Store (DerefOf (Index (PBIF, 0x0B)), Index (BIXT, 0x12)) Store (DerefOf (Index (PBIF, 0x0C)), Index (BIXT, 0x13)) If (LEqual (DerefOf (Index (BIXT, One)), One)) { Store (Zero, Index (BIXT, One)) Store (DerefOf (Index (BIXT, 0x05)), Local0) Multiply (DerefOf (Index (BIXT, 0x02)), Local0, Index (BIXT, 0x02)) Multiply (DerefOf (Index (BIXT, 0x03)), Local0, Index (BIXT, 0x03)) Multiply (DerefOf (Index (BIXT, 0x06)), Local0, Index (BIXT, 0x06)) Multiply (DerefOf (Index (BIXT, 0x07)), Local0, Index (BIXT, 0x07)) Multiply (DerefOf (Index (BIXT, 0x0E)), Local0, Index (BIXT, 0x0E)) Multiply (DerefOf (Index (BIXT, 0x0F)), Local0, Index (BIXT, 0x0F)) Divide (DerefOf (Index (BIXT, 0x02)), 0x03E8, Local0, Index (BIXT, 0x02)) Divide (DerefOf (Index (BIXT, 0x03)), 0x03E8, Local0, Index (BIXT, 0x03)) Divide (DerefOf (Index (BIXT, 0x06)), 0x03E8, Local0, Index (BIXT, 0x06)) Divide (DerefOf (Index (BIXT, 0x07)), 0x03E8, Local0, Index (BIXT, 0x07)) Divide (DerefOf (Index (BIXT, 0x0E)), 0x03E8, Local0, Index (BIXT, 0x0E)) Divide (DerefOf (Index (BIXT, 0x0F)), 0x03E8, Local0, Index (BIXT, 0x0F)) } Store (B0C3, Index (BIXT, 0x08)) Store (0x0001869F, Index (BIXT, 0x09)) Return (BIXT) } Method (_BTP, 1, NotSerialized) // _BTP: Battery Trip Point { ST8E (0x29, 0xFF) ST8E (0x2A, 0xFF) ST8E (0x28, 0x0F) If (LNotEqual (Arg0, Zero)) { Store (DerefOf (Index (PBIF, 0x04)), Local0) Multiply (Arg0, 0x03E8, Local1) Divide (Local1, Local0, Local2, Local3) ST9E (0x29, 0xFF, And (Local3, 0xFF)) ShiftRight (Local3, 0x08, Local2) And (Local2, 0xFF, Local2) ST9E (0x2A, 0xFF, Local2) } } } } Scope (_SB.PCI0.XHC.RHUB.HS01) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (One, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS02) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x02, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS03) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x03, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS04) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, 0x09, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x04, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS05) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x05, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS06) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x06, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS07) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x07, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS08) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x08, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS09) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x09, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.HS10) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, 0x08, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x0A, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.USR1) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x0B, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.USR2) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x0C, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.SS01) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (One, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.SS02) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x0E, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.SS03) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x0F, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.SS04) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { 0xFF, 0x09, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (One, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x04, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.SS05) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x11, GPOS) Return (XPLD) } } Scope (_SB.PCI0.XHC.RHUB.SS06) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (XUPC, Package (0x04) { Zero, Zero, Zero, Zero }) Return (XUPC) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (XPLD, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x61, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) CreateField (DerefOf (Index (XPLD, Zero)), 0x40, One, VISI) Store (Zero, VISI) CreateField (DerefOf (Index (XPLD, Zero)), 0x57, 0x08, GPOS) Store (0x12, GPOS) Return (XPLD) } } Scope (_SB.PCI0.LPCB) { Device (PS2K) { Name (_HID, EisaId ("ATK3001")) // _HID: Hardware ID Name (_CID, EisaId ("PNP030B")) // _CID: Compatible ID Method (_STA, 0, NotSerialized) // _STA: Status { If (And (IOST, 0x0400)) { Return (0x0F) } Else { Return (Zero) } } Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {1} }) Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {1} } EndDependentFn () }) } } If (CondRefOf (\_SB.PCI0.RP01)) { Scope (_SB.PCI0.RP01) { Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x69, 0x04)) } } } If (CondRefOf (\_SB.PCI0.RP01.PXSX)) { Scope (_SB.PCI0.RP01.PXSX) { Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x69, 0x04)) } } } Name (OALR, Package (0x10) { Package (0x02) { 0x14, Zero }, Package (0x02) { 0x14, 0x19 }, Package (0x02) { 0x28, 0x32 }, Package (0x02) { 0x32, 0x64 }, Package (0x02) { 0x41, 0x96 }, Package (0x02) { 0x50, 0xC8 }, Package (0x02) { 0x64, 0x012C }, Package (0x02) { 0x7D, 0x0190 }, Package (0x02) { 0x9B, 0x01F4 }, Package (0x02) { 0xC3, 0x0258 }, Package (0x02) { 0xF0, 0x02BC }, Package (0x02) { 0x0127, 0x0320 }, Package (0x02) { 0x0168, 0x0384 }, Package (0x02) { 0x01B8, 0x03E8 }, Package (0x02) { 0x0217, 0x04E2 }, Package (0x02) { 0x0294, 0x05DC } }) Scope (_SB) { Device (ALS) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LGreaterEqual (MSOS (), OSW7)) { Return ("ACPI0008") } Else { Return ("PNP0C02") } } Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { } Name (LUXL, Zero) Method (_ALI, 0, NotSerialized) // _ALI: Ambient Light Illuminance { Return (^^PCI0.LPCB.EC0.RALS ()) } Method (_ALR, 0, NotSerialized) // _ALR: Ambient Light Response { Return (OALR) } } } Scope (_SB.PCI0.I2C1) { Device (ETPD) { Name (_ADR, One) // _ADR: Address Name (ETPH, Package (0x0A) { "ELAN1200", "ELAN1201", "ELAN1203", "ELAN1200", "ELAN1201", "ELAN1300", "ELAN1301", "ELAN1300", "ELAN1301", "ELAN1000" }) Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (And (TPDI, 0x04)) { Return (DerefOf (Index (ETPH, TPHI))) } If (And (TPDI, 0x10)) { Return ("FTE1200") } Return ("ELAN1010") } Name (_CID, "PNP0C50") // _CID: Compatible ID Name (_UID, One) // _UID: Unique ID Name (_S0W, 0x03) // _S0W: S0 Device Wake State Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg0, ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */)) { If (LEqual (Arg2, Zero)) { If (LEqual (Arg1, One)) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x00 }) } } If (LEqual (Arg2, One)) { Return (One) } } Else { Return (Buffer (One) { 0x00 }) } } Method (_STA, 0, NotSerialized) // _STA: Status { If (LOr (LNotEqual (TPIF, One), LAnd (DSYN, One))) { Return (Zero) } Return (0x0F) } Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (SBFI, ResourceTemplate () { I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C1", 0x00, ResourceConsumer, , Exclusive, ) Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x0000006D, } }) Return (SBFI) } } } }