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 THERMAL_H
4
#define THERMAL_H
5
6
#define TEMPERATURE_SENSOR_ID 0
/* PECI */
7
8
/* Fan is at default speed */
9
#define FAN4_PWM 0x4d
10
11
/* Fan is at LOW speed */
12
#define FAN3_THRESHOLD_OFF 42
13
#define FAN3_THRESHOLD_ON 47
14
#define FAN3_PWM 0xa5
15
16
/* Fan is at MEDIUM speed */
17
#define FAN2_THRESHOLD_OFF 54
18
#define FAN2_THRESHOLD_ON 59
19
#define FAN2_PWM 0xb2
20
21
/* Fan is at HIGH speed */
22
#define FAN1_THRESHOLD_OFF 66
23
#define FAN1_THRESHOLD_ON 71
24
#define FAN1_PWM 0xc9
25
26
/* Fan is at FULL speed */
27
#define FAN0_THRESHOLD_OFF 78
28
#define FAN0_THRESHOLD_ON 83
29
#define FAN0_PWM 0xd8
30
31
/* Temperature which OS will shutdown at */
32
#define CRITICAL_TEMPERATURE 100
33
34
/* Temperature which OS will throttle CPU */
35
#define PASSIVE_TEMPERATURE 95
36
37
/* Tj_max value for calculating PECI CPU temperature */
38
#define MAX_TEMPERATURE 105
39
40
#endif
src
mainboard
google
jecht
variants
rikku
include
variant
thermal.h
Generated by
1.9.1