summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 09:32:47 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:05:56 +0000
commitfa06bcba06c5842faae797629e9f72ec28d511c0 (patch)
tree8fba8940a2bf47e403ee5009a623960cf344c975
parent7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (diff)
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>
-rw-r--r--src/mainboard/51nb/x210/acpi/ec.asl2
-rw-r--r--src/mainboard/amd/gardenia/acpi/sleep.asl2
-rw-r--r--src/mainboard/amd/pademelon/acpi/sleep.asl2
-rw-r--r--src/mainboard/emulation/qemu-i440fx/dsdt.asl2
-rw-r--r--src/mainboard/google/auron/acpi/thermal.asl4
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl40
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl34
-rw-r--r--src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl34
-rw-r--r--src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl34
-rw-r--r--src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl58
-rw-r--r--src/mainboard/google/beltino/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/beltino/acpi/usb.asl46
-rw-r--r--src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl4
-rw-r--r--src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl4
-rw-r--r--src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl52
-rw-r--r--src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl52
-rw-r--r--src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl2
-rw-r--r--src/mainboard/google/link/acpi/thermal.asl4
-rw-r--r--src/mainboard/google/parrot/acpi/usb.asl42
-rw-r--r--src/mainboard/google/poppy/variants/atlas/include/variant/acpi/cam0.asl4
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl6
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl2
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl22
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl6
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam0.asl4
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam1.asl2
-rw-r--r--src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl40
-rw-r--r--src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl28
-rw-r--r--src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl32
-rw-r--r--src/mainboard/google/slippy/dsdt.asl2
-rw-r--r--src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl40
-rw-r--r--src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl38
-rw-r--r--src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl40
-rw-r--r--src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl20
-rw-r--r--src/mainboard/intel/baskingridge/acpi/thermal.asl10
-rw-r--r--src/mainboard/intel/cedarisland_crb/acpi/platform.asl2
-rw-r--r--src/mainboard/intel/emeraldlake2/acpi/thermal.asl10
-rw-r--r--src/mainboard/intel/glkrvp/touchpad.asl2
-rw-r--r--src/mainboard/intel/kblrvp/acpi/mipi_camera.asl50
-rw-r--r--src/mainboard/intel/tglrvp/acpi/mipi_camera.asl42
-rw-r--r--src/mainboard/intel/wtm2/acpi/thermal.asl10
-rw-r--r--src/mainboard/lenovo/s230u/acpi/ec.asl4
-rw-r--r--src/mainboard/lenovo/s230u/acpi/gpe.asl6
-rw-r--r--src/mainboard/lenovo/s230u/acpi/platform.asl4
-rw-r--r--src/mainboard/lenovo/t400/acpi/graphics.asl2
-rw-r--r--src/mainboard/pcengines/apu2/acpi/sleep.asl2
-rw-r--r--src/mainboard/purism/librem_bdw/acpi/ec.asl2
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl2
-rw-r--r--src/mainboard/roda/rv11/acpi/alsd.asl2
-rw-r--r--src/mainboard/samsung/lumpy/acpi/usb.asl36
-rw-r--r--src/mainboard/samsung/stumpy/acpi/thermal.asl10
-rw-r--r--src/mainboard/system76/kbl-u/acpi/battery.asl18
-rw-r--r--src/mainboard/system76/kbl-u/acpi/ec.asl14
-rw-r--r--src/mainboard/system76/kbl-u/acpi/ec_ram.asl2
-rw-r--r--src/mainboard/system76/kbl-u/acpi/hid.asl18
-rw-r--r--src/mainboard/system76/kbl-u/acpi/s76.asl4
60 files changed, 503 insertions, 503 deletions
diff --git a/src/mainboard/51nb/x210/acpi/ec.asl b/src/mainboard/51nb/x210/acpi/ec.asl
index 581e1e70c1..03309e8aca 100644
--- a/src/mainboard/51nb/x210/acpi/ec.asl
+++ b/src/mainboard/51nb/x210/acpi/ec.asl
@@ -11,7 +11,7 @@ Device (EC)
IO (Decode16, 0x66, 0x66, 1, 1)
})
- OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
+ OperationRegion (ERAM, EmbeddedControl, 0, 0xFF)
Field (ERAM, ByteAcc, Lock, Preserve)
{
Offset (0x50),
diff --git a/src/mainboard/amd/gardenia/acpi/sleep.asl b/src/mainboard/amd/gardenia/acpi/sleep.asl
index 0cbf8e3211..0c7541a635 100644
--- a/src/mainboard/amd/gardenia/acpi/sleep.asl
+++ b/src/mainboard/amd/gardenia/acpi/sleep.asl
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Wake status package */
-Name(WKST,Package(){Zero, Zero})
+Name(WKST,Package(){0, 0})
/*
* \_PTS - Prepare to Sleep method
diff --git a/src/mainboard/amd/pademelon/acpi/sleep.asl b/src/mainboard/amd/pademelon/acpi/sleep.asl
index 0cbf8e3211..0c7541a635 100644
--- a/src/mainboard/amd/pademelon/acpi/sleep.asl
+++ b/src/mainboard/amd/pademelon/acpi/sleep.asl
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Wake status package */
-Name(WKST,Package(){Zero, Zero})
+Name(WKST,Package(){0, 0})
/*
* \_PTS - Prepare to Sleep method
diff --git a/src/mainboard/emulation/qemu-i440fx/dsdt.asl b/src/mainboard/emulation/qemu-i440fx/dsdt.asl
index 94772f2ca6..749ecfe664 100644
--- a/src/mainboard/emulation/qemu-i440fx/dsdt.asl
+++ b/src/mainboard/emulation/qemu-i440fx/dsdt.asl
@@ -38,7 +38,7 @@ DefinitionBlock (
Scope(\_SB.PCI0) {
Device(VGA) {
Name(_ADR, 0x00020000)
- OperationRegion(PCIC, PCI_Config, Zero, 0x4)
+ OperationRegion(PCIC, PCI_Config, 0, 0x4)
Field(PCIC, DWordAcc, NoLock, Preserve) {
VEND, 32
}
diff --git a/src/mainboard/google/auron/acpi/thermal.asl b/src/mainboard/google/auron/acpi/thermal.asl
index 9b4cffebfa..fa6732c47d 100644
--- a/src/mainboard/google/auron/acpi/thermal.asl
+++ b/src/mainboard/google/auron/acpi/thermal.asl
@@ -133,7 +133,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -160,7 +160,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl
index 15a13286db..4f312fa3ca 100644
--- a/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl
@@ -7,14 +7,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
@@ -109,7 +109,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl
index 9a8a4dcf59..cf09518bb2 100644
--- a/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
@@ -92,7 +92,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl
index 9a8a4dcf59..cf09518bb2 100644
--- a/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
@@ -92,7 +92,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl
index 519f60fd03..b88116f896 100644
--- a/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
@@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
@@ -92,7 +92,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl
index 666e11a858..49ca642fe4 100644
--- a/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -40,9 +40,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT8)
@@ -109,14 +109,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT8)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
@@ -126,8 +126,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
@@ -137,8 +137,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
@@ -148,8 +148,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
@@ -159,7 +159,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/beltino/acpi/thermal.asl b/src/mainboard/google/beltino/acpi/thermal.asl
index ef93848b26..3463028bbd 100644
--- a/src/mainboard/google/beltino/acpi/thermal.asl
+++ b/src/mainboard/google/beltino/acpi/thermal.asl
@@ -160,7 +160,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -185,7 +185,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -210,7 +210,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -235,7 +235,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -260,7 +260,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/beltino/acpi/usb.asl b/src/mainboard/google/beltino/acpi/usb.asl
index 7cee5acbb3..95d105805e 100644
--- a/src/mainboard/google/beltino/acpi/usb.asl
+++ b/src/mainboard/google/beltino/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -92,8 +92,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
@@ -103,8 +103,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
@@ -114,8 +114,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
@@ -125,7 +125,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl
index 95f2d4391c..02b4db3e9d 100644
--- a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl
+++ b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl
@@ -17,7 +17,7 @@ Scope (\_SB.PCI0.I2C1)
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de"))
{
// DSM Revision
- If (Arg2 == Zero)
+ If (Arg2 == 0)
{
If (Arg1 == 1)
{
@@ -48,7 +48,7 @@ Scope (\_SB.PCI0.I2C1)
})
}
- Return (Zero)
+ Return (0)
}
Method(_CRS, 0x0, NotSerialized)
diff --git a/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl b/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl
index 927476ffea..5988a66bbd 100644
--- a/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl
@@ -30,7 +30,7 @@ Scope (\_SB)
Device (EJCT)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
@@ -88,7 +88,7 @@ Scope (\_SB.PCI0.I2C2)
Method (_DSM, 4, NotSerialized)
{
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de")) {
- If (Arg2 == Zero) {
+ If (Arg2 == 0) {
/* Function 0 - Query */
If (Arg1 == 1) {
/* Revision 1 Function 1 */
diff --git a/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl b/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl
index b37a411853..221ff04124 100644
--- a/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS01)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS02)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS03)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.HS04)
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS04)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.HS05)
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS05)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS07)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.SS01)
@@ -109,8 +109,8 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS01)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.RHUB.SS02)
@@ -120,8 +120,8 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS02)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.RHUB.SS03)
@@ -131,8 +131,8 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS03)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.RHUB.SS04)
@@ -142,7 +142,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SS04)
{
0xFF, // Connectable
0x03, // USB 3.0
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
index 2f6fd90ec9..d4957f44a4 100644
--- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
@@ -161,7 +161,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -186,7 +186,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -211,7 +211,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -236,7 +236,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -261,7 +261,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
index 2f6fd90ec9..d4957f44a4 100644
--- a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
@@ -161,7 +161,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -186,7 +186,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -211,7 +211,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -236,7 +236,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -261,7 +261,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
index 2f6fd90ec9..d4957f44a4 100644
--- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
@@ -161,7 +161,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -186,7 +186,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -211,7 +211,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -236,7 +236,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -261,7 +261,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl
index 7c3283c46c..4ca9ae2e58 100644
--- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -93,14 +93,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
@@ -110,8 +110,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
@@ -121,8 +121,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
@@ -132,8 +132,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
@@ -143,7 +143,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
index 4f1746b0cf..6be0181578 100644
--- a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
@@ -269,7 +269,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -294,7 +294,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -319,7 +319,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -344,7 +344,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -369,7 +369,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl
index 8a56bc6ce4..f9fa660301 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl
+++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Wake status package */
-Name (WKST, Package() { Zero, Zero })
+Name (WKST, Package() { 0, 0 })
/*
* \_PTS - Prepare to Sleep method
diff --git a/src/mainboard/google/link/acpi/thermal.asl b/src/mainboard/google/link/acpi/thermal.asl
index e2af307af0..df174d3092 100644
--- a/src/mainboard/google/link/acpi/thermal.asl
+++ b/src/mainboard/google/link/acpi/thermal.asl
@@ -158,7 +158,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -179,7 +179,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/parrot/acpi/usb.asl b/src/mainboard/google/parrot/acpi/usb.asl
index 8dd6dbb2d5..2ea63b4a4a 100644
--- a/src/mainboard/google/parrot/acpi/usb.asl
+++ b/src/mainboard/google/parrot/acpi/usb.asl
@@ -7,14 +7,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
Device (USB2)
@@ -25,9 +25,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -46,9 +46,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -66,9 +66,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -87,14 +87,14 @@ Scope (_SB.PCI0.EHC2.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
Device (USB1)
@@ -106,14 +106,14 @@ Scope (_SB.PCI0.EHC2.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
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, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
}
diff --git a/src/mainboard/google/poppy/variants/atlas/include/variant/acpi/cam0.asl b/src/mainboard/google/poppy/variants/atlas/include/variant/acpi/cam0.asl
index 4809f26df9..959ec4a2f9 100644
--- a/src/mainboard/google/poppy/variants/atlas/include/variant/acpi/cam0.asl
+++ b/src/mainboard/google/poppy/variants/atlas/include/variant/acpi/cam0.asl
@@ -47,7 +47,7 @@ Scope (\_SB.PCI0.I2C3)
Device (CAM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
@@ -109,7 +109,7 @@ Scope (\_SB.PCI0.I2C3)
Device (NVM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl
index 2d5dd0a289..6ad59f1a0f 100644
--- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl
+++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl
@@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
Device (CAM0)
{
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 (CAMD, 0x02)
@@ -92,7 +92,7 @@ Scope (\_SB.PCI0.I2C2)
Device (VCM0)
{
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 (CAMD, 0x03)
@@ -124,7 +124,7 @@ Scope (\_SB.PCI0.I2C2)
Device (NVM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl
index c41ebca7fe..974f1c4e23 100644
--- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl
+++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl
@@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C4)
Device (CAM1)
{
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 (CAMD, 0x02)
diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl
index d588d575dc..5825d77565 100644
--- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl
+++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl
@@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
Device (PMIC)
{
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 (CAMD, 0x64)
@@ -56,12 +56,12 @@ Scope (\_SB.PCI0.I2C2)
}
/* Marks the availability of all the operation regions */
- Name (AVBL, Zero)
- Name (AVGP, Zero)
- Name (AVB0, Zero)
- Name (AVB1, Zero)
- Name (AVB2, Zero)
- Name (AVB3, Zero)
+ Name (AVBL, 0)
+ Name (AVGP, 0)
+ Name (AVB0, 0)
+ Name (AVB1, 0)
+ Name (AVB2, 0)
+ Name (AVB3, 0)
Method (_REG, 2, NotSerialized)
{
If (Arg0 == 0x08)
@@ -244,7 +244,7 @@ Scope (\_SB.PCI0.I2C2)
* VACT: Analog LDO output
* VDCT: Core buck output
*/
- OperationRegion (PWR1, 0xB0, Zero, 0x0100)
+ OperationRegion (PWR1, 0xB0, 0, 0x0100)
Field (PWR1, DWordAcc, NoLock, Preserve)
{
VSIO, 32,
@@ -264,7 +264,7 @@ Scope (\_SB.PCI0.I2C2)
* ACVA: Analog LDO VR voltage
* DCVA: Core buck VR voltage
*/
- OperationRegion (PWR2, 0xB1, Zero, 0x0100)
+ OperationRegion (PWR2, 0xB1, 0, 0x0100)
Field (PWR2, DWordAcc, NoLock, Preserve)
{
SIOV, 32,
@@ -282,7 +282,7 @@ Scope (\_SB.PCI0.I2C2)
* CFG1: Clock configuration 1 register
* CFG2: Clock configuration 2 register
*/
- OperationRegion (CLKC, 0xB2, Zero, 0x0100)
+ OperationRegion (CLKC, 0xB2, 0, 0x0100)
Field (CLKC, DWordAcc, NoLock, Preserve)
{
PCTL, 32,
@@ -300,7 +300,7 @@ Scope (\_SB.PCI0.I2C2)
* PLDV: PLL feedback divider
* PODV: PLL output divider for HCLK_A
*/
- OperationRegion (CLKF, 0xB3, Zero, 0x0100)
+ OperationRegion (CLKF, 0xB3, 0, 0x0100)
Field (CLKF, DWordAcc, NoLock, Preserve)
{
PDV2, 32,
diff --git a/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl b/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
index cfc84b5334..8d662ea504 100644
--- a/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
+++ b/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
@@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
Device (CAM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
@@ -73,7 +73,7 @@ Scope (\_SB.PCI0.I2C2)
Device (VCM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
@@ -104,7 +104,7 @@ Scope (\_SB.PCI0.I2C2)
Device (NVM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
diff --git a/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam0.asl b/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam0.asl
index c3449a7f66..e5cf437f6b 100644
--- a/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam0.asl
+++ b/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam0.asl
@@ -41,7 +41,7 @@ Scope (\_SB.PCI0.I2C3)
Device (CAM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
@@ -104,7 +104,7 @@ Scope (\_SB.PCI0.I2C3)
Device (NVM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
diff --git a/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam1.asl b/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam1.asl
index 0e31eee538..8337cc5afd 100644
--- a/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam1.asl
+++ b/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/cam1.asl
@@ -40,7 +40,7 @@ Scope (\_SB.PCI0.I2C5)
Device (CAM1)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
diff --git a/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl b/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl
index 5a9e1efa50..e40d435699 100644
--- a/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
Device (USB1)
@@ -42,9 +42,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -63,14 +63,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
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, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
@@ -98,14 +98,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
@@ -115,7 +115,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl b/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl
index 888ca5b841..fd4236753c 100644
--- a/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
@@ -75,7 +75,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl b/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl
index 50a8104376..9bac487cd7 100644
--- a/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl
+++ b/src/mainboard/google/skyrim/variants/winterhold/include/variant/acpi/dtts.asl
@@ -22,7 +22,7 @@ Scope (\_SB)
{
\_SB.DDEF()
\_SB.PRTN = 0
- Return (Zero)
+ Return (0)
}
If (\_SB.PCI0.LPCB.EC0.STTB == 0) { // Desktop
@@ -35,25 +35,25 @@ Scope (\_SB)
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 123) {
\_SB.DTTB()
\_SB.PRTN = 1
- Return (Zero)
+ Return (0)
}
// AMB sensor release point
If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 118)) {
\_SB.DDEF()
\_SB.PRTN = 0
- Return (Zero)
+ Return (0)
}
// Keep tht previous thermal table
- Return (Zero)
+ Return (0)
} Else {
If (\_SB.PRTN == 3 || \_SB.PRTN == 5) {
\_SB.DTTB()
\_SB.PRTN = 1
- Return (Zero)
+ Return (0)
} Else {
\_SB.DDEF()
\_SB.PRTN = 0
- Return (Zero)
+ Return (0)
}
}
} Else { // Lid-close
@@ -62,24 +62,24 @@ Scope (\_SB)
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 128) {
\_SB.DTTD()
\_SB.PRTN = 3
- Return (Zero)
+ Return (0)
}
If(\_SB.PCI0.LPCB.EC0.TIN4 <= 123) {
\_SB.DTTC()
\_SB.PRTN = 2
- Return (Zero)
+ Return (0)
}
// Keep tht previous thermal table
- Return (Zero)
+ Return (0)
} Else {
If (\_SB.PRTN == 1 || \_SB.PRTN == 5) {
\_SB.DTTD()
\_SB.PRTN = 3
- Return (Zero)
+ Return (0)
} Else {
\_SB.DTTC()
\_SB.PRTN = 2
- Return (Zero)
+ Return (0)
}
}
}
@@ -90,25 +90,25 @@ Scope (\_SB)
If (\_SB.PCI0.LPCB.EC0.TIN4 >= 118) {
\_SB.DTTF()
\_SB.PRTN = 5
- Return (Zero)
+ Return (0)
}
// AMB sensor release point
If ((\_SB.PCI0.LPCB.EC0.TIN4 <= 113)) {
\_SB.DTTE()
\_SB.PRTN = 4
- Return (Zero)
+ Return (0)
}
// Keep tht previous thermal table
- Return (Zero)
+ Return (0)
} Else {
If (\_SB.PRTN == 1 || \_SB.PRTN == 3) {
\_SB.DTTF()
\_SB.PRTN = 5
- Return (Zero)
+ Return (0)
} Else {
\_SB.DTTE()
\_SB.PRTN = 4
- Return (Zero)
+ Return (0)
}
}
} // Desktop/Laptop End
diff --git a/src/mainboard/google/slippy/dsdt.asl b/src/mainboard/google/slippy/dsdt.asl
index 37e854a354..aaf67bf522 100644
--- a/src/mainboard/google/slippy/dsdt.asl
+++ b/src/mainboard/google/slippy/dsdt.asl
@@ -36,7 +36,7 @@ DefinitionBlock(
{
Device (WLAN)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
}
}
diff --git a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl
index 15a13286db..4f312fa3ca 100644
--- a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl
@@ -7,14 +7,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
@@ -109,7 +109,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl b/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl
index 7dff13a3e3..bc2b5bf3b3 100644
--- a/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl
@@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
@@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
@@ -92,8 +92,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
@@ -103,7 +103,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP2)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
diff --git a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
index cb488c23c6..1efd1a2389 100644
--- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
+++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
@@ -76,12 +76,12 @@ Scope (\_SB.PCI0.IPU0)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -100,8 +100,8 @@ Scope (\_SB.PCI0.IPU0)
Package (0x03)
{
^I2C3.CAM0,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -114,12 +114,12 @@ Scope (\_SB.PCI0.IPU0)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -136,8 +136,8 @@ Scope (\_SB.PCI0.IPU0)
Package (0x03)
{
^I2C2.CAM1,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -208,7 +208,7 @@ Scope (\_SB.PCI0.I2C3)
Device (CAM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
{
@@ -271,7 +271,7 @@ Scope (\_SB.PCI0.I2C3)
Package (0x02)
{
"port",
- Zero
+ 0
}
},
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
@@ -292,12 +292,12 @@ Scope (\_SB.PCI0.I2C3)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -325,8 +325,8 @@ Scope (\_SB.PCI0.I2C3)
Package (0x03)
{
IPU0,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -478,7 +478,7 @@ Scope (\_SB.PCI0.I2C3)
Scope (\_SB.PCI0.I2C2)
{
- Name (STA, Zero)
+ Name (STA, 0)
PowerResource (FCPR, 0x00, 0x0000)
{
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
@@ -534,7 +534,7 @@ Scope (\_SB.PCI0.I2C2)
Device (CAM1)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
{
@@ -589,7 +589,7 @@ Scope (\_SB.PCI0.I2C2)
Package (0x02)
{
"port",
- Zero
+ 0
}
},
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
@@ -610,12 +610,12 @@ Scope (\_SB.PCI0.I2C2)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -641,7 +641,7 @@ Scope (\_SB.PCI0.I2C2)
{
IPU0,
1,
- Zero
+ 0
}
}
}
diff --git a/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl
index b2142b26fd..33c147b7f8 100644
--- a/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl
+++ b/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl
@@ -76,12 +76,12 @@ Scope (\_SB.PCI0.IPU0)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -98,8 +98,8 @@ Scope (\_SB.PCI0.IPU0)
Package (0x03)
{
^I2C2.CAM1,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -108,7 +108,7 @@ Scope (\_SB.PCI0.IPU0)
Scope (\_SB.PCI0.I2C2)
{
- Name (STA, Zero)
+ Name (STA, 0)
PowerResource (FCPR, 0x00, 0x0000)
{
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
@@ -158,7 +158,7 @@ Scope (\_SB.PCI0.I2C2)
Device (CAM1)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
{
@@ -213,7 +213,7 @@ Scope (\_SB.PCI0.I2C2)
Package (0x02)
{
"port",
- Zero
+ 0
}
},
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
@@ -234,12 +234,12 @@ Scope (\_SB.PCI0.I2C2)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -265,7 +265,7 @@ Scope (\_SB.PCI0.I2C2)
{
IPU0,
1,
- Zero
+ 0
}
}
}
diff --git a/src/mainboard/intel/baskingridge/acpi/thermal.asl b/src/mainboard/intel/baskingridge/acpi/thermal.asl
index 373683064a..5649d87a2c 100644
--- a/src/mainboard/intel/baskingridge/acpi/thermal.asl
+++ b/src/mainboard/intel/baskingridge/acpi/thermal.asl
@@ -103,7 +103,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -124,7 +124,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -145,7 +145,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -166,7 +166,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -187,7 +187,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/intel/cedarisland_crb/acpi/platform.asl b/src/mainboard/intel/cedarisland_crb/acpi/platform.asl
index 5f7ffbb94d..d58393c50a 100644
--- a/src/mainboard/intel/cedarisland_crb/acpi/platform.asl
+++ b/src/mainboard/intel/cedarisland_crb/acpi/platform.asl
@@ -11,7 +11,7 @@ Field (APMP, ByteAcc, NoLock, Preserve)
#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
diff --git a/src/mainboard/intel/emeraldlake2/acpi/thermal.asl b/src/mainboard/intel/emeraldlake2/acpi/thermal.asl
index 3d5b25061d..af6c41e572 100644
--- a/src/mainboard/intel/emeraldlake2/acpi/thermal.asl
+++ b/src/mainboard/intel/emeraldlake2/acpi/thermal.asl
@@ -122,7 +122,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -143,7 +143,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -164,7 +164,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -185,7 +185,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -206,7 +206,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/intel/glkrvp/touchpad.asl b/src/mainboard/intel/glkrvp/touchpad.asl
index 57b9c7fa2e..d3d8404806 100644
--- a/src/mainboard/intel/glkrvp/touchpad.asl
+++ b/src/mainboard/intel/glkrvp/touchpad.asl
@@ -38,7 +38,7 @@
If(Arg0 == ToUUID("3CDFF6F7-4267-4555-AD05-B30A3D8938DE"))
{
// Function 0 : Query Function
- If(Arg2 == Zero)
+ If(Arg2 == 0)
{
// Revision 1
If(Arg1 == 1)
diff --git a/src/mainboard/intel/kblrvp/acpi/mipi_camera.asl b/src/mainboard/intel/kblrvp/acpi/mipi_camera.asl
index 0d1158dd37..5434262224 100644
--- a/src/mainboard/intel/kblrvp/acpi/mipi_camera.asl
+++ b/src/mainboard/intel/kblrvp/acpi/mipi_camera.asl
@@ -5,7 +5,7 @@ Scope (\_SB.PCI0.I2C2)
Device (PMIC)
{
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 (CAMD, 0x64)
@@ -15,12 +15,12 @@ Scope (\_SB.PCI0.I2C2)
}
/* Marks the availability of all the operation regions */
- Name (AVP1, Zero)
- Name (AVGP, Zero)
- Name (AVB0, Zero)
- Name (AVB1, Zero)
- Name (AVB2, Zero)
- Name (AVB3, Zero)
+ Name (AVP1, 0)
+ Name (AVGP, 0)
+ Name (AVB0, 0)
+ Name (AVB1, 0)
+ Name (AVB2, 0)
+ Name (AVB3, 0)
Method (_REG, 2, NotSerialized)
{
If (Arg0 == 0x08)
@@ -90,7 +90,7 @@ Scope (\_SB.PCI0.I2C2)
* VACT: Analog LDO output
* VDCT: Core buck output
*/
- OperationRegion (PWR1, 0xB0, Zero, 0x0100)
+ OperationRegion (PWR1, 0xB0, 0, 0x0100)
Field (PWR1, DWordAcc, NoLock, Preserve)
{
VSIO, 32,
@@ -110,7 +110,7 @@ Scope (\_SB.PCI0.I2C2)
* ACVA: Analog LDO VR voltage
* DCVA: Core buck VR voltage
*/
- OperationRegion (PWR2, 0xB1, Zero, 0x0100)
+ OperationRegion (PWR2, 0xB1, 0, 0x0100)
Field (PWR2, DWordAcc, NoLock, Preserve)
{
SIOV, 32,
@@ -128,7 +128,7 @@ Scope (\_SB.PCI0.I2C2)
* CFG1: Clock configuration 1 register
* CFG2: Clock configuration 2 register
*/
- OperationRegion (CLKC, 0xB2, Zero, 0x0100)
+ OperationRegion (CLKC, 0xB2, 0, 0x0100)
Field (CLKC, DWordAcc, NoLock, Preserve)
{
PCTL, 32,
@@ -146,7 +146,7 @@ Scope (\_SB.PCI0.I2C2)
* PLDV: PLL feedback divider
* PODV: PLL output divider for HCLK_A
*/
- OperationRegion (CLKF, 0xB3, Zero, 0x0100)
+ OperationRegion (CLKF, 0xB3, 0, 0x0100)
Field (CLKF, DWordAcc, NoLock, Preserve)
{
PDV2, 32,
@@ -370,7 +370,7 @@ Scope (\_SB.PCI0.I2C2)
Device (CAM0)
{
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 (CAMD, 0x02)
@@ -475,7 +475,7 @@ Scope (\_SB.PCI0.I2C2)
Device (VCM0)
{
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 (CAMD, 0x03)
@@ -503,7 +503,7 @@ Scope (\_SB.PCI0.I2C3)
Device (PMIC)
{
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 (CAMD, 0x64)
@@ -513,12 +513,12 @@ Scope (\_SB.PCI0.I2C3)
}
/* Marks the availability of all the operation regions */
- Name (AVP2, Zero)
- Name (AVGP, Zero)
- Name (AVB0, Zero)
- Name (AVB1, Zero)
- Name (AVB2, Zero)
- Name (AVB3, Zero)
+ Name (AVP2, 0)
+ Name (AVGP, 0)
+ Name (AVB0, 0)
+ Name (AVB1, 0)
+ Name (AVB2, 0)
+ Name (AVB3, 0)
Method (_REG, 2, NotSerialized)
{
If (Arg0 == 0x08)
@@ -595,7 +595,7 @@ Scope (\_SB.PCI0.I2C3)
* VACT: Analog LDO output
* VDCT: Core buck output
*/
- OperationRegion (PWR1, 0xB0, Zero, 0x0100)
+ OperationRegion (PWR1, 0xB0, 0, 0x0100)
Field (PWR1, DWordAcc, NoLock, Preserve)
{
VSIO, 32,
@@ -615,7 +615,7 @@ Scope (\_SB.PCI0.I2C3)
* ACVA: Analog LDO VR voltage
* DCVA: Core buck VR voltage
*/
- OperationRegion (PWR2, 0xB1, Zero, 0x0100)
+ OperationRegion (PWR2, 0xB1, 0, 0x0100)
Field (PWR2, DWordAcc, NoLock, Preserve)
{
SIOV, 32,
@@ -633,7 +633,7 @@ Scope (\_SB.PCI0.I2C3)
* CFG1: Clock configuration 1 register
* CFG2: Clock configuration 2 register
*/
- OperationRegion (CLKC, 0xB2, Zero, 0x0100)
+ OperationRegion (CLKC, 0xB2, 0, 0x0100)
Field (CLKC, DWordAcc, NoLock, Preserve)
{
PCTL, 32,
@@ -651,7 +651,7 @@ Scope (\_SB.PCI0.I2C3)
* PLDV: PLL feedback divider
* PODV: PLL output divider for HCLK_A
*/
- OperationRegion (CLKF, 0xB3, Zero, 0x0100)
+ OperationRegion (CLKF, 0xB3, 0, 0x0100)
Field (CLKF, DWordAcc, NoLock, Preserve)
{
PDV2, 32,
@@ -806,7 +806,7 @@ Scope (\_SB.PCI0.I2C3)
Device (CAM1)
{
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 (CAMD, 0x02)
diff --git a/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl b/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl
index 290069b269..da4813b4d2 100644
--- a/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl
+++ b/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl
@@ -76,12 +76,12 @@ Scope (\_SB.PCI0.IPU0)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -100,8 +100,8 @@ Scope (\_SB.PCI0.IPU0)
Package (0x03)
{
^I2C3.CAM0,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -114,12 +114,12 @@ Scope (\_SB.PCI0.IPU0)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -139,8 +139,8 @@ Scope (\_SB.PCI0.IPU0)
Package (0x03)
{
^I2C5.CAM1,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -151,7 +151,7 @@ Scope (\_SB.PCI0.I2C3)
{
PowerResource (RCPR, 0x00, 0x0000)
{
- Name (STA, Zero)
+ Name (STA, 0)
Method (_ON, 0, Serialized) /* Rear camera_ON_: Power On */
{
If (STA == 0)
@@ -199,7 +199,7 @@ Scope (\_SB.PCI0.I2C3)
Device (CAM0)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
{
@@ -257,7 +257,7 @@ Scope (\_SB.PCI0.I2C3)
Package (0x02)
{
"port",
- Zero
+ 0
}
},
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
@@ -278,12 +278,12 @@ Scope (\_SB.PCI0.I2C3)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -311,8 +311,8 @@ Scope (\_SB.PCI0.I2C3)
Package (0x03)
{
IPU0,
- Zero,
- Zero
+ 0,
+ 0
}
}
}
@@ -366,7 +366,7 @@ Scope (\_SB.PCI0.I2C5)
{
PowerResource (FCPR, 0x00, 0x0000)
{
- Name (STA, Zero)
+ Name (STA, 0)
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
{
If (STA == 0)
@@ -422,7 +422,7 @@ Scope (\_SB.PCI0.I2C5)
Device (CAM1)
{
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 */
Method (_STA, 0, NotSerialized) /* _STA: Status */
{
@@ -472,7 +472,7 @@ Scope (\_SB.PCI0.I2C5)
Package (0x02)
{
"port",
- Zero
+ 0
}
},
ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
@@ -493,12 +493,12 @@ Scope (\_SB.PCI0.I2C5)
Package (0x02)
{
"endpoint",
- Zero
+ 0
},
Package (0x02)
{
"clock-lanes",
- Zero
+ 0
},
Package (0x02)
{
@@ -527,7 +527,7 @@ Scope (\_SB.PCI0.I2C5)
{
IPU0,
1,
- Zero
+ 0
}
}
}
diff --git a/src/mainboard/intel/wtm2/acpi/thermal.asl b/src/mainboard/intel/wtm2/acpi/thermal.asl
index 4d392430b1..cb0388f924 100644
--- a/src/mainboard/intel/wtm2/acpi/thermal.asl
+++ b/src/mainboard/intel/wtm2/acpi/thermal.asl
@@ -105,7 +105,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -124,7 +124,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -143,7 +143,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -162,7 +162,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -181,7 +181,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/lenovo/s230u/acpi/ec.asl b/src/mainboard/lenovo/s230u/acpi/ec.asl
index 22c88e0c49..4ff4c7f585 100644
--- a/src/mainboard/lenovo/s230u/acpi/ec.asl
+++ b/src/mainboard/lenovo/s230u/acpi/ec.asl
@@ -246,8 +246,8 @@ Device (EC0)
{
Name (_HID, EisaId ("LEN0068"))
- Name (DHKC, Zero)
- Name (DHKV, Zero)
+ Name (DHKC, 0)
+ Name (DHKV, 0)
Name (DHKN, 0xFC018070) // Hotkey mask
Mutex (XDHK, 0x07)
diff --git a/src/mainboard/lenovo/s230u/acpi/gpe.asl b/src/mainboard/lenovo/s230u/acpi/gpe.asl
index 794358d458..1488a0a020 100644
--- a/src/mainboard/lenovo/s230u/acpi/gpe.asl
+++ b/src/mainboard/lenovo/s230u/acpi/gpe.asl
@@ -2,12 +2,12 @@
Scope (_GPE)
{
- Name (PDET, Zero)
+ Name (PDET, 0)
Method (PNOT, 2, Serialized) {
Local0 = Arg0 << Arg1
Local1 = ~(1 << Arg1)
PDET = Local0 | (Local1 & PDET)
- If (PDET == Zero) {
+ If (PDET == 0) {
// Palm removed
\_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1)
} Else {
@@ -18,7 +18,7 @@ Scope (_GPE)
Method (TINV, 2, Serialized) {
Local0 = 1 << Arg1
- If (Arg0 == Zero) {
+ If (Arg0 == 0) {
Local0 = ~Local0
GIV0 &= Local0
} Else {
diff --git a/src/mainboard/lenovo/s230u/acpi/platform.asl b/src/mainboard/lenovo/s230u/acpi/platform.asl
index 9ad3ff1f0e..2a5dd24f2d 100644
--- a/src/mainboard/lenovo/s230u/acpi/platform.asl
+++ b/src/mainboard/lenovo/s230u/acpi/platform.asl
@@ -25,12 +25,12 @@ Scope(\_SI)
If (Arg0 < 2)
{
/* Thinkpad LED on */
- \_SB.PCI0.LPCB.EC0.LED (Zero, 0x80)
+ \_SB.PCI0.LPCB.EC0.LED (0, 0x80)
}
Else
{
/* Thinkpad LED blinking */
- \_SB.PCI0.LPCB.EC0.LED (Zero, 0xC0)
+ \_SB.PCI0.LPCB.EC0.LED (0, 0xC0)
}
}
}
diff --git a/src/mainboard/lenovo/t400/acpi/graphics.asl b/src/mainboard/lenovo/t400/acpi/graphics.asl
index 703e106129..f3ff7f97ff 100644
--- a/src/mainboard/lenovo/t400/acpi/graphics.asl
+++ b/src/mainboard/lenovo/t400/acpi/graphics.asl
@@ -79,5 +79,5 @@ Method (ATPX, 2, Serialized) {
SHYB(0x00)
}
}
- Return(Zero)
+ Return(0)
}
diff --git a/src/mainboard/pcengines/apu2/acpi/sleep.asl b/src/mainboard/pcengines/apu2/acpi/sleep.asl
index 377f0de5f8..3cf021eb3a 100644
--- a/src/mainboard/pcengines/apu2/acpi/sleep.asl
+++ b/src/mainboard/pcengines/apu2/acpi/sleep.asl
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Wake status package */
-Name(WKST,Package(){Zero, Zero})
+Name(WKST,Package(){0, 0})
/*
* \_PTS - Prepare to Sleep method
diff --git a/src/mainboard/purism/librem_bdw/acpi/ec.asl b/src/mainboard/purism/librem_bdw/acpi/ec.asl
index b4bd878d34..c48de9f0cc 100644
--- a/src/mainboard/purism/librem_bdw/acpi/ec.asl
+++ b/src/mainboard/purism/librem_bdw/acpi/ec.asl
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#define EC_SCI_GPI 10
-#define PPCM_TURBO Zero
+#define PPCM_TURBO 0
#define PPCM_NOTURBO 1
#define CRIT_TEMP 105
diff --git a/src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl b/src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
index 997f4b1a30..ca4a808795 100644
--- a/src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
+++ b/src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
@@ -14,7 +14,7 @@ Scope (\_SB)
}
else
{
- Return (Zero)
+ Return (0)
}
}
diff --git a/src/mainboard/roda/rv11/acpi/alsd.asl b/src/mainboard/roda/rv11/acpi/alsd.asl
index 452bddc029..3b9a3ef941 100644
--- a/src/mainboard/roda/rv11/acpi/alsd.asl
+++ b/src/mainboard/roda/rv11/acpi/alsd.asl
@@ -22,7 +22,7 @@ Device (ALSD)
Package (0x02)
{
0x46,
- Zero
+ 0
},
Package (0x02)
diff --git a/src/mainboard/samsung/lumpy/acpi/usb.asl b/src/mainboard/samsung/lumpy/acpi/usb.asl
index 986ab5b0f9..b9418721bb 100644
--- a/src/mainboard/samsung/lumpy/acpi/usb.asl
+++ b/src/mainboard/samsung/lumpy/acpi/usb.asl
@@ -7,14 +7,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
Device (USB1)
@@ -25,9 +25,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -46,9 +46,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -67,14 +67,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
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, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
Device (USB4)
@@ -106,14 +106,14 @@ Scope (\_SB.PCI0.EHC2.HUB7.PRT1)
{
0xFF, // Connectable
0xFF, // OEM Connector
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
// Not Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (Zero))
+ Return (GPLD (0))
}
}
}
diff --git a/src/mainboard/samsung/stumpy/acpi/thermal.asl b/src/mainboard/samsung/stumpy/acpi/thermal.asl
index 44bf558799..1edaafd84e 100644
--- a/src/mainboard/samsung/stumpy/acpi/thermal.asl
+++ b/src/mainboard/samsung/stumpy/acpi/thermal.asl
@@ -121,7 +121,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -142,7 +142,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -163,7 +163,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -184,7 +184,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -205,7 +205,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/system76/kbl-u/acpi/battery.asl b/src/mainboard/system76/kbl-u/acpi/battery.asl
index ec1ef31265..48cd4f1828 100644
--- a/src/mainboard/system76/kbl-u/acpi/battery.asl
+++ b/src/mainboard/system76/kbl-u/acpi/battery.asl
@@ -3,12 +3,12 @@
Device (BAT0)
{
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
{
_SB
})
- Name (BFCC, Zero)
+ Name (BFCC, 0)
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (^^PCI0.LPCB.EC0.ECOK)
@@ -35,8 +35,8 @@ Device (BAT0)
0xFFFFFFFF, // 2 - Last Full Charge Capacity
1, // 3 - Battery Technology
0x39D0, // 4 - Design Voltage
- Zero, // 5 - Design Capacity of Warning
- Zero, // 6 - Design Capacity of Low
+ 0, // 5 - Design Capacity of Warning
+ 0, // 6 - Design Capacity of Low
0x40, // 7 - Battery Capacity Granularity 1
0x40, // 8 - Battery Capacity Granularity 2
"BAT", // 9 - Model Number
@@ -53,7 +53,7 @@ Device (BAT0)
PBIF [10] = " "
PBIF [11] = " "
PBIF [12] = " "
- BFCC = Zero
+ BFCC = 0
}
Method (UPBI, 0, NotSerialized)
@@ -98,14 +98,14 @@ Device (BAT0)
Name (PBST, Package (0x04)
{
- Zero, // 0 - Battery state
+ 0, // 0 - Battery state
0xFFFFFFFF, // 1 - Battery present rate
0xFFFFFFFF, // 2 - Battery remaining capacity
0x3D90 // 3 - Battery present voltage
})
Method (IVBS, 0, NotSerialized)
{
- PBST [0] = Zero
+ PBST [0] = 0
PBST [1] = 0xFFFFFFFF
PBST [2] = 0xFFFFFFFF
PBST [3] = 0x2710
@@ -115,8 +115,8 @@ Device (BAT0)
{
If (^^PCI0.LPCB.EC0.BAT0)
{
- Local0 = Zero
- Local1 = Zero
+ Local0 = 0
+ Local1 = 0
If (^^AC.ACFG)
{
If (((^^PCI0.LPCB.EC0.BST0 & 0x02) == 0x02))
diff --git a/src/mainboard/system76/kbl-u/acpi/ec.asl b/src/mainboard/system76/kbl-u/acpi/ec.asl
index ff31c01c9c..6663a2e819 100644
--- a/src/mainboard/system76/kbl-u/acpi/ec.asl
+++ b/src/mainboard/system76/kbl-u/acpi/ec.asl
@@ -22,7 +22,7 @@ Device (EC0)
#include "acpi/ec_ram.asl"
- Name (ECOK, Zero)
+ Name (ECOK, 0)
Method (_REG, 2, Serialized) // _REG: Region Availability
{
Debug = Concatenate("EC: _REG", Concatenate(ToHexString(Arg0), Concatenate(" ", ToHexString(Arg1))))
@@ -40,8 +40,8 @@ Device (EC0)
^^^^BAT0.UPBS()
// Notify of changes
- Notify(^^^^AC, Zero)
- Notify(^^^^BAT0, Zero)
+ Notify(^^^^AC, 0)
+ Notify(^^^^BAT0, 0)
PNOT ()
@@ -53,7 +53,7 @@ Device (EC0)
}
}
- Name (S3OS, Zero)
+ Name (S3OS, 0)
Method (PTS, 1, Serialized) {
Debug = Concatenate("EC: PTS: ", ToHexString(Arg0))
If (ECOK) {
@@ -61,7 +61,7 @@ Device (EC0)
S3OS = ECOS
// Clear wake cause
- WFNO = Zero
+ WFNO = 0
}
}
@@ -79,8 +79,8 @@ Device (EC0)
^^^^BAT0.UPBS()
// Notify of changes
- Notify(^^^^AC, Zero)
- Notify(^^^^BAT0, Zero)
+ Notify(^^^^AC, 0)
+ Notify(^^^^BAT0, 0)
// Reset System76 Device
^^^^S76D.RSET()
diff --git a/src/mainboard/system76/kbl-u/acpi/ec_ram.asl b/src/mainboard/system76/kbl-u/acpi/ec_ram.asl
index 0b6d27e051..2ee90e51ce 100644
--- a/src/mainboard/system76/kbl-u/acpi/ec_ram.asl
+++ b/src/mainboard/system76/kbl-u/acpi/ec_ram.asl
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
+OperationRegion (ERAM, EmbeddedControl, 0, 0xFF)
Field (ERAM, ByteAcc, Lock, Preserve)
{
NMSG, 8,
diff --git a/src/mainboard/system76/kbl-u/acpi/hid.asl b/src/mainboard/system76/kbl-u/acpi/hid.asl
index 8bbb65bc45..eb5f420cce 100644
--- a/src/mainboard/system76/kbl-u/acpi/hid.asl
+++ b/src/mainboard/system76/kbl-u/acpi/hid.asl
@@ -3,19 +3,19 @@
Device (HIDD)
{
Name (_HID, "INT33D5")
- Name (HBSY, Zero)
- Name (HIDX, Zero)
- Name (HRDY, Zero)
+ Name (HBSY, 0)
+ Name (HIDX, 0)
+ Name (HRDY, 0)
Method (HDEM, 0, Serialized)
{
- HBSY = Zero
+ HBSY = 0
Return (HIDX)
}
Method (HDMM, 0, Serialized)
{
- Return (Zero)
+ Return (0)
}
Method (HDSM, 1, Serialized)
@@ -29,7 +29,7 @@ Device (HIDD)
HIDX = Arg0
Notify (HIDD, 0xC0)
- Local0 = Zero
+ Local0 = 0
While ((Local0 < 0xFA) && HBSY)
{
Sleep (0x04)
@@ -38,13 +38,13 @@ Device (HIDD)
If (HBSY == 1)
{
- HBSY = Zero
- HIDX = Zero
+ HBSY = 0
+ HIDX = 0
Return (1)
}
Else
{
- Return (Zero)
+ Return (0)
}
}
}
diff --git a/src/mainboard/system76/kbl-u/acpi/s76.asl b/src/mainboard/system76/kbl-u/acpi/s76.asl
index c4f7837e69..babca3a82a 100644
--- a/src/mainboard/system76/kbl-u/acpi/s76.asl
+++ b/src/mainboard/system76/kbl-u/acpi/s76.asl
@@ -68,7 +68,7 @@ Device (S76D) {
^^PCI0.LPCB.EC0.FDAT = 1
^^PCI0.LPCB.EC0.FCMD = 0xCA
Local0 = ^^PCI0.LPCB.EC0.FBUF
- ^^PCI0.LPCB.EC0.FCMD = Zero
+ ^^PCI0.LPCB.EC0.FCMD = 0
}
Return (Local0)
}
@@ -76,7 +76,7 @@ Device (S76D) {
// Set KB Led
Method (SKBL, 1, Serialized) {
If (^^PCI0.LPCB.EC0.ECOK) {
- ^^PCI0.LPCB.EC0.FDAT = Zero
+ ^^PCI0.LPCB.EC0.FDAT = 0
^^PCI0.LPCB.EC0.FBUF = Arg0
^^PCI0.LPCB.EC0.FCMD = 0xCA
}