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
22
enum
adl_cpu_type
{
23
ADL_UNKNOWN
,
24
ADL_M
,
25
ADL_N
,
26
ADL_P
,
27
ADL_S
,
28
};
29
30
enum
adl_cpu_type
get_adl_cpu_type
(
void
);
31
32
/* Get a bitmask of supported LPM states */
33
uint8_t
get_supported_lpm_mask
(
void
);
34
35
#endif
adl_cpu_type
adl_cpu_type
Definition:
cpu.h:22
ADL_N
@ ADL_N
Definition:
cpu.h:25
ADL_S
@ ADL_S
Definition:
cpu.h:27
ADL_P
@ ADL_P
Definition:
cpu.h:26
ADL_UNKNOWN
@ ADL_UNKNOWN
Definition:
cpu.h:23
ADL_M
@ ADL_M
Definition:
cpu.h:24
get_supported_lpm_mask
uint8_t get_supported_lpm_mask(void)
Definition:
cpu.c:261
get_adl_cpu_type
enum adl_cpu_type get_adl_cpu_type(void)
Definition:
cpu.c:192
uint8_t
unsigned char uint8_t
Definition:
stdint.h:8
src
soc
intel
alderlake
include
soc
cpu.h
Generated by
1.9.1