Debian Codegraph @

src/mainboard/lenovo/s230u/acpi/platform.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 Method(_WAK,1)
4 {
5 /* Turn on radios */
6 GP33 = 1 /* WLBT_OFF_5# (To pin 5 of WiFi mPCIe) */
7 GP36 = 1 /* WLBT_OFF_51# (To pin 51 of WiFi mPCIe) */
8 /* There also is RF_OFF# on pin 20, controlled by the EC */
9
10 Return(Package(){0,0})
11 }
12
13 Method(_PTS,1)
14 {
15 /* Turn off radios */
16 GP33 = 0 /* WLBT_OFF_5# (To pin 5 of WiFi mPCIe) */
17 GP36 = 0 /* WLBT_OFF_51# (To pin 51 of WiFi mPCIe) */
18 /* There also is RF_OFF# on pin 20, controlled by the EC */
19 }
20
21 Scope(\_SI)
22 {
23 Method(_SST, 1, NotSerialized)
24 {
25 If (Arg0 < 2)
26 {
27 /* Thinkpad LED on */
28 \_SB.PCI0.LPCB.EC0.LED (0, 0x80)
29 }
30 Else
31 {
32 /* Thinkpad LED blinking */
33 \_SB.PCI0.LPCB.EC0.LED (0, 0xC0)
34 }
35 }
36 }