| 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 |
} |
| 10 |
|
| 11 |
/* The _WAK method is called on system wakeup */ |
| 12 |
Method(_WAK,1) |
| 13 |
{ |
| 14 |
Return(Package(){0,0}) |
| 15 |
} |
| 16 |
|
| 17 |
/* System Bus */ |
| 18 |
|
| 19 |
Scope(\_SB) |
| 20 |
{ |
| 21 |
/* This method is placed on the top level, so we can make sure it's the |
| 22 |
* first executed _INI method. |
| 23 |
*/ |
| 24 |
Method(_INI, 0) |
| 25 |
{ |
| 26 |
\GOS() |
| 27 |
} |
| 28 |
} |