coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
BiosCallOuts.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#define FAN_INPUT_INTERNAL_DIODE 0
4
#define FAN_INPUT_TEMP0 1
5
#define FAN_INPUT_TEMP1 2
6
#define FAN_INPUT_TEMP2 3
7
#define FAN_INPUT_TEMP3 4
8
#define FAN_INPUT_TEMP0_FILTER 5
9
#define FAN_INPUT_ZERO 6
10
#define FAN_INPUT_DISABLED 7
11
12
#define FAN_AUTOMODE (1 << 0)
13
#define FAN_LINEARMODE (1 << 1)
14
#define FAN_STEPMODE ~(1 << 1)
15
#define FAN_POLARITY_HIGH (1 << 2)
16
#define FAN_POLARITY_LOW ~(1 << 2)
17
18
/* Normally, 4-wire fans runs at 25KHz and 3-wire fans runs at 100Hz */
19
#define FREQ_28KHZ 0x0
20
#define FREQ_25KHZ 0x1
21
#define FREQ_23KHZ 0x2
22
#define FREQ_21KHZ 0x3
23
#define FREQ_29KHZ 0x4
24
#define FREQ_18KHZ 0x5
25
#define FREQ_100HZ 0xF7
26
#define FREQ_87HZ 0xF8
27
#define FREQ_58HZ 0xF9
28
#define FREQ_44HZ 0xFA
29
#define FREQ_35HZ 0xFB
30
#define FREQ_29HZ 0xFC
31
#define FREQ_22HZ 0xFD
32
#define FREQ_14HZ 0xFE
33
#define FREQ_11HZ 0xFF
src
mainboard
amd
padmelon
BiosCallOuts.h
Generated by
1.9.1