coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hda.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_HDA_H_
4 #define _SOC_HDA_H_
5 
6 /*
7  * PCI config registers.
8  */
9 
10 #define HDA_DCKSTS 0x4d
11 # define HDA_DCKSTS_DS (1 << 7)
12 # define HDA_DCKSTS_DM (1 << 0)
13 
14 #define HDA_DEVC 0x78
15 # define HDA_DEVC_MRRS 0x7000
16 # define HDA_DEVC_NSNPEN (1 << 11)
17 # define HDA_DEVC_AUXPEN (1 << 10)
18 # define HDA_DEVC_PEEN (1 << 9)
19 # define HDA_DEVC_ETEN (1 << 8)
20 # define HDA_DEVC_MAXPAY 0x00e0
21 # define HDA_DEVC_ROEN (1 << 4)
22 # define HDA_DEVC_URREN (1 << 3)
23 # define HDA_DEVC_FEREN (1 << 2)
24 # define HDA_DEVC_NFEREN (1 << 1)
25 # define HDA_DEVC_CEREN (1 << 0)
26 
27 #endif /* _SOC_HDA_H_ */