coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cpu.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_ALDERLAKE_CPU_H_
4 #define _SOC_ALDERLAKE_CPU_H_
5 
6 /* Latency times in us */
7 #define C1_LATENCY 1
8 #define C6_LATENCY 127
9 #define C7_LATENCY 253
10 #define C8_LATENCY 260
11 #define C9_LATENCY 487
12 #define C10_LATENCY 1048
13 
14 /* Power in units of mW */
15 #define C1_POWER 0x3e8
16 #define C6_POWER 0x15e
17 #define C7_POWER 0xc8
18 #define C8_POWER 0xc8
19 #define C9_POWER 0xc8
20 #define C10_POWER 0xc8
21 
28 };
29 
31 
32 /* Get a bitmask of supported LPM states */
34 
35 #endif
adl_cpu_type
Definition: cpu.h:22
@ ADL_N
Definition: cpu.h:25
@ ADL_S
Definition: cpu.h:27
@ ADL_P
Definition: cpu.h:26
@ ADL_UNKNOWN
Definition: cpu.h:23
@ ADL_M
Definition: cpu.h:24
uint8_t get_supported_lpm_mask(void)
Definition: cpu.c:261
enum adl_cpu_type get_adl_cpu_type(void)
Definition: cpu.c:192
unsigned char uint8_t
Definition: stdint.h:8