src/cpu/intel/speedstep/acpi/cpu.asl
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | /* These come from the dynamically created CPU SSDT */ |
| 4 | External (\_SB.CNOT, MethodObj) |
| 5 | External (\_SB_.CP00, DeviceObj) |
| 6 | External (\_SB_.CP00._PPC) |
| 7 | External (\_SB_.CP01._PPC) |
| 8 | External (\MPEN, IntObj) |
| 9 | |
| 10 | Method (PNOT) |
| 11 | { |
| 12 | If (MPEN) { |
| 13 | \_SB.CNOT (0x80) // _PPC |
| 14 | Sleep(100) |
| 15 | \_SB.CNOT (0x81) // _CST |
| 16 | } Else { // UP |
| 17 | Notify (\_SB_.CP00, 0x80) |
| 18 | Sleep(0x64) |
| 19 | Notify(\_SB_.CP00, 0x81) |
| 20 | } |
| 21 | } |