drivers/usb/intel_bluetooth: Add GBTR Method
[coreboot2.git] / src / mainboard / packardbell / ms2290 / acpi / thermal.asl
bloba6935041b842f3234aa68e69aedb48202d783b5d
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 Scope(\_TZ)
5         Name (MEBT, 0)
7         Method(C2K, 1, NotSerialized)
8         {
9                 Local0 = Arg0 * 10
10                 Local0 += 2732
11                 if (Local0 <= 2732) {
12                         Return (3000)
13                 }
15                 if (Local0 > 4012) {
16                         Return (3000)
17                 }
18                 Return (Local0)
19         }
21         ThermalZone(THM0)
22         {
23                 Method(_CRT, 0, NotSerialized) {
24                         Return (C2K(127))
25                 }
26                 Method(_TMP) {
27                         /* Avoid tripping alarm if ME isn't booted at all yet */
28                         If (!MEBT && (\_SB.PCI0.LPCB.EC.TMP0 == 128)) {
29                                 Return (C2K(40))
30                         }
31                         MEBT = 1
32                         Return (C2K(\_SB.PCI0.LPCB.EC.TMP0))
33                 }
34         }
36         ThermalZone(THM1)
37         {
38                 Method(_CRT, 0, NotSerialized) {
39                         Return (C2K(99))
40                 }
42                 Method(_PSV, 0, NotSerialized) {
43                         Return (C2K(94))
44                 }
46                 Method(_TMP) {
47                         Return (C2K(\_SB.PCI0.LPCB.EC.TMP1))
48                 }
49         }