Debian Codegraph @

src/mainboard/google/stout/acpi/mainboard.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 Scope (\_SB)
4 {
5 Device (LID0)
6 {
7 Name (_HID, EisaId("PNP0C0D"))
8 Name (_PRW, Package() {0x18, 4})
9
10 Method (_LID, 0)
11 {
12 \LIDS = \_SB.PCI0.LPCB.EC0.HPLD
13 Return (\LIDS)
14 }
15
16 Method (_PSW, 1)
17 {
18 // Enable/Disable LID as a wake source
19 \_SB.PCI0.LPCB.EC0.HWLO = Arg0
20 }
21 }
22 }