coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pch.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _BROADWELL_PCH_H_
4 #define _BROADWELL_PCH_H_
5 
6 /* Haswell ULT Pch (LynxPoint-LP) */
7 #define PCH_LPT_LP_SAMPLE 0x9c41
8 #define PCH_LPT_LP_PREMIUM 0x9c43
9 #define PCH_LPT_LP_MAINSTREAM 0x9c45
10 #define PCH_LPT_LP_VALUE 0x9c47
11 
12 /* Broadwell PCH (WildatPoint) */
13 #define PCH_WPT_HSW_U_SAMPLE 0x9cc1
14 #define PCH_WPT_BDW_U_SAMPLE 0x9cc2
15 #define PCH_WPT_BDW_U_PREMIUM 0x9cc3
16 #define PCH_WPT_BDW_U_BASE 0x9cc5
17 #define PCH_WPT_BDW_Y_SAMPLE 0x9cc6
18 #define PCH_WPT_BDW_Y_PREMIUM 0x9cc7
19 #define PCH_WPT_BDW_Y_BASE 0x9cc9
20 #define PCH_WPT_BDW_H 0x9ccb
21 
22 /* Power Management Control and Status */
23 #define PCH_PCS 0x84
24 #define PCH_PCS_PS_D3HOT 3
25 
26 u8 pch_revision(void);
27 u16 pch_type(void);
28 int pch_is_wpt(void);
29 int pch_is_wpt_ulx(void);
30 u32 pch_read_soft_strap(int id);
31 void pch_disable_devfn(struct device *dev);
32 
33 void broadwell_pch_finalize(void);
34 
35 #endif
u8 pch_revision(void)
Definition: pch.c:15
void broadwell_pch_finalize(void)
Definition: finalize.c:12
int pch_is_wpt(void)
Definition: pch.c:26
void pch_disable_devfn(struct device *dev)
Definition: pch.c:77
int pch_is_wpt_ulx(void)
Definition: pch.c:32
u16 pch_type(void)
Definition: pch.c:20
u32 pch_read_soft_strap(int id)
Definition: pch.c:46
uint32_t u32
Definition: stdint.h:51
uint16_t u16
Definition: stdint.h:48
uint8_t u8
Definition: stdint.h:45
Definition: device.h:107