| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
/* The _PTS method (Prepare To Sleep) is called before the OS is |
| 4 |
* entering a sleep state. The sleep state number is passed in Arg0 |
| 5 |
*/ |
| 6 |
|
| 7 |
Method(_PTS,1) |
| 8 |
{ |
| 9 |
\_SB.PCI0.LPCB.EC.MUTE(1) |
| 10 |
\_SB.PCI0.LPCB.EC.USBP(0) |
| 11 |
\_SB.PCI0.LPCB.EC.RADI(0) |
| 12 |
} |
| 13 |
|
| 14 |
/* The _WAK method is called on system wakeup */ |
| 15 |
|
| 16 |
Method(_WAK,1) |
| 17 |
{ |
| 18 |
/* Wake the HKEY to init BT/WWAN */ |
| 19 |
\_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0) |
| 20 |
|
| 21 |
/* Not implemented. */ |
| 22 |
Return(Package(){0,0}) |
| 23 |
} |