sb/intel/acpi: Replace Store(a,b) with ASL 2.0 syntax

Replace `Store (a, b)` with `b = a`.

Change-Id: I94b2e6ecb90a2616e184ae9331c397c75089e373
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70636
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:
Felix Singer 2022-12-12 04:49:46 +01:00
parent b26e255877
commit 2f308d4957
4 changed files with 28 additions and 28 deletions

View File

@ -21,7 +21,7 @@ Device(intx) { \
} \
\
Method(_DIS ,0) { \
Store(0x80, pinx) \
pinx = 0x80 \
} \
\
Method(_PRS ,0) { \
@ -42,6 +42,6 @@ Device(intx) { \
if (Local0) { \
Local0-- \
} \
Store(Local0, pinx) \
pinx = Local0 \
} \
}

View File

@ -31,7 +31,7 @@ Device(intx) { \
} \
\
Method(_DIS ,0) { \
Store(0x80, pinx) \
pinx = 0x80 \
} \
\
Method(_PRS ,0) { \
@ -52,7 +52,7 @@ Device(intx) { \
if (Local0) { \
Local0-- \
} \
Store(Local0, pinx) \
pinx = Local0 \
} \
} \

View File

@ -21,9 +21,9 @@ Device (USB1)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U1WE)
U1WE = 3
} Else {
Store (0, U1WE)
U1WE = 0
}
}
@ -60,9 +60,9 @@ Device (USB2)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U2WE)
U2WE = 3
} Else {
Store (0, U2WE)
U2WE = 0
}
}
@ -100,9 +100,9 @@ Device (USB3)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U3WE)
U3WE = 3
} Else {
Store (0, U3WE)
U3WE = 0
}
}
@ -175,9 +175,9 @@ Device (USB4)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U1WE)
U1WE = 3
} Else {
Store (0, U1WE)
U1WE = 0
}
}
@ -214,9 +214,9 @@ Device (USB5)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U2WE)
U2WE = 3
} Else {
Store (0, U2WE)
U2WE = 0
}
}
@ -254,9 +254,9 @@ Device (USB6)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U3WE)
U3WE = 3
} Else {
Store (0, U3WE)
U3WE = 0
}
}

View File

@ -21,9 +21,9 @@ Device (USB1)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U1WE)
U1WE = 3
} Else {
Store (0, U1WE)
U1WE = 0
}
}
@ -60,9 +60,9 @@ Device (USB2)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U2WE)
U2WE = 3
} Else {
Store (0, U2WE)
U2WE = 0
}
}
@ -100,9 +100,9 @@ Device (USB3)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U3WE)
U3WE = 3
} Else {
Store (0, U3WE)
U3WE = 0
}
}
@ -175,9 +175,9 @@ Device (USB4)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U1WE)
U1WE = 3
} Else {
Store (0, U1WE)
U1WE = 0
}
}
@ -214,9 +214,9 @@ Device (USB5)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U2WE)
U2WE = 3
} Else {
Store (0, U2WE)
U2WE = 0
}
}
@ -254,9 +254,9 @@ Device (USB6)
{
// USB Controller can wake OS from Sleep State
If (Arg0) {
Store (3, U3WE)
U3WE = 3
} Else {
Store (0, U3WE)
U3WE = 0
}
}