mainboard/acpi: Replace constant "Zero" with actual number
Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
parent
7b8ac0030c
commit
fa06bcba06
@ -11,7 +11,7 @@ Device (EC)
|
|||||||
IO (Decode16, 0x66, 0x66, 1, 1)
|
IO (Decode16, 0x66, 0x66, 1, 1)
|
||||||
})
|
})
|
||||||
|
|
||||||
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
|
OperationRegion (ERAM, EmbeddedControl, 0, 0xFF)
|
||||||
Field (ERAM, ByteAcc, Lock, Preserve)
|
Field (ERAM, ByteAcc, Lock, Preserve)
|
||||||
{
|
{
|
||||||
Offset (0x50),
|
Offset (0x50),
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/* Wake status package */
|
/* Wake status package */
|
||||||
Name(WKST,Package(){Zero, Zero})
|
Name(WKST,Package(){0, 0})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* \_PTS - Prepare to Sleep method
|
* \_PTS - Prepare to Sleep method
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/* Wake status package */
|
/* Wake status package */
|
||||||
Name(WKST,Package(){Zero, Zero})
|
Name(WKST,Package(){0, 0})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* \_PTS - Prepare to Sleep method
|
* \_PTS - Prepare to Sleep method
|
||||||
|
@ -38,7 +38,7 @@ DefinitionBlock (
|
|||||||
Scope(\_SB.PCI0) {
|
Scope(\_SB.PCI0) {
|
||||||
Device(VGA) {
|
Device(VGA) {
|
||||||
Name(_ADR, 0x00020000)
|
Name(_ADR, 0x00020000)
|
||||||
OperationRegion(PCIC, PCI_Config, Zero, 0x4)
|
OperationRegion(PCIC, PCI_Config, 0, 0x4)
|
||||||
Field(PCIC, DWordAcc, NoLock, Preserve) {
|
Field(PCIC, DWordAcc, NoLock, Preserve) {
|
||||||
VEND, 32
|
VEND, 32
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -160,7 +160,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -7,14 +7,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
||||||
@ -109,7 +109,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
||||||
@ -92,7 +92,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
||||||
@ -92,7 +92,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
||||||
@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
||||||
@ -92,7 +92,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -40,9 +40,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT8)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT8)
|
||||||
@ -109,14 +109,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT8)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
||||||
@ -126,8 +126,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
||||||
@ -137,8 +137,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
|
||||||
@ -148,8 +148,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
|
||||||
@ -159,7 +159,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -160,7 +160,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -185,7 +185,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -210,7 +210,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -235,7 +235,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -260,7 +260,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -92,8 +92,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
|
||||||
@ -103,8 +103,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
||||||
@ -114,8 +114,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
||||||
@ -125,7 +125,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ Scope (\_SB.PCI0.I2C1)
|
|||||||
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de"))
|
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de"))
|
||||||
{
|
{
|
||||||
// DSM Revision
|
// DSM Revision
|
||||||
If (Arg2 == Zero)
|
If (Arg2 == 0)
|
||||||
{
|
{
|
||||||
If (Arg1 == 1)
|
If (Arg1 == 1)
|
||||||
{
|
{
|
||||||
@ -48,7 +48,7 @@ Scope (\_SB.PCI0.I2C1)
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(_CRS, 0x0, NotSerialized)
|
Method(_CRS, 0x0, NotSerialized)
|
||||||
|
@ -30,7 +30,7 @@ Scope (\_SB)
|
|||||||
|
|
||||||
Device (EJCT)
|
Device (EJCT)
|
||||||
{
|
{
|
||||||
Name (_ADR, Zero)
|
Name (_ADR, 0)
|
||||||
|
|
||||||
Name (_DSD, Package () {
|
Name (_DSD, Package () {
|
||||||
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
||||||
@ -88,7 +88,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Method (_DSM, 4, NotSerialized)
|
Method (_DSM, 4, NotSerialized)
|
||||||
{
|
{
|
||||||
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de")) {
|
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de")) {
|
||||||
If (Arg2 == Zero) {
|
If (Arg2 == 0) {
|
||||||
/* Function 0 - Query */
|
/* Function 0 - Query */
|
||||||
If (Arg1 == 1) {
|
If (Arg1 == 1) {
|
||||||
/* Revision 1 Function 1 */
|
/* Revision 1 Function 1 */
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS01)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS02)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS03)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.HS04)
|
Scope (\_SB.PCI0.XHCI.RHUB.HS04)
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS04)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.HS05)
|
Scope (\_SB.PCI0.XHCI.RHUB.HS05)
|
||||||
@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS05)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS07)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.SS01)
|
Scope (\_SB.PCI0.XHCI.RHUB.SS01)
|
||||||
@ -109,8 +109,8 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS01)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.SS02)
|
Scope (\_SB.PCI0.XHCI.RHUB.SS02)
|
||||||
@ -120,8 +120,8 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS02)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.SS03)
|
Scope (\_SB.PCI0.XHCI.RHUB.SS03)
|
||||||
@ -131,8 +131,8 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS03)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.SS04)
|
Scope (\_SB.PCI0.XHCI.RHUB.SS04)
|
||||||
@ -142,7 +142,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS04)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0
|
0x03, // USB 3.0
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -186,7 +186,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -211,7 +211,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -236,7 +236,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -261,7 +261,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -161,7 +161,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -186,7 +186,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -211,7 +211,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -236,7 +236,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -261,7 +261,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -161,7 +161,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -186,7 +186,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -211,7 +211,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -236,7 +236,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -261,7 +261,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -93,14 +93,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
||||||
@ -110,8 +110,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
||||||
@ -121,8 +121,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
|
||||||
@ -132,8 +132,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
|
||||||
@ -143,7 +143,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -269,7 +269,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -294,7 +294,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -319,7 +319,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -344,7 +344,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -369,7 +369,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/* Wake status package */
|
/* Wake status package */
|
||||||
Name (WKST, Package() { Zero, Zero })
|
Name (WKST, Package() { 0, 0 })
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* \_PTS - Prepare to Sleep method
|
* \_PTS - Prepare to Sleep method
|
||||||
|
@ -158,7 +158,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -179,7 +179,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -7,14 +7,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Device (USB2)
|
Device (USB2)
|
||||||
@ -25,9 +25,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -46,9 +46,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -66,9 +66,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -87,14 +87,14 @@ Scope (_SB.PCI0.EHC2.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Device (USB1)
|
Device (USB1)
|
||||||
@ -106,14 +106,14 @@ Scope (_SB.PCI0.EHC2.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,14 +126,14 @@ Scope (_SB.PCI0.EHC2.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3478") /* _HID: Hardware ID */
|
Name (_HID, "INT3478") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "SONY IMX208 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "SONY IMX208 Camera") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
@ -109,7 +109,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (NVM0)
|
Device (NVM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "GT24C16S") /* _DDN: DOS Device Name */
|
Name (_DDN, "GT24C16S") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
|
@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "OVTID858") /* _HID: Hardware ID */
|
Name (_HID, "OVTID858") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "OV 13858 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "OV 13858 Camera") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x02)
|
Name (CAMD, 0x02)
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (VCM0)
|
Device (VCM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "PRP0001") /* _HID: Hardware ID */
|
Name (_HID, "PRP0001") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
|
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x03)
|
Name (CAMD, 0x03)
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (NVM0)
|
Device (NVM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "GT24C16S/CAT24C16") /* _DDN: DOS Device Name */
|
Name (_DDN, "GT24C16S/CAT24C16") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
|
@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C4)
|
|||||||
Device (CAM1)
|
Device (CAM1)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3479") /* _HID: Hardware ID */
|
Name (_HID, "INT3479") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "OV 5670 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "OV 5670 Camera") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x02)
|
Name (CAMD, 0x02)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (PMIC)
|
Device (PMIC)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3472") /* _HID: Hardware ID */
|
Name (_HID, "INT3472") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "TPS68470 PMIC") /* _DDN: DOS Device Name */
|
Name (_DDN, "TPS68470 PMIC") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x64)
|
Name (CAMD, 0x64)
|
||||||
|
|
||||||
@ -56,12 +56,12 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Marks the availability of all the operation regions */
|
/* Marks the availability of all the operation regions */
|
||||||
Name (AVBL, Zero)
|
Name (AVBL, 0)
|
||||||
Name (AVGP, Zero)
|
Name (AVGP, 0)
|
||||||
Name (AVB0, Zero)
|
Name (AVB0, 0)
|
||||||
Name (AVB1, Zero)
|
Name (AVB1, 0)
|
||||||
Name (AVB2, Zero)
|
Name (AVB2, 0)
|
||||||
Name (AVB3, Zero)
|
Name (AVB3, 0)
|
||||||
Method (_REG, 2, NotSerialized)
|
Method (_REG, 2, NotSerialized)
|
||||||
{
|
{
|
||||||
If (Arg0 == 0x08)
|
If (Arg0 == 0x08)
|
||||||
@ -244,7 +244,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* VACT: Analog LDO output
|
* VACT: Analog LDO output
|
||||||
* VDCT: Core buck output
|
* VDCT: Core buck output
|
||||||
*/
|
*/
|
||||||
OperationRegion (PWR1, 0xB0, Zero, 0x0100)
|
OperationRegion (PWR1, 0xB0, 0, 0x0100)
|
||||||
Field (PWR1, DWordAcc, NoLock, Preserve)
|
Field (PWR1, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
VSIO, 32,
|
VSIO, 32,
|
||||||
@ -264,7 +264,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* ACVA: Analog LDO VR voltage
|
* ACVA: Analog LDO VR voltage
|
||||||
* DCVA: Core buck VR voltage
|
* DCVA: Core buck VR voltage
|
||||||
*/
|
*/
|
||||||
OperationRegion (PWR2, 0xB1, Zero, 0x0100)
|
OperationRegion (PWR2, 0xB1, 0, 0x0100)
|
||||||
Field (PWR2, DWordAcc, NoLock, Preserve)
|
Field (PWR2, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
SIOV, 32,
|
SIOV, 32,
|
||||||
@ -282,7 +282,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* CFG1: Clock configuration 1 register
|
* CFG1: Clock configuration 1 register
|
||||||
* CFG2: Clock configuration 2 register
|
* CFG2: Clock configuration 2 register
|
||||||
*/
|
*/
|
||||||
OperationRegion (CLKC, 0xB2, Zero, 0x0100)
|
OperationRegion (CLKC, 0xB2, 0, 0x0100)
|
||||||
Field (CLKC, DWordAcc, NoLock, Preserve)
|
Field (CLKC, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
PCTL, 32,
|
PCTL, 32,
|
||||||
@ -300,7 +300,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* PLDV: PLL feedback divider
|
* PLDV: PLL feedback divider
|
||||||
* PODV: PLL output divider for HCLK_A
|
* PODV: PLL output divider for HCLK_A
|
||||||
*/
|
*/
|
||||||
OperationRegion (CLKF, 0xB3, Zero, 0x0100)
|
OperationRegion (CLKF, 0xB3, 0, 0x0100)
|
||||||
Field (CLKF, DWordAcc, NoLock, Preserve)
|
Field (CLKF, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
PDV2, 32,
|
PDV2, 32,
|
||||||
|
@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "SONY258A") /* _HID: Hardware ID */
|
Name (_HID, "SONY258A") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "SONY IMX258 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "SONY IMX258 Camera") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
@ -73,7 +73,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (VCM0)
|
Device (VCM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "PRP0001") /* _HID: Hardware ID */
|
Name (_HID, "PRP0001") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
|
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
@ -104,7 +104,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (NVM0)
|
Device (NVM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Dongwoon NVM") /* _DDN: DOS Device Name */
|
Name (_DDN, "Dongwoon NVM") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
|
@ -41,7 +41,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "SONY319A") /* _HID: Hardware ID */
|
Name (_HID, "SONY319A") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Sony IMX319 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "Sony IMX319 Camera") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
@ -104,7 +104,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (NVM0)
|
Device (NVM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
Name (_HID, "INT3499") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "M24C64S") /* _DDN: DOS Device Name */
|
Name (_DDN, "M24C64S") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
|
@ -40,7 +40,7 @@ Scope (\_SB.PCI0.I2C5)
|
|||||||
Device (CAM1)
|
Device (CAM1)
|
||||||
{
|
{
|
||||||
Name (_HID, "SONY355A") /* _HID: Hardware ID */
|
Name (_HID, "SONY355A") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "SONY IMX355A Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "SONY IMX355A Camera") /* _DDN: DOS Device Name */
|
||||||
|
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Device (USB1)
|
Device (USB1)
|
||||||
@ -42,9 +42,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -63,14 +63,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -81,14 +81,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
|
Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
|
||||||
@ -98,14 +98,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
|
Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
|
||||||
@ -115,7 +115,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
|
Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
|
Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
|
||||||
@ -75,7 +75,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ Scope (\_SB)
|
|||||||
{
|
{
|
||||||
\_SB.DDEF()
|
\_SB.DDEF()
|
||||||
\_SB.PRTN = 0
|
\_SB.PRTN = 0
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
|
|
||||||
If (\_SB.PCI0.LPCB.EC0.STTB == 0) { // Desktop
|
If (\_SB.PCI0.LPCB.EC0.STTB == 0) { // Desktop
|
||||||
@ -35,25 +35,25 @@ Scope (\_SB)
|
|||||||
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 123) {
|
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 123) {
|
||||||
\_SB.DTTB()
|
\_SB.DTTB()
|
||||||
\_SB.PRTN = 1
|
\_SB.PRTN = 1
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
// AMB sensor release point
|
// AMB sensor release point
|
||||||
If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 118)) {
|
If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 118)) {
|
||||||
\_SB.DDEF()
|
\_SB.DDEF()
|
||||||
\_SB.PRTN = 0
|
\_SB.PRTN = 0
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
// Keep tht previous thermal table
|
// Keep tht previous thermal table
|
||||||
Return (Zero)
|
Return (0)
|
||||||
} Else {
|
} Else {
|
||||||
If (\_SB.PRTN == 3 || \_SB.PRTN == 5) {
|
If (\_SB.PRTN == 3 || \_SB.PRTN == 5) {
|
||||||
\_SB.DTTB()
|
\_SB.DTTB()
|
||||||
\_SB.PRTN = 1
|
\_SB.PRTN = 1
|
||||||
Return (Zero)
|
Return (0)
|
||||||
} Else {
|
} Else {
|
||||||
\_SB.DDEF()
|
\_SB.DDEF()
|
||||||
\_SB.PRTN = 0
|
\_SB.PRTN = 0
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} Else { // Lid-close
|
} Else { // Lid-close
|
||||||
@ -62,24 +62,24 @@ Scope (\_SB)
|
|||||||
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 128) {
|
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 128) {
|
||||||
\_SB.DTTD()
|
\_SB.DTTD()
|
||||||
\_SB.PRTN = 3
|
\_SB.PRTN = 3
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
If(\_SB.PCI0.LPCB.EC0.TIN4 <= 123) {
|
If(\_SB.PCI0.LPCB.EC0.TIN4 <= 123) {
|
||||||
\_SB.DTTC()
|
\_SB.DTTC()
|
||||||
\_SB.PRTN = 2
|
\_SB.PRTN = 2
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
// Keep tht previous thermal table
|
// Keep tht previous thermal table
|
||||||
Return (Zero)
|
Return (0)
|
||||||
} Else {
|
} Else {
|
||||||
If (\_SB.PRTN == 1 || \_SB.PRTN == 5) {
|
If (\_SB.PRTN == 1 || \_SB.PRTN == 5) {
|
||||||
\_SB.DTTD()
|
\_SB.DTTD()
|
||||||
\_SB.PRTN = 3
|
\_SB.PRTN = 3
|
||||||
Return (Zero)
|
Return (0)
|
||||||
} Else {
|
} Else {
|
||||||
\_SB.DTTC()
|
\_SB.DTTC()
|
||||||
\_SB.PRTN = 2
|
\_SB.PRTN = 2
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -90,25 +90,25 @@ Scope (\_SB)
|
|||||||
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 118) {
|
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 118) {
|
||||||
\_SB.DTTF()
|
\_SB.DTTF()
|
||||||
\_SB.PRTN = 5
|
\_SB.PRTN = 5
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
// AMB sensor release point
|
// AMB sensor release point
|
||||||
If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 113)) {
|
If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 113)) {
|
||||||
\_SB.DTTE()
|
\_SB.DTTE()
|
||||||
\_SB.PRTN = 4
|
\_SB.PRTN = 4
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
// Keep tht previous thermal table
|
// Keep tht previous thermal table
|
||||||
Return (Zero)
|
Return (0)
|
||||||
} Else {
|
} Else {
|
||||||
If (\_SB.PRTN == 1 || \_SB.PRTN == 3) {
|
If (\_SB.PRTN == 1 || \_SB.PRTN == 3) {
|
||||||
\_SB.DTTF()
|
\_SB.DTTF()
|
||||||
\_SB.PRTN = 5
|
\_SB.PRTN = 5
|
||||||
Return (Zero)
|
Return (0)
|
||||||
} Else {
|
} Else {
|
||||||
\_SB.DTTE()
|
\_SB.DTTE()
|
||||||
\_SB.PRTN = 4
|
\_SB.PRTN = 4
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // Desktop/Laptop End
|
} // Desktop/Laptop End
|
||||||
|
@ -36,7 +36,7 @@ DefinitionBlock(
|
|||||||
{
|
{
|
||||||
Device (WLAN)
|
Device (WLAN)
|
||||||
{
|
{
|
||||||
Name (_ADR, Zero)
|
Name (_ADR, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,14 +7,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
||||||
@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
||||||
@ -109,7 +109,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
|
|||||||
Name (_UPC, Package (0x04)
|
Name (_UPC, Package (0x04)
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
||||||
@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
||||||
@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized)
|
Method (_PLD, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
||||||
@ -92,8 +92,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
|
Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
|
||||||
@ -103,7 +103,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0x03, // USB 3.0 Port
|
0x03, // USB 3.0 Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -76,12 +76,12 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -100,8 +100,8 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
^I2C3.CAM0,
|
^I2C3.CAM0,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -114,12 +114,12 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -136,8 +136,8 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
^I2C2.CAM1,
|
^I2C2.CAM1,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -208,7 +208,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "OVTI8856") /* _HID: Hardware ID */
|
Name (_HID, "OVTI8856") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Ov 8856 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "Ov 8856 Camera") /* _DDN: DOS Device Name */
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
{
|
{
|
||||||
@ -271,7 +271,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"port",
|
"port",
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
||||||
@ -292,12 +292,12 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -325,8 +325,8 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
IPU0,
|
IPU0,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -478,7 +478,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
|
|
||||||
Scope (\_SB.PCI0.I2C2)
|
Scope (\_SB.PCI0.I2C2)
|
||||||
{
|
{
|
||||||
Name (STA, Zero)
|
Name (STA, 0)
|
||||||
PowerResource (FCPR, 0x00, 0x0000)
|
PowerResource (FCPR, 0x00, 0x0000)
|
||||||
{
|
{
|
||||||
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
|
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
|
||||||
@ -534,7 +534,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (CAM1)
|
Device (CAM1)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3474") /* _HID: Hardware ID */
|
Name (_HID, "INT3474") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Ov 2740 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "Ov 2740 Camera") /* _DDN: DOS Device Name */
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
{
|
{
|
||||||
@ -589,7 +589,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"port",
|
"port",
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
||||||
@ -610,12 +610,12 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -641,7 +641,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
{
|
{
|
||||||
IPU0,
|
IPU0,
|
||||||
1,
|
1,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -76,12 +76,12 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -98,8 +98,8 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
^I2C2.CAM1,
|
^I2C2.CAM1,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
|
|
||||||
Scope (\_SB.PCI0.I2C2)
|
Scope (\_SB.PCI0.I2C2)
|
||||||
{
|
{
|
||||||
Name (STA, Zero)
|
Name (STA, 0)
|
||||||
PowerResource (FCPR, 0x00, 0x0000)
|
PowerResource (FCPR, 0x00, 0x0000)
|
||||||
{
|
{
|
||||||
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
|
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
|
||||||
@ -158,7 +158,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (CAM1)
|
Device (CAM1)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3474") /* _HID: Hardware ID */
|
Name (_HID, "INT3474") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Ov 2740 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "Ov 2740 Camera") /* _DDN: DOS Device Name */
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
{
|
{
|
||||||
@ -213,7 +213,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"port",
|
"port",
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
||||||
@ -234,12 +234,12 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -265,7 +265,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
{
|
{
|
||||||
IPU0,
|
IPU0,
|
||||||
1,
|
1,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -124,7 +124,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -145,7 +145,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -166,7 +166,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -187,7 +187,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -11,7 +11,7 @@ Field (APMP, ByteAcc, NoLock, Preserve)
|
|||||||
|
|
||||||
#include <arch/x86/acpi/post.asl>
|
#include <arch/x86/acpi/post.asl>
|
||||||
|
|
||||||
Name(\APC1, Zero) // IIO IOAPIC
|
Name(\APC1, 0) // IIO IOAPIC
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The _PTS method (Prepare To Sleep) is called before the OS is
|
* The _PTS method (Prepare To Sleep) is called before the OS is
|
||||||
|
@ -122,7 +122,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -143,7 +143,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -164,7 +164,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -185,7 +185,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -206,7 +206,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
If(Arg0 == ToUUID("3CDFF6F7-4267-4555-AD05-B30A3D8938DE"))
|
If(Arg0 == ToUUID("3CDFF6F7-4267-4555-AD05-B30A3D8938DE"))
|
||||||
{
|
{
|
||||||
// Function 0 : Query Function
|
// Function 0 : Query Function
|
||||||
If(Arg2 == Zero)
|
If(Arg2 == 0)
|
||||||
{
|
{
|
||||||
// Revision 1
|
// Revision 1
|
||||||
If(Arg1 == 1)
|
If(Arg1 == 1)
|
||||||
|
@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (PMIC)
|
Device (PMIC)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3472") /* _HID: Hardware ID */
|
Name (_HID, "INT3472") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) // _UID: Unique ID */
|
Name (_UID, 0) // _UID: Unique ID */
|
||||||
Name (_DDN, "TPS68470 PMIC") /* _DDN: DOS Device Name */
|
Name (_DDN, "TPS68470 PMIC") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x64)
|
Name (CAMD, 0x64)
|
||||||
|
|
||||||
@ -15,12 +15,12 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Marks the availability of all the operation regions */
|
/* Marks the availability of all the operation regions */
|
||||||
Name (AVP1, Zero)
|
Name (AVP1, 0)
|
||||||
Name (AVGP, Zero)
|
Name (AVGP, 0)
|
||||||
Name (AVB0, Zero)
|
Name (AVB0, 0)
|
||||||
Name (AVB1, Zero)
|
Name (AVB1, 0)
|
||||||
Name (AVB2, Zero)
|
Name (AVB2, 0)
|
||||||
Name (AVB3, Zero)
|
Name (AVB3, 0)
|
||||||
Method (_REG, 2, NotSerialized)
|
Method (_REG, 2, NotSerialized)
|
||||||
{
|
{
|
||||||
If (Arg0 == 0x08)
|
If (Arg0 == 0x08)
|
||||||
@ -90,7 +90,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* VACT: Analog LDO output
|
* VACT: Analog LDO output
|
||||||
* VDCT: Core buck output
|
* VDCT: Core buck output
|
||||||
*/
|
*/
|
||||||
OperationRegion (PWR1, 0xB0, Zero, 0x0100)
|
OperationRegion (PWR1, 0xB0, 0, 0x0100)
|
||||||
Field (PWR1, DWordAcc, NoLock, Preserve)
|
Field (PWR1, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
VSIO, 32,
|
VSIO, 32,
|
||||||
@ -110,7 +110,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* ACVA: Analog LDO VR voltage
|
* ACVA: Analog LDO VR voltage
|
||||||
* DCVA: Core buck VR voltage
|
* DCVA: Core buck VR voltage
|
||||||
*/
|
*/
|
||||||
OperationRegion (PWR2, 0xB1, Zero, 0x0100)
|
OperationRegion (PWR2, 0xB1, 0, 0x0100)
|
||||||
Field (PWR2, DWordAcc, NoLock, Preserve)
|
Field (PWR2, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
SIOV, 32,
|
SIOV, 32,
|
||||||
@ -128,7 +128,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* CFG1: Clock configuration 1 register
|
* CFG1: Clock configuration 1 register
|
||||||
* CFG2: Clock configuration 2 register
|
* CFG2: Clock configuration 2 register
|
||||||
*/
|
*/
|
||||||
OperationRegion (CLKC, 0xB2, Zero, 0x0100)
|
OperationRegion (CLKC, 0xB2, 0, 0x0100)
|
||||||
Field (CLKC, DWordAcc, NoLock, Preserve)
|
Field (CLKC, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
PCTL, 32,
|
PCTL, 32,
|
||||||
@ -146,7 +146,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
* PLDV: PLL feedback divider
|
* PLDV: PLL feedback divider
|
||||||
* PODV: PLL output divider for HCLK_A
|
* PODV: PLL output divider for HCLK_A
|
||||||
*/
|
*/
|
||||||
OperationRegion (CLKF, 0xB3, Zero, 0x0100)
|
OperationRegion (CLKF, 0xB3, 0, 0x0100)
|
||||||
Field (CLKF, DWordAcc, NoLock, Preserve)
|
Field (CLKF, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
PDV2, 32,
|
PDV2, 32,
|
||||||
@ -370,7 +370,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "OVTID858") /* _HID: Hardware ID */
|
Name (_HID, "OVTID858") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "OV 13858 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "OV 13858 Camera") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x02)
|
Name (CAMD, 0x02)
|
||||||
|
|
||||||
@ -475,7 +475,7 @@ Scope (\_SB.PCI0.I2C2)
|
|||||||
Device (VCM0)
|
Device (VCM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "DWDWD000") /* _HID: Hardware ID */
|
Name (_HID, "DWDWD000") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
|
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x03)
|
Name (CAMD, 0x03)
|
||||||
|
|
||||||
@ -503,7 +503,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (PMIC)
|
Device (PMIC)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3473") /* _HID: Hardware ID */
|
Name (_HID, "INT3473") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "TPS68470 PMIC 2") /* _DDN: DOS Device Name */
|
Name (_DDN, "TPS68470 PMIC 2") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x64)
|
Name (CAMD, 0x64)
|
||||||
|
|
||||||
@ -513,12 +513,12 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Marks the availability of all the operation regions */
|
/* Marks the availability of all the operation regions */
|
||||||
Name (AVP2, Zero)
|
Name (AVP2, 0)
|
||||||
Name (AVGP, Zero)
|
Name (AVGP, 0)
|
||||||
Name (AVB0, Zero)
|
Name (AVB0, 0)
|
||||||
Name (AVB1, Zero)
|
Name (AVB1, 0)
|
||||||
Name (AVB2, Zero)
|
Name (AVB2, 0)
|
||||||
Name (AVB3, Zero)
|
Name (AVB3, 0)
|
||||||
Method (_REG, 2, NotSerialized)
|
Method (_REG, 2, NotSerialized)
|
||||||
{
|
{
|
||||||
If (Arg0 == 0x08)
|
If (Arg0 == 0x08)
|
||||||
@ -595,7 +595,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
* VACT: Analog LDO output
|
* VACT: Analog LDO output
|
||||||
* VDCT: Core buck output
|
* VDCT: Core buck output
|
||||||
*/
|
*/
|
||||||
OperationRegion (PWR1, 0xB0, Zero, 0x0100)
|
OperationRegion (PWR1, 0xB0, 0, 0x0100)
|
||||||
Field (PWR1, DWordAcc, NoLock, Preserve)
|
Field (PWR1, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
VSIO, 32,
|
VSIO, 32,
|
||||||
@ -615,7 +615,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
* ACVA: Analog LDO VR voltage
|
* ACVA: Analog LDO VR voltage
|
||||||
* DCVA: Core buck VR voltage
|
* DCVA: Core buck VR voltage
|
||||||
*/
|
*/
|
||||||
OperationRegion (PWR2, 0xB1, Zero, 0x0100)
|
OperationRegion (PWR2, 0xB1, 0, 0x0100)
|
||||||
Field (PWR2, DWordAcc, NoLock, Preserve)
|
Field (PWR2, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
SIOV, 32,
|
SIOV, 32,
|
||||||
@ -633,7 +633,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
* CFG1: Clock configuration 1 register
|
* CFG1: Clock configuration 1 register
|
||||||
* CFG2: Clock configuration 2 register
|
* CFG2: Clock configuration 2 register
|
||||||
*/
|
*/
|
||||||
OperationRegion (CLKC, 0xB2, Zero, 0x0100)
|
OperationRegion (CLKC, 0xB2, 0, 0x0100)
|
||||||
Field (CLKC, DWordAcc, NoLock, Preserve)
|
Field (CLKC, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
PCTL, 32,
|
PCTL, 32,
|
||||||
@ -651,7 +651,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
* PLDV: PLL feedback divider
|
* PLDV: PLL feedback divider
|
||||||
* PODV: PLL output divider for HCLK_A
|
* PODV: PLL output divider for HCLK_A
|
||||||
*/
|
*/
|
||||||
OperationRegion (CLKF, 0xB3, Zero, 0x0100)
|
OperationRegion (CLKF, 0xB3, 0, 0x0100)
|
||||||
Field (CLKF, DWordAcc, NoLock, Preserve)
|
Field (CLKF, DWordAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
PDV2, 32,
|
PDV2, 32,
|
||||||
@ -806,7 +806,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (CAM1)
|
Device (CAM1)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT3479") /* _HID: Hardware ID */
|
Name (_HID, "INT3479") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "OV 5670 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "OV 5670 Camera") /* _DDN: DOS Device Name */
|
||||||
Name (CAMD, 0x02)
|
Name (CAMD, 0x02)
|
||||||
|
|
||||||
|
@ -76,12 +76,12 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -100,8 +100,8 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
^I2C3.CAM0,
|
^I2C3.CAM0,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -114,12 +114,12 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -139,8 +139,8 @@ Scope (\_SB.PCI0.IPU0)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
^I2C5.CAM1,
|
^I2C5.CAM1,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,7 +151,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
{
|
{
|
||||||
PowerResource (RCPR, 0x00, 0x0000)
|
PowerResource (RCPR, 0x00, 0x0000)
|
||||||
{
|
{
|
||||||
Name (STA, Zero)
|
Name (STA, 0)
|
||||||
Method (_ON, 0, Serialized) /* Rear camera_ON_: Power On */
|
Method (_ON, 0, Serialized) /* Rear camera_ON_: Power On */
|
||||||
{
|
{
|
||||||
If (STA == 0)
|
If (STA == 0)
|
||||||
@ -199,7 +199,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Device (CAM0)
|
Device (CAM0)
|
||||||
{
|
{
|
||||||
Name (_HID, "OVTI8856") /* _HID: Hardware ID */
|
Name (_HID, "OVTI8856") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Ov 8856 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "Ov 8856 Camera") /* _DDN: DOS Device Name */
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
{
|
{
|
||||||
@ -257,7 +257,7 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"port",
|
"port",
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
||||||
@ -278,12 +278,12 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -311,8 +311,8 @@ Scope (\_SB.PCI0.I2C3)
|
|||||||
Package (0x03)
|
Package (0x03)
|
||||||
{
|
{
|
||||||
IPU0,
|
IPU0,
|
||||||
Zero,
|
0,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -366,7 +366,7 @@ Scope (\_SB.PCI0.I2C5)
|
|||||||
{
|
{
|
||||||
PowerResource (FCPR, 0x00, 0x0000)
|
PowerResource (FCPR, 0x00, 0x0000)
|
||||||
{
|
{
|
||||||
Name (STA, Zero)
|
Name (STA, 0)
|
||||||
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
|
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
|
||||||
{
|
{
|
||||||
If (STA == 0)
|
If (STA == 0)
|
||||||
@ -422,7 +422,7 @@ Scope (\_SB.PCI0.I2C5)
|
|||||||
Device (CAM1)
|
Device (CAM1)
|
||||||
{
|
{
|
||||||
Name (_HID, "OVTI8856") /* _HID: Hardware ID */
|
Name (_HID, "OVTI8856") /* _HID: Hardware ID */
|
||||||
Name (_UID, Zero) /* _UID: Unique ID */
|
Name (_UID, 0) /* _UID: Unique ID */
|
||||||
Name (_DDN, "Ov 8856 Camera") /* _DDN: DOS Device Name */
|
Name (_DDN, "Ov 8856 Camera") /* _DDN: DOS Device Name */
|
||||||
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
Method (_STA, 0, NotSerialized) /* _STA: Status */
|
||||||
{
|
{
|
||||||
@ -472,7 +472,7 @@ Scope (\_SB.PCI0.I2C5)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"port",
|
"port",
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
|
||||||
@ -493,12 +493,12 @@ Scope (\_SB.PCI0.I2C5)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"endpoint",
|
"endpoint",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
"clock-lanes",
|
"clock-lanes",
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
@ -527,7 +527,7 @@ Scope (\_SB.PCI0.I2C5)
|
|||||||
{
|
{
|
||||||
IPU0,
|
IPU0,
|
||||||
1,
|
1,
|
||||||
Zero
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -124,7 +124,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -143,7 +143,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -162,7 +162,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -181,7 +181,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -246,8 +246,8 @@ Device (EC0)
|
|||||||
{
|
{
|
||||||
Name (_HID, EisaId ("LEN0068"))
|
Name (_HID, EisaId ("LEN0068"))
|
||||||
|
|
||||||
Name (DHKC, Zero)
|
Name (DHKC, 0)
|
||||||
Name (DHKV, Zero)
|
Name (DHKV, 0)
|
||||||
Name (DHKN, 0xFC018070) // Hotkey mask
|
Name (DHKN, 0xFC018070) // Hotkey mask
|
||||||
Mutex (XDHK, 0x07)
|
Mutex (XDHK, 0x07)
|
||||||
|
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
Scope (_GPE)
|
Scope (_GPE)
|
||||||
{
|
{
|
||||||
Name (PDET, Zero)
|
Name (PDET, 0)
|
||||||
Method (PNOT, 2, Serialized) {
|
Method (PNOT, 2, Serialized) {
|
||||||
Local0 = Arg0 << Arg1
|
Local0 = Arg0 << Arg1
|
||||||
Local1 = ~(1 << Arg1)
|
Local1 = ~(1 << Arg1)
|
||||||
PDET = Local0 | (Local1 & PDET)
|
PDET = Local0 | (Local1 & PDET)
|
||||||
If (PDET == Zero) {
|
If (PDET == 0) {
|
||||||
// Palm removed
|
// Palm removed
|
||||||
\_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1)
|
\_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1)
|
||||||
} Else {
|
} Else {
|
||||||
@ -18,7 +18,7 @@ Scope (_GPE)
|
|||||||
|
|
||||||
Method (TINV, 2, Serialized) {
|
Method (TINV, 2, Serialized) {
|
||||||
Local0 = 1 << Arg1
|
Local0 = 1 << Arg1
|
||||||
If (Arg0 == Zero) {
|
If (Arg0 == 0) {
|
||||||
Local0 = ~Local0
|
Local0 = ~Local0
|
||||||
GIV0 &= Local0
|
GIV0 &= Local0
|
||||||
} Else {
|
} Else {
|
||||||
|
@ -25,12 +25,12 @@ Scope(\_SI)
|
|||||||
If (Arg0 < 2)
|
If (Arg0 < 2)
|
||||||
{
|
{
|
||||||
/* Thinkpad LED on */
|
/* Thinkpad LED on */
|
||||||
\_SB.PCI0.LPCB.EC0.LED (Zero, 0x80)
|
\_SB.PCI0.LPCB.EC0.LED (0, 0x80)
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
/* Thinkpad LED blinking */
|
/* Thinkpad LED blinking */
|
||||||
\_SB.PCI0.LPCB.EC0.LED (Zero, 0xC0)
|
\_SB.PCI0.LPCB.EC0.LED (0, 0xC0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,5 +79,5 @@ Method (ATPX, 2, Serialized) {
|
|||||||
SHYB(0x00)
|
SHYB(0x00)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Return(Zero)
|
Return(0)
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/* Wake status package */
|
/* Wake status package */
|
||||||
Name(WKST,Package(){Zero, Zero})
|
Name(WKST,Package(){0, 0})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* \_PTS - Prepare to Sleep method
|
* \_PTS - Prepare to Sleep method
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#define EC_SCI_GPI 10
|
#define EC_SCI_GPI 10
|
||||||
#define PPCM_TURBO Zero
|
#define PPCM_TURBO 0
|
||||||
#define PPCM_NOTURBO 1
|
#define PPCM_NOTURBO 1
|
||||||
#define CRIT_TEMP 105
|
#define CRIT_TEMP 105
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Scope (\_SB)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ Device (ALSD)
|
|||||||
Package (0x02)
|
Package (0x02)
|
||||||
{
|
{
|
||||||
0x46,
|
0x46,
|
||||||
Zero
|
0
|
||||||
},
|
},
|
||||||
|
|
||||||
Package (0x02)
|
Package (0x02)
|
||||||
|
@ -7,14 +7,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Device (USB1)
|
Device (USB1)
|
||||||
@ -25,9 +25,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -46,9 +46,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
Zero, // USB Port
|
0, // USB Port
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Visible
|
// Visible
|
||||||
@ -67,14 +67,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,14 +87,14 @@ Scope (\_SB.PCI0.EHC2.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
|
|
||||||
Device (USB4)
|
Device (USB4)
|
||||||
@ -106,14 +106,14 @@ Scope (\_SB.PCI0.EHC2.HUB7.PRT1)
|
|||||||
{
|
{
|
||||||
0xFF, // Connectable
|
0xFF, // Connectable
|
||||||
0xFF, // OEM Connector
|
0xFF, // OEM Connector
|
||||||
Zero, // Reserved
|
0, // Reserved
|
||||||
Zero // Reserved
|
0 // Reserved
|
||||||
})
|
})
|
||||||
|
|
||||||
// Not Visible
|
// Not Visible
|
||||||
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
|
||||||
{
|
{
|
||||||
Return (GPLD (Zero))
|
Return (GPLD (0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 0) {
|
If (\FLVL <= 0) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -142,7 +142,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 1) {
|
If (\FLVL <= 1) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -163,7 +163,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 2) {
|
If (\FLVL <= 2) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -184,7 +184,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 3) {
|
If (\FLVL <= 3) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
@ -205,7 +205,7 @@ Scope (\_TZ)
|
|||||||
If (\FLVL <= 4) {
|
If (\FLVL <= 4) {
|
||||||
Return (1)
|
Return (1)
|
||||||
} Else {
|
} Else {
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Method (_ON) {
|
Method (_ON) {
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
Device (BAT0)
|
Device (BAT0)
|
||||||
{
|
{
|
||||||
Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
|
Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
|
||||||
Name (_UID, Zero) // _UID: Unique ID
|
Name (_UID, 0) // _UID: Unique ID
|
||||||
Name (_PCL, Package (0x01) // _PCL: Power Consumer List
|
Name (_PCL, Package (0x01) // _PCL: Power Consumer List
|
||||||
{
|
{
|
||||||
_SB
|
_SB
|
||||||
})
|
})
|
||||||
Name (BFCC, Zero)
|
Name (BFCC, 0)
|
||||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||||
{
|
{
|
||||||
If (^^PCI0.LPCB.EC0.ECOK)
|
If (^^PCI0.LPCB.EC0.ECOK)
|
||||||
@ -35,8 +35,8 @@ Device (BAT0)
|
|||||||
0xFFFFFFFF, // 2 - Last Full Charge Capacity
|
0xFFFFFFFF, // 2 - Last Full Charge Capacity
|
||||||
1, // 3 - Battery Technology
|
1, // 3 - Battery Technology
|
||||||
0x39D0, // 4 - Design Voltage
|
0x39D0, // 4 - Design Voltage
|
||||||
Zero, // 5 - Design Capacity of Warning
|
0, // 5 - Design Capacity of Warning
|
||||||
Zero, // 6 - Design Capacity of Low
|
0, // 6 - Design Capacity of Low
|
||||||
0x40, // 7 - Battery Capacity Granularity 1
|
0x40, // 7 - Battery Capacity Granularity 1
|
||||||
0x40, // 8 - Battery Capacity Granularity 2
|
0x40, // 8 - Battery Capacity Granularity 2
|
||||||
"BAT", // 9 - Model Number
|
"BAT", // 9 - Model Number
|
||||||
@ -53,7 +53,7 @@ Device (BAT0)
|
|||||||
PBIF [10] = " "
|
PBIF [10] = " "
|
||||||
PBIF [11] = " "
|
PBIF [11] = " "
|
||||||
PBIF [12] = " "
|
PBIF [12] = " "
|
||||||
BFCC = Zero
|
BFCC = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (UPBI, 0, NotSerialized)
|
Method (UPBI, 0, NotSerialized)
|
||||||
@ -98,14 +98,14 @@ Device (BAT0)
|
|||||||
|
|
||||||
Name (PBST, Package (0x04)
|
Name (PBST, Package (0x04)
|
||||||
{
|
{
|
||||||
Zero, // 0 - Battery state
|
0, // 0 - Battery state
|
||||||
0xFFFFFFFF, // 1 - Battery present rate
|
0xFFFFFFFF, // 1 - Battery present rate
|
||||||
0xFFFFFFFF, // 2 - Battery remaining capacity
|
0xFFFFFFFF, // 2 - Battery remaining capacity
|
||||||
0x3D90 // 3 - Battery present voltage
|
0x3D90 // 3 - Battery present voltage
|
||||||
})
|
})
|
||||||
Method (IVBS, 0, NotSerialized)
|
Method (IVBS, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
PBST [0] = Zero
|
PBST [0] = 0
|
||||||
PBST [1] = 0xFFFFFFFF
|
PBST [1] = 0xFFFFFFFF
|
||||||
PBST [2] = 0xFFFFFFFF
|
PBST [2] = 0xFFFFFFFF
|
||||||
PBST [3] = 0x2710
|
PBST [3] = 0x2710
|
||||||
@ -115,8 +115,8 @@ Device (BAT0)
|
|||||||
{
|
{
|
||||||
If (^^PCI0.LPCB.EC0.BAT0)
|
If (^^PCI0.LPCB.EC0.BAT0)
|
||||||
{
|
{
|
||||||
Local0 = Zero
|
Local0 = 0
|
||||||
Local1 = Zero
|
Local1 = 0
|
||||||
If (^^AC.ACFG)
|
If (^^AC.ACFG)
|
||||||
{
|
{
|
||||||
If (((^^PCI0.LPCB.EC0.BST0 & 0x02) == 0x02))
|
If (((^^PCI0.LPCB.EC0.BST0 & 0x02) == 0x02))
|
||||||
|
@ -22,7 +22,7 @@ Device (EC0)
|
|||||||
|
|
||||||
#include "acpi/ec_ram.asl"
|
#include "acpi/ec_ram.asl"
|
||||||
|
|
||||||
Name (ECOK, Zero)
|
Name (ECOK, 0)
|
||||||
Method (_REG, 2, Serialized) // _REG: Region Availability
|
Method (_REG, 2, Serialized) // _REG: Region Availability
|
||||||
{
|
{
|
||||||
Debug = Concatenate("EC: _REG", Concatenate(ToHexString(Arg0), Concatenate(" ", ToHexString(Arg1))))
|
Debug = Concatenate("EC: _REG", Concatenate(ToHexString(Arg0), Concatenate(" ", ToHexString(Arg1))))
|
||||||
@ -40,8 +40,8 @@ Device (EC0)
|
|||||||
^^^^BAT0.UPBS()
|
^^^^BAT0.UPBS()
|
||||||
|
|
||||||
// Notify of changes
|
// Notify of changes
|
||||||
Notify(^^^^AC, Zero)
|
Notify(^^^^AC, 0)
|
||||||
Notify(^^^^BAT0, Zero)
|
Notify(^^^^BAT0, 0)
|
||||||
|
|
||||||
PNOT ()
|
PNOT ()
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ Device (EC0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Name (S3OS, Zero)
|
Name (S3OS, 0)
|
||||||
Method (PTS, 1, Serialized) {
|
Method (PTS, 1, Serialized) {
|
||||||
Debug = Concatenate("EC: PTS: ", ToHexString(Arg0))
|
Debug = Concatenate("EC: PTS: ", ToHexString(Arg0))
|
||||||
If (ECOK) {
|
If (ECOK) {
|
||||||
@ -61,7 +61,7 @@ Device (EC0)
|
|||||||
S3OS = ECOS
|
S3OS = ECOS
|
||||||
|
|
||||||
// Clear wake cause
|
// Clear wake cause
|
||||||
WFNO = Zero
|
WFNO = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,8 +79,8 @@ Device (EC0)
|
|||||||
^^^^BAT0.UPBS()
|
^^^^BAT0.UPBS()
|
||||||
|
|
||||||
// Notify of changes
|
// Notify of changes
|
||||||
Notify(^^^^AC, Zero)
|
Notify(^^^^AC, 0)
|
||||||
Notify(^^^^BAT0, Zero)
|
Notify(^^^^BAT0, 0)
|
||||||
|
|
||||||
// Reset System76 Device
|
// Reset System76 Device
|
||||||
^^^^S76D.RSET()
|
^^^^S76D.RSET()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
|
OperationRegion (ERAM, EmbeddedControl, 0, 0xFF)
|
||||||
Field (ERAM, ByteAcc, Lock, Preserve)
|
Field (ERAM, ByteAcc, Lock, Preserve)
|
||||||
{
|
{
|
||||||
NMSG, 8,
|
NMSG, 8,
|
||||||
|
@ -3,19 +3,19 @@
|
|||||||
Device (HIDD)
|
Device (HIDD)
|
||||||
{
|
{
|
||||||
Name (_HID, "INT33D5")
|
Name (_HID, "INT33D5")
|
||||||
Name (HBSY, Zero)
|
Name (HBSY, 0)
|
||||||
Name (HIDX, Zero)
|
Name (HIDX, 0)
|
||||||
Name (HRDY, Zero)
|
Name (HRDY, 0)
|
||||||
|
|
||||||
Method (HDEM, 0, Serialized)
|
Method (HDEM, 0, Serialized)
|
||||||
{
|
{
|
||||||
HBSY = Zero
|
HBSY = 0
|
||||||
Return (HIDX)
|
Return (HIDX)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (HDMM, 0, Serialized)
|
Method (HDMM, 0, Serialized)
|
||||||
{
|
{
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (HDSM, 1, Serialized)
|
Method (HDSM, 1, Serialized)
|
||||||
@ -29,7 +29,7 @@ Device (HIDD)
|
|||||||
HIDX = Arg0
|
HIDX = Arg0
|
||||||
|
|
||||||
Notify (HIDD, 0xC0)
|
Notify (HIDD, 0xC0)
|
||||||
Local0 = Zero
|
Local0 = 0
|
||||||
While ((Local0 < 0xFA) && HBSY)
|
While ((Local0 < 0xFA) && HBSY)
|
||||||
{
|
{
|
||||||
Sleep (0x04)
|
Sleep (0x04)
|
||||||
@ -38,13 +38,13 @@ Device (HIDD)
|
|||||||
|
|
||||||
If (HBSY == 1)
|
If (HBSY == 1)
|
||||||
{
|
{
|
||||||
HBSY = Zero
|
HBSY = 0
|
||||||
HIDX = Zero
|
HIDX = 0
|
||||||
Return (1)
|
Return (1)
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
Return (Zero)
|
Return (0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ Device (S76D) {
|
|||||||
^^PCI0.LPCB.EC0.FDAT = 1
|
^^PCI0.LPCB.EC0.FDAT = 1
|
||||||
^^PCI0.LPCB.EC0.FCMD = 0xCA
|
^^PCI0.LPCB.EC0.FCMD = 0xCA
|
||||||
Local0 = ^^PCI0.LPCB.EC0.FBUF
|
Local0 = ^^PCI0.LPCB.EC0.FBUF
|
||||||
^^PCI0.LPCB.EC0.FCMD = Zero
|
^^PCI0.LPCB.EC0.FCMD = 0
|
||||||
}
|
}
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
@ -76,7 +76,7 @@ Device (S76D) {
|
|||||||
// Set KB Led
|
// Set KB Led
|
||||||
Method (SKBL, 1, Serialized) {
|
Method (SKBL, 1, Serialized) {
|
||||||
If (^^PCI0.LPCB.EC0.ECOK) {
|
If (^^PCI0.LPCB.EC0.ECOK) {
|
||||||
^^PCI0.LPCB.EC0.FDAT = Zero
|
^^PCI0.LPCB.EC0.FDAT = 0
|
||||||
^^PCI0.LPCB.EC0.FBUF = Arg0
|
^^PCI0.LPCB.EC0.FBUF = Arg0
|
||||||
^^PCI0.LPCB.EC0.FCMD = 0xCA
|
^^PCI0.LPCB.EC0.FCMD = 0xCA
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user