tree: Replace And(a,b) with ASL 2.0 syntax

Replace `And (a, b)` with `a & b`.

Change-Id: Id8bbd1a477e6286bbcb5fa31afd1c7a860b1c7dc
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70851
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer
2022-12-16 07:54:16 +01:00
parent 35e65a8bc3
commit d252776668
13 changed files with 56 additions and 56 deletions

View File

@@ -14,7 +14,7 @@ Device(intx) { \
Name(_UID, uid) \
\
Method(_STA, 0) { \
If (And(pinx, 0x80)) { \
If (pinx & 0x80) { \
Return(0x09) \
} \
Return(0x0B) \
@@ -30,7 +30,7 @@ Device(intx) { \
\
Method(_CRS ,0) { \
CreateWordField(IRQB, 1, IRQN) \
IRQN = 1 << And(pinx, 0x0f) \
IRQN = 1 << (pinx & 0x0f) \
Return(IRQB) \
} \
\

View File

@@ -24,7 +24,7 @@ Device(intx) { \
Name(_UID, uid) \
\
Method(_STA, 0) { \
If (And(pinx, 0x80)) { \
If (pinx & 0x80) { \
Return(0x09) \
} \
Return(0x0B) \
@@ -40,7 +40,7 @@ Device(intx) { \
\
Method(_CRS ,0) { \
CreateWordField(IRQB, 1, IRQN) \
IRQN = 1 << And(pinx, 0x0f) \
IRQN = 1 << (pinx & 0x0f) \
Return(IRQB) \
} \
\