1 /* SPDX-License-Identifier: GPL-2.0-only */
3 OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
4 Field (ERAM, ByteAcc, Lock, Preserve)
16 LSTE, 1, // Lid is open
37 ADP, 1, // AC adapter connected
43 WFNO, 8, // Wake cause
45 BDC0, 32, // Battery design capacity
46 BFC0, 32, // Battery full capacity
48 BDV0, 32, // Battery design voltage
49 BST0, 32, // Battery status
50 BPR0, 32, // Battery current
51 BRC0, 32, // Battery remaining capacity
52 BPV0, 32, // Battery voltage
64 ECOS, 8, // Detected OS, 0 = no ACPI, 1 = ACPI but no driver, 2 = ACPI with driver
133 OEM4, 8, // Extra SCI data
135 DUT1, 8, // Fan 1 duty
136 DUT2, 8, // Fan 2 duty
137 RPM1, 16, // Fan 1 RPM
138 RPM2, 16, // Fan 2 RPM
143 AIRP, 8, // Airplane mode LED
144 WINF, 8, // Enable ACPI brightness controls