repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git]
/
src
/
ec
/
lenovo
/
h8
/
acpi
/
lid.asl
blob
7695e4e5ab33543f887df2ba0ecc8b4c4c6474f7
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
Field(ERAM, ByteAcc, NoLock, Preserve)
4
{
5
Offset (0x32),
6
, 2,
7
WKLD, 1,
8
Offset (0x46),
9
, 2,
10
LIDS, 1
11
}
12
13
Device(LID)
14
{
15
Name(_HID, "PNP0C0D")
16
17
Method(_LID, 0, NotSerialized)
18
{
19
return (LIDS)
20
}
21
22
Method(_PRW, 0, NotSerialized)
23
{
24
Return (Package() { 0x18, 0x03 })
25
}
26
27
Method(_PSW, 1, NotSerialized)
28
{
29
if (Arg0) {
30
WKLD = 1
31
} else {
32
WKLD = 0
33
}
34
}
35
}