coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
thermal.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef LUMPY_THERMAL_H
4 #define LUMPY_THERMAL_H
5 
6 /* Fan is OFF */
7 #define FAN4_THRESHOLD_OFF 0
8 #define FAN4_THRESHOLD_ON 0
9 
10 /* Fan is at LOW speed */
11 #define FAN3_THRESHOLD_OFF 44
12 #define FAN3_THRESHOLD_ON 48
13 
14 /* Fan is at MEDIUM speed */
15 #define FAN2_THRESHOLD_OFF 48
16 #define FAN2_THRESHOLD_ON 54
17 
18 /* Fan is at HIGH speed */
19 #define FAN1_THRESHOLD_OFF 60
20 #define FAN1_THRESHOLD_ON 64
21 
22 /* Fan is at FULL speed */
23 #define FAN0_THRESHOLD_OFF 66
24 #define FAN0_THRESHOLD_ON 78
25 
26 /* Temperature which OS will shutdown at */
27 #define CRITICAL_TEMPERATURE 100
28 
29 /* Temperature which OS will throttle CPU */
30 #define PASSIVE_TEMPERATURE 90
31 
32 /* Tj_max value for calculating PECI CPU temperature */
33 #define MAX_TEMPERATURE 100
34 
35 #endif