1 /* SPDX-License-Identifier: GPL-2.0-only */
5 External (\PPKG, MethodObj)
7 #define HAVE_THERMALZONE
15 // Thermal zone polling frequency: 10 seconds
18 // Thermal sampling period for passive cooling: 10 seconds
21 // Convert from Degrees C to 1/10 Kelvin for ACPI
33 // Threshold for OS to shutdown
34 Method (_CRT, 0, Serialized)
39 // Threshold for passive cooling
40 Method (_PSV, 0, Serialized)
45 // Processors used for passive cooling
46 Method (_PSL, 0, Serialized)
51 Method (_TMP, 0, Serialized)
53 // Returns Higher of the two readings for CPU & VGA Temperature
54 If (\_SB.PCI0.LPCB.EC0.TMP2 > \_SB.PCI0.LPCB.EC0.TMP1)
56 // CPU high temperature
57 Local0 = \_SB.PCI0.LPCB.EC0.TMP2
61 // VGA high temperature
62 Local0 = \_SB.PCI0.LPCB.EC0.TMP1
65 // If temp less 35 or great then 115, set default 35
66 If ((Local0 < 35) | (Local0 > 115))
71 Return (CTOK (Local0))