1 /**************************************************************************;
4 ;* Intel Corporation - ACPI Reference Code for the Baytrail *;
5 ;* Family of Customer Reference Boards. *;
8 ;* Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved *;
10 ; This program and the accompanying materials are licensed and made available under
11 ; the terms and conditions of the BSD License that accompanies this distribution.
12 ; The full text of the license may be found at
13 ; http://opensource.org/licenses/bsd-license.php.
15 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 ;**************************************************************************/
23 // THERMAL.ASL represents a Thermal Zone to be used for testing on the
24 // Customer Reference Boards.
26 External(\_SB.DPTF.CTOK, MethodObj)
31 // Thermal Zone 1 = DTS Thermal Zone.
35 // Return the temperature at which the OS must perform a Critcal
38 Method(_CRT,0,Serialized)
40 Return(Add(2732,Multiply(CRTT,10)))
43 // Notifies ASL Code the current cooling mode.
45 // 1 - Passive cooling
47 Method(_SCP,1,Serialized)
54 // Return the highest of the CPU temperatures to the OS.
59 // An Integer containing the current temperature of the thermal zone (in tenths of degrees Kelvin)
61 Method(_TMP,0,Serialized)
65 If(LGreater(DTS2, DTS1))
72 Return(Add(2732,Multiply(Local0,10)))
74 // Else return a static value if both EC and DTS are unavailable.
78 Return(3000) // (3000-2732)/10 = 26.8 degree C
82 // Return the Processor(s) used for Passive Cooling.
84 Method(_PSL,0,Serialized)
88 // CMP - Throttling controls all four logical CPUs.
89 Return(Package() {\_PR.CPU0,\_PR.CPU1,\_PR.CPU2,\_PR.CPU3})
94 // CMP - Throttling controls both CPUs.
96 Return(Package() {\_PR.CPU0,\_PR.CPU1})
99 Return(Package() {\_PR.CPU0})
102 // Returns the temperature at which the OS initiates CPU throttling.
104 Method(_PSV,0,Serialized)
106 Return(Add(2732,Multiply(PSVT,10)))
109 // Returns TC1 value used in the passive cooling formula.
111 Method(_TC1,0,Serialized)
116 // Returns TC2 value used in the passive cooling formula.
118 Method(_TC2,0,Serialized)
123 // Returns the sampling period used in the passive cooling formula.
125 Method(_TSP,0,Serialized)
130 // Returns Hot Temperature
132 Method(_HOT,0,Serialized)
134 Subtract(CRTT, 5, Local0)
135 Return(Add(2732,Multiply(Local0,10)))