Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scope (_SB.PCI0)
- {
- Name (LTRE, Zero)
- Name (OBFF, Zero)
- Name (LMSL, Zero)
- Name (LNSL, Zero)
- Device (GLAN)
- {
- Name (_ADR, 0x00190000) // _ADR: Address
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x6D, 0x04))
- }
- }
- Device (EHC1)
- {
- Name (_ADR, 0x001D0000) // _ADR: Address
- OperationRegion (PWKE, PCI_Config, 0x54, 0x12)
- Field (PWKE, DWordAcc, NoLock, Preserve)
- {
- Offset (0x01),
- PMEE, 1,
- , 6,
- PMES, 1,
- Offset (0x0E),
- , 1,
- PWUC, 8
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (Arg0)
- {
- Store (Ones, PWUC)
- }
- Else
- {
- Store (Zero, PWUC)
- }
- }
- Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
- {
- Return (0x02)
- }
- Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
- {
- Return (0x02)
- }
- Device (HUBN)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PR01)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCA, Package (0x04)
- {
- 0xFF,
- Zero,
- Zero,
- Zero
- })
- Return (UPCA)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Device (PR11)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- Device (PR12)
- {
- Name (_ADR, 0x02) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- Device (PR13)
- {
- Name (_ADR, 0x03) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LEqual (And (CDID, 0xF000), 0x9000))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (PR14)
- {
- Name (_ADR, 0x04) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Alias (SBV1, SDGV)
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,
- /* 0008 */ 0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- If (LEqual (SDGV, 0xFF))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (SDGV)
- }
- }
- }
- Break
- }
- }
- Return (Zero)
- }
- }
- Device (PR15)
- {
- Name (_ADR, 0x05) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Alias (SBV2, SDGV)
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,
- /* 0008 */ 0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- If (LEqual (SDGV, 0xFF))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (SDGV)
- }
- }
- }
- Break
- }
- }
- Return (Zero)
- }
- }
- Device (PR16)
- {
- Name (_ADR, 0x06) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Alias (SBV1, SDGV)
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,
- /* 0008 */ 0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- If (LEqual (SDGV, 0xFF))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (SDGV)
- }
- }
- }
- Break
- }
- }
- Return (Zero)
- }
- }
- Device (PR17)
- {
- Name (_ADR, 0x07) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Alias (SBV2, SDGV)
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,
- /* 0008 */ 0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- If (LEqual (SDGV, 0xFF))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (SDGV)
- }
- }
- }
- Break
- }
- }
- Return (Zero)
- }
- }
- Device (PR18)
- {
- Name (_ADR, 0x08) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- }
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x6D, 0x04))
- }
- }
- Device (EHC2)
- {
- Name (_ADR, 0x001A0000) // _ADR: Address
- OperationRegion (PWKE, PCI_Config, 0x54, 0x12)
- Field (PWKE, DWordAcc, NoLock, Preserve)
- {
- Offset (0x01),
- PMEE, 1,
- , 6,
- PMES, 1,
- Offset (0x0E),
- , 1,
- PWUC, 6
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (Arg0)
- {
- Store (Ones, PWUC)
- }
- Else
- {
- Store (Zero, PWUC)
- }
- }
- Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
- {
- Return (0x02)
- }
- Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
- {
- Return (0x02)
- }
- Device (HUBN)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PR01)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCA, Package (0x04)
- {
- 0xFF,
- Zero,
- Zero,
- Zero
- })
- Return (UPCA)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Device (PR11)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- Device (PR12)
- {
- Name (_ADR, 0x02) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- Alias (SBV1, SDGV)
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,
- /* 0008 */ 0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- If (LEqual (SDGV, 0xFF))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (SDGV)
- }
- }
- }
- Break
- }
- }
- Return (Zero)
- }
- }
- Device (PR13)
- {
- Name (_ADR, 0x03) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LEqual (And (CDID, 0xF000), 0x9000))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- Alias (SBV2, SDGV)
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,
- /* 0008 */ 0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- If (LEqual (SDGV, 0xFF))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (SDGV)
- }
- }
- }
- Break
- }
- }
- Return (Zero)
- }
- }
- Device (PR14)
- {
- Name (_ADR, 0x04) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xE1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- Device (PR15)
- {
- Name (_ADR, 0x05) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- Device (PR16)
- {
- Name (_ADR, 0x06) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- Return (PLDP)
- }
- }
- }
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x6D, 0x04))
- }
- }
- Device (XHC)
- {
- Name (_ADR, 0x00140000) // _ADR: Address
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- If (LEqual (S0ID, One))
- {
- Return (Package (0x01)
- {
- PEPD
- })
- }
- Else
- {
- Return (Package (0x00) {})
- }
- }
- OperationRegion (XPRT, PCI_Config, Zero, 0x0100)
- Field (XPRT, AnyAcc, NoLock, Preserve)
- {
- DVID, 16,
- Offset (0x74),
- D0D3, 2,
- Offset (0x75),
- PMEE, 1,
- , 6,
- PMES, 1,
- Offset (0xB0),
- , 13,
- MB13, 1,
- MB14, 1,
- Offset (0xB4),
- Offset (0xD0),
- PR2, 32,
- PR2M, 32,
- PR3, 32,
- PR3M, 32
- }
- OperationRegion (XHCP, SystemMemory, Add (PEBS, 0x000A0000), 0x0100)
- Field (XHCP, AnyAcc, Lock, Preserve)
- {
- Offset (0x04),
- PDBM, 16,
- Offset (0x10),
- MEMB, 64
- }
- Method (PR2S, 1, Serialized)
- {
- Name (_T_1, Zero) // _T_x: Emitted by ASL Compiler
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- While (One)
- {
- Store (Arg0, _T_0)
- If (LEqual (_T_0, One))
- {
- Return (One)
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (0x02)
- }
- Else
- {
- If (LEqual (_T_0, 0x03))
- {
- Return (0x04)
- }
- Else
- {
- If (LEqual (_T_0, 0x04))
- {
- Return (0x08)
- }
- Else
- {
- If (LEqual (_T_0, 0x05))
- {
- Return (0x0100)
- }
- Else
- {
- If (LEqual (_T_0, 0x06))
- {
- Return (0x0200)
- }
- Else
- {
- If (LEqual (_T_0, 0x07))
- {
- Return (0x0400)
- }
- Else
- {
- If (LEqual (_T_0, 0x08))
- {
- Return (0x0800)
- }
- Else
- {
- If (LEqual (_T_0, 0x09))
- {
- Return (0x10)
- }
- Else
- {
- If (LEqual (_T_0, 0x0A))
- {
- Return (0x20)
- }
- Else
- {
- If (LEqual (_T_0, 0x0B))
- {
- Return (0x1000)
- }
- Else
- {
- If (LEqual (_T_0, 0x0C))
- {
- Return (0x2000)
- }
- Else
- {
- If (LEqual (_T_0, 0x0D))
- {
- Return (0x40)
- }
- Else
- {
- If (LEqual (_T_0, 0x0E))
- {
- Return (0x80)
- }
- Else
- {
- If (LEqual (_T_0, 0x0F))
- {
- Return (0x4000)
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- Break
- }
- }
- Else
- {
- While (One)
- {
- Store (Arg0, _T_1)
- If (LEqual (_T_1, One))
- {
- Return (One)
- }
- Else
- {
- If (LEqual (_T_1, 0x02))
- {
- Return (0x02)
- }
- Else
- {
- If (LEqual (_T_1, 0x03))
- {
- Return (0x04)
- }
- Else
- {
- If (LEqual (_T_1, 0x04))
- {
- Return (0x08)
- }
- Else
- {
- If (LEqual (_T_1, 0x05))
- {
- Return (0x10)
- }
- Else
- {
- If (LEqual (_T_1, 0x06))
- {
- Return (0x20)
- }
- Else
- {
- If (LEqual (_T_1, 0x07))
- {
- Return (0x40)
- }
- Else
- {
- If (LEqual (_T_1, 0x08))
- {
- Return (0x80)
- }
- Else
- {
- If (LEqual (_T_1, 0x09))
- {
- Return (0x0100)
- }
- }
- }
- }
- }
- }
- }
- }
- }
- Break
- }
- }
- }
- 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 (SRMB, MEMB)
- Or (PDBM, 0x02, PDBM)
- OperationRegion (MCA1, SystemMemory, SRMB, 0x9000)
- Field (MCA1, DWordAcc, Lock, Preserve)
- {
- Offset (0x510),
- R510, 32,
- Offset (0x520),
- R520, 32,
- Offset (0x530),
- R530, 32,
- Offset (0x540),
- R540, 32,
- Offset (0x80E0),
- , 15,
- AX15, 1,
- Offset (0x8154),
- , 31,
- CLK2, 1,
- Offset (0x816C),
- , 2,
- CLK0, 1,
- , 11,
- CLK1, 1
- }
- Store (D0D3, Local3)
- If (LEqual (Local3, 0x03))
- {
- Store (Zero, D0D3)
- }
- If (LEqual (PCHS, 0x02))
- {
- Store (Zero, MB13)
- Store (Zero, MB14)
- Store (Zero, CLK0)
- Store (Zero, CLK1)
- }
- Store (One, CLK2)
- If (LEqual (PCHS, 0x02))
- {
- While (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
- And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 0x03FB),
- 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
- {
- Stall (0x32)
- }
- Store (R510, Local0)
- If (LEqual (And (Local0, 0x000203FB), 0x02A0))
- {
- Or (Local0, 0x80000000, R510)
- While (LEqual (And (R510, 0x00180000), Zero))
- {
- Stall (0x32)
- }
- And (R510, 0xFFFFFFFFFFFFFFFD, Local0)
- Or (Local0, 0x00FE0000, R510)
- }
- Store (R520, Local0)
- If (LEqual (And (Local0, 0x000203FB), 0x02A0))
- {
- Or (Local0, 0x80000000, R520)
- While (LEqual (And (R520, 0x00180000), Zero))
- {
- Stall (0x32)
- }
- And (R520, 0xFFFFFFFFFFFFFFFD, Local0)
- Or (Local0, 0x00FE0000, R520)
- }
- Store (R530, Local0)
- If (LEqual (And (Local0, 0x000203FB), 0x02A0))
- {
- Or (Local0, 0x80000000, R530)
- While (LEqual (And (R530, 0x00180000), Zero))
- {
- Stall (0x32)
- }
- And (R530, 0xFFFFFFFFFFFFFFFD, Local0)
- Or (Local0, 0x00FE0000, R530)
- }
- Store (R540, Local0)
- If (LEqual (And (Local0, 0x000203FB), 0x02A0))
- {
- Or (Local0, 0x80000000, R540)
- While (LEqual (And (R540, 0x00180000), Zero))
- {
- Stall (0x32)
- }
- And (R540, 0xFFFFFFFFFFFFFFFD, Local0)
- Or (Local0, 0x00FE0000, R540)
- }
- Store (One, AX15)
- }
- If (CondRefOf (\_SB.PCI0.XHC.PS0X))
- {
- PS0X ()
- }
- If (LEqual (Local3, 0x03))
- {
- Store (0x03, D0D3)
- }
- And (PDBM, 0xFFFFFFFFFFFFFFFD, PDBM)
- Store (Local2, MEMB)
- Store (Local1, PDBM)
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- If (LEqual (DVID, 0xFFFF))
- {
- Return (Zero)
- }
- Store (One, PMES)
- Store (One, PMEE)
- Store (MEMB, Local2)
- Store (PDBM, Local1)
- And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
- Store (SRMB, MEMB)
- Or (PDBM, 0x02, PDBM)
- OperationRegion (MCA1, SystemMemory, SRMB, 0x9000)
- Field (MCA1, DWordAcc, Lock, Preserve)
- {
- Offset (0x80E0),
- , 15,
- AX15, 1,
- Offset (0x8154),
- , 31,
- CLK2, 1,
- Offset (0x816C),
- , 2,
- CLK0, 1,
- , 11,
- CLK1, 1,
- Offset (0x8170)
- }
- Store (D0D3, Local3)
- If (LEqual (Local3, 0x03))
- {
- Store (Zero, D0D3)
- }
- If (LEqual (PCHS, 0x02))
- {
- Store (One, MB13)
- Store (One, MB14)
- Store (One, CLK0)
- Store (One, CLK1)
- }
- Store (Zero, CLK2)
- If (LEqual (PCHS, 0x02))
- {
- Store (Zero, AX15)
- }
- If (CondRefOf (\_SB.PCI0.XHC.PS3X))
- {
- PS3X ()
- }
- If (LEqual (Local3, 0x03))
- {
- Store (0x03, D0D3)
- }
- And (PDBM, 0xFFFFFFFFFFFFFFFD, PDBM)
- Store (Local2, MEMB)
- Store (Local1, PDBM)
- }
- Method (CUID, 1, Serialized)
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xA9, 0x12, 0x95, 0x7C, 0x05, 0x17, 0xB4, 0x4C,
- /* 0008 */ 0xAF, 0x7D, 0x50, 0x6A, 0x24, 0x23, 0xAB, 0x71
- }))
- {
- Return (One)
- }
- Return (Zero)
- }
- Method (POSC, 3, Serialized)
- {
- CreateDWordField (Arg2, Zero, CDW1)
- CreateDWordField (Arg2, 0x08, CDW3)
- If (LEqual (XHCI, Zero))
- {
- Or (CDW1, 0x02, CDW1)
- }
- If (LNot (And (CDW1, One)))
- {
- If (And (CDW3, One))
- {
- ESEL ()
- }
- Else
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- If (LGreater (Arg0, One))
- {
- XSEL ()
- }
- Else
- {
- Or (CDW1, 0x0A, CDW1)
- }
- }
- Else
- {
- If (LGreater (Arg0, 0x02))
- {
- XSEL ()
- }
- Else
- {
- Or (CDW1, 0x0A, CDW1)
- }
- }
- }
- }
- Return (Arg2)
- }
- Method (XSEL, 0, Serialized)
- {
- If (LOr (LEqual (XHCI, 0x02), LEqual (XHCI, 0x03)))
- {
- Store (One, XUSB)
- Store (One, XRST)
- Store (Zero, Local0)
- And (PR3, 0xFFFFFFC0, Local0)
- Or (Local0, PR3M, PR3)
- Store (Zero, Local0)
- And (PR2, 0xFFFF8000, Local0)
- Or (Local0, PR2M, PR2)
- }
- }
- Method (ESEL, 0, Serialized)
- {
- If (LOr (LEqual (XHCI, 0x02), LEqual (XHCI, 0x03)))
- {
- And (PR3, 0xFFFFFFC0, PR3)
- And (PR2, 0xFFFF8000, PR2)
- Store (Zero, XUSB)
- Store (Zero, XRST)
- }
- }
- Method (XWAK, 0, Serialized)
- {
- If (LOr (LEqual (XUSB, One), LEqual (XRST, One)))
- {
- XSEL ()
- }
- }
- Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
- {
- Return (0x02)
- }
- Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
- {
- Return (0x02)
- }
- Device (RHUB)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (HS01)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (One), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (One), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS02)
- {
- Name (_ADR, 0x02) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x02), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x02), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS03)
- {
- Name (_ADR, 0x03) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x03), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x03), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- If (LEqual (And (CDID, 0xF000), 0x9000))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS04)
- {
- Name (_ADR, 0x04) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x04), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x04), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS05)
- {
- Name (_ADR, 0x05) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- Zero,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x05), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x69, 0x0C, 0x80, 0x02, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x05), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS06)
- {
- Name (_ADR, 0x06) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- Zero,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x06), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x69, 0x0C, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x06), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS07)
- {
- Name (_ADR, 0x07) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- Zero,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x07), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x80, 0x03, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x07), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS08)
- {
- Name (_ADR, 0x08) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- Zero,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x08), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x08), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS09)
- {
- Name (_ADR, 0x09) // _ADR: Address
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x09), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x80, 0x04, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x09), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- If (LEqual (And (CDID, 0xF000), 0x9000))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS10)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0A)
- }
- Else
- {
- Return (0xFA)
- }
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x0A), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x0A), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS11)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0B)
- }
- Else
- {
- Return (0xFB)
- }
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x0B), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x0B), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS12)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0C)
- }
- Else
- {
- Return (0xFC)
- }
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x0C), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x0C), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS13)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0D)
- }
- Else
- {
- Return (0xFD)
- }
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x0D), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x0D), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS14)
- {
- Name (_ADR, 0x0E) // _ADR: Address
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0xFF,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x0E), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x0E), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (HS15)
- {
- Name (_ADR, 0x0F) // _ADR: Address
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- Zero,
- Zero,
- Zero,
- Zero
- })
- If (LNot (And (PR2S (0x0F), PR2)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR2S (0x0F), PR2)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (SSP1)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x10)
- }
- Else
- {
- Return (0x0A)
- }
- }
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR3, One)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR3, One)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (SSP2)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x11)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR3, 0x02)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR3, 0x02)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (SSP3)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x12)
- }
- Else
- {
- Return (0x0C)
- }
- }
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR3, 0x04)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR3, 0x04)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (SSP4)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x13)
- }
- Else
- {
- Return (0x0D)
- }
- }
- Name (_STA, 0x0F) // _STA: Status
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR3, 0x08)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR3, 0x08)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (SSP5)
- {
- Name (_ADR, 0x14) // _ADR: Address
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR3, 0x10)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x80, 0x02, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR3, 0x10)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- Device (SSP6)
- {
- Name (_ADR, 0x15) // _ADR: Address
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- 0xFF,
- 0x03,
- Zero,
- Zero
- })
- If (LNot (And (PR3, 0x20)))
- {
- Store (Zero, Index (UPCP, Zero))
- }
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x10)
- {
- /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x71, 0x0C, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00
- }
- })
- CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
- If (LNot (And (PR3, 0x20)))
- {
- And (VIS, Zero, VIS)
- }
- Return (PLDP)
- }
- }
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x6D, 0x04))
- }
- }
- Device (HDEF)
- {
- Name (_ADR, 0x001B0000) // _ADR: Address
- OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
- Field (HDAR, WordAcc, NoLock, Preserve)
- {
- DCKA, 1,
- Offset (0x01),
- DCKM, 1,
- , 6,
- DCKS, 1,
- Offset (0x08),
- Offset (0x09),
- PMEE, 1,
- , 6,
- PMES, 1
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x6D, 0x04))
- }
- }
- Scope (\_SB.PCI0)
- {
- Device (SIRC)
- {
- Name (_HID, EisaId ("PNP0C02")) // _HID: Hardware ID
- Name (_UID, 0x04) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (And (CDID, 0xF000), 0x8000))
- {
- Return (Zero)
- }
- Return (0x0F)
- }
- Name (BUF1, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y21)
- })
- Name (BUF2, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE104000, // Address Base
- 0x00001000, // Address Length
- _Y22)
- })
- Name (BUF3, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE106000, // Address Base
- 0x00001000, // Address Length
- _Y23)
- })
- Name (BUF4, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y24)
- })
- Name (BUF5, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y25)
- })
- Name (BUF6, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y26)
- })
- Name (BUF7, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE10E000, // Address Base
- 0x00001000, // Address Length
- _Y27)
- })
- Name (BUF8, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE112000, // Address Base
- 0x00001000, // Address Length
- _Y28)
- })
- Name (BUFL, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00000008, // Address Length
- _Y29)
- })
- Name (BUFH, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00000FEC, // Address Length
- _Y2A)
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Store (ResourceTemplate ()
- {
- }, Local0)
- CreateDWordField (BUF1, \_SB.PCI0.SIRC._Y21._BAS, BR01) // _BAS: Base Address
- CreateDWordField (BUF2, \_SB.PCI0.SIRC._Y22._BAS, BR02) // _BAS: Base Address
- CreateDWordField (BUF3, \_SB.PCI0.SIRC._Y23._BAS, BR03) // _BAS: Base Address
- CreateDWordField (BUF4, \_SB.PCI0.SIRC._Y24._BAS, BR04) // _BAS: Base Address
- CreateDWordField (BUF5, \_SB.PCI0.SIRC._Y25._BAS, BR05) // _BAS: Base Address
- CreateDWordField (BUF6, \_SB.PCI0.SIRC._Y26._BAS, BR06) // _BAS: Base Address
- CreateDWordField (BUF7, \_SB.PCI0.SIRC._Y27._BAS, BR07) // _BAS: Base Address
- CreateDWordField (BUF8, \_SB.PCI0.SIRC._Y28._BAS, BR08) // _BAS: Base Address
- If (LNotEqual (BR01, Zero))
- {
- ConcatenateResTemplate (Local0, BUF1, Local0)
- }
- If (LNotEqual (BR02, Zero))
- {
- ConcatenateResTemplate (Local0, BUF2, Local0)
- }
- If (LNotEqual (BR03, Zero))
- {
- ConcatenateResTemplate (Local0, BUF3, Local0)
- }
- If (LNotEqual (BR04, Zero))
- {
- ConcatenateResTemplate (Local0, BUF4, Local0)
- }
- If (LNotEqual (BR05, Zero))
- {
- ConcatenateResTemplate (Local0, BUF5, Local0)
- }
- If (LNotEqual (BR06, Zero))
- {
- ConcatenateResTemplate (Local0, BUF6, Local0)
- }
- If (LNotEqual (BR07, Zero))
- {
- ConcatenateResTemplate (Local0, BUF7, Local0)
- }
- If (LNotEqual (BR08, Zero))
- {
- ConcatenateResTemplate (Local0, BUF8, Local0)
- OperationRegion (SDCH, SystemMemory, BR08, 0x40)
- Field (SDCH, DWordAcc, NoLock, Preserve)
- {
- Offset (0x10),
- BAR0, 32
- }
- CreateDWordField (BUFL, \_SB.PCI0.SIRC._Y29._BAS, LBAS) // _BAS: Base Address
- CreateDWordField (BUFH, \_SB.PCI0.SIRC._Y2A._BAS, HBAS) // _BAS: Base Address
- Add (BAR0, 0x1000, LBAS)
- Add (BAR0, 0x1014, HBAS)
- ConcatenateResTemplate (Local0, BUFL, Local0)
- ConcatenateResTemplate (Local0, BUFH, Local0)
- }
- Return (Local0)
- }
- Method (CNTR, 1, Serialized)
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- While (One)
- {
- Store (ToInteger (Arg0), _T_0)
- If (LEqual (_T_0, One))
- {
- CreateDWordField (BUF1, \_SB.PCI0.SIRC._Y21._BAS, BAR1) // _BAS: Base Address
- Return (BAR1)
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- CreateDWordField (BUF2, \_SB.PCI0.SIRC._Y22._BAS, BAR2) // _BAS: Base Address
- Return (BAR2)
- }
- Else
- {
- If (LEqual (_T_0, 0x03))
- {
- CreateDWordField (BUF3, \_SB.PCI0.SIRC._Y23._BAS, BAR3) // _BAS: Base Address
- Return (BAR3)
- }
- Else
- {
- If (LEqual (_T_0, 0x04))
- {
- CreateDWordField (BUF4, \_SB.PCI0.SIRC._Y24._BAS, BAR4) // _BAS: Base Address
- Return (BAR4)
- }
- Else
- {
- If (LEqual (_T_0, 0x05))
- {
- CreateDWordField (BUF5, \_SB.PCI0.SIRC._Y25._BAS, BAR5) // _BAS: Base Address
- Return (BAR5)
- }
- Else
- {
- If (LEqual (_T_0, 0x06))
- {
- CreateDWordField (BUF6, \_SB.PCI0.SIRC._Y26._BAS, BAR6) // _BAS: Base Address
- Return (BAR6)
- }
- Else
- {
- If (LEqual (_T_0, 0x07))
- {
- CreateDWordField (BUF7, \_SB.PCI0.SIRC._Y27._BAS, BAR7) // _BAS: Base Address
- Return (BAR7)
- }
- Else
- {
- If (LEqual (_T_0, 0x08))
- {
- CreateDWordField (BUF8, \_SB.PCI0.SIRC._Y28._BAS, BAR8) // _BAS: Base Address
- Return (BAR8)
- }
- Else
- {
- Return (0xFFFFFFFF)
- }
- }
- }
- }
- }
- }
- }
- }
- Break
- }
- }
- }
- Device (GPI0)
- {
- Name (_HID, "INT33C7") // _HID: Hardware ID
- Name (_CID, "INT33C7") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (RBUF, ResourceTemplate ()
- {
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00001C00, // Range Minimum
- 0x00001FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000400, // Length
- ,, _Y2B, TypeStatic)
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.GPI0._Y2B._MIN, BVAL) // _MIN: Minimum Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- }
- Device (SDMA)
- {
- Name (_HID, "INTL9C60") // _HID: Hardware ID
- Name (_UID, One) // _UID: Unique ID
- Name (_ADR, 0x00150000) // _ADR: Address
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y2C)
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x00000014,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- Method (PTD3, 0, NotSerialized)
- {
- If (LNotEqual (^^SIRC.CNTR (One), Zero))
- {
- Add (^^SIRC.CNTR (One), 0x84, Local0)
- OperationRegion (DMB1, SystemMemory, Local0, 0x04)
- Field (DMB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- }
- }
- CreateDWordField (RBUF, \_SB.PCI0.SDMA._Y2C._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LAnd (LEqual (DOSD, 0x02), LEqual (OSYS, 0x07DC)))
- {
- PTD3 ()
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- }
- Device (I2C0)
- {
- Name (_HID, "INT33C2") // _HID: Hardware ID
- Name (_CID, "INT33C2") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_ADR, 0x00150001) // _ADR: Address
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("I2C0 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("I2C0 DEP")
- Return (Package (0x01)
- {
- PEPD
- })
- }
- Else
- {
- ADBG ("I2C0 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- Method (SSCN, 0, NotSerialized)
- {
- Name (PKG, Package (0x03)
- {
- 0x01B0,
- 0x01FB,
- 0x09
- })
- Store (SSH0, Index (PKG, Zero))
- Store (SSL0, Index (PKG, One))
- Store (SSD0, Index (PKG, 0x02))
- Return (PKG)
- }
- Method (FMCN, 0, NotSerialized)
- {
- Name (PKG, Package (0x03)
- {
- 0x48,
- 0xA0,
- 0x09
- })
- Store (FMH0, Index (PKG, Zero))
- Store (FML0, Index (PKG, One))
- Store (FMD0, Index (PKG, 0x02))
- Return (PKG)
- }
- Method (FPCN, 0, NotSerialized)
- {
- Name (PKG, Package (0x03)
- {
- 0x1A,
- 0x32,
- 0x05
- })
- Store (FPH0, Index (PKG, Zero))
- Store (FPL0, Index (PKG, One))
- Store (FPD0, Index (PKG, 0x02))
- Return (PKG)
- }
- Method (M0D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M0C0, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M1D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0x07D0
- })
- Store (M1C0, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M0D0, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- Zero
- })
- Store (M2C0, Index (PKG, Zero))
- Return (PKG)
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE103000, // Address Base
- 0x00001000, // Address Length
- _Y2D)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x00000007,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (DBUF, ResourceTemplate ()
- {
- FixedDMA (0x0018, 0x0004, Width32bit, )
- FixedDMA (0x0019, 0x0005, Width32bit, )
- })
- If (LNotEqual (^^SDMA._STA (), Zero))
- {
- Return (ConcatenateResTemplate (RBUF, DBUF))
- }
- Else
- {
- Return (RBUF)
- }
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.I2C0._Y2D._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("I2C0 Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x02), Zero))
- {
- Add (^^SIRC.CNTR (0x02), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- If (CondRefOf (\_SB.PCI0.I2C0.PS0X))
- {
- PS0X ()
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("I2C0 Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x02), Zero))
- {
- Add (^^SIRC.CNTR (0x02), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- If (CondRefOf (\_SB.PCI0.I2C0.PS3X))
- {
- PS3X ()
- }
- }
- }
- Device (I2C1)
- {
- Name (_HID, "INT33C3") // _HID: Hardware ID
- Name (_CID, "INT33C3") // _CID: Compatible ID
- Name (_UID, 0x02) // _UID: Unique ID
- Name (_ADR, 0x00150002) // _ADR: Address
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("I2C1 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("I2C1 DEP")
- Return (Package (0x01)
- {
- PEPD
- })
- }
- Else
- {
- ADBG ("I2C1 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- Method (SSCN, 0, NotSerialized)
- {
- Name (PKG, Package (0x03)
- {
- 0x01B0,
- 0x01FB,
- 0x09
- })
- Store (SSH1, Index (PKG, Zero))
- Store (SSL1, Index (PKG, One))
- Store (SSD1, Index (PKG, 0x02))
- Return (PKG)
- }
- Method (FMCN, 0, NotSerialized)
- {
- Name (PKG, Package (0x03)
- {
- 0x48,
- 0xA0,
- 0x09
- })
- Store (FMH1, Index (PKG, Zero))
- Store (FML1, Index (PKG, One))
- Store (FMD1, Index (PKG, 0x02))
- Return (PKG)
- }
- Method (FPCN, 0, NotSerialized)
- {
- Name (PKG, Package (0x03)
- {
- 0x1A,
- 0x32,
- 0x05
- })
- Store (FPH1, Index (PKG, Zero))
- Store (FPL1, Index (PKG, One))
- Store (FPD1, Index (PKG, 0x02))
- Return (PKG)
- }
- Method (M0D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M0C1, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M1D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0x07D0
- })
- Store (M1C1, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M0D0, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- Zero
- })
- Store (M2C1, Index (PKG, Zero))
- Return (PKG)
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE105000, // Address Base
- 0x00001000, // Address Length
- _Y2E)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x00000007,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (DBUF, ResourceTemplate ()
- {
- FixedDMA (0x001A, 0x0006, Width32bit, )
- FixedDMA (0x001B, 0x0007, Width32bit, )
- })
- If (LNotEqual (^^SDMA._STA (), Zero))
- {
- Return (ConcatenateResTemplate (RBUF, DBUF))
- }
- Else
- {
- Return (RBUF)
- }
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.I2C1._Y2E._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("I2C1 Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x03), Zero))
- {
- If (CondRefOf (\_SB.PCI0.I2C1.PS0X))
- {
- PS0X ()
- }
- Add (^^SIRC.CNTR (0x03), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("I2C1 Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x03), Zero))
- {
- Add (^^SIRC.CNTR (0x03), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- }
- }
- Device (SPI0)
- {
- Name (_HID, "INT33C0") // _HID: Hardware ID
- Name (_CID, "INT33C0") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_ADR, 0x00150003) // _ADR: Address
- Method (M0D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M0C2, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M1D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0x07D0
- })
- Store (M1C2, Index (PKG, Zero))
- Return (PKG)
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y2F)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x00000015,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.SPI0._Y2F._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("SPI0 Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x04), Zero))
- {
- Add (^^SIRC.CNTR (0x04), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("SPI0 Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x04), Zero))
- {
- Add (^^SIRC.CNTR (0x04), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- }
- }
- Device (SPI1)
- {
- Name (_HID, "INT33C1") // _HID: Hardware ID
- Name (_CID, "INT33C1") // _CID: Compatible ID
- Name (_UID, 0x02) // _UID: Unique ID
- Name (_ADR, 0x00150004) // _ADR: Address
- Method (M0D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M0C3, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M1D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0x07D0
- })
- Store (M1C3, Index (PKG, Zero))
- Return (PKG)
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y30)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x00000015,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (DBUF, ResourceTemplate ()
- {
- FixedDMA (0x0010, 0x0000, Width32bit, )
- FixedDMA (0x0011, 0x0001, Width32bit, )
- })
- If (LNotEqual (^^SDMA._STA (), Zero))
- {
- Return (ConcatenateResTemplate (RBUF, DBUF))
- }
- Else
- {
- Return (RBUF)
- }
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.SPI1._Y30._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("SPI1 Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x05), Zero))
- {
- Add (^^SIRC.CNTR (0x05), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("SPI1 Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x05), Zero))
- {
- Add (^^SIRC.CNTR (0x05), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- }
- }
- Device (UA00)
- {
- Name (_HID, "INT33C4") // _HID: Hardware ID
- Name (_CID, "INT33C4") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_ADR, 0x00150005) // _ADR: Address
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("UA00 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("UA00 DEP")
- Return (Package (0x01)
- {
- PEPD
- })
- }
- Else
- {
- ADBG ("UA00 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- Method (M0D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M0C4, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M1D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M1C4, Index (PKG, Zero))
- Return (PKG)
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y31)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x00000015,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.UA00._Y31._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("UAR0 Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x06), Zero))
- {
- Add (^^SIRC.CNTR (0x06), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("UAR0 Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x06), Zero))
- {
- Add (^^SIRC.CNTR (0x06), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- }
- }
- Device (UA01)
- {
- Name (_HID, "INT33C5") // _HID: Hardware ID
- Name (_CID, "INT33C5") // _CID: Compatible ID
- Name (_UID, 0x02) // _UID: Unique ID
- Name (_ADR, 0x00150006) // _ADR: Address
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("UA01 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("UA01 DEP")
- Return (Package (0x01)
- {
- PEPD
- })
- }
- Else
- {
- ADBG ("UA01 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- Method (M0D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M0C5, Index (PKG, Zero))
- Return (PKG)
- }
- Method (M1D3, 0, NotSerialized)
- {
- Name (PKG, Package (0x01)
- {
- 0xC8
- })
- Store (M1C5, Index (PKG, Zero))
- Return (PKG)
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE10D000, // Address Base
- 0x00001000, // Address Length
- _Y32)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x0000000D,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (DBUF, ResourceTemplate ()
- {
- FixedDMA (0x0016, 0x0002, Width32bit, )
- FixedDMA (0x0017, 0x0003, Width32bit, )
- })
- If (LNotEqual (^^SDMA._STA (), Zero))
- {
- Return (ConcatenateResTemplate (RBUF, DBUF))
- }
- Else
- {
- Return (RBUF)
- }
- }
- Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
- {
- Return (CRID)
- }
- CreateDWordField (RBUF, \_SB.PCI0.UA01._Y32._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("UAR1 Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x07), Zero))
- {
- Add (^^SIRC.CNTR (0x07), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("UAR1 Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x07), Zero))
- {
- Add (^^SIRC.CNTR (0x07), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- }
- }
- Device (SDHC)
- {
- Name (_HID, "INT33C6") // _HID: Hardware ID
- Name (_CID, "PNP0D40") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_ADR, 0x00170000) // _ADR: Address
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("SDHC DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("SDHC DEP")
- Return (Package (0x01)
- {
- PEPD
- })
- }
- Else
- {
- ADBG ("SDHC DEP NULL")
- Return (Package (0x00) {})
- }
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFE110000, // Address Base
- 0x00001000, // Address Length
- _Y33)
- Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
- {
- 0x00000005,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- CreateDWordField (RBUF, \_SB.PCI0.SDHC._Y33._BAS, BVAL) // _BAS: Base Address
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BVAL, Zero))
- {
- Return (Zero)
- }
- If (LLess (OSYS, 0x07DC))
- {
- Return (Zero)
- }
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("SDHC Ctrlr D0")
- If (LNotEqual (^^SIRC.CNTR (0x08), Zero))
- {
- Add (^^SIRC.CNTR (0x08), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- And (TEMP, 0xFFFFFFFC, TEMP)
- Store (TEMP, Local0)
- }
- If (CondRefOf (\_SB.PCI0.SDHC.PS0X))
- {
- PS0X ()
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("SDHC Ctrlr D3")
- If (LNotEqual (^^SIRC.CNTR (0x08), Zero))
- {
- Add (^^SIRC.CNTR (0x08), 0x84, Local0)
- OperationRegion (ICB1, SystemMemory, Local0, 0x04)
- Field (ICB1, DWordAcc, NoLock, Preserve)
- {
- TEMP, 32
- }
- Or (TEMP, 0x03, TEMP)
- Store (TEMP, Local0)
- }
- }
- }
- }
- Scope (\_SB.PCI0)
- {
- }
- Scope (I2C0)
- {
- Device (ACD0)
- {
- Name (_ADR, 0x1C) // _ADR: Address
- Name (_HID, "INT33CA") // _HID: Hardware ID
- Name (_CID, "INT33CA") // _CID: Compatible ID
- Name (_DDN, "Intel(R) Smart Sound Technology Audio Codec - INT33CA") // _DDN: DOS Device Name
- Name (_UID, One) // _UID: Unique ID
- Name (MCLK, Zero)
- Name (SCLK, 0x09)
- Name (SSPM, Zero)
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x001C, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C0",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, )
- {
- 0x00000025,
- }
- })
- Name (EOD, One)
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- Store (One, EOD)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LOr (LNotEqual (CODS, Zero), LNotEqual (ADSD, Zero)))
- {
- Return (Zero)
- }
- If (And (EOD, One, EOD))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x0D)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Store (Zero, EOD)
- }
- }
- Device (ACD1)
- {
- Name (_ADR, 0x4A) // _ADR: Address
- Name (_HID, "INT33C9") // _HID: Hardware ID
- Name (_CID, "INT33C9") // _CID: Compatible ID
- Name (_DDN, "Intel(R) Smart Sound Technology Audio Codec - INT33C9") // _DDN: DOS Device Name
- Name (_UID, One) // _UID: Unique ID
- Name (MCLK, 0x06)
- Name (SCLK, Zero)
- Name (SSPM, One)
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x004A, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C0",
- 0x00, ResourceConsumer, ,
- )
- })
- Name (EOD, One)
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Store (One, EOD)
- Return (RBUF)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LOr (LNotEqual (CODS, One), LNotEqual (ADSD, Zero)))
- {
- Return (Zero)
- }
- If (And (EOD, One, EOD))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x0D)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Store (Zero, EOD)
- }
- }
- Device (ACD2)
- {
- Name (_ADR, 0x69) // _ADR: Address
- Name (_HID, "INT33CB") // _HID: Hardware ID
- Name (_CID, "INT33CB") // _CID: Compatible ID
- Name (_DDN, "Intel(R) Smart Sound Technology Audio Codec - INT33CB") // _DDN: DOS Device Name
- Name (_UID, One) // _UID: Unique ID
- Name (MCLK, 0x18)
- Name (SCLK, 0x09)
- Name (SSPM, Zero)
- Name (RBUF, ResourceTemplate ()
- {
- I2cSerialBus (0x0069, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C0",
- 0x00, ResourceConsumer, ,
- )
- GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionInputOnly,
- "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0033
- }
- GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionInputOnly,
- "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0035
- }
- Interrupt (ResourceConsumer, Edge, ActiveHigh, ExclusiveAndWake, ,, )
- {
- 0x00000023,
- }
- Interrupt (ResourceConsumer, Edge, ActiveHigh, ExclusiveAndWake, ,, )
- {
- 0x00000025,
- }
- })
- Name (EOD, One)
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Return (RBUF)
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- Store (One, EOD)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LOr (LNotEqual (CODS, 0x02), LNotEqual (ADSD, Zero)))
- {
- Return (Zero)
- }
- If (And (EOD, One, EOD))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x0D)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Store (Zero, EOD)
- }
- }
- Device (SHUB)
- {
- Name (_HID, "INT33D1") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_ADR, Zero) // _ADR: Address
- Name (_UID, One) // _UID: Unique ID
- Name (_RMV, One) // _RMV: Removal Status
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LNotEqual (And (SDS0, One), One))
- {
- Return (Zero)
- }
- If (LAnd (LEqual (RDGP (0x2C), One), LEqual (_HID, "INT33D1")))
- {
- Return (0x0F)
- }
- If (LAnd (LEqual (RDGP (0x2C), Zero), LEqual (_HID, "INT33D7")))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (One)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0040, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C0",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x0000001C,
- }
- })
- Return (SBFI)
- }
- }
- Device (DFUD)
- {
- Name (_HID, "INT33D7") // _HID: Hardware ID
- Name (_ADR, Zero) // _ADR: Address
- Name (_UID, One) // _UID: Unique ID
- Name (_RMV, One) // _RMV: Removal Status
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LNotEqual (And (SDS0, One), One))
- {
- Return (Zero)
- }
- If (LAnd (LEqual (RDGP (0x2C), One), LEqual (_HID, "INT33D1")))
- {
- Return (0x0F)
- }
- If (LAnd (LEqual (RDGP (0x2C), Zero), LEqual (_HID, "INT33D7")))
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (One)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0040, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C0",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x0000001C,
- }
- })
- Return (SBFI)
- }
- }
- Device (TPD4)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "MSFT1111") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (One)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS0, 0x04), 0x04))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0060, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C0",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x0000001C,
- }
- })
- Return (SBFI)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (Package (0x02)
- {
- 0x0E,
- 0x04
- })
- }
- Method (_S3W, 0, NotSerialized) // _S3W: S3 Device Wake State
- {
- Return (0x03)
- }
- Method (_S4W, 0, NotSerialized) // _S4W: S4 Device Wake State
- {
- Return (0x03)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("TPD4 Ctrlr D0")
- WTIN (0x0E, Zero)
- Store (One, GO14)
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("TPD4 Ctrlr D3")
- WTIN (0x0E, One)
- Store (Zero, GO14)
- }
- }
- }
- Scope (I2C1)
- {
- Device (TPL0)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "ATML1000") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (Zero)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS1, One), One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x004C, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x00000022,
- }
- })
- Return (SBFI)
- }
- }
- Device (TPFU)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (_HID, "ATML2000") // _HID: Hardware ID
- Name (_CID, "PNP0C02") // _CID: Compatible ID
- Name (_UID, 0x0A) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LAnd (And (SDS1, One), And (APFU, One)))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0026, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- I2cSerialBus (0x0027, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- })
- Return (SBFI)
- }
- }
- Device (TPL1)
- {
- Name (_HID, "ELAN1001") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- 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 (LEqual (And (SDS1, 0x02), 0x02))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0010, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x00000022,
- }
- })
- Return (SBFI)
- }
- }
- Device (TPL2)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "NTRG0001") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- 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 (LEqual (And (SDS1, 0x20), 0x20))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0007, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x00000022,
- }
- })
- Return (SBFI)
- }
- }
- Device (TPL3)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "EETI7900") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (0x0F)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS1, 0x40), 0x40))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x002A, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
- {
- 0x00000022,
- }
- })
- Return (SBFI)
- }
- }
- Device (TPD0)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "ELAN1000") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- 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 (LEqual (And (SDS1, 0x04), 0x04))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0015, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y34)
- {
- 0x00000027,
- }
- })
- If (LEqual (GR13, One))
- {
- CreateByteField (SBFI, \_SB.PCI0.I2C1.TPD0._CRS._Y34._INT, VAL3) // _INT: Interrupts
- Store (0x1B, VAL3)
- }
- Return (SBFI)
- }
- }
- Device (TPD1)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "MSFT0001") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (0x20)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS1, 0x08), 0x08))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0020, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y35)
- {
- 0x00000027,
- }
- })
- If (LEqual (GR13, One))
- {
- CreateByteField (SBFI, \_SB.PCI0.I2C1.TPD1._CRS._Y35._INT, VAL3) // _INT: Interrupts
- Store (0x1B, VAL3)
- }
- Return (SBFI)
- }
- }
- Device (TPD2)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "ALP0001") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- 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 (LEqual (And (SDS1, 0x80), 0x80))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x002A, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y36)
- {
- 0x00000027,
- }
- })
- If (LEqual (GR13, One))
- {
- CreateByteField (SBFI, \_SB.PCI0.I2C1.TPD2._CRS._Y36._INT, VAL3) // _INT: Interrupts
- Store (0x1B, VAL3)
- }
- Return (SBFI)
- }
- }
- Device (TPD3)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "CYP0001") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x04) // _S0W: S0 Device Wake State
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- 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 (LEqual (And (SDS1, 0x0100), 0x0100))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0024, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, _Y37)
- {
- 0x00000027,
- }
- })
- If (LEqual (GR13, One))
- {
- CreateByteField (SBFI, \_SB.PCI0.I2C1.TPD3._CRS._Y37._INT, VAL3) // _INT: Interrupts
- Store (0x1B, VAL3)
- }
- Return (SBFI)
- }
- }
- Device (TPD7)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "ELAN1010") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x03) // _S0W: S0 Device Wake State
- Method (_S3W, 0, NotSerialized) // _S3W: S3 Device Wake State
- {
- If (LEqual (S0ID, Zero))
- {
- Return (0x03)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- 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 (LEqual (And (SDS1, 0x0800), 0x0800))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0015, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y38)
- {
- 0x00000027,
- }
- })
- If (LEqual (GR13, One))
- {
- CreateByteField (SBFI, \_SB.PCI0.I2C1.TPD7._CRS._Y38._INT, VAL3) // _INT: Interrupts
- Store (0x1B, VAL3)
- If (LEqual (S0ID, Zero))
- {
- CreateByteField (SBFI, 0x24, VAL4)
- And (VAL4, 0xE7, VAL4)
- }
- }
- Return (SBFI)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- If (LAnd (LEqual (S0ID, Zero), LEqual (GR13, One)))
- {
- Return (Package (0x02)
- {
- 0x0D,
- 0x03
- })
- }
- Return (Package (0x02)
- {
- Zero,
- Zero
- })
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("TPD7 Ctrlr D0")
- If (LAnd (LEqual (S0ID, Zero), LEqual (GR13, One)))
- {
- WTIN (0x0D, Zero)
- Store (One, GO13)
- }
- If (CondRefOf (\_SB.PCI0.I2C1.TPD7.PS0X))
- {
- PS0X ()
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("TPD7 Ctrlr D3")
- If (LAnd (LEqual (S0ID, Zero), LEqual (GR13, One)))
- {
- WTIN (0x0D, One)
- Store (Zero, GO13)
- }
- }
- }
- Device (TPD8)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_HID, "MSFT0002") // _HID: Hardware ID
- Name (_CID, "PNP0C50") // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (_S0W, 0x03) // _S0W: S0 Device Wake State
- Method (_S3W, 0, NotSerialized) // _S3W: S3 Device Wake State
- {
- If (LEqual (S0ID, Zero))
- {
- Return (0x03)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xF7, 0xF6, 0xDF, 0x3C, 0x67, 0x42, 0x55, 0x45,
- /* 0008 */ 0xAD, 0x05, 0xB3, 0x0A, 0x3D, 0x89, 0x38, 0xDE
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- If (LEqual (Arg1, One))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- If (LEqual (Arg2, One))
- {
- Return (0x20)
- }
- }
- Else
- {
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS1, 0x1000), 0x1000))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (SBFI, ResourceTemplate ()
- {
- I2cSerialBus (0x0020, ControllerInitiated, 0x00061A80,
- AddressingMode7Bit, "\\_SB.PCI0.I2C1",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y39)
- {
- 0x00000027,
- }
- })
- If (LEqual (GR13, One))
- {
- CreateByteField (SBFI, \_SB.PCI0.I2C1.TPD8._CRS._Y39._INT, VAL3) // _INT: Interrupts
- Store (0x1B, VAL3)
- If (LEqual (S0ID, Zero))
- {
- CreateByteField (SBFI, 0x24, VAL4)
- And (VAL4, 0xE7, VAL4)
- }
- }
- Return (SBFI)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- If (LAnd (LEqual (S0ID, Zero), LEqual (GR13, One)))
- {
- Return (Package (0x02)
- {
- 0x0D,
- 0x03
- })
- }
- Return (Package (0x02)
- {
- Zero,
- Zero
- })
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("TPD8 Ctrlr D0")
- If (LAnd (LEqual (S0ID, Zero), LEqual (GR13, One)))
- {
- WTIN (0x0D, Zero)
- Store (One, GO13)
- }
- If (CondRefOf (\_SB.PCI0.I2C1.TPD8.PS0X))
- {
- PS0X ()
- }
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("TPD8 Ctrlr D3")
- If (LAnd (LEqual (S0ID, Zero), LEqual (GR13, One)))
- {
- WTIN (0x0D, One)
- Store (Zero, GO13)
- }
- }
- }
- }
- Scope (SPI0)
- {
- }
- Scope (SPI1)
- {
- }
- Scope (UA00)
- {
- Device (BTH0)
- {
- Name (_HID, "INT33E0") // _HID: Hardware ID
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (UBUF, ResourceTemplate ()
- {
- UartSerialBus (0x0001C200, DataBitsEight, StopBitsOne,
- 0xC0, LittleEndian, ParityTypeNone, FlowControlHardware,
- 0x0020, 0x0020, "\\_SB.PCI0.UA00",
- 0x00, ResourceConsumer, ,
- )
- })
- Return (UBUF)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS4, One), One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- }
- }
- Scope (UA01)
- {
- Device (BTH1)
- {
- Name (_HID, "INT33E0") // _HID: Hardware ID
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (UBUF, ResourceTemplate ()
- {
- UartSerialBus (0x0001C200, DataBitsEight, StopBitsOne,
- 0xC0, LittleEndian, ParityTypeNone, FlowControlHardware,
- 0x0020, 0x0020, "\\_SB.PCI0.UA01",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Level, ActiveLow, SharedAndWake, ,, )
- {
- 0x00000019,
- }
- GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
- "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0057
- }
- })
- Return (UBUF)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS5, One), One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- }
- Device (BTH2)
- {
- Method (_HID, 0, NotSerialized) // _HID: Hardware ID
- {
- If (LEqual (BCV4, Zero))
- {
- Return ("BCM2E20")
- }
- Else
- {
- Return ("BCM2E40")
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (UBUF, ResourceTemplate ()
- {
- UartSerialBus (0x0001C200, DataBitsEight, StopBitsOne,
- 0xC0, LittleEndian, ParityTypeNone, FlowControlHardware,
- 0x0020, 0x0020, "\\_SB.PCI0.UA01",
- 0x00, ResourceConsumer, ,
- )
- Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive, ,, )
- {
- 0x00000019,
- }
- GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
- "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0039
- }
- GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
- "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
- )
- { // Pin list
- 0x0057
- }
- })
- Return (UBUF)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (SDS5, 0x02), 0x02))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Name (_S0W, 0x02) // _S0W: S0 Device Wake State
- }
- }
- Scope (SDHC)
- {
- Device (WI01)
- {
- Name (_ADR, One) // _ADR: Address
- Name (_DDN, "SDIO Wifi device Function 1") // _DDN: DOS Device Name
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (0x0F)
- }
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (Zero)
- }
- Name (_S4W, 0x02) // _S4W: S4 Device Wake State
- Name (_S0W, 0x02) // _S0W: S0 Device Wake State
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ADBG ("WiFi1 Enter D0")
- If (CondRefOf (\_SB.PCI0.SDHC.WI01.PS0X))
- {
- PS0X ()
- }
- }
- Method (_PS2, 0, Serialized) // _PS2: Power State 2
- {
- ADBG ("WiFi1 Enter D2")
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ADBG ("WiFi1 Enter D3")
- If (CondRefOf (\_SB.PCI0.SDHC.WI01.PS3X))
- {
- PS3X ()
- }
- }
- Name (RBUF, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y3A)
- Interrupt (ResourceConsumer, Level, ActiveLow, SharedAndWake, ,, )
- {
- 0x00000026,
- }
- })
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- CreateDWordField (^^RBUF, \_SB.PCI0.SDHC._Y33._BAS, AVAL) // _BAS: Base Address
- If (LNotEqual (AVAL, Zero))
- {
- CreateDWordField (RBUF, \_SB.PCI0.SDHC.WI01._Y3A._LEN, WLN0) // _LEN: Length
- Store (0x0C, WLN0)
- CreateDWordField (RBUF, \_SB.PCI0.SDHC.WI01._Y3A._BAS, WVAL) // _BAS: Base Address
- Add (AVAL, 0x1008, WVAL)
- }
- Return (RBUF)
- }
- }
- }
- Device (SAT0)
- {
- Name (_ADR, 0x001F0002) // _ADR: Address
- Name (FDEV, Zero)
- Name (FDRP, Zero)
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("SAT0 DEP Call")
- If (LGreaterEqual (OSYS, 0x07DD))
- {
- If (LAnd (LEqual (S0ID, One), LNotEqual (And (PEPC, 0x03
- ), Zero)))
- {
- ADBG ("SAT0 DEP")
- Return (Package (0x01)
- {
- PEPD
- })
- }
- }
- ADBG ("SAT0 DEP NULL")
- Return (Package (0x00) {})
- }
- Device (PRT0)
- {
- Name (_ADR, 0xFFFF) // _ADR: Address
- Method (_SDD, 1, Serialized) // _SDD: Set Device Data
- {
- CreateByteField (Arg0, 0x9D, BFDS)
- ToInteger (BFDS, FDEV)
- CreateByteField (Arg0, 0x9A, BFRP)
- ToInteger (BFRP, FDRP)
- }
- Method (_GTF, 0, Serialized) // _GTF: Get Task File
- {
- If (LAnd (LAnd (LEqual (DVS0, One), LEqual (And (FDEV, One
- ), One)), LEqual (And (FDRP, 0x80), 0x80)))
- {
- Name (PIB1, Buffer (0x07)
- {
- 0x10, 0x09, 0x00, 0x00, 0x00, 0xB0, 0xEF
- })
- Return (PIB1)
- }
- Name (PIB2, Buffer (0x07)
- {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Return (PIB2)
- }
- }
- Device (PRT1)
- {
- Name (_ADR, 0x0001FFFF) // _ADR: Address
- Name (FDEV, Zero)
- Name (FDRP, Zero)
- Method (_SDD, 1, Serialized) // _SDD: Set Device Data
- {
- CreateByteField (Arg0, 0x9D, BFDS)
- ToInteger (BFDS, FDEV)
- CreateByteField (Arg0, 0x9A, BFRP)
- ToInteger (BFRP, FDRP)
- }
- Method (_GTF, 0, Serialized) // _GTF: Get Task File
- {
- If (LAnd (LAnd (LEqual (DVS1, One), LEqual (And (FDEV, One
- ), One)), LEqual (And (FDRP, 0x80), 0x80)))
- {
- Name (PIB1, Buffer (0x07)
- {
- 0x10, 0x09, 0x00, 0x00, 0x00, 0xB0, 0xEF
- })
- Return (PIB1)
- }
- Name (PIB2, Buffer (0x07)
- {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Return (PIB2)
- }
- }
- Device (PRT2)
- {
- Name (_ADR, 0x0002FFFF) // _ADR: Address
- Name (FDEV, Zero)
- Name (FDRP, Zero)
- Method (_SDD, 1, Serialized) // _SDD: Set Device Data
- {
- CreateByteField (Arg0, 0x9D, BFDS)
- ToInteger (BFDS, FDEV)
- CreateByteField (Arg0, 0x9A, BFRP)
- ToInteger (BFRP, FDRP)
- }
- Method (_GTF, 0, Serialized) // _GTF: Get Task File
- {
- If (LAnd (LAnd (LEqual (DVS2, One), LEqual (And (FDEV, One
- ), One)), LEqual (And (FDRP, 0x80), 0x80)))
- {
- Name (PIB1, Buffer (0x07)
- {
- 0x10, 0x09, 0x00, 0x00, 0x00, 0xB0, 0xEF
- })
- Return (PIB1)
- }
- Name (PIB2, Buffer (0x07)
- {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Return (PIB2)
- }
- }
- Device (PRT3)
- {
- Name (_ADR, 0x0003FFFF) // _ADR: Address
- Name (FDEV, Zero)
- Name (FDRP, Zero)
- Method (_SDD, 1, Serialized) // _SDD: Set Device Data
- {
- CreateByteField (Arg0, 0x9D, BFDS)
- ToInteger (BFDS, FDEV)
- CreateByteField (Arg0, 0x9A, BFRP)
- ToInteger (BFRP, FDRP)
- }
- Method (_GTF, 0, Serialized) // _GTF: Get Task File
- {
- If (LAnd (LAnd (LEqual (DVS3, One), LEqual (And (FDEV, One
- ), One)), LEqual (And (FDRP, 0x80), 0x80)))
- {
- Name (PIB1, Buffer (0x07)
- {
- 0x10, 0x09, 0x00, 0x00, 0x00, 0xB0, 0xEF
- })
- Return (PIB1)
- }
- Name (PIB2, Buffer (0x07)
- {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Return (PIB2)
- }
- }
- }
- Device (SAT1)
- {
- Name (_ADR, 0x001F0005) // _ADR: Address
- }
- Device (SBUS)
- {
- Name (_ADR, 0x001F0003) // _ADR: Address
- OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
- Field (SMBP, DWordAcc, NoLock, Preserve)
- {
- , 2,
- I2CE, 1
- }
- OperationRegion (SMPB, PCI_Config, 0x20, 0x04)
- Field (SMPB, DWordAcc, NoLock, Preserve)
- {
- , 5,
- SBAR, 11
- }
- OperationRegion (SMBI, SystemIO, ShiftLeft (SBAR, 0x05), 0x10)
- Field (SMBI, ByteAcc, NoLock, Preserve)
- {
- HSTS, 8,
- Offset (0x02),
- HCON, 8,
- HCOM, 8,
- TXSA, 8,
- DAT0, 8,
- DAT1, 8,
- HBDR, 8,
- PECR, 8,
- RXSA, 8,
- SDAT, 16
- }
- Method (SSXB, 2, Serialized)
- {
- If (STRT ())
- {
- Return (Zero)
- }
- Store (Zero, I2CE)
- Store (0xBF, HSTS)
- Store (Arg0, TXSA)
- Store (Arg1, HCOM)
- Store (0x48, HCON)
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (One)
- }
- Return (Zero)
- }
- Method (SRXB, 1, Serialized)
- {
- If (STRT ())
- {
- Return (0xFFFF)
- }
- Store (Zero, I2CE)
- Store (0xBF, HSTS)
- Store (Or (Arg0, One), TXSA)
- Store (0x44, HCON)
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (DAT0)
- }
- Return (0xFFFF)
- }
- Method (SWRB, 3, Serialized)
- {
- If (STRT ())
- {
- Return (Zero)
- }
- Store (Zero, I2CE)
- Store (0xBF, HSTS)
- Store (Arg0, TXSA)
- Store (Arg1, HCOM)
- Store (Arg2, DAT0)
- Store (0x48, HCON)
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (One)
- }
- Return (Zero)
- }
- Method (SRDB, 2, Serialized)
- {
- If (STRT ())
- {
- Return (0xFFFF)
- }
- Store (Zero, I2CE)
- Store (0xBF, HSTS)
- Store (Or (Arg0, One), TXSA)
- Store (Arg1, HCOM)
- Store (0x48, HCON)
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (DAT0)
- }
- Return (0xFFFF)
- }
- Method (SWRW, 3, Serialized)
- {
- If (STRT ())
- {
- Return (Zero)
- }
- Store (Zero, I2CE)
- Store (0xBF, HSTS)
- Store (Arg0, TXSA)
- Store (Arg1, HCOM)
- And (Arg2, 0xFF, DAT1)
- And (ShiftRight (Arg2, 0x08), 0xFF, DAT0)
- Store (0x4C, HCON)
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (One)
- }
- Return (Zero)
- }
- Method (SRDW, 2, Serialized)
- {
- If (STRT ())
- {
- Return (0xFFFF)
- }
- Store (Zero, I2CE)
- Store (0xBF, HSTS)
- Store (Or (Arg0, One), TXSA)
- Store (Arg1, HCOM)
- Store (0x4C, HCON)
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (Or (ShiftLeft (DAT0, 0x08), DAT1))
- }
- Return (0xFFFFFFFF)
- }
- Method (SBLW, 4, Serialized)
- {
- If (STRT ())
- {
- Return (Zero)
- }
- Store (Arg3, I2CE)
- Store (0xBF, HSTS)
- Store (Arg0, TXSA)
- Store (Arg1, HCOM)
- Store (SizeOf (Arg2), DAT0)
- Store (Zero, Local1)
- Store (DerefOf (Index (Arg2, Zero)), HBDR)
- Store (0x54, HCON)
- While (LGreater (SizeOf (Arg2), Local1))
- {
- Store (0x0FA0, Local0)
- While (LAnd (LNot (And (HSTS, 0x80)), Local0))
- {
- Decrement (Local0)
- Stall (0x32)
- }
- If (LNot (Local0))
- {
- KILL ()
- Return (Zero)
- }
- Store (0x80, HSTS)
- Increment (Local1)
- If (LGreater (SizeOf (Arg2), Local1))
- {
- Store (DerefOf (Index (Arg2, Local1)), HBDR)
- }
- }
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (One)
- }
- Return (Zero)
- }
- Method (SBLR, 3, Serialized)
- {
- Name (TBUF, Buffer (0x0100) {})
- If (STRT ())
- {
- Return (Zero)
- }
- Store (Arg2, I2CE)
- Store (0xBF, HSTS)
- Store (Or (Arg0, One), TXSA)
- Store (Arg1, HCOM)
- Store (0x54, HCON)
- Store (0x0FA0, Local0)
- While (LAnd (LNot (And (HSTS, 0x80)), Local0))
- {
- Decrement (Local0)
- Stall (0x32)
- }
- If (LNot (Local0))
- {
- KILL ()
- Return (Zero)
- }
- Store (DAT0, Index (TBUF, Zero))
- Store (0x80, HSTS)
- Store (One, Local1)
- While (LLess (Local1, DerefOf (Index (TBUF, Zero))))
- {
- Store (0x0FA0, Local0)
- While (LAnd (LNot (And (HSTS, 0x80)), Local0))
- {
- Decrement (Local0)
- Stall (0x32)
- }
- If (LNot (Local0))
- {
- KILL ()
- Return (Zero)
- }
- Store (HBDR, Index (TBUF, Local1))
- Store (0x80, HSTS)
- Increment (Local1)
- }
- If (COMP ())
- {
- Or (HSTS, 0xFF, HSTS)
- Return (TBUF)
- }
- Return (Zero)
- }
- Method (STRT, 0, Serialized)
- {
- Store (0xC8, Local0)
- While (Local0)
- {
- If (And (HSTS, 0x40))
- {
- Decrement (Local0)
- Sleep (One)
- If (LEqual (Local0, Zero))
- {
- Return (One)
- }
- }
- Else
- {
- Store (Zero, Local0)
- }
- }
- Store (0x0FA0, Local0)
- While (Local0)
- {
- If (And (HSTS, One))
- {
- Decrement (Local0)
- Stall (0x32)
- If (LEqual (Local0, Zero))
- {
- KILL ()
- }
- }
- Else
- {
- Return (Zero)
- }
- }
- Return (One)
- }
- Method (COMP, 0, Serialized)
- {
- Store (0x0FA0, Local0)
- While (Local0)
- {
- If (And (HSTS, 0x02))
- {
- Return (One)
- }
- Else
- {
- Decrement (Local0)
- Stall (0x32)
- If (LEqual (Local0, Zero))
- {
- KILL ()
- }
- }
- }
- Return (Zero)
- }
- Method (KILL, 0, Serialized)
- {
- Or (HCON, 0x02, HCON)
- Or (HSTS, 0xFF, HSTS)
- }
- }
- }
- Scope (_SB.PCI0.LPCB)
- {
- OperationRegion (CPSB, SystemMemory, 0x7934DE18, 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
- }
- Method (SPTS, 1, NotSerialized)
- {
- Store (One, SLPX)
- Store (One, SLPE)
- Store (Zero, ^^RP01.RPAV)
- Store (Zero, ^^RP02.RPAV)
- Store (Zero, ^^RP03.RPAV)
- Store (Zero, ^^RP04.RPAV)
- Store (Zero, ^^RP05.RPAV)
- Store (Zero, ^^RP06.RPAV)
- Store (Zero, ^^RP07.RPAV)
- Store (Zero, ^^RP08.RPAV)
- }
- Method (SWAK, 1, NotSerialized)
- {
- Store (Zero, SLPE)
- If (RTCS) {}
- Else
- {
- Notify (PWRB, 0x02)
- }
- }
- OperationRegion (SMIE, SystemIO, PMBS, 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)
- }
- }
- Scope (_SB.PCI0.RP01)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR1, LTRE)
- Store (PML1, LMSL)
- Store (PNL1, LNSL)
- Store (OBF1, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP02)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR2, LTRE)
- Store (PML2, LMSL)
- Store (PNL2, LNSL)
- Store (OBF2, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP03)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR3, LTRE)
- Store (PML3, LMSL)
- Store (PNL3, LNSL)
- Store (OBF3, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP04)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR4, LTRE)
- Store (PML4, LMSL)
- Store (PNL4, LNSL)
- Store (OBF4, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP05)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR5, LTRE)
- Store (PML5, LMSL)
- Store (PNL5, LNSL)
- Store (OBF5, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP06)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR6, LTRE)
- Store (PML6, LMSL)
- Store (PNL6, LNSL)
- Store (OBF6, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP07)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR7, LTRE)
- Store (PML7, LMSL)
- Store (PNL7, LNSL)
- Store (OBF7, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- Scope (_SB.PCI0.RP08)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (LTR8, LTRE)
- Store (PML8, LMSL)
- Store (PNL8, LNSL)
- Store (OBF8, OBFF)
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- Return (GPRW (0x69, 0x04))
- }
- }
- OperationRegion (_SB.PCI0.LPCB.LPCR, PCI_Config, 0x80, 0x04)
- Field (\_SB.PCI0.LPCB.LPCR, ByteAcc, NoLock, Preserve)
- {
- CADR, 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)
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- Store (0xFF, Local0)
- While (One)
- {
- Store (Add (Arg0, Zero), _T_0)
- If (LEqual (_T_0, 0x03F8))
- {
- Store (Zero, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x02F8))
- {
- Store (One, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x0220))
- {
- Store (0x02, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x0228))
- {
- Store (0x03, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x0238))
- {
- Store (0x04, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x02E8))
- {
- Store (0x05, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x0338))
- {
- Store (0x06, Local0)
- }
- Else
- {
- If (LEqual (_T_0, 0x03E8))
- {
- Store (0x07, Local0)
- }
- }
- }
- }
- }
- }
- }
- }
- Break
- }
- Return (Local0)
- }
- Method (RRIO, 4, Serialized)
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- While (One)
- {
- Store (Add (Arg0, Zero), _T_0)
- If (LEqual (_T_0, Zero))
- {
- Store (Zero, CALE)
- Store (UXDV (Arg2), Local0)
- If (LNotEqual (Local0, 0xFF))
- {
- Store (Local0, CADR)
- }
- If (Arg1)
- {
- Store (One, CALE)
- }
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- Store (Zero, CBLE)
- Store (UXDV (Arg2), Local0)
- If (LNotEqual (Local0, 0xFF))
- {
- Store (Local0, CBDR)
- }
- If (Arg1)
- {
- Store (One, CBLE)
- }
- }
- Else
- {
- If (LEqual (_T_0, 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)
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x03))
- {
- Store (Zero, FDLE)
- If (LEqual (Arg2, 0x03F0))
- {
- Store (Zero, FDDR)
- }
- If (LEqual (Arg2, 0x0370))
- {
- Store (One, FDDR)
- }
- If (Arg1)
- {
- Store (One, FDLE)
- }
- }
- Else
- {
- If (LEqual (_T_0, 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)
- }
- }
- }
- Else
- {
- If (LEqual (_T_0, 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)
- }
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x0A))
- {
- If (LOr (LEqual (Arg2, 0x60), LEqual (Arg2, 0x64)))
- {
- If (Arg1)
- {
- Store (One, KCLE)
- }
- Else
- {
- Store (Zero, KCLE)
- }
- }
- }
- Else
- {
- If (LEqual (_T_0, 0x0B))
- {
- If (LOr (LEqual (Arg2, 0x62), LEqual (Arg2, 0x66)))
- {
- If (Arg1)
- {
- Store (One, MCLE)
- }
- Else
- {
- Store (Zero, MCLE)
- }
- }
- }
- Else
- {
- If (LEqual (_T_0, 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)
- }
- }
- }
- Else
- {
- If (LEqual (_T_0, 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)
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- Break
- }
- }
- Method (RDMA, 3, NotSerialized)
- {
- }
- Scope (_SB.PCI0)
- {
- 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 (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)
- }
- }
- Scope (_PR)
- {
- Processor (CPU0, 0x01, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU0 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU0 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU0 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU1, 0x02, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU1 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU1 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU1 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU2, 0x03, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU2 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU2 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU2 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU3, 0x04, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU3 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU3 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU3 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU4, 0x05, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU4 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU4 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU4 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU5, 0x06, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU5 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU5 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU5 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU6, 0x07, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU6 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU6 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU6 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- Processor (CPU7, 0x08, 0x00001810, 0x06)
- {
- Method (_DEP, 0, NotSerialized) // _DEP: Dependencies
- {
- ADBG ("CPU7 DEP Call")
- If (LEqual (S0ID, One))
- {
- ADBG ("CPU7 DEP")
- Return (Package (0x01)
- {
- \_SB.PEPD
- })
- }
- Else
- {
- ADBG ("CPU7 DEP NULL")
- Return (Package (0x00) {})
- }
- }
- }
- }
- Name (ECUP, One)
- Scope (\)
- {
- Device (NFC1)
- {
- Name (_HID, EisaId ("SKTD000")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (NFCE, 0x03))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- }
- Device (NFC2)
- {
- Name (_HID, EisaId ("NXP5442")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (NFCE, 0x02))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- }
- Device (NFC3)
- {
- Name (_HID, EisaId ("ICV0A12")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (NFCE, One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- }
- }
- Mutex (MUTX, 0x00)
- OperationRegion (DEB0, SystemIO, 0x80, One)
- Field (DEB0, ByteAcc, NoLock, Preserve)
- {
- DBG8, 8
- }
- OperationRegion (DEB1, SystemIO, 0x90, 0x02)
- Field (DEB1, WordAcc, NoLock, Preserve)
- {
- DBG9, 16
- }
- OperationRegion (PRT0, SystemIO, 0x80, 0x04)
- Field (PRT0, DWordAcc, Lock, Preserve)
- {
- P80H, 32
- }
- Method (P8XH, 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 (ADBG, 1, Serialized)
- {
- If (CondRefOf (MDBG))
- {
- Return (MDBG)
- Arg0
- }
- Return (Zero)
- }
- OperationRegion (SPRT, SystemIO, 0xB2, 0x02)
- Field (SPRT, ByteAcc, Lock, Preserve)
- {
- SSMP, 8
- }
- Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model
- {
- Store (Arg0, GPIC)
- Store (Arg0, PICM)
- }
- Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
- {
- Store (Zero, P80D)
- P8XH (Zero, Arg0)
- PTS (Arg0)
- ADBG (Concatenate ("_PTS=", ToHexString (Arg0)))
- If (And (ICNF, 0x10))
- {
- If (CondRefOf (\_SB.IAOE.PTSL))
- {
- Store (Arg0, \_SB.IAOE.PTSL)
- }
- }
- If (LEqual (Arg0, 0x03))
- {
- If (LAnd (DTSE, LGreater (TCNT, One)))
- {
- TRAP (TRTD, 0x1E)
- }
- If (LEqual (ECON, One))
- {
- If (And (ICNF, One))
- {
- If (LAnd (And (ICNF, 0x10), LEqual (\_SB.IAOE.ITMR, Zero)))
- {
- If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.AWT0), CondRefOf (\_SB.IAOE.ECTM)))
- {
- If (LGreater (\_SB.IAOE.ECTM, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (And (\_SB.IAOE.ECTM, 0xFF), RefOf (\_SB.PCI0.LPCB.H_EC.AWT0))
- \_SB.PCI0.LPCB.H_EC.ECWT (ShiftRight (And (\_SB.IAOE.ECTM, 0xFF00), 0x08), RefOf (\_SB.PCI0.LPCB.H_EC.AWT1))
- \_SB.PCI0.LPCB.H_EC.ECWT (ShiftRight (And (\_SB.IAOE.ECTM, 0x00FF0000), 0x10), RefOf (\_SB.PCI0.LPCB.H_EC.AWT2))
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.WTMS)), Local0)
- \_SB.PCI0.LPCB.H_EC.ECWT (Or (0x81, Local0), RefOf (\_SB.PCI0.LPCB.H_EC.WTMS))
- }
- }
- }
- If (LAnd (And (ICNF, 0x10), CondRefOf (\_SB.IFFS.FFSS)))
- {
- If (And (\_SB.IFFS.FFSS, One))
- {
- Store (One, \_SB.IAOE.FFSE)
- If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.WTMS), LEqual (\_SB.IAOE.PTSL, 0x03)))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.WTMS)), Local0)
- \_SB.PCI0.LPCB.H_EC.ECWT (Or (0x02, Local0), RefOf (\_SB.PCI0.LPCB.H_EC.WTMS))
- }
- }
- Else
- {
- Store (Zero, \_SB.IAOE.FFSE)
- }
- }
- }
- }
- }
- If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
- {
- If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.PB10), ECON))
- {
- If (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.PB10)))
- {
- Or (PB1E, 0x80, PB1E)
- }
- Else
- {
- And (PB1E, 0x7F, PB1E)
- }
- }
- }
- If (CondRefOf (\_SB.TPM.PTS))
- {
- \_SB.TPM.PTS (Arg0)
- }
- If (LOr (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)), LEqual (
- Arg0, 0x05)))
- {
- If (LEqual (PFLV, FDTP))
- {
- Store (One, GP27)
- }
- }
- }
- Method (_WAK, 1, Serialized) // _WAK: Wake
- {
- P8XH (One, 0xAB)
- WAK (Arg0)
- ADBG ("_WAK")
- If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
- {
- If (CondRefOf (\_SB.PCI0.PEG0.PEGP.EPON))
- {
- \_SB.PCI0.PEG0.PEGP.EPON ()
- }
- If (CondRefOf (\_SB.PCI0.RP05.PEGP.EPON))
- {
- \_SB.PCI0.RP05.PEGP.EPON ()
- }
- }
- If (LAnd (LNotEqual (And (\_SB.PCI0.B0D3.ABAR, 0xFFFFC004), 0xFFFFC004),
- LNotEqual (And (\_SB.PCI0.B0D3.ABAR, 0xFFFFC000), Zero)))
- {
- Store (\_SB.PCI0.B0D3.ABAR, \_SB.PCI0.B0D3.BARA)
- }
- If (And (ICNF, 0x10))
- {
- If (And (\_SB.PCI0.GFX0.TCHE, 0x0100))
- {
- If (LEqual (\_SB.IAOE.ITMR, One))
- {
- If (LAnd (And (\_SB.IAOE.IBT1, One), LOr (And (\_SB.IAOE.WKRS, 0x02
- ), And (\_SB.IAOE.WKRS, 0x10))))
- {
- Store (Or (And (\_SB.PCI0.GFX0.STAT, 0xFFFFFFFFFFFFFFFC), One), \_SB.PCI0.GFX0.STAT)
- }
- Else
- {
- Store (And (\_SB.PCI0.GFX0.STAT, 0xFFFFFFFFFFFFFFFC), \_SB.PCI0.GFX0.STAT)
- }
- }
- Else
- {
- If (LEqual (ECON, One))
- {
- If (CondRefOf (\_SB.PCI0.LPCB.H_EC.IBT1))
- {
- If (LAnd (And (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.IBT1)), One), LOr (And (
- \_SB.IAOE.WKRS, 0x02), And (\_SB.IAOE.WKRS, 0x10))))
- {
- Store (Or (And (\_SB.PCI0.GFX0.STAT, 0xFFFFFFFFFFFFFFFC), One), \_SB.PCI0.GFX0.STAT)
- }
- Else
- {
- Store (And (\_SB.PCI0.GFX0.STAT, 0xFFFFFFFFFFFFFFFC), \_SB.PCI0.GFX0.STAT)
- }
- }
- }
- }
- }
- If (CondRefOf (\_SB.IAOE.PTSL))
- {
- Store (Zero, \_SB.IAOE.PTSL)
- }
- If (LEqual (\_SB.IAOE.ITMR, Zero))
- {
- If (CondRefOf (\_SB.PCI0.LPCB.H_EC.WTMS))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.WTMS))
- }
- }
- If (CondRefOf (\_SB.IAOE.ECTM))
- {
- Store (Zero, \_SB.IAOE.ECTM)
- }
- If (CondRefOf (\_SB.IAOE.RCTM))
- {
- Store (Zero, \_SB.IAOE.RCTM)
- }
- }
- 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 (LAnd (DTSE, LGreater (TCNT, One)))
- {
- TRAP (TRTD, 0x14)
- }
- If (LEqual (OSYS, 0x07D2))
- {
- If (And (\_PR.CFGD, One))
- {
- If (LGreater (\_PR.CPU0._PPC, Zero))
- {
- Subtract (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
- PNOT ()
- Add (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
- PNOT ()
- }
- Else
- {
- Add (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
- PNOT ()
- Subtract (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
- PNOT ()
- }
- }
- }
- If (LEqual (ECON, One))
- {
- If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.LSTE)), LIDS)
- If (IGDS)
- {
- If (LEqual (LIDS (), Zero))
- {
- Store (0x80000000, \_SB.PCI0.GFX0.CLID)
- }
- If (LEqual (LIDS (), One))
- {
- Store (0x80000003, \_SB.PCI0.GFX0.CLID)
- }
- }
- Notify (\_SB.LID0, 0x80)
- }
- If (LNotEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.DOCK)), DSTS))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.DOCK)), DSTS)
- If (LAnd (\_SB.PCI0.HDEF.DCKS, One))
- {
- Store (DSTS, \_SB.PCI0.HDEF.DCKA)
- }
- If (LEqual (DSTS, One))
- {
- If (LEqual (Arg0, 0x03))
- {
- Sleep (0x03E8)
- Store (PDBR, SSMP)
- Sleep (0x03E8)
- }
- Notify (\_SB.PCI0.DOCK, Zero)
- }
- Else
- {
- Notify (\_SB.PCI0.DOCK, One)
- }
- }
- If (LEqual (BNUM, Zero))
- {
- If (LNotEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.VPWR)), PWRS))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.VPWR)), PWRS)
- PNOT ()
- }
- }
- Else
- {
- If (LNotEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.RPWR)), PWRS))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.RPWR)), PWRS)
- PNOT ()
- }
- }
- }
- If (LEqual (RP1D, Zero))
- {
- Notify (\_SB.PCI0.RP01, Zero)
- }
- If (LEqual (RP2D, Zero))
- {
- Notify (\_SB.PCI0.RP02, Zero)
- }
- If (LEqual (RP3D, Zero))
- {
- Notify (\_SB.PCI0.RP03, Zero)
- }
- If (LEqual (RP4D, Zero))
- {
- Notify (\_SB.PCI0.RP04, Zero)
- }
- If (LEqual (RP5D, Zero))
- {
- Notify (\_SB.PCI0.RP05, Zero)
- }
- If (LEqual (RP6D, Zero))
- {
- Notify (\_SB.PCI0.RP06, Zero)
- }
- If (LEqual (RP7D, Zero))
- {
- If (LEqual (DSTS, Zero))
- {
- Notify (\_SB.PCI0.RP07, Zero)
- }
- }
- If (LEqual (RP8D, Zero))
- {
- If (LEqual (DSTS, Zero))
- {
- Notify (\_SB.PCI0.RP08, Zero)
- }
- }
- }
- If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
- {
- \_SB.PCI0.XHC.XWAK ()
- }
- 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 (CondRefOf (\_SB.PCCD.PENB))
- {
- Store (0x82, Local0)
- }
- Else
- {
- Store (0x80, Local0)
- }
- If (LGreater (TCNT, One))
- {
- If (And (PDC0, 0x08))
- {
- Notify (\_PR.CPU0, Local0)
- If (And (PDC0, 0x10))
- {
- Notify (\_PR.CPU0, 0x81)
- }
- }
- If (And (PDC1, 0x08))
- {
- Notify (\_PR.CPU1, Local0)
- If (And (PDC1, 0x10))
- {
- Notify (\_PR.CPU1, 0x81)
- }
- }
- If (And (PDC2, 0x08))
- {
- Notify (\_PR.CPU2, Local0)
- If (And (PDC2, 0x10))
- {
- Notify (\_PR.CPU2, 0x81)
- }
- }
- If (And (PDC3, 0x08))
- {
- Notify (\_PR.CPU3, Local0)
- If (And (PDC3, 0x10))
- {
- Notify (\_PR.CPU3, 0x81)
- }
- }
- If (And (PDC4, 0x08))
- {
- Notify (\_PR.CPU4, Local0)
- If (And (PDC4, 0x10))
- {
- Notify (\_PR.CPU4, 0x81)
- }
- }
- If (And (PDC5, 0x08))
- {
- Notify (\_PR.CPU5, Local0)
- If (And (PDC5, 0x10))
- {
- Notify (\_PR.CPU5, 0x81)
- }
- }
- If (And (PDC6, 0x08))
- {
- Notify (\_PR.CPU6, Local0)
- If (And (PDC6, 0x10))
- {
- Notify (\_PR.CPU6, 0x81)
- }
- }
- If (And (PDC7, 0x08))
- {
- Notify (\_PR.CPU7, Local0)
- If (And (PDC7, 0x10))
- {
- Notify (\_PR.CPU7, 0x81)
- }
- }
- }
- Else
- {
- Notify (\_PR.CPU0, Local0)
- Notify (\_PR.CPU0, 0x81)
- }
- If (LEqual (ECON, One))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.B1CC)), B1SC)
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.B1ST)), B1SS)
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.B2CC)), B2SC)
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.B2ST)), B2SS)
- If (LGreaterEqual (OSYS, 0x07D6))
- {
- Notify (\_SB.PCI0.LPCB.H_EC.BAT0, 0x81)
- Notify (\_SB.PCI0.LPCB.H_EC.BAT1, 0x81)
- Notify (\_SB.PCI0.LPCB.H_EC.BAT2, 0x81)
- }
- Else
- {
- Notify (\_SB.PCI0.LPCB.H_EC.BAT0, 0x80)
- Notify (\_SB.PCI0.LPCB.H_EC.BAT1, 0x80)
- Notify (\_SB.PCI0.LPCB.H_EC.BAT2, 0x80)
- }
- }
- If (LEqual (DPTF, One))
- {
- Notify (\_SB.IETM, 0x86)
- }
- }
- OperationRegion (MBAR, SystemMemory, Add (ShiftLeft (\_SB.PCI0.MHBR, 0x0F), 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 (DDPS, Zero)
- Name (UAMS, Zero)
- Method (GUAM, 1, Serialized)
- {
- If (LNotEqual (Arg0, DDPS))
- {
- Store (Arg0, DDPS)
- Store (LAnd (Arg0, Not (PWRS)), UAMS)
- If (Arg0)
- {
- If (LEqual (ECNO, One))
- {
- ADBG ("EC Notify")
- If (LEqual (ECDB, One))
- {
- ADBG ("EC Debug")
- \_SB.PCI0.LPCB.H_EC.ECWT (One, RefOf (\_SB.PCI0.LPCB.H_EC.DLED))
- }
- \_SB.PCI0.LPCB.H_EC.ECMD (0x2C)
- If (LEqual (ECLP, One))
- {
- Store (Zero, ECUP)
- }
- }
- P8XH (Zero, 0xC5)
- P8XH (One, Zero)
- ADBG ("Enter CS")
- If (PSCP)
- {
- If (LAnd (CondRefOf (\_PR.CPU0._PSS), CondRefOf (\_PR.CPU0._PPC)))
- {
- Subtract (SizeOf (\_PR.CPU0._PSS), One, \_PR.CPU0._PPC)
- PNOT ()
- }
- }
- If (PLCS)
- {
- SPL1 ()
- }
- }
- Else
- {
- If (LEqual (ECNO, One))
- {
- ADBG ("EC Notify")
- \_SB.PCI0.LPCB.H_EC.ECMD (0x2D)
- Store (One, ECUP)
- ADBG ("EC Debug")
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.DLED))
- }
- P8XH (Zero, 0xC5)
- P8XH (One, 0xAB)
- ADBG ("Exit CS")
- If (PSCP)
- {
- If (CondRefOf (\_PR.CPU0._PPC))
- {
- Store (Zero, \_PR.CPU0._PPC)
- PNOT ()
- }
- }
- If (PLCS)
- {
- RPL1 ()
- }
- }
- 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 ()
- }
- }
- }
- Method (TRAP, 2, Serialized)
- {
- Store (Arg1, SMIF)
- If (LEqual (Arg0, TRTD))
- {
- Store (Arg1, DTSF)
- Store (Zero, TRPD)
- Return (DTSF)
- }
- If (LEqual (Arg0, TRTI))
- {
- Store (Zero, TRPH)
- }
- If (LEqual (Arg0, PFTI))
- {
- Store (Zero, TRPF)
- }
- Return (SMIF)
- }
- Scope (_SB.PCI0)
- {
- Method (PTMA, 0, NotSerialized)
- {
- Return (PFMA)
- }
- Method (PTMS, 0, NotSerialized)
- {
- Return (PFMS)
- }
- Method (PTIA, 0, NotSerialized)
- {
- Return (PFIA)
- }
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (0x07D0, OSYS)
- If (CondRefOf (\_OSI, Local0))
- {
- 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)
- }
- }
- PINI ()
- }
- 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 (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)
- }
- 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 (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)
- }
- }
- 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)
- Method (_OSC, 4, Serialized) // _OSC: Operating System Capabilities
- {
- CreateDWordField (Arg3, Zero, STS0)
- CreateDWordField (Arg3, 0x04, CAP0)
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x6E, 0xB0, 0x11, 0x08, 0x27, 0x4A, 0xF9, 0x44,
- /* 0008 */ 0x8D, 0x60, 0x3C, 0xBB, 0xC2, 0x2E, 0x7B, 0x48
- }))
- {
- If (LEqual (Arg1, One))
- {
- 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)
- }
- }
- }
- If (And (CAP0, 0x20))
- {
- If (CondRefOf (\_SB.PCCD.PENB))
- {
- If (LEqual (^PCCD.PENB, Zero))
- {
- And (CAP0, 0x1F, CAP0)
- Or (STS0, 0x10, STS0)
- }
- }
- Else
- {
- And (CAP0, 0x1F, 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 (PEPD)
- {
- Name (_HID, "INT33A1") // _HID: Hardware ID
- Name (_CID, EisaId ("PNP0D80")) // _CID: Compatible ID
- Name (_UID, One) // _UID: Unique ID
- Name (PEPP, Zero)
- Name (DEVS, Package (0x03)
- {
- 0x02,
- Package (0x01)
- {
- "\\_SB.PCI0.GFX0"
- },
- Package (0x01)
- {
- "\\_SB.PCI0.SAT0.PRT1"
- }
- })
- Name (DEVX, Package (0x08)
- {
- Package (0x02)
- {
- "\\_SB.PCI0.GFX0",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "\\_SB.PCI0.SAT0.PRT1",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "\\_SB.PCI0.UA01",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "\\_SB.PCI0.SDHC",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "\\_SB.PCI0.I2C0",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "\\_SB.PCI0.I2C1",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "\\_SB.PCI0.XHC",
- 0xFFFFFFFF
- },
- Package (0x02)
- {
- "HDAUDIO\\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_00000000&REV_1000\\4&a02b74b&0&0001",
- 0xFFFFFFFF
- }
- })
- Name (DEVY, Package (0x12)
- {
- Package (0x03)
- {
- "\\_PR.CPU0",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x02)
- {
- 0xFF,
- Zero
- }
- }
- },
- Package (0x03)
- {
- "\\_PR.CPU1",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x02)
- {
- 0xFF,
- Zero
- }
- }
- },
- Package (0x03)
- {
- "\\_PR.CPU2",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x02)
- {
- 0xFF,
- Zero
- }
- }
- },
- Package (0x03)
- {
- "\\_PR.CPU3",
- One,
- 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",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x02)
- {
- 0xFF,
- 0x03
- }
- }
- },
- Package (0x03)
- {
- "\\_SB.PCI0.SAT0.PRT0",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x03)
- {
- 0xFF,
- Zero,
- 0x81
- }
- }
- },
- Package (0x03)
- {
- "\\_SB.PCI0.SAT0.PRT1",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x03)
- {
- 0xFF,
- Zero,
- 0x81
- }
- }
- },
- Package (0x03)
- {
- "\\_SB.PCI0.SAT0.PRT2",
- One,
- Package (0x02)
- {
- Zero,
- Package (0x03)
- {
- 0xFF,
- Zero,
- 0x81
- }
- }
- },
- Package (0x03)
- {
- "\\_SB.PCI0.SAT0.PRT3",
- One,
- 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.SDHC",
- 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)
- {
- "HDAUDIO\\FUNC_01&VEN_10EC&DEV_0282*",
- One,
- Package (0x03)
- {
- Zero,
- Package (0x02)
- {
- Zero,
- Zero
- },
- Package (0x02)
- {
- One,
- 0x03
- }
- }
- },
- Package (0x03)
- {
- "\\_SB.PCI0.ADSP",
- One,
- Package (0x03)
- {
- Zero,
- Package (0x02)
- {
- Zero,
- Zero
- },
- Package (0x02)
- {
- One,
- 0x03
- }
- }
- }
- })
- Name (BCCD, Package (0x05)
- {
- 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
- }
- }
- }
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LGreaterEqual (OSYS, 0x07DC))
- {
- If (LEqual (And (CDID, 0xF000), 0x9000))
- {
- If (LEqual (S0ID, One))
- {
- Return (0x0F)
- }
- }
- }
- Return (Zero)
- }
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xE0, 0xBF, 0xFE, 0xB8, 0xF8, 0xBA, 0x4B, 0x45,
- /* 0008 */ 0xAE, 0xCD, 0x49, 0xFB, 0x91, 0x13, 0x7B, 0x21
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- If (LEqual (Arg2, One))
- {
- Store (One, PEPP)
- Return (0x0F)
- }
- If (LEqual (Arg2, 0x02))
- {
- If (LEqual (Arg1, Zero))
- {
- While (One)
- {
- Store (PEPY, _T_0)
- If (LEqual (_T_0, One))
- {
- Return (Package (0x02)
- {
- One,
- Package (0x01)
- {
- "\\_SB.PCI0.GFX0"
- }
- })
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- Return (Package (0x02)
- {
- One,
- Package (0x01)
- {
- "\\_SB.PCI0.SAT0.PRT1"
- }
- })
- }
- Else
- {
- If (LEqual (_T_0, 0x03))
- {
- Return (DEVS)
- }
- Else
- {
- Return (Package (0x01)
- {
- Zero
- })
- }
- }
- }
- Break
- }
- }
- If (LEqual (Arg1, One))
- {
- If (LNot (And (PEPY, One)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, Zero)), One))
- }
- If (LNot (And (PEPY, 0x02)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, One)), One))
- }
- If (LNot (And (PEPY, 0x04)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, 0x02)), One))
- }
- If (LNot (And (PEPY, 0x08)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, 0x03)), One))
- }
- If (LNot (And (PEPY, 0x10)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, 0x04)), One))
- }
- If (LNot (And (PEPY, 0x20)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, 0x05)), One))
- }
- If (LNot (And (PEPY, 0x40)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, 0x06)), One))
- }
- If (LNot (And (PEPY, 0x80)))
- {
- Store (Zero, Index (DerefOf (Index (DEVX, 0x07)), One))
- }
- Return (DEVX)
- }
- }
- }
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xA0, 0x40, 0xEB, 0xC4, 0xD2, 0x6C, 0xE2, 0x11,
- /* 0008 */ 0xBC, 0xFD, 0x08, 0x00, 0x20, 0x0C, 0x9A, 0x66
- }))
- {
- If (LEqual (Arg2, Zero))
- {
- Return (Buffer (One)
- {
- 0x07
- })
- }
- If (LEqual (Arg2, One))
- {
- If (LNotEqual (And (PEPC, 0x03), One))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x06)), One))
- Store (Zero, Index (DerefOf (Index (DEVY, 0x07)), One))
- Store (Zero, Index (DerefOf (Index (DEVY, 0x08)), One))
- Store (Zero, Index (DerefOf (Index (DEVY, 0x09)), One))
- }
- If (LNotEqual (And (PEPC, 0x03), 0x02))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x05)), One))
- If (LNot (And (SPST, One)))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x06)), One))
- }
- If (LNot (And (SPST, 0x02)))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x07)), One))
- }
- If (LNot (And (SPST, 0x04)))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x08)), One))
- }
- If (LNot (And (SPST, 0x08)))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x09)), 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))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x0C)), One))
- }
- If (LEqual (And (PEPC, 0x20), Zero))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x0D)), One))
- }
- If (LEqual (And (PEPC, 0x40), Zero))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x0E)), One))
- }
- If (LEqual (And (PEPC, 0x80), Zero))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x0F)), One))
- }
- If (LEqual (And (PEPC, 0x0100), Zero))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x10)), One))
- }
- If (LEqual (And (PEPC, 0x0200), Zero))
- {
- Store (Zero, Index (DerefOf (Index (DEVY, 0x11)), One))
- }
- Return (DEVY)
- }
- If (LEqual (Arg2, 0x02))
- {
- Return (BCCD)
- }
- }
- Return (One)
- }
- }
- }
- Scope (_SB)
- {
- Device (BTKL)
- {
- Name (_HID, "INT3420") // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (_OSI ("Windows 2012"))
- {
- If (LEqual (BID, BW2C))
- {
- Return (0x0F)
- }
- }
- Return (Zero)
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- And (GL0A, 0x7F, GL0A)
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- Or (GL0A, 0x80, GL0A)
- }
- Method (PSTS, 0, NotSerialized)
- {
- Return (RDGP (0x57))
- }
- }
- }
- 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
- 0x00004000, // Address Length
- _Y3B)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00008000, // Address Length
- _Y3E)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y3F)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y40)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y41)
- 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
- 0x00001000, // Address Length
- _Y3C)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00010000, // Address Length
- _Y3D)
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y3B._BAS, RBR0) // _BAS: Base Address
- ShiftLeft (^^LPCB.RCBA, 0x0E, RBR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y3C._BAS, TBR0) // _BAS: Base Address
- Store (TBAB, TBR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y3C._LEN, TBLN) // _LEN: Length
- If (LEqual (TBAB, Zero))
- {
- Store (Zero, TBLN)
- }
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y3D._BAS, SNR0) // _BAS: Base Address
- Store (SRMB, SNR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y3E._BAS, MBR0) // _BAS: Base Address
- ShiftLeft (MHBR, 0x0F, MBR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y3F._BAS, DBR0) // _BAS: Base Address
- ShiftLeft (DIBR, 0x0C, DBR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y40._BAS, EBR0) // _BAS: Base Address
- ShiftLeft (EPBR, 0x0C, EBR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y41._BAS, XBR0) // _BAS: Base Address
- ShiftLeft (PXBR, 0x1A, XBR0)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y41._LEN, XSZ0) // _LEN: Length
- ShiftRight (0x10000000, PXSZ, XSZ0)
- Return (BUF0)
- }
- }
- }
- Method (BRTN, 1, Serialized)
- {
- If (LEqual (And (DIDX, 0x0F00), 0x0400))
- {
- Notify (\_SB.PCI0.GFX0.DD1F, Arg0)
- }
- }
- Scope (_GPE)
- {
- Method (_L69, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LAnd (LEqual (RP1D, Zero), LEqual (\_SB.PCI0.RP01.RPAV, One)))
- {
- \_SB.PCI0.RP01.HPME ()
- Notify (\_SB.PCI0.RP01, 0x02)
- }
- If (LAnd (LEqual (RP2D, Zero), LEqual (\_SB.PCI0.RP02.RPAV, One)))
- {
- \_SB.PCI0.RP02.HPME ()
- Notify (\_SB.PCI0.RP02, 0x02)
- }
- If (LAnd (LEqual (RP3D, Zero), LEqual (\_SB.PCI0.RP03.RPAV, One)))
- {
- \_SB.PCI0.RP03.HPME ()
- Notify (\_SB.PCI0.RP03, 0x02)
- }
- If (LAnd (LEqual (RP4D, Zero), LEqual (\_SB.PCI0.RP04.RPAV, One)))
- {
- \_SB.PCI0.RP04.HPME ()
- Notify (\_SB.PCI0.RP04, 0x02)
- }
- If (LAnd (LEqual (RP5D, Zero), LEqual (\_SB.PCI0.RP05.RPAV, One)))
- {
- \_SB.PCI0.RP05.HPME ()
- Notify (\_SB.PCI0.RP05, 0x02)
- }
- If (LAnd (LEqual (RP6D, Zero), LEqual (\_SB.PCI0.RP06.RPAV, One)))
- {
- \_SB.PCI0.RP06.HPME ()
- Notify (\_SB.PCI0.RP06, 0x02)
- }
- If (LAnd (LEqual (RP7D, Zero), LEqual (\_SB.PCI0.RP07.RPAV, One)))
- {
- \_SB.PCI0.RP07.HPME ()
- Notify (\_SB.PCI0.RP07, 0x02)
- }
- If (LAnd (LEqual (RP8D, Zero), LEqual (\_SB.PCI0.RP08.RPAV, One)))
- {
- \_SB.PCI0.RP08.HPME ()
- Notify (\_SB.PCI0.RP08, 0x02)
- }
- 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 (_L6D, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LAnd (\_SB.PCI0.EHC1.PMEE, \_SB.PCI0.EHC1.PMES))
- {
- Notify (\_SB.PCI0.EHC1, 0x02)
- }
- If (LAnd (\_SB.PCI0.EHC2.PMEE, \_SB.PCI0.EHC2.PMES))
- {
- Notify (\_SB.PCI0.EHC2, 0x02)
- }
- If (LAnd (\_SB.PCI0.XHC.PMEE, \_SB.PCI0.XHC.PMES))
- {
- Notify (\_SB.PCI0.XHC, 0x02)
- }
- If (LAnd (\_SB.PCI0.HDEF.PMEE, \_SB.PCI0.HDEF.PMES))
- {
- Notify (\_SB.PCI0.HDEF, 0x02)
- }
- Notify (\_SB.PCI0.GLAN, 0x02)
- }
- Method (_L61, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Add (L01C, One, L01C)
- P8XH (Zero, One)
- P8XH (One, L01C)
- If (LAnd (LEqual (RP1D, Zero), \_SB.PCI0.RP01.HPSX))
- {
- 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)
- }
- Notify (\_SB.PCI0.RP01, Zero)
- }
- Else
- {
- Store (One, \_SB.PCI0.RP01.HPSX)
- }
- }
- If (LAnd (LEqual (RP2D, Zero), \_SB.PCI0.RP02.HPSX))
- {
- 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)
- }
- Notify (\_SB.PCI0.RP02, Zero)
- }
- Else
- {
- Store (One, \_SB.PCI0.RP02.HPSX)
- }
- }
- If (LAnd (LEqual (RP3D, Zero), \_SB.PCI0.RP03.HPSX))
- {
- If (LAnd (LNotEqual (BID, BICO), LNotEqual (BID, BICC)))
- {
- 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 (LAnd (LNotEqual (BID, BICO), LNotEqual (BID, BICC)))
- {
- Notify (\_SB.PCI0.RP03, Zero)
- }
- }
- Else
- {
- Store (One, \_SB.PCI0.RP03.HPSX)
- }
- }
- If (LAnd (LEqual (RP4D, Zero), \_SB.PCI0.RP04.HPSX))
- {
- 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)
- }
- Notify (\_SB.PCI0.RP04, Zero)
- }
- Else
- {
- Store (One, \_SB.PCI0.RP04.HPSX)
- }
- }
- If (LAnd (LEqual (RP5D, Zero), \_SB.PCI0.RP05.HPSX))
- {
- If (LAnd (LNotEqual (BID, BICO), LNotEqual (BID, BICC)))
- {
- 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 (LAnd (LNotEqual (BID, BICO), LNotEqual (BID, BICC)))
- {
- Notify (\_SB.PCI0.RP05, Zero)
- }
- }
- Else
- {
- Store (One, \_SB.PCI0.RP05.HPSX)
- }
- }
- If (LAnd (LEqual (RP6D, Zero), \_SB.PCI0.RP06.HPSX))
- {
- 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)
- }
- Notify (\_SB.PCI0.RP06, Zero)
- }
- Else
- {
- Store (One, \_SB.PCI0.RP06.HPSX)
- }
- }
- If (LAnd (LEqual (RP7D, Zero), \_SB.PCI0.RP07.HPSX))
- {
- 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, FDTP))
- {
- Notify (\_SB.PCI0.RP07, Zero)
- }
- Else
- {
- If (ECON)
- {
- If (LEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.DOCK)), Zero))
- {
- Notify (\_SB.PCI0.RP07, Zero)
- }
- }
- }
- }
- Else
- {
- Store (One, \_SB.PCI0.RP07.HPSX)
- }
- }
- If (LAnd (LEqual (RP8D, Zero), \_SB.PCI0.RP08.HPSX))
- {
- 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, FDTP))
- {
- Notify (\_SB.PCI0.RP08, Zero)
- }
- Else
- {
- If (ECON)
- {
- If (LEqual (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.DOCK)), Zero))
- {
- Notify (\_SB.PCI0.RP08, Zero)
- }
- }
- }
- }
- Else
- {
- Store (One, \_SB.PCI0.RP08.HPSX)
- }
- }
- }
- Method (_L62, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Store (Zero, GPEC)
- If (CondRefOf (DTSE))
- {
- If (LGreaterEqual (DTSE, One))
- {
- Notify (\_TZ.TZ00, 0x80)
- Notify (\_TZ.TZ01, 0x80)
- }
- }
- If (CondRefOf (\_SB.PCCD.PENB))
- {
- If (LEqual (\_SB.PCCD.PENB, One))
- {
- Notify (\_SB.PCCD, 0x80)
- }
- }
- }
- Method (_L66, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LAnd (\_SB.PCI0.GFX0.GSSE, LNot (GSMI)))
- {
- \_SB.PCI0.GFX0.GSCI ()
- }
- }
- Method (_L67, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Store (0x20, \_SB.PCI0.SBUS.HSTS)
- }
- Method (_L1B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LEqual (ECON, Zero))
- {
- Return (Zero)
- }
- If (LNotEqual (LIDS (), \_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.LSTE))))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.LSTE)), LIDS)
- If (IGDS)
- {
- If (\_SB.PCI0.GFX0.GLID (LIDS ()))
- {
- Or (0x80000000, \_SB.PCI0.GFX0.CLID, \_SB.PCI0.GFX0.CLID)
- }
- }
- Notify (\_SB.LID0, 0x80)
- }
- Else
- {
- If (LEqual (BNUM, Zero))
- {
- If (LNotEqual (PWRS, \_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.VPWR))))
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.VPWR)), PWRS)
- PNOT ()
- }
- }
- Notify (\_SB.PWRB, 0x02)
- }
- Return (Zero)
- }
- Method (_L00, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LEqual (BID, BRH))
- {
- ADBG ("Rotation Lock")
- Sleep (0x03E8)
- \_SB.PCI0.GFX0.IUEH (0x04)
- }
- }
- }
- Scope (_TZ)
- {
- Name (ETMD, One)
- Name (THLD, 0x78)
- Name (YBT4, 0x37)
- Name (YBT3, 0x40)
- Name (YBT2, 0x49)
- Name (YBT1, 0x50)
- Name (YBT0, 0x5B)
- PowerResource (FN00, 0x00, 0x0000)
- {
- Method (_STA, 0, Serialized) // _STA: Status
- {
- Return (VFN0)
- }
- Method (_ON, 0, Serialized) // _ON_: Power On
- {
- Store (One, VFN0)
- If (LAnd (ECON, ETMD))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (AC0F, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- Method (_OFF, 0, Serialized) // _OFF: Power Off
- {
- Store (Zero, VFN0)
- If (LAnd (ECON, ETMD))
- {
- If (LNotEqual (VFN1, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (AC1F, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- Else
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Device (FAN0)
- {
- Name (_HID, EisaId ("PNP0C0B")) // _HID: Hardware ID
- Name (_UID, Zero) // _UID: Unique ID
- Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
- {
- FN00
- })
- }
- PowerResource (FN01, 0x00, 0x0000)
- {
- Method (_STA, 0, Serialized) // _STA: Status
- {
- Return (VFN1)
- }
- Method (_ON, 0, Serialized) // _ON_: Power On
- {
- Store (One, VFN1)
- If (LAnd (ECON, ETMD))
- {
- If (LEqual (VFN0, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (AC1F, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Method (_OFF, 0, Serialized) // _OFF: Power Off
- {
- Store (Zero, VFN1)
- If (LAnd (ECON, ETMD))
- {
- If (LNotEqual (VFN2, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- Else
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Device (FAN1)
- {
- Name (_HID, EisaId ("PNP0C0B")) // _HID: Hardware ID
- Name (_UID, One) // _UID: Unique ID
- Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
- {
- FN01
- })
- }
- PowerResource (FN02, 0x00, 0x0000)
- {
- Method (_STA, 0, Serialized) // _STA: Status
- {
- Return (VFN2)
- }
- Method (_ON, 0, Serialized) // _ON_: Power On
- {
- Store (One, VFN2)
- If (LAnd (ECON, ETMD))
- {
- If (LEqual (VFN1, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Method (_OFF, 0, Serialized) // _OFF: Power Off
- {
- Store (Zero, VFN2)
- If (LAnd (ECON, ETMD))
- {
- If (LNotEqual (VFN3, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- Else
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Device (FAN2)
- {
- Name (_HID, EisaId ("PNP0C0B")) // _HID: Hardware ID
- Name (_UID, 0x02) // _UID: Unique ID
- Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
- {
- FN02
- })
- }
- PowerResource (FN03, 0x00, 0x0000)
- {
- Method (_STA, 0, Serialized) // _STA: Status
- {
- Return (VFN3)
- }
- Method (_ON, 0, Serialized) // _ON_: Power On
- {
- Store (One, VFN3)
- If (LAnd (ECON, ETMD))
- {
- If (LEqual (VFN2, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Method (_OFF, 0, Serialized) // _OFF: Power Off
- {
- Store (Zero, VFN3)
- If (LAnd (ECON, ETMD))
- {
- If (LNotEqual (VFN4, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- Else
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- }
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Device (FAN3)
- {
- Name (_HID, EisaId ("PNP0C0B")) // _HID: Hardware ID
- Name (_UID, 0x03) // _UID: Unique ID
- Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
- {
- FN03
- })
- }
- PowerResource (FN04, 0x00, 0x0000)
- {
- Method (_STA, 0, Serialized) // _STA: Status
- {
- Return (VFN4)
- }
- Method (_ON, 0, Serialized) // _ON_: Power On
- {
- Store (One, VFN4)
- If (LAnd (ECON, ETMD))
- {
- If (LEqual (VFN3, Zero))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Method (_OFF, 0, Serialized) // _OFF: Power Off
- {
- Store (Zero, VFN4)
- If (LAnd (ECON, ETMD))
- {
- \_SB.PCI0.LPCB.H_EC.ECWT (Zero, RefOf (\_SB.PCI0.LPCB.H_EC.PENV))
- \_SB.PCI0.LPCB.H_EC.ECMD (0x1A)
- }
- }
- }
- Device (FAN4)
- {
- Name (_HID, EisaId ("PNP0C0B")) // _HID: Hardware ID
- Name (_UID, 0x04) // _UID: Unique ID
- Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
- {
- FN04
- })
- }
- ThermalZone (TZ00)
- {
- Name (PTMP, 0x0BB8)
- Method (_SCP, 1, Serialized) // _SCP: Set Cooling Policy
- {
- Store (Arg0, CTYP)
- }
- Method (_CRT, 0, Serialized) // _CRT: Critical Temperature
- {
- If (CondRefOf (\_PR.ACRT))
- {
- If (LNotEqual (\_PR.ACRT, Zero))
- {
- Return (Add (0x0AAC, Multiply (\_PR.ACRT, 0x0A)))
- }
- }
- Return (Add (0x0AAC, Multiply (CRTT, 0x0A)))
- }
- Method (_AC0, 0, Serialized) // _ACx: Active Cooling
- {
- If (CondRefOf (\_PR.AAC0))
- {
- If (LNotEqual (\_PR.AAC0, Zero))
- {
- Return (Add (0x0AAC, Multiply (\_PR.AAC0, 0x0A)))
- }
- }
- Return (Add (0x0AAC, Multiply (ACTT, 0x0A)))
- }
- Method (_AC1, 0, Serialized) // _ACx: Active Cooling
- {
- Return (Add (0x0AAC, Multiply (ACT1, 0x0A)))
- }
- Method (_AC2, 0, Serialized) // _ACx: Active Cooling
- {
- Return (0x0AAC)
- }
- Method (_AC3, 0, Serialized) // _ACx: Active Cooling
- {
- Return (0x0AAC)
- }
- Method (_AC4, 0, Serialized) // _ACx: Active Cooling
- {
- Return (0x0AAC)
- }
- Name (_AL0, Package (0x01) // _ALx: Active List
- {
- FAN0
- })
- Name (_AL1, Package (0x01) // _ALx: Active List
- {
- FAN1
- })
- Name (_AL2, Package (0x01) // _ALx: Active List
- {
- FAN2
- })
- Name (_AL3, Package (0x01) // _ALx: Active List
- {
- FAN3
- })
- Name (_AL4, Package (0x01) // _ALx: Active List
- {
- FAN4
- })
- Method (_TMP, 0, Serialized) // _TMP: Temperature
- {
- If (LNot (ETMD))
- {
- Return (0x0BB8)
- }
- If (LEqual (DTSE, 0x03))
- {
- Return (Add (0x0B10, Multiply (CRTT, 0x0A)))
- }
- If (LEqual (DTSE, One))
- {
- If (LEqual (PKGA, One))
- {
- Store (PDTS, Local0)
- Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
- }
- Store (DTS1, Local0)
- If (LGreater (DTS2, Local0))
- {
- Store (DTS2, Local0)
- }
- If (LGreater (DTS3, Local0))
- {
- Store (DTS3, Local0)
- }
- If (LGreater (DTS4, Local0))
- {
- Store (DTS4, Local0)
- }
- Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
- }
- If (ECON)
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.PLMX)), Local0)
- Add (0x0AAC, Multiply (Local0, 0x0A), Local0)
- Store (Local0, PTMP)
- Return (Local0)
- }
- Return (0x0BC2)
- }
- }
- ThermalZone (TZ01)
- {
- Name (PTMP, 0x0BB8)
- Method (_SCP, 1, Serialized) // _SCP: Set Cooling Policy
- {
- Store (Arg0, CTYP)
- }
- Method (_CRT, 0, Serialized) // _CRT: Critical Temperature
- {
- If (CondRefOf (\_PR.ACRT))
- {
- If (LNotEqual (\_PR.ACRT, Zero))
- {
- Return (Add (0x0AAC, Multiply (\_PR.ACRT, 0x0A)))
- }
- }
- Return (Add (0x0AAC, Multiply (CRTT, 0x0A)))
- }
- Method (_TMP, 0, Serialized) // _TMP: Temperature
- {
- If (LNot (ETMD))
- {
- Return (0x0BCC)
- }
- If (LEqual (DTSE, 0x03))
- {
- Return (Add (0x0B10, Multiply (CRTT, 0x0A)))
- }
- If (LEqual (DTSE, One))
- {
- If (LEqual (PKGA, One))
- {
- Store (PDTS, Local0)
- Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
- }
- Store (DTS1, Local0)
- If (LGreater (DTS2, Local0))
- {
- Store (DTS2, Local0)
- }
- If (LGreater (DTS3, Local0))
- {
- Store (DTS3, Local0)
- }
- If (LGreater (DTS4, Local0))
- {
- Store (DTS4, Local0)
- }
- Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
- }
- If (ECON)
- {
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.PECH)), Local0)
- Multiply (Local0, 0x0A, Local0)
- Store (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.PECL)), Local1)
- ShiftRight (Local1, 0x02, Local1)
- Store (Divide (Multiply (Local1, 0x0A), 0x40, ), Local1)
- Add (Local0, Local1, Local0)
- Add (0x0AAC, Local0, Local0)
- Store (Local0, PTMP)
- Return (Local0)
- }
- Return (0x0BD6)
- }
- Method (_PSL, 0, Serialized) // _PSL: Passive List
- {
- If (LEqual (TCNT, 0x08))
- {
- Return (Package (0x08)
- {
- \_PR.CPU0,
- \_PR.CPU1,
- \_PR.CPU2,
- \_PR.CPU3,
- \_PR.CPU4,
- \_PR.CPU5,
- \_PR.CPU6,
- \_PR.CPU7
- })
- }
- If (LEqual (TCNT, 0x04))
- {
- Return (Package (0x04)
- {
- \_PR.CPU0,
- \_PR.CPU1,
- \_PR.CPU2,
- \_PR.CPU3
- })
- }
- If (LEqual (TCNT, 0x02))
- {
- Return (Package (0x02)
- {
- \_PR.CPU0,
- \_PR.CPU1
- })
- }
- Return (Package (0x01)
- {
- \_PR.CPU0
- })
- }
- Method (_PSV, 0, Serialized) // _PSV: Passive Temperature
- {
- If (CondRefOf (\_PR.APSV))
- {
- If (LNotEqual (\_PR.APSV, Zero))
- {
- Return (Add (0x0AAC, Multiply (\_PR.APSV, 0x0A)))
- }
- }
- Return (Add (0x0AAC, Multiply (PSVT, 0x0A)))
- }
- Method (_TC1, 0, Serialized) // _TC1: Thermal Constant 1
- {
- Return (TC1V)
- }
- Method (_TC2, 0, Serialized) // _TC2: Thermal Constant 2
- {
- Return (TC2V)
- }
- Method (_TSP, 0, Serialized) // _TSP: Thermal Sampling Period
- {
- Return (TSPV)
- }
- }
- }
- Device (WCAM)
- {
- Name (_ADR, 0x05) // _ADR: Address
- Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
- {
- Name (UPCP, Package (0x04)
- {
- Zero,
- 0xFF,
- Zero,
- Zero
- })
- Return (UPCP)
- }
- Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
- {
- Name (PLDP, Package (0x01)
- {
- Buffer (0x14)
- {
- /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x24, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0xC8, 0x00, 0xA0, 0x00
- }
- })
- Return (PLDP)
- }
- }
- Device (_SB.PCI0.LPCB.TPM)
- {
- Method (_HID, 0, NotSerialized) // _HID: Hardware ID
- {
- If (TCMF) {}
- Else
- {
- Return (0x310CD041)
- }
- }
- Name (_STR, Unicode ("TPM 1.2 Device")) // _STR: Description String
- Name (_UID, One) // _UID: Unique ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- Memory32Fixed (ReadOnly,
- 0xFED40000, // Address Base
- 0x00005000, // Address Length
- )
- })
- OperationRegion (TMMB, SystemMemory, 0xFED40000, 0x5000)
- Field (TMMB, ByteAcc, Lock, Preserve)
- {
- ACCS, 8,
- Offset (0x18),
- TSTA, 8,
- TBCA, 8,
- Offset (0xF00),
- TVID, 16,
- TDID, 16
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (TPMF)
- {
- Return (0x0F)
- }
- Return (Zero)
- }
- }
- Scope (_SB.PCI0.LPCB.TPM)
- {
- OperationRegion (ASMI, SystemIO, SMIA, One)
- Field (ASMI, ByteAcc, NoLock, Preserve)
- {
- INQ, 8
- }
- OperationRegion (BSMI, SystemIO, SMIB, One)
- Field (BSMI, ByteAcc, NoLock, Preserve)
- {
- DAT, 8
- }
- Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
- {
- Name (_T_1, Zero) // _T_x: Emitted by ASL Compiler
- Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xA6, 0xFA, 0xDD, 0x3D, 0x1B, 0x36, 0xB4, 0x4E,
- /* 0008 */ 0xA4, 0x24, 0x8D, 0x10, 0x08, 0x9D, 0x16, 0x53
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_0)
- If (LEqual (_T_0, Zero))
- {
- Return (Buffer (0x02)
- {
- 0xFF, 0x01
- })
- }
- Else
- {
- If (LEqual (_T_0, One))
- {
- Return ("1.2")
- }
- Else
- {
- If (LEqual (_T_0, 0x02))
- {
- ToInteger (DerefOf (Index (Arg3, Zero)), TMF2)
- Store (0x12, TMF1)
- Store (TMF1, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- Store (TMF2, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- If (LEqual (DAT, 0xF1))
- {
- Return (One)
- }
- Return (Zero)
- }
- Else
- {
- If (LEqual (_T_0, 0x03))
- {
- Name (PPI1, Package (0x02)
- {
- Zero,
- Zero
- })
- Store (0x11, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (One)
- }
- Store (DAT, Index (PPI1, One))
- Return (PPI1)
- }
- Else
- {
- If (LEqual (_T_0, 0x04))
- {
- Return (TRST)
- }
- Else
- {
- If (LEqual (_T_0, 0x05))
- {
- Name (PPI2, Package (0x03)
- {
- Zero,
- Zero,
- Zero
- })
- Store (0x21, DAT)
- Store (OFST, INQ)
- Store (DAT, Index (PPI2, One))
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- Store (0x31, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- If (LEqual (DAT, 0xF0))
- {
- Store (0x51, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Store (0xFFFFFFF0, Index (PPI2, 0x02))
- Return (PPI2)
- }
- }
- Else
- {
- If (LEqual (DAT, 0xF1))
- {
- Store (0x51, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Store (0xFFFFFFF1, Index (PPI2, 0x02))
- Return (PPI2)
- }
- }
- Else
- {
- Store (DAT, Index (PPI2, 0x02))
- }
- }
- Return (PPI2)
- }
- Else
- {
- If (LEqual (_T_0, 0x06))
- {
- Return (0x03)
- }
- Else
- {
- If (LEqual (_T_0, 0x07))
- {
- ToInteger (DerefOf (Index (Arg3, Zero)), TMF2)
- Store (0x12, TMF1)
- Store (TMF1, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- Store (TMF2, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- If (LEqual (DAT, 0xF1))
- {
- Return (One)
- }
- Return (Zero)
- }
- Else
- {
- If (LEqual (_T_0, 0x08))
- {
- ToInteger (DerefOf (Index (Arg3, Zero)), TMF2)
- Store (0x43, TMF1)
- Store (TMF1, DAT)
- Store (OFST, INQ)
- Store (TMF2, DAT)
- Store (OFST, INQ)
- Return (DAT)
- }
- Else
- {
- }
- }
- }
- }
- }
- }
- }
- }
- }
- Break
- }
- }
- Else
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xED, 0x54, 0x60, 0x37, 0x13, 0xCC, 0x75, 0x46,
- /* 0008 */ 0x90, 0x1C, 0x47, 0x56, 0xD7, 0xF2, 0xD4, 0x5D
- }))
- {
- While (One)
- {
- Store (ToInteger (Arg2), _T_1)
- If (LEqual (_T_1, Zero))
- {
- Return (Buffer (One)
- {
- 0x03
- })
- }
- Else
- {
- If (LEqual (_T_1, One))
- {
- Store (0x22, TMF1)
- Store (TMF1, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- ToInteger (DerefOf (Index (Arg3, Zero)), TMF1)
- Store (TMF1, DAT)
- Store (OFST, INQ)
- If (LEqual (DAT, 0xFF))
- {
- Return (0x02)
- }
- Return (Zero)
- }
- Else
- {
- }
- }
- Break
- }
- }
- }
- Return (Buffer (One)
- {
- 0x00
- })
- }
- }
- Name (TSAD, 0x12)
- Name (TMIN, 0x7E)
- Name (TMAX, 0x7E)
- Name (TCRT, 0x7E)
- Name (THOT, 0x7E)
- Name (TSP, 0x0A)
- Name (TC1, 0x02)
- Name (TC2, 0x0A)
- Scope (_TZ)
- {
- Method (KELV, 1, NotSerialized)
- {
- And (Arg0, 0xFF, Local0)
- Multiply (Local0, 0x0A, Local0)
- Add (Local0, 0x0AAC, Local0)
- Return (Local0)
- }
- Name (PLCY, Zero)
- ThermalZone (THRM)
- {
- Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature
- {
- Return (KELV (TCRT))
- }
- Method (_HOT, 0, NotSerialized) // _HOT: Hot Temperature
- {
- Return (KELV (THOT))
- }
- Method (_TMP, 0, NotSerialized) // _TMP: Temperature
- {
- Return (KELV (RTMP ()))
- }
- Method (_TSP, 0, NotSerialized) // _TSP: Thermal Sampling Period
- {
- Multiply (TSP, 0x0A, Local0)
- Return (Local0)
- }
- Method (_TC1, 0, NotSerialized) // _TC1: Thermal Constant 1
- {
- Return (TC1)
- }
- Method (_TC2, 0, NotSerialized) // _TC2: Thermal Constant 2
- {
- Return (TC2)
- }
- Method (_PSV, 0, NotSerialized) // _PSV: Passive Temperature
- {
- If (PLCY)
- {
- Return (KELV (TMIN))
- }
- Else
- {
- Return (KELV (TMAX))
- }
- }
- Method (_SCP, 1, NotSerialized) // _SCP: Set Cooling Policy
- {
- Store (Arg0, PLCY)
- TCHG ()
- Notify (THRM, 0x81)
- }
- }
- Method (TRMS, 1, NotSerialized)
- {
- Noop
- }
- Method (TRMW, 1, NotSerialized)
- {
- If (LGreater (Arg0, One))
- {
- TCHG ()
- }
- If (LGreater (^THRM._TMP (), TCRT))
- {
- Store (0x02, Local0)
- }
- Notify (THRM, 0x80)
- }
- }
- Scope (_GPE)
- {
- Method (_L0A, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Store (One, OVTF)
- \_TZ.THDL ()
- Notify (\_TZ.THRM, 0x80)
- }
- }
- Scope (_TZ)
- {
- OperationRegion (HWMT, SystemIO, ASTS, 0x02)
- Field (HWMT, ByteAcc, NoLock, Preserve)
- {
- HWMI, 8,
- HWMD, 8
- }
- IndexField (HWMI, HWMD, ByteAcc, NoLock, Preserve)
- {
- Offset (0x11),
- TMP, 8,
- Offset (0x4E),
- TBNK, 8
- }
- Method (TCHG, 0, NotSerialized)
- {
- Notify (THRM, 0x81)
- }
- Method (SCFG, 1, NotSerialized)
- {
- }
- Method (STOS, 1, NotSerialized)
- {
- }
- Method (STHY, 1, NotSerialized)
- {
- }
- Method (RTMP, 0, NotSerialized)
- {
- If (LEqual (OVTF, Zero))
- {
- Return (0x1E)
- }
- Store (0x80, TBNK)
- Store (TMP, DBG8)
- Return (TMP)
- }
- Method (THDL, 0, NotSerialized)
- {
- }
- }
- Scope (_GPE)
- {
- Method (_L18, 0, Serialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.AC, 0x80)
- Notify (\_SB.BAT0, 0x80)
- }
- }
- Name (SBCP, 0x20)
- Name (RECH, 0x10)
- Name (RECP, 0x12)
- Name (FCCP, 0x14)
- Name (DSCP, 0x16)
- Name (BSTA, 0x20)
- Name (KSAC, One)
- Name (KSNB, 0x02)
- Name (KSBC, 0x04)
- Name (BSER, 0x40)
- Name (BOEM, 0x50)
- Name (BDEV, 0x60)
- Name (BCHM, 0x70)
- Mutex (SMBM, 0x00)
- Method (BIRB, 1, NotSerialized)
- {
- Store (Zero, Local0)
- Acquire (SMBM, 0x01F4)
- Store (\_SB.PCI0.SBUS.SRDB (SBCP, Arg0), Local0)
- Release (SMBM)
- Return (Local0)
- }
- Method (BIRW, 1, NotSerialized)
- {
- Store (Zero, Local0)
- Acquire (SMBM, 0x01F4)
- Store (Arg0, Local0)
- Store (\_SB.PCI0.SBUS.SRDB (SBCP, Local0), Local1)
- Add (Local0, One, Local0)
- Store (\_SB.PCI0.SBUS.SRDB (SBCP, Local0), Local2)
- Multiply (Local2, 0x64, Local0)
- Add (Local0, Local1, Local0)
- Release (SMBM)
- Return (Local0)
- }
- Method (BIRS, 1, NotSerialized)
- {
- Name (BSTR, Buffer (0x10) {})
- Store (Zero, BSTR)
- Store (Zero, Local0)
- Store (Zero, Local1)
- Store (Zero, Local2)
- Store (0x10, Local0)
- While (LLess (Local1, Local0))
- {
- Add (Arg0, Local1, Local3)
- Store (BIRB (Local3), Local4)
- If (LEqual (Local4, Zero))
- {
- Break
- }
- Store (Local4, Index (BSTR, Local2))
- Increment (Local1)
- Increment (Local2)
- }
- Return (BSTR)
- }
- Method (BISR, 0, NotSerialized)
- {
- Store (One, Local1)
- Store (BIRB (Zero), Local0)
- If (LNotEqual (Local0, 0x49))
- {
- Store (Zero, Local1)
- }
- Else
- {
- Store (BIRB (One), Local0)
- If (LNotEqual (Local0, 0x42))
- {
- Store (Zero, Local1)
- }
- }
- Return (Local1)
- }
- Scope (_SB)
- {
- Device (BAT0)
- {
- Name (_HID, EisaId ("PNP0C0A")) // _HID: Hardware ID
- Name (_PCL, Package (0x01) // _PCL: Power Consumer List
- {
- _SB
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (BISR (), Zero))
- {
- Return (One)
- }
- Store (Zero, Local0)
- Store (BIRW (RECH), Local0)
- If (LGreater (Local0, 0x64))
- {
- Return (0x0F)
- }
- Else
- {
- If (LEqual (Local0, Zero))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x1F)
- }
- }
- }
- Name (BIFF, Package (0x0D)
- {
- One,
- 0xFFFFFFFF,
- 0xFFFFFFFF,
- One,
- 0x3138,
- Zero,
- Zero,
- 0x5A,
- 0x5A,
- "LI2020A17",
- "",
- "Lion",
- "IBASE"
- })
- Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
- {
- If (LEqual (BISR (), Zero))
- {
- Return (BIFF)
- }
- Store (Zero, Local0)
- Store (BIRW (DSCP), Local0)
- If (LEqual (Local0, Zero))
- {
- Notify (BAT0, 0x81)
- }
- Else
- {
- If (LEqual (Local0, 0xFFFF))
- {
- Notify (BAT0, 0x81)
- }
- Else
- {
- Store (Local0, Index (BIFF, One))
- Store (BIRW (FCCP), Local0)
- Store (Local0, Index (BIFF, 0x02))
- Store (BIRS (BDEV), Index (BIFF, 0x09))
- Store (BIRS (BSER), Index (BIFF, 0x0A))
- Store (BIRS (BCHM), Index (BIFF, 0x0B))
- Store (BIRS (BOEM), Index (BIFF, 0x0C))
- }
- }
- Return (BIFF)
- }
- Name (BSTF, Package (0x04)
- {
- One,
- Zero,
- 0x0970,
- 0x3130
- })
- Method (_BST, 0, NotSerialized) // _BST: Battery Status
- {
- If (LEqual (BISR (), Zero))
- {
- Return (BSTF)
- }
- Store (Zero, Local0)
- Store (BIRW (RECP), Local0)
- Store (Local0, Index (BSTF, 0x02))
- Store (Zero, Local0)
- Store (BIRB (BSTA), Local0)
- Store (BIRB (BSTA), Local1)
- And (Local0, KSBC, Local0)
- And (Local1, KSAC, Local1)
- If (LEqual (Local1, Zero))
- {
- Store (One, Index (BSTF, Zero))
- }
- Else
- {
- If (LEqual (Local0, Zero))
- {
- Store (Zero, Index (BSTF, Zero))
- }
- Else
- {
- Store (0x02, Index (BSTF, Zero))
- }
- }
- Return (BSTF)
- }
- }
- Device (AC)
- {
- Name (_HID, "ACPI0003") // _HID: Hardware ID
- Name (_PCL, Package (0x01) // _PCL: Power Consumer List
- {
- _SB
- })
- Method (_PSR, 0, NotSerialized) // _PSR: Power Source
- {
- If (LEqual (BISR (), Zero))
- {
- Return (One)
- }
- Sleep (0x0A)
- Store (Zero, Local0)
- Store (BIRB (BSTA), Local0)
- And (Local0, KSAC, Local0)
- If (LEqual (Local0, Zero))
- {
- Return (Zero)
- }
- Else
- {
- Return (One)
- }
- }
- }
- }
- 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 (MCAP, 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 (IBT1, Zero)
- Name (ECAV, Zero)
- Name (SPT2, Zero)
- Name (PB10, Zero)
- Method (ECRD, 1, Serialized)
- {
- Return (DerefOf (Arg0))
- }
- Method (ECWT, 2, Serialized)
- {
- Store (Arg0, Arg1)
- }
- Method (ECMD, 1, Serialized)
- {
- If (ECON)
- {
- While (CMDR)
- {
- Stall (0x14)
- }
- Store (Arg0, CMDR)
- }
- }
- 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 (0x1E),
- BNUM, 8,
- 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)
- {
- Device (LID0)
- {
- Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (Zero)
- }
- }
- }
- Name (_S0, Package (0x04) // _S0_: S0 System State
- {
- Zero,
- Zero,
- Zero,
- Zero
- })
- If (SS1)
- {
- Name (_S1, Package (0x04) // _S1_: S1 System State
- {
- One,
- Zero,
- Zero,
- Zero
- })
- }
- If (SS3)
- {
- Name (_S3, Package (0x04) // _S3_: S3 System State
- {
- 0x05,
- Zero,
- Zero,
- Zero
- })
- }
- If (SS4)
- {
- 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)
- {
- If (Arg0)
- {
- \_SB.PCI0.LPCB.SPTS (Arg0)
- \_SB.PCI0.NPTS (Arg0)
- \_SB.PCI0.LPCB.SIOS (Arg0)
- }
- }
- Method (WAK, 1, NotSerialized)
- {
- \_SB.PCI0.LPCB.SWAK (Arg0)
- \_SB.PCI0.NWAK (Arg0)
- \_SB.PCI0.LPCB.SIOW (Arg0)
- }
- Method (OSCM, 4, NotSerialized)
- {
- Return (Zero)
- }
- Method (PINI, 0, NotSerialized)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement