coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
msr.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef _BAYTRAIL_MSR_H_
4
#define _BAYTRAIL_MSR_H_
5
6
#define MSR_BSEL_CR_OVERCLOCK_CONTROL 0xcd
7
#define MSR_PLATFORM_INFO 0xce
8
#define MSR_PKG_CST_CONFIG_CONTROL 0xe2
9
#define SINGLE_PCTL (1 << 11)
10
#define MSR_POWER_MISC 0x120
11
#define ENABLE_ULFM_AUTOCM_MASK (1 << 2)
12
#define ENABLE_INDP_AUTOCM_MASK (1 << 3)
13
#define MSR_POWER_CTL 0x1fc
14
#define MSR_PKG_POWER_SKU_UNIT 0x606
15
#define MSR_PKG_POWER_LIMIT 0x610
16
#define MSR_PP1_POWER_LIMIT 0x638
17
#define MSR_IACORE_RATIOS 0x66a
18
#define MSR_IACORE_TURBO_RATIOS 0x66c
19
#define MSR_IACORE_VIDS 0x66b
20
#define MSR_IACORE_TURBO_VIDS 0x66d
21
#define MSR_PKG_TURBO_CFG1 0x670
22
#define MSR_CPU_TURBO_WKLD_CFG1 0x671
23
#define MSR_CPU_TURBO_WKLD_CFG2 0x672
24
#define MSR_CPU_THERM_CFG1 0x673
25
#define MSR_CPU_THERM_CFG2 0x674
26
#define MSR_CPU_THERM_SENS_CFG 0x675
27
28
/* Read BCLK from MSR */
29
unsigned
int
bus_freq_khz
(
void
);
30
void
set_max_freq
(
void
);
31
32
#endif
/* _BAYTRAIL_MSR_H_ */
set_max_freq
void set_max_freq(void)
Definition:
romstage.c:7
bus_freq_khz
unsigned int bus_freq_khz(void)
Definition:
tsc_freq.c:7
src
soc
intel
baytrail
include
soc
msr.h
Generated by
1.9.1