superio/winbond/w83627hf/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax
Replace `Subtract (a, b, c)` with `c = a - b`. Change-Id: Idd97e662ec4be7092a655bc298dffb6d826bc497 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60476 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
73078edd5e
commit
f5b162e55d
|
@ -583,7 +583,7 @@ Device(SIO) {
|
|||
/* DMA off */
|
||||
Store (0x04, DMA0)
|
||||
/* IRQ */
|
||||
Subtract(FindSetLeftBit (IRQL), 1, IRQ0)
|
||||
IRQ0 = FindSetLeftBit (IRQL) - 1
|
||||
/* Activate */
|
||||
Store (One, ACTR)
|
||||
EXIT_CONFIG_MODE ()
|
||||
|
@ -701,7 +701,7 @@ Device(SIO) {
|
|||
|
||||
Divide(IOA0, 256, Local0, Local1)
|
||||
|
||||
Subtract(FindSetLeftBit (IRQL), 1, Local3)
|
||||
Local3 = FindSetLeftBit (IRQL) - 1
|
||||
|
||||
ENTER_CONFIG_MODE (2)
|
||||
Store (Local0, IO1L)
|
||||
|
@ -826,7 +826,7 @@ Device(SIO) {
|
|||
|
||||
Divide(IOA0, 256, Local0, Local1)
|
||||
|
||||
Subtract(FindSetLeftBit (IRQL), 1, Local3)
|
||||
Local3 = FindSetLeftBit (IRQL) - 1
|
||||
|
||||
ENTER_CONFIG_MODE (3)
|
||||
Store (Local0, IO1L)
|
||||
|
@ -951,7 +951,7 @@ Device(SIO) {
|
|||
|
||||
Divide(IOA0, 256, Local0, Local1)
|
||||
|
||||
Subtract(FindSetLeftBit (IRQL), 1, Local3)
|
||||
Local3 = FindSetLeftBit (IRQL) - 1
|
||||
|
||||
ENTER_CONFIG_MODE (3)
|
||||
Store (Local0, IO1L)
|
||||
|
@ -1038,7 +1038,7 @@ Device(SIO) {
|
|||
|
||||
Divide(IOA0, 256, Local0, Local1)
|
||||
|
||||
Subtract(FindSetLeftBit (IRQL), 1, Local3)
|
||||
Local3 = FindSetLeftBit (IRQL) - 1
|
||||
|
||||
ENTER_CONFIG_MODE (6)
|
||||
Store (Local0, IO1L)
|
||||
|
@ -1143,7 +1143,7 @@ Device(SIO) {
|
|||
Divide(IOA0, 256, Local0, Local1)
|
||||
Divide(IOA1, 256, Local2, Local3)
|
||||
|
||||
Subtract(FindSetLeftBit (IRQL), 1, Local4)
|
||||
Local4 = FindSetLeftBit (IRQL) - 1
|
||||
|
||||
ENTER_CONFIG_MODE (5)
|
||||
Store (Local0, IO1L)
|
||||
|
@ -1222,7 +1222,7 @@ Device(SIO) {
|
|||
})
|
||||
CreateWordField (Arg0, IRQX._INT, IRQL)
|
||||
|
||||
Subtract(FindSetLeftBit (IRQL), 1, Local0)
|
||||
Local0 = FindSetLeftBit (IRQL) - 1
|
||||
|
||||
ENTER_CONFIG_MODE (5)
|
||||
Store (Local0, IRQ1)
|
||||
|
|
Loading…
Reference in New Issue