1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3Field(ERAM, ByteAcc, NoLock, Preserve) 4{ 5 Offset (0x46), 6 , 4, 7 HPAC, 1 8} 9 10Device(AC) 11{ 12 Name(_HID, "ACPI0003") 13 Name(_UID, 0x00) 14 Name(_PCL, Package() { \_SB } ) 15 16 Method(_PSR, 0, NotSerialized) 17 { 18 Local0 = HPAC 19 \PWRS = Local0 20 \PNOT() 21 return (Local0) 22 } 23 24 Method(_STA, 0, NotSerialized) 25 { 26 Return (0x0f) 27 } 28} 29