1 /* SPDX-License-Identifier: GPL-2.0-only */
7 /* degree Celsius to deci-Kelvin (ACPI temperature unit) */
9 Local0 = 2732 + Arg0 * 10
16 // FIXME these could/should be read from the
17 // GNVS area, so they can be controlled by
23 // At which temperature should the OS start
25 Method (_AC0, 0, Serialized)
27 Return (C2dK(120)) // Value for Rocky
30 // Critical shutdown temperature
31 Method (_CRT, 0, Serialized)
33 Return (C2dK(155)) // Value for Rocky
36 // CPU throttling start temperature
37 Method (_PSV, 0, Serialized)
39 Return (C2dK(105)) // Value for Rocky
42 // Get DTS Temperature
43 Method (_TMP, 0, Serialized)
45 If (\_SB.PCI0.LPCB.EC0.ALRC) {
46 \_SB.PCI0.LPCB.EC0.ALRC = 0
50 If (\_SB.PCI0.LPCB.EC0.ALRL) {
52 \_SB.PCI0.LPCB.EC0.ALRL = 0
55 If (\_SB.PCI0.LPCB.EC0.ALRH) {
57 \_SB.PCI0.LPCB.EC0.ALRH = 0
60 /* vendor BIOS reports 0K if TCPU >= 128 deg C ?!? */
61 Return (C2dK(\_SB.PCI0.LPCB.EC0.TCPU))
65 // Processors used for active cooling
66 Method (_PSL, 0, Serialized)
69 Return (Package() {\_SB.CP00, \_SB.CP01})
71 Return (Package() {\_SB.CP00})
74 // TC1 value for passive cooling
75 Method (_TC1, 0, Serialized)
80 // TC2 value for passive cooling
81 Method (_TC2, 0, Serialized)
86 // Sampling period for passive cooling
87 Method (_TSP, 0, Serialized)