®
Intel I/O Controller Hub 7 (ICH7)/
®
Intel High Definition Audio/
AC’97
Programmer’s Reference Manual (PRM)
®
For the Intel 82801GB ICH7 and 82801GR ICH7R I/O Controller
Hubs
April 2005
Document Number: 307017-001
Download from Www.Somanuals.com. All Manuals Search And Download.
®
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY
ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN
INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES
RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER
INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life saving, or life sustaining applications.
Intel may make changes to specifications and product descriptions at any time, without notice.
Designers must not rely on the absence or characteristics of any features or instructions marked “reserved” or “undefined.” Intel reserves these for
future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.
®
The Intel I/O Controller Hub 7 (ICH7) Family chipset component may contain design defects or errors known as errata which may cause the product
to deviate from published specifications. Current characterized errata are available on request.
Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
2
2
I C is a two-wire communications bus/protocol developed by Philips. SMBus is a subset of the I C bus/protocol and was developed by Intel.
2
Implementations of the I C bus/protocol may require licenses from various entities, including Philips Electronics N.V. and North American Philips
Corporation.
Alert on LAN is a result of the Intel-IBM Advanced Manageability Alliance and a trademark of IBM.
Intel, Intel SpeedStep, and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other
countries.
*Other names and brands may be claimed as the property of others.
Copyright © 2005, Intel Corporation
3
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
Contents
®
Intel High Definition Audio Controller Registers (D27:F0) ....................................................13
®
Intel High Definition Audio PCI Configuration Space
®
(Intel High Definition Audio— D27:F0) .............................................................................13
®
(Intel High Definition Audio Controller—D27:F0).................................................15
®
(Intel High Definition Audio Controller—D27:F0).................................................15
®
®
(Intel High Definition Audio Controller—D27:F0).................................................17
®
(Intel High Definition Audio Controller—D27:F0).................................................17
®
®
®
(Intel High Definition Audio Controller—D27:F0).................................................18
®
(Intel High Definition Audio Controller—D27:F0).................................................18
®
(Intel High Definition Audio Controller—D27:F0).................................................19
1.1.11 HEADTYP—Header Type Register
®
(Intel High Definition Audio Controller—D27:F0).................................................19
®
®
(Intel High Definition Audio—D27:F0) .................................................................19
®
®
(Intel High Definition Audio Controller—D27:F0).................................................19
1.1.14 SVID—Subsystem Vendor Identification Register
®
(Intel High Definition Audio Controller—D27:F0).................................................20
®
(Intel High Definition Audio Controller—D27:F0).................................................20
1.1.17 INTLN—Interrupt Line Register
®
(Intel High Definition Audio Controller—D27:F0).................................................21
®
(Intel High Definition Audio Controller—D27:F0).................................................21
®
®
(Intel High Definition Audio Controller—D27:F0).................................................22
®
®
1.1.22 PID—PCI Power Management Capability ID Register
®
(Intel High Definition Audio Controller—D27:F0).................................................24
1.1.23 PC—Power Management Capabilities Register
®
(Intel High Definition Audio Controller—D27:F0).................................................25
4
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
1.1.24 PCS—Power Management Control and Status Register
®
(Intel High Definition Audio Controller—D27:F0).................................................25
1.1.25 MID—MSI Capability ID Register
®
(Intel High Definition Audio Controller—D27:F0).................................................26
1.1.26 MMC—MSI Message Control Register
®
(Intel High Definition Audio Controller—D27:F0).................................................26
1.1.27 MMLA—MSI Message Lower Address Register
®
(Intel High Definition Audio Controller—D27:F0).................................................27
1.1.28 MMUA—MSI Message Upper Address Register
®
(Intel High Definition Audio Controller—D27:F0).................................................27
1.1.29 MMD—MSI Message Data Register
®
(Intel High Definition Audio Controller—D27:F0).................................................27
1.1.30 PXID—PCI Express* Capability ID Register
®
(Intel High Definition Audio Controller—D27:F0).................................................27
1.1.31 PXC—PCI Express* Capabilities Register
®
(Intel High Definition Audio Controller—D27:F0).................................................28
1.1.32 DEVCAP—Device Capabilities Register
®
(Intel High Definition Audio Controller—D27:F0).................................................28
1.1.33 DEVC—Device Control Register
®
(Intel High Definition Audio Controller—D27:F0).................................................29
1.1.34 DEVS—Device Status Register
®
(Intel High Definition Audio Controller—D27:F0).................................................29
1.1.35 VCCAP—Virtual Channel Enhanced Capability Header
®
(Intel High Definition Audio Controller—D27:F0).................................................30
1.1.36 PVCCAP1—Port VC Capability Register 1
®
(Intel High Definition Audio Controller—D27:F0).................................................30
1.1.37 PVCCAP2 — Port VC Capability Register 2
®
(Intel High Definition Audio Controller—D27:F0).................................................31
1.1.38 PVCCTL — Port VC Control Register
®
(Intel High Definition Audio Controller—D27:F0).................................................31
1.1.39 PVCSTS—Port VC Status Register
®
(Intel High Definition Audio Controller—D27:F0).................................................31
1.1.40 VC0CAP—VC0 Resource Capability Register
®
(Intel High Definition Audio Controller—D27:F0).................................................32
1.1.41 VC0CTL—VC0 Resource Control Register
®
(Intel High Definition Audio Controller—D27:F0).................................................32
1.1.42 VC0STS—VC0 Resource Status Register
®
(Intel High Definition Audio Controller—D27:F0).................................................32
1.1.43 VCiCAP—VCi Resource Capability Register
®
(Intel High Definition Audio Controller—D27:F0).................................................33
®
(Intel High Definition Audio Controller—D27:F0).................................................33
®
(Intel High Definition Audio Controller—D27:F0).................................................34
®
®
(Intel High Definition Audio Controller—D27:F0).................................................34
®
(Intel High Definition Audio Controller—D27:F0).................................................35
®
(Intel High Definition Audio Controller—D27:F0).................................................35
Programmer’s Reference Manual
5
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
1.1.50 L1ADDU—Link 1 Upper Address Register
®
(Intel High Definition Audio Controller—D27:F0).................................................35
Intel High Definition Audio Memory Mapped Configuration Registers
(Intel High Definition Audio— D27:F0) .............................................................................36
®
®
®
(Intel High Definition Audio Controller—D27:F0).................................................40
®
(Intel High Definition Audio Controller—D27:F0).................................................40
®
(Intel High Definition Audio Controller—D27:F0).................................................40
®
(Intel High Definition Audio Controller—D27:F0).................................................41
®
(Intel High Definition Audio Controller—D27:F0).................................................41
®
(Intel High Definition Audio Controller—D27:F0).................................................42
®
(Intel High Definition Audio Controller—D27:F0).................................................43
®
(Intel High Definition Audio Controller—D27:F0).................................................43
1.2.9 GSTS—Global Status Register
®
(Intel High Definition Audio Controller—D27:F0).................................................44
®
(Intel High Definition Audio Controller—D27:F0).................................................44
®
(Intel High Definition Audio Controller—D27:F0).................................................45
1.2.12 INTCTL—Interrupt Control Register
®
(Intel High Definition Audio Controller—D27:F0).................................................46
®
(Intel High Definition Audio Controller—D27:F0).................................................47
®
(Intel High Definition Audio Controller—D27:F0).................................................47
®
(Intel High Definition Audio Controller—D27:F0).................................................48
®
(Intel High Definition Audio Controller—D27:F0).................................................48
1.2.17 CORBUBASE—CORB Upper Base Address Register
®
(Intel High Definition Audio Controller—D27:F0).................................................49
®
(Intel High Definition Audio Controller—D27:F0).................................................49
®
(Intel High Definition Audio Controller—D27:F0).................................................49
®
(Intel High Definition Audio Controller—D27:F0).................................................50
®
(Intel High Definition Audio Controller—D27:F0).................................................50
®
Intel High Definition Audio Controller—D27:F0)..................................................50
®
(Intel High Definition Audio Controller—D27:F0).................................................51
®
(Intel High Definition Audio Controller—D27:F0).................................................51
6
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
®
(Intel High Definition Audio Controller—D27:F0).................................................51
1.2.26 RINTCNT—Response Interrupt Count Register
®
(Intel High Definition Audio Controller—D27:F0).................................................52
1.2.27 RIRBCTL—RIRB Control Register
®
(Intel High Definition Audio Controller—D27:F0).................................................52
®
(Intel High Definition Audio Controller—D27:F0).................................................53
®
(Intel High Definition Audio Controller—D27:F0).................................................53
®
(Intel High Definition Audio Controller—D27:F0).................................................53
®
(Intel High Definition Audio Controller—D27:F0).................................................54
®
(Intel High Definition Audio Controller—D27:F0).................................................54
®
(Intel High Definition Audio Controller—D27:F0).................................................55
®
(Intel High Definition Audio Controller—D27:F0).................................................55
®
(Intel High Definition Audio Controller—D27:F0).................................................55
®
(Intel High Definition Audio Controller—D27:F0).................................................57
®
®
(Intel High Definition Audio Controller—D27:F0).................................................58
®
(Intel High Definition Audio Controller—D27:F0).................................................59
®
(Intel High Definition Audio Controller—D27:F0).................................................59
®
(Intel High Definition Audio Controller—D27:F0).................................................60
®
(Intel High Definition Audio Controller—D27:F0).................................................61
®
(Intel High Definition Audio Controller—D27:F0).................................................62
®
AC ’97 Audio Controller Registers (D30:F2) .............................................................................63
2.1
AC ’97 Audio PCI Configuration Space
(Audio—D30:F2).................................................................................................................63
2.1.1 VID—Vendor Identification Register (Audio—D30:F2) ..........................................64
2.1.2 DID—Device Identification Register (Audio—D30:F2)...........................................64
2.1.4 PCISTS—PCI Status Register (Audio—D30:F2)...................................................66
Programmer’s Reference Manual
7
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
2.1.10 NAMBAR—Native Audio Mixer Base Address Register
(Audio—D30:F2)....................................................................................................68
2.1.11 NABMBAR—Native Audio Bus Mastering Base Address
Register (Audio—D30:F2) .....................................................................................69
2.1.13 MBBAR—Bus Master Base Address Register
(Audio—D30:F2)....................................................................................................70
2.1.14 SVID—Subsystem Vendor Identification Register
(Audio—D30:F2)....................................................................................................70
2.1.17 INT_LN—Interrupt Line Register (Audio—D30:F2) ...............................................71
2.1.18 INT_PN—Interrupt Pin Register (Audio—D30:F2) ................................................72
2.1.19 PCID—Programmable Codec Identification Register
(Audio—D30:F2)....................................................................................................72
2.1.20 CFG—Configuration Register (Audio—D30:F2)....................................................72
2.1.21 PID—PCI Power Management Capability Identification
Register (Audio—D30:F2) .....................................................................................73
2.1.22 PC—Power Management Capabilities Register
(Audio—D30:F2)....................................................................................................73
2.1.23 PCS—Power Management Control and Status Register
(Audio—D30:F2)....................................................................................................74
AC ’97 Audio I/O Space (D30:F2).......................................................................................75
2.2.1 x_BDBAR—Buffer Descriptor Base Address Register
(Audio—D30:F2)....................................................................................................78
2.2.3 x_LVI—Last Valid Index Register (Audio—D30:F2)..............................................79
2.2.4 x_SR—Status Register (Audio—D30:F2)..............................................................80
2.2.5 x_PICB—Position In Current Buffer Register
(Audio—D30:F2)....................................................................................................81
2.2.7 x_CR—Control Register (Audio—D30:F2) ............................................................82
AC ’97 Modem Controller Registers (D30:F3)...........................................................................89
AC ’97 Modem PCI Configuration Space (D30:F3) ............................................................89
8
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
(Modem—D30:F3) .................................................................................................93
3.1.12 SVID—Subsystem Vendor Identification Register
(Modem—D30:F3) .................................................................................................94
3.1.17 PID—PCI Power Management Capability Identification
Register (Modem—D30:F3)...................................................................................96
3.1.18 PC—Power Management Capabilities Register
(Modem—D30:F3) .................................................................................................96
3.1.19 PCS—Power Management Control and Status Register
(Modem—D30:F3) .................................................................................................97
AC ’97 Modem I/O Space (D30:F3)....................................................................................98
3.2.1 x_BDBAR—Buffer Descriptor List Base Address Register
(Modem—D30:F3) ...............................................................................................100
3.2.4 x_SR—Status Register (Modem—D30:F3) .........................................................101
3.2.5 x_PICB—Position in Current Buffer Register
(Modem—D30:F3) ...............................................................................................102
3.2.6 x_PIV—Prefetch Index Value Register
(Modem—D30:F3) ...............................................................................................102
3.2.7 x_CR—Control Register (Modem—D30:F3)........................................................103
3.2.10 CAS—Codec Access Semaphore Register
(Modem—D30:F3) ...............................................................................................107
Intel® High Definition Audio BIOS Considerations................................................................109
®
Intel High Definition Audio/AC’ 97 Signal Mode Selection .............................................109
®
4.1.1 Intel High Definition Audio/AC’ 97 Codec Detection..........................................110
4.1.2 Intel High Definition Audio Codec Initialization ..................................................112
®
®
4.1.2.2 Codec Verb Table................................................................................113
4.1.2.4 Codec Initialization Sample Code ........................................................117
®
®
Intel High Definition Audio Controller Configuration .......................................................125
®
Intel High Definition Audio PME Event ...........................................................................126
Programmer’s Reference Manual
9
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
Figures
®
®
Tables
1-1 Intel® High Definition Audio PCI Register Address Map
(Intel® High Definition Audio D27:F0) ........................................................................................13
®
®
(Intel High Definition Audio D27:F0).........................................................................................36
2-1 AC ‘97 Audio PCI Register Address Map (Audio—D30:F2).......................................................63
®
2-2 Intel ICH7 Audio Mixer Register Configuration........................................................................75
2-3 Native Audio Bus Master Control Registers ...............................................................................77
3-1 AC ‘97 Modem PCI Register Address Map (Modem—D30:F3) .................................................89
®
3-2 Intel ICH7 Modem Mixer Register Configuration......................................................................98
3-3 Modem Registers .......................................................................................................................99
10
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
Revision History
Revision
Description
Date
-001
•
Initial release
April 2005
§
Programmer’s Reference Manual
11
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
12
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
®
1 Intel High Definition Audio
Controller Registers (D27:F0)
The Intel® HD Audio controller resides in PCI Device 27, Function 0 on bus 0. This function
contains a set of DMA engines that are used to move samples of digitally encoded data between
system memory and external codecs.
Note: All registers in this function (including memory-mapped registers) must be addressable in byte,
word, and DWord quantities. The software must always make register accesses on natural
boundaries (i.e. DWord accesses must be on DWord boundaries; word accesses on word
boundaries, etc.) In addition, the memory-mapped register space must not be accessed with the
LOCK semantic exclusive-access mechanism. If software attempts exclusive-access mechanisms
to the Intel® HD Audio memory-mapped space, the results are undefined.
®
Note: Users interested in providing feedback on the Intel HD Audio specification or planning to
®
implement the Intel High Definition Audio specification into a future product will need to
®
execute the Intel High Definition Audio Specification Developer’s Agreement. For more
information, contact [email protected].
®
1.1
Intel High Definition Audio PCI Configuration
Space
®
(Intel High Definition Audio— D27:F0)
Note: Address locations that are not shown should be treated as Reserved.
®
Table 1-1. Intel High Definition Audio PCI Register Address Map
®
(Intel High Definition Audio D27:F0)
Offset
Mnemonic
Register Name
Vendor Identification
Default
Access
00h–01h
VID
8086h
RO
See register
description.
02h–03h
DID
Device Identification
RO
04h–05h
06h–07h
PCICMD
PCISTS
PCI Command
PCI Status
0000h
0010h
R/W, RO
R/WC, RO
See register
description.
08h
RID
Revision Identification
RO
09h
0Ah
0Bh
0Ch
0Dh
0Eh
PI
SCC
Programming Interface
Sub Class Code
Base Class Code
Cache Line Size
Latency Timer
00h
03h
04h
00h
00h
00h
RO
RO
RO
R/W
RO
RO
BCC
CLS
LT
HEADTYP
Header Type
Intel® High Definition Audio Lower Base Address
(Memory)
10h–13h
HDBARL
00000004h
R/W, RO
Programmer’s Reference Manual
13
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
®
Table 1-1. Intel High Definition Audio PCI Register Address Map
®
(Intel High Definition Audio D27:F0)
Intel® High Definition Audio Upper Base
Address (Memory)
14h–17h
HDBARU
00000000h
R/W
2Ch–2Dh
2Eh–2Fh
34h
SVID
SID
Subsystem Vendor Identification
Subsystem Identification
Capability List Pointer
Interrupt Line
0000h
0000h
50h
R/WO
R/WO
RO
CAPPTR
INTLN
3Ch
00h
R/W
See Register
Description
3Dh
INTPN
Interrupt Pin
RO
40h
44h
HDCTL
TCSEL
DCKSTS
PID
Intel High Definition Audio Control
Traffic Class Select
00h
00h
R/W, RO
R/W
4Dh
Docking Status
80h
R/WO, RO
RO
50h–51h
52h–53h
PCI Power Management Capability ID
Power Management Capabilities
6001h
C842
PC
RO
R/W, RO,
R/WC
54h–57h
PCS
Power Management Control and Status
00000000h
60h–61h
62h–63h
MID
MMC
MSI Capability ID
7005h
0080h
RO
R/W, RO
R/W, RO
R/W
MSI Message Control
MSI Message Lower Address
SMI Message Upper Address
MSI Message Data
64h–67h
MMLA
00000000h
00000000h
0000h
68h–6Bh
MMUA
6Ch–6Dh
70h–71h
MMD
R/W
PXID
PCI Express* Capability Identifiers
PCI Express Capabilities
Device Capabilities
0010h
RO
72h–73h
PXC
0091h
RO
74h–77h
DEVCAP
DEVC
00000000h
0800h
RO, R/WO
R/W, RO
RO
78h–79h
Device Control
7Ah–7Bh
DEVS
Device Status
0010h
100h–103h
104h–107h
108h–10Bh
10Ch–10D
10Eh–10Fh
110h–103h
114h–117h
11Ah–11Bh
11Ch–11Fh
120h–123h
126h–127h
VCCAP
PVCCAP1
PVCCAP2
PVCCTL
PVCSTS
VC0CAP
VC0CTL
VC0STS
VCiCAP
VCiCTL
VCiSTS
Virtual Channel Enhanced Capability Header
Port VC Capability Register 1
Port VC Capability Register 2
Port VC Control
13010002h
00000001h
00000000h
0000h
RO
RO
RO
RO
Port VC Status
0000h
RO
VC0 Resource Capability
VC0 Resource Control
VC0 Resource Status
VCi Resource Capability
VCi Resource Control
VCi Resource Status
00000000h
800000FFh
0000h
RO
R/W, RO
RO
00000000h
00000000h
0000h
RO
R/W, RO
RO
Root Complex Link Declaration Enhanced
Capability Header
130h–133h
RCCAP
00010005h
RO
134h–137h
140h–143h
ESD
Element Self Description
Link 1 Description
0F000100h
00000001h
RO
RO
L1DESC
See Register
Description
148h–14Bh
14Ch–14Fh
L1ADDL
L1ADDU
Link 1 Lower Address
Link 1 Upper Address
RO
RO
00000000h
14
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.1
1.1.2
VID—Vendor Identification Register
(Intel® High Definition Audio Controller—D27:F0)
Offset:
Default Value:
00h-01h
8086h
Attribute:
Size:
RO
16 bits
Bit
Description
15:0
Vendor ID — RO. This is a 16-bit value assigned to Intel. Intel VID = 8086h
DID—Device Identification Register
(Intel® High Definition Audio Controller—D27:F0)
Offset Address:
Default Value:
02h–03h
See bit description
Attribute:
Size:
RO
16 bits
Bit
Description
Device ID — RO. This is a 16-bit value assigned to the Intel® ICH7 Intel® High Definition Audio
controller. Refer to the Intel® I/O Controller Hub 7 (ICH7) Family Specification Update for the
value of the Device ID Register.
15:0
Programmer’s Reference Manual
15
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.3
PCICMD—PCI Command Register
(Intel® High Definition Audio Controller—D27:F0)
Offset Address:
Default Value:
04h–05h
0000h
Attribute:
Size:
R/W, RO
16 bits
Bit
Description
15:11
Reserved
Interrupt Disable (ID) — R/W.
0= The INTx# signals may be asserted.
1= The Intel® High Definition Audio controller’s INTx# signal will be de-asserted
10
NOTE: This bit does not affect the generation of MSIs.
9
8
Fast Back to Back Enable (FBE) — RO. Not implemented. Hardwired to 0.
SERR# Enable (SERR_EN) — R/W. SERR# is not generated by the ICH7 Intel High Definition
Audio Controller.
7
6
5
4
3
Wait Cycle Control (WCC) — RO. Not implemented. Hardwired to 0.
Parity Error Response (PER) — RO. Not implemented. Hardwired to 0.
VGA Palette Snoop (VPS). Not implemented. Hardwired to 0.
Memory Write and Invalidate Enable (MWIE) — RO. Not implemented. Hardwired to 0.
Special Cycle Enable (SCE). Not implemented. Hardwired to 0.
Bus Master Enable (BME) — R/W. Controls standard PCI Express* bus mastering capabilities
for Memory and I/O, reads and writes. Note that this bit also controls MSI generation since MSIs
are essentially Memory writes.
2
0 = Disable
1 = Enable
Memory Space Enable (MSE) — R/W. Enables memory space addresses to the Intel High
Definition Audio controller.
1
0
0 = Disable
1 = Enable
I/O Space Enable (IOSE)—RO. Hardwired to 0 since the Intel High Definition Audio controller
does not implement I/O space.
16
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.4
PCISTS—PCI Status Register
(Intel® High Definition Audio Controller—D27:F0)
Offset Address:
Default Value:
06h–07h
0010h
Attribute:
Size:
RO, R/WC
16 bits
Bit
Description
15
14
Detected Parity Error (DPE) — RO. Not implemented. Hardwired to 0.
SERR# Status (SERRS) — RO. Not implemented. Hardwired to 0.
Received Master Abort (RMA) — R/WC. Software clears this bit by writing a 1 to it.
0 = No master abort received.
1 = The Intel® High Definition Audio controller sets this bit when, as a bus master, it receives a
master abort. When set, the Intel High Definition Audio controller clears the run bit for the
channel that received the abort.
13
12
11
10:9
8
Received Target Abort (RTA) — RO. Not implemented. Hardwired to 0.
Signaled Target Abort (STA) — RO. Not implemented. Hardwired to 0.
DEVSEL# Timing Status (DEV_STS) — RO. Does not apply. Hardwired to 0.
Data Parity Error Detected (DPED) — RO. Not implemented. Hardwired to 0.
Fast Back to Back Capable (FB2BC) — RO. Does not apply. Hardwired to 0.
Reserved.
7
6
5
66 MHz Capable (66MHZ_CAP) — RO. Does not apply. Hardwired to 0.
Capabilities List (CAP_LIST) — RO. Hardwired to 1. Indicates that the controller contains a
capabilities pointer list. The first item is pointed to by looking at configuration offset 34h.
4
Interrupt Status (IS) — RO.
0 = This bit is 0 after the interrupt is cleared.
1 = This bit is 1 when the INTx# is asserted.
3
Note that this bit is not set by an MSI.
Reserved.
2:0
1.1.5
RID—Revision Identification Register
(Intel® High Definition Audio Controller—D27:F0)
Offset:
Default Value:
08h
Attribute:
Size:
RO
8 Bits
See bit description
Bit
Description
Revision ID — RO. Refer to the Intel® I/O Controller Hub 7 (ICH7) Family Specification Update for
the value of the Revision ID Register.
7:0
Programmer’s Reference Manual
17
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.6
PI—Programming Interface Register
(Intel® High Definition Audio Controller—D27:F0)
Offset:
Default Value:
09h
00h
Attribute:
Size:
RO
8 bits
Bit
Description
7:0
Programming Interface — RO.
1.1.7
SCC—Sub Class Code Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
0Ah
03h
Attribute:
Size:
RO
8 bits
Bit
Description
Sub Class Code (SCC) — RO.
03h = Audio Device
7:0
1.1.8
1.1.9
BCC—Base Class Code Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
0Bh
04h
Attribute:
Size:
RO
8 bits
Bit
Description
Base Class Code (BCC) — RO.
04h = Multimedia device
7:0
CLS—Cache Line Size Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
0Ch
00h
Attribute:
Size:
R/W
8 bits
Bit
Description
7:0
Cache Line Size — R/W. Implemented as R/W register, but has no functional impact to the ICH7.
18
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.10
1.1.11
1.1.12
LT—Latency Timer Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
0Dh
00h
Attribute:
Size:
RO
8 bits
Bit
Description
7:0
Latency Timer — RO. Hardwired to 00
HEADTYP—Header Type Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
0Eh
00h
Attribute:
Size:
RO
8 bits
Bit
Description
7:0
Header Type — RO. Hardwired to 00.
HDBARL—Intel® High Definition Audio Lower Base
Address Register
(Intel® High Definition Audio—D27:F0)
Address Offset:
Default Value:
10h-13h
00000004h
Attribute:
Size:
R/W, RO
32 bits
Bit
Description
Lower Base Address (LBA) — R/W. This field contains the base address for the Intel® High
31:14 Definition Audio controller’s memory mapped configuration registers; 16 KB are requested by
hardwiring bits 13:4 to 0s.
13:4
3
RO. Hardwired to 0’s
Prefetchable (PREF) — RO. Hardwired to 0 to indicate that this BAR is NOT prefetchable.
Address Range (ADDRNG) — RO. Hardwired to 10b, indicating that this BAR can be located
anywhere in 64-bit address space.
2:1
0
Space Type (SPTYP) — RO. Hardwired to 0. Indicates this BAR is located in memory space.
1.1.13
HDBARU—Intel® High Definition Audio Upper Base
Address Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
14h-17h
00000000h
Attribute:
Size:
R/W
32 bits
Bit
Description
Upper Base Address (UBA) — R/W. This field provides the upper 32 bits of the Base address for
31:0
the Intel® High Definition Audio controller’s memory mapped configuration registers.
Programmer’s Reference Manual
19
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.14
SVID—Subsystem Vendor Identification Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
2Ch–2Dh
0000h
Attribute:
Size:
R/WO
16 bits
The SVID register, in combination with the Subsystem ID register (D27:F0:2Eh), enable the
operating environment to distinguish one audio subsystem from the other(s).
This register is implemented as write-once register. Once a value is written to it, the value can be
read back. Any subsequent writes will have no effect.
This register is not affected by the D3
to D0 transition.
HOT
Bit
Description
15:0
Subsystem Vendor ID — R/WO.
1.1.15
SID—Subsystem Identification Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
2Eh–2Fh
0000h
Attribute:
Size:
R/WO
16 bits
The SID register, in combination with the Subsystem Vendor ID register (D27:F0:2Ch) make it
possible for the operating environment to distinguish one audio subsystem from the other(s).
This register is implemented as write-once register. Once a value is written to it, the value can be
read back. Any subsequent writes will have no effect.
This register is not affected by the D3
to D0 transition.
HOT
T
Bit
Description
15:0
Subsystem ID — R/WO.
20
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.16
CAPPTR—Capabilities Pointer Register (Audio—D30:F2)
Address Offset:
Default Value:
34h
50h
Attribute:
Size:
RO
8 bits
This register indicates the offset for the capability pointer.
Bit
Description
Capabilities Pointer (CAP_PTR) — RO. This field indicates that the first capability pointer offset is
offset 50h (Power Management Capability).
7:0
1.1.17
1.1.18
INTLN—Interrupt Line Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
3Ch
00h
Attribute:
Size:
R/W
8 bits
Bit
Description
Interrupt Line (INT_LN) — R/W. This data is not used by the Intel® ICH7. It is used to communicate
to software the interrupt line that is connected to the interrupt pin.
7:0
INTPN—Interrupt Pin Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
3Dh
See Description
Attribute:
Size:
RO
8 bits
Bit
Description
7:4
3:0
Reserved.
Interrupt Pin — RO. This reflects the value of D27IP.ZIP (Chipset Config Registers:Offset 3110h:
bits 3:0).
Programmer’s Reference Manual
21
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.19
HDCTL—Intel® High Definition Audio Control Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
40h
00h
Attribute:
Size:
R/W, RO
8 bits
Bit
Description
7:4
Reserved.
BITCLK Detect Clear (CLKDETCLR) — R/W.
0 = Clock detect circuit is operational and maybe enabled.
1 = Writing a 1 to this bit clears bit 1 (CLKDET#) in this register. CLKDET# bit remains clear when
this bit is set to 1.
3
NOTE: This bit is not affected by the D3HOT to D0 transition.
BITCLK Detect Enable (CLKDETEN) — R/W.
0 = Latches the current state of bit 1 (CLKDET#) in this register
1 = Enables the clock detection circuit
2
1
NOTE: This bit is not affected by the D3HOT to D0 transition.
BITCLK Detected Inverted (CLKDET#) — RO. This bit is modified by hardware.
It is set to 0 when the Intel® ICH7 detects that the BITCLK is toggling, indicating the presence of an
AC’97 codec on the link
NOTES:
1. Bit 2 (CLKDETEN) and bit 3 (CLKDETCLR) in this register control the operation of this bit and
must be manipulated correctly in order to get a valid CLKDET# indicator.
2. This bit is not affected by the D3HOT to D0 transition.
Intel® High Definition Audio/AC ‘97 Signal Mode — R/W. This bit selects the shared Intel High
Definition Audio/AC ‘97 signals.
0 = AC ’97 mode is selected (Default)
1 = Intel High Definition Audio mode is selected
0
NOTES:
1. This bit has no effect on the visibility of the Intel High Definition Audio and AC ’97 function
configuration space.
2. This bit is in the resume well and only clear on a power-on reset. Software must not makes
assumptions about the reset state of this bit and must set it appropriately.
22
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.20
TCSEL—Traffic Class Select Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
44h
00h
Attribute:
Size:
R/W
8 bits
This register assigned the value to be placed in the TC field. CORB and RIRB data will always be
assigned TC0.
Bit
Description
7:3
Reserved.
Intel® HIgh Definition Audio Traffic Class Assignment (TCSEL)— R/W. This register assigns the
value to be placed in the Traffic Class field for input data, output data, and buffer descriptor
transactions.
000 = TC0
001 = TC1
010 = TC2
011 = TC3
100 = TC4
101 = TC5
110 = TC6
111 = TC7
2:0
NOTE: These bits are not reset on D3HOT to D0 transition; however, they are reset by PLTRST#.
Programmer’s Reference Manual
23
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.21
DCKSTS—Docking Status Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
4Dh
80h
Attribute:
Size:
R/WO, RO
8 bits
Bit
Description
7
6:1
0
BIOS is required to clear this bit.
Reserved.
Reserved.
1.1.22
PID—PCI Power Management Capability ID Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
50h–51h
6001h
Attribute:
Size:
RO
16 bits
Bit
Description
15:8
7:0
Next Capability (Next) — RO. Hardwired to 60h. Points to the next capability structure (MSI).
Cap ID (CAP) — RO. Hardwired to 01h. Indicates that this pointer is a PCI power management
capability.
24
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.23
PC—Power Management Capabilities Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
52h–53h
C842h
Attribute:
Size:
RO
16 bits
Bit
Description
PME Support — RO. Hardwired to 11001b. Indicates PME# can be generated from D3 and D0
states.
15:11
10
9
D2 Support — RO. Hardwired to 0. Indicates that D2 state is not supported.
D1 Support —RO. Hardwired to 0. Indicates that D1 state is not supported.
Aux Current — RO. Hardwired to 001b. Reports 55 mA maximum suspend well current required
when in the D3COLD state.
8:6
5
Device Specific Initialization (DSI) — RO. Hardwired to 0. Indicates that no device specific
initialization is required.
4
3
Reserved
PME Clock (PMEC) — RO. Does not apply. Hardwired to 0.
Version — RO. Hardwired to 010b. Indicates support for version 1.1 of the PCI Power Management
Specification.
2:0
1.1.24
PCS—Power Management Control and Status Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
54h–57h
00000000h
Attribute:
Size:
RO, R/W, R/WC
32 bits
Bit
Description
31:24 Data — RO. Does not apply. Hardwired to 0.
23
22
Bus Power/Clock Control Enable — RO. Does not apply. Hardwired to 0.
B2/B3 Support — RO. Does not apply. Hardwired to 0.
21:16 Reserved.
PME Status (PMES) — R/WC.
0 = Software clears the bit by writing a 1 to it.
1 = This bit is set when the Intel® High Definition Audio controller would normally assert the PME#
signal independent of the state of the PME_EN bit (bit 8 in this register)
15
This bit is in the resume well and only cleared on a power-on reset. Software must not make
assumptions about the reset state of this bit and must set it appropriately.
14:9
Reserved
PME Enable (PMEE) — R/W.
0 = Disable
1 = when set and if corresponding PMES also set, the Intel High Definition Audio controller sets the
AC97_STS bit in the GPE0_STS register (PMBASE +28h). The AC97_STS bit is shared by AC
’97 and Intel High Definition Audio functions since they are mutually exclusive.
8
This bit is in the resume well and only cleared on a power-on reset. Software must not make
assumptions about the reset state of this bit and must set it appropriately.
7:2
Reserved
Programmer’s Reference Manual
25
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
Bit
Description
Power State (PS) — R/W. This field is used both to determine the current power state of the Intel
High Definition Audio controller and to set a new power state.
00 = D0 state
11 = D3HOT state
Others = reserved
1:0
NOTES:
1. If software attempts to write a value of 01b or 10b in to this field, the write operation must
complete normally; however, the data is discarded and no state change occurs.
2. When in the D3HOT states, the Intel High Definition Audio controller’s configuration space is
available, but the I/O and memory space are not. Additionally, interrupts are blocked.
3. When software changes this value from D3HOT state to the D0 state, an internal warm (soft) reset
is generated, and software must re-initialize the function.
1.1.25
1.1.26
MID—MSI Capability ID Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
60h–61h
7005h
Attribute:
Size:
RO
16 bits
Bit
Description
15:8
7:0
Next Capability (Next) — RO. Hardwired to 70h. Points to the PCI Express* capability structure.
Cap ID (CAP) — RO. Hardwired to 05h. Indicates that this pointer is a MSI capability
MMC—MSI Message Control Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
62h–63h
0080h
Attribute:
Size:
RO, R/W
16 bits
Bit
Description
15:8
7
Reserved
64b Address Capability (64ADD) — RO. Hardwired to 1 indicating the ability to generate a 64-bit
message address
Multiple Message Enable (MME) — RO. Normally this is a R/W register. However, since only 1
message is supported, these bits are hardwired to 000 = 1 message.
6:4
3:1
Multiple Message Capable (MMC) — RO. Hardwired to 0 indicating request for 1 message.
MSI Enable (ME) — R/W.
0
0 = an MSI may not be generated
1 = an MSI will be generated instead of an INTx signal.
26
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.27
MMLA—MSI Message Lower Address Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
64h–67h
00000000h
Attribute:
Size:
RO, R/W
32 bits
Bit
Description
31:2
1:0
Message Lower Address (MLA) — R/W. Lower address used for MSI message.
Reserved.
1.1.28
1.1.29
1.1.30
MMUA—MSI Message Upper Address Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
68h–6Bh
00000000h
Attribute:
Size:
R/W
32 bits
Bit
Description
31:0
Message Upper Address (MUA) — R/W. Upper 32-bits of address used for MSI message.
MMD—MSI Message Data Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
6Ch–6Dh
0000h
Attribute:
Size:
R/W
16 bits
Bit
Description
15:0
Message Data (MD) — R/W. Data used for MSI message.
PXID—PCI Express* Capability ID Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
70h-71h
0010h
Attribute:
Size:
RO
16 bits
Bit
Description
Next Capability (Next) — RO. Hardwired to 0. Indicates that this is the last capability structure in the
list.
15:8
7:0
Cap ID (CAP) — RO. Hardwired to 10h. Indicates that this pointer is a PCI Express* capability
structure.
Programmer’s Reference Manual
27
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.31
PXC—PCI Express* Capabilities Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
72h–73h
0091h
Attribute:
Size:
RO
16 bits
Bit
Description
15:14 Reserved
13:9
8
Interrupt Message Number (IMN) — RO. Hardwired to 0.
Slot Implemented (SI) — RO. Hardwired to 0.
Device/Port Type (DPT) — RO. Hardwired to 1001b. Indicates that this is a Root Complex
Integrated endpoint device.
7:4
3:0
Capability Version (CV) — RO. Hardwired to 0001b. Indicates version #1 PCI Express capability.
1.1.32
DEVCAP—Device Capabilities Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
74h–77h
00000000h
Attribute:
Size:
R/WO, RO
32 bits
Bit
Description
31:28 Reserved
27:26 Captured Slot Power Limit Scale (SPLS) — RO. Hardwired to 0.
25:18 Captured Slot Power Limit Value (SPLV) — RO. Hardwired to 0.
17:15 Reserved
14
13
Power Indicator Present — RO. Hardwired to 0.
Attention Indicator Present — RO. Hardwired to 0.
Attention Button Present — RO. Hardwired to 0.
Endpoint L1 Acceptable Latency — R/WO.
Endpoint L0s Acceptable Latency — R/WO.
12
11:9
8:6
5
Extended Tag Field Support — RO. Hardwired to 0. Indicates 5-bit tag field support
Phantom Functions Supported — RO. Hardwired to 0. Indicates that phantom functions are not
supported.
4:3
2:0
Max Payload Size Supported — RO. Hardwired to 0. Indicates 128-B maximum payload size
capability.
28
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.33
DEVC—Device Control Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
78h–79h
0800h
Attribute:
Size:
R/W, RO
16 bits
Bit
Description
15
Reserved
14:12 Max Read Request Size — RO. Hardwired to 0 enabling 128B maximum read request size.
No Snoop Enable (NSNPEN) — R/W.
0 = The Intel® High Definition Audio controller will not set the No Snoop bit. In this case,
isochronous transfers will not use VC1 (VCi) even if it is enabled since VC1 is never snooped.
Isochronous transfers will use VC0.
1 = The Intel High Definition Audio controller is permitted to set the No Snoop bit in the Requester
Attributes of a bus master transaction. In this case, VC0 or VC1 may be used for isochronous
transfers.
11
10
NOTE: This bit is not reset on D3HOT to D0 transition; however, it is reset by PLTRST#.
Auxiliary Power Enable — RO. Hardwired to 0, indicating that Intel High Definition Audio device
does not draw AUX power.
9
8
Phantom Function Enable — RO. Hardwired to 0 disabling phantom functions.
Extended Tag Field Enable — RO. Hardwired to 0 enabling 5-bit tag.
Max Payload Size — RO. Hardwired to 0 indicating 128B.
7:5
4
Enable Relaxed Ordering — RO. Hardwired to 0 disabling relaxed ordering.
Unsupported Request Reporting Enable — RO. Not implemented. Hardwired to 0.
Fatal Error Reporting Enable — RO. Not implemented. Hardwired to 0.
Non-Fatal Error Reporting Enable — RO. Not implemented. Hardwired to 0.
Correctable Error Reporting Enable — RO. Not implemented. Hardwired to 0.
3
2
1
0
1.1.34
DEVS—Device Status Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
7Ah–7Bh
0010h
Attribute:
Size:
RO
16 bits
Bit
Description
15:6
Reserved
Transactions Pending — RO.
0 = Indicates that completions for all non-posted requests have been received.
1 = Indicates that Intel® High Definition Audio controller has issued non-posted requests that have
not been completed.
5
4
3
2
1
0
AUX Power Detected — RO. Hardwired to 1 indicating the device is connected to resume power.
Unsupported Request Detected — RO. Not implemented. Hardwired to 0.
Fatal Error Detected — RO. Not implemented. Hardwired to 0.
Non-Fatal Error Detected — RO. Not implemented. Hardwired to 0.
Correctable Error Detected — RO. Not implemented. Hardwired to 0.
Programmer’s Reference Manual
29
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.35
VCCAP—Virtual Channel Enhanced Capability Header
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
100h–103h
13010002h
Attribute:
Size:
RO
32 bits
Bit
Description
Next Capability Offset — RO. Hardwired to 130h. Points to the next capability header that is the
Root Complex Link Declaration Enhanced Capability Header.
31:20
19:16 Capability Version — RO. Hardwired to 1h.
15:0 PCI Express* Extended Capability — RO. Hardwired to 0002h.
1.1.36
PVCCAP1—Port VC Capability Register 1
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
104h–107h
00000001h
Attribute:
Size:
RO
32 bits
Bit
Description
31:12 Reserved.
11:10 Port Arbitration Table Entry Size — RO. Hardwired to 0 since this is an endpoint device.
9:8
7
Reference Clock — RO. Hardwired to 0 since this is an endpoint device.
Reserved.
Low Priority Extended VC Count — RO. Hardwired to 0. Indicates that only VC0 belongs to the low
priority VC group.
6:4
3
Reserved.
Extended VC Count — RO. Hardwired to 001b. Indicates that 1 extended VC (in addition to VC0) is
supported by the Intel® High Definition Audio controller.
2:0
30
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.37
PVCCAP2 — Port VC Capability Register 2
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
108h–10Bh
00000000h
Attribute:
Size:
RO
32 bits
Bit
Description
VC Arbitration Table Offset — RO. Hardwired to 0 indicating that a VC arbitration table is not
present.
31:24
23:8
Reserved.
VC Arbitration Capability — RO. Hardwired to 0. These bits are not applicable since the Intel® High
Definition Audio controller reports a 0 in the Low Priority Extended VC Count bits in the PVCCAP1
register.
7:0
1.1.38
PVCCTL — Port VC Control Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
10Ch–10Dh
0000h
Attribute:
Size:
RO
16 bits
Bit
Description
15:4
3:1
0
Reserved.
VC Arbitration Select — RO. Hardwired to 0. Normally these bits are R/W. However, these bits are
not applicable since the Intel® High Definition Audio controller reports a 0 in the Low Priority
Extended VC Count bits in the PVCCAP1 register.
Load VC Arbitration Table — RO. Hardwired to 0 since an arbitration table is not present.
1.1.39
PVCSTS—Port VC Status Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
10Eh-10Fh
0000h
Attribute:
Size:
RO
16 bits
Bit
Description
15:1
0
Reserved.
VC Arbitration Table Status — RO. Hardwired to 0 since an arbitration table is not present.
Programmer’s Reference Manual
31
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.40
VC0CAP—VC0 Resource Capability Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
110h–113h
00000000h
Attribute:
Size:
RO
32 bits
Bit
Description
31:24 Port Arbitration Table Offset — RO. Hardwired to 0 since this field is not valid for endpoint devices.
23 Reserved.
22:16 Maximum Time Slots — RO. Hardwired to 0 since this field is not valid for endpoint devices.
15
14
Reject Snoop Transactions — RO. Hardwired to 0 since this field is not valid for endpoint devices.
Advanced Packet Switching — RO. Hardwired to 0 since this field is not valid for endpoint devices.
Reserved.
13:8
7:0
Port Arbitration Capability — RO. Hardwired to 0 since this field is not valid for endpoint devices.
1.1.41
VC0CTL—VC0 Resource Control Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
114h–117h
800000FFh
Attribute:
Size:
R/W, RO
32 bits
Bit
Description
31
VC0 Enable — RO. Hardwired to 1 for VC0.
30:27 Reserved.
26:24 VC0 ID — RO. Hardwired to 0 since the first VC is always assigned as VC0.
23:20 Reserved.
19:17 Port Arbitration Select — RO. Hardwired to 0 since this field is not valid for endpoint devices.
16
Load Port Arbitration Table — RO. Hardwired to 0 since this field is not valid for endpoint devices.
Reserved.
15:8
TC/VC0 Map — R/W, RO. Bit 0 is hardwired to 1 since TC0 is always mapped VC0. Bits [7:1] are
implemented as R/W bits.
7:0
1.1.42
VC0STS—VC0 Resource Status Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
11Ah–11Bh
0000h
Attribute:
Size:
RO
16 bits
Bit
Description
15:2
1
Reserved.
VC0 Negotiation Pending — RO. Hardwired to 0 since this bit does not apply to the integrated Intel®
High Definition Audio device.
0
Port Arbitration Table Status — RO. Hardwired to 0 since this field is not valid for endpoint devices.
32
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.43
VCiCAP—VCi Resource Capability Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
11Ch–11Fh
00000000h
Attribute:
Size:
RO
32 bits
Bit
Description
31:24 Port Arbitration Table Offset — RO. Hardwired to 0 since this field is not valid for endpoint devices.
23 Reserved.
22:16 Maximum Time Slots — RO. Hardwired to 0 since this field is not valid for endpoint devices.
15
14
Reject Snoop Transactions — RO. Hardwired to 0 since this field is not valid for endpoint devices.
Advanced Packet Switching — RO. Hardwired to 0 since this field is not valid for endpoint devices.
Reserved
13:8
7:0
Port Arbitration Capability — RO. Hardwired to 0 since this field is not valid for endpoint devices.
1.1.44
VCiCTL—VCi Resource Control Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
120h–123h
00000000h
Attribute:
Size:
R/W, RO
32 bits
Bit
Description
VCi Enable — R/W.
0 = VCi is disabled
1 = VCi is enabled
31
NOTE: This bit is not reset on D3HOT to D0 transition; however, it is reset by PLTRST#.
30:27 Reserved.
VCi ID — R/W. This field assigns a VC ID to the VCi resource. This field is not used by the ICH7
26:24
hardware, but it is R/W to avoid confusing software.
23:20 Reserved.
19:17 Port Arbitration Select — RO. Hardwired to 0 since this field is not valid for endpoint devices.
16
Load Port Arbitration Table — RO. Hardwired to 0 since this field is not valid for endpoint devices.
Reserved.
15:8
TC/VCi Map — R/W, RO. This field indicates the TCs that are mapped to the VCi resource. Bit 0 is
hardwired to 0 indicating that it cannot be mapped to VCi. Bits [7:1] are implemented as R/W bits.
This field is not used by the ICH7 hardware, but it is R/W to avoid confusing software.
7:0
Programmer’s Reference Manual
33
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.45
VCiSTS—VCi Resource Status Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
126h–127h
0000h
Attribute:
Size:
RO
16 bits
Bit
Description
15:2
1
Reserved.
VCi Negotiation Pending — RO. Does not apply. Hardwired to 0.
Port Arbitration Table Status — RO. Hardwired to 0 since this field is not valid for endpoint devices.
0
1.1.46
RCCAP—Root Complex Link Declaration Enhanced
Capability Header Register (Intel® High Definition Audio
Controller—D27:F0)
Address Offset:
Default Value:
130h–133h
00010005h
Attribute:
Size:
RO
32 bits
Bit
Description
31:20 Next Capability Offset — RO. Hardwired to 0 indicating this is the last capability.
19:16 Capability Version — RO. Hardwired to 1h.
15:0
PCI Express* Extended Capability ID — RO. Hardwired to 0005h.
1.1.47
ESD—Element Self Description Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
134h–137h
0F000100h
Attribute:
Size:
RO
32 bits
Bit
Description
Port Number — RO. Hardwired to 0Fh indicating that the Intel® High Definition Audio controller is
assigned as Port #15d.
31:24
23:16
Component ID — RO. This field returns the value of the ESD.CID field of the chip configuration
section. ESD.CID is programmed by BIOS.
Number of Link Entries — RO. The Intel High Definition Audio only connects to one device, the ICH7
egress port. Therefore this field reports a value of 1h.
15:8
7:4
Reserved.
Element Type (ELTYP) — RO. The Intel High Definition Audio controller is an integrated Root
Complex Device. Therefore, the field reports a value of 0h.
3:0
34
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.1.48
L1DESC—Link 1 Description Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
140h–143h
00000001h
Attribute:
Size:
RO
32 bits
Bit
Description
Target Port Number — RO. The Intel® High Definition Audio controller targets the Intel® ICH7’s Port
#0.
31:24
23:16
Target Component ID — RO. This field returns the value of the ESD.CID field of the chip
configuration section. ESD.CID is programmed by BIOS.
15:2
1
Reserved.
Link Type — RO. Hardwired to 0 indicating Type 0.
Link Valid — RO. Hardwired to 1.
0
1.1.49
L1ADDL—Link 1 Lower Address Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
148h–14Bh
See Register Description
Attribute:
Size:
RO
32 bits
Bit
Description
Link 1 Lower Address — RO. Hardwired to match the RCBA register value in the PCI-LPC bridge
(D31:F0:F0h).
31:14
13:0
Reserved.
1.1.50
L1ADDU—Link 1 Upper Address Register
(Intel® High Definition Audio Controller—D27:F0)
Address Offset:
Default Value:
14Ch–14Fh
00000000h
Attribute:
Size:
RO
32 bits
Bit
Description
31:0
Link 1 Upper Address — RO. Hardwired to 00000000h.
Programmer’s Reference Manual
35
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2
Intel® High Definition Audio Memory Mapped
Configuration Registers
(Intel® High Definition Audio— D27:F0)
The base memory location for these memory mapped configuration registers is specified in the
HDBAR register (D27:F0:offset 10h and D27:F0:offset 14h). The individual registers are then
These memory mapped registers must be accessed in byte, word, or DWord quantities.
®
Table 1-2. Intel High Definition Audio PCI Register Address Map
®
(Intel High Definition Audio D27:F0) (Sheet 1 of 4)
HDBAR +
Offset
Mnemonic
Register Name
Default
Access
00h–01h
02h
GCAP
VMIN
Global Capabilities
4401h
00h
RO
RO
Minor Version
03h
VMAJ
Major Version
01h
RO
04h–05h
06h–07h
08h–0Bh
0Ch–0Dh
0Eh–0Fh
10h–11h
12h–13h
18h–19h
1Ah–1Bh
1Ch–1Fh
20h–23h
24h–27h
30h–33h
34h–37h
40h–43h
44h–47h
48h–49h
4Ah–4Bh
4Ch
OUTPAY
INPAY
Output Payload Capability
Input Payload Capability
Global Control
003Ch
RO
001Dh
RO
GCTL
00000000h
0000h
R/W
R/W
R/WC
R/WC
RO
WAKEEN
STATESTS
GSTS
Wake Enable
State Change Status
Global Status
0000h
0000h
Rsv
Reserved
0000h
OUTSTRMPAY Output Stream Payload Capability
0030h
RO
INSTRMPAY
Rsv
Input Stream Payload Capability
Reserved
0018h
RO
00000000h
00000000h
00000000h
00000000h
00000000h
00000000h
00000000h
0000h
RO
INTCTL
INTSTS
WALCLK
SSYNC
Interrupt Control
R/W
RO
Interrupt Status
Wall Clock Counter
Stream Synchronization
RO
R/W
R/W, RO
R/W
R/W
R/W
R/W
R/WC
RO
CORBLBASE CORB Lower Base Address
CORBUBASE CORB Upper Base Address
CORBWP
CORBRP
CORB Write Pointer
CORB Read Pointer
CORB Control
0000h
CORBCTL
CORBST
00h
4Dh
CORB Status
00h
4Eh
CORBSIZE
RIRBLBASE
RIRBUBASE
RIRBWP
CORB Size
42h
50h–53h
54h–57h
58h–59h
5Ah–5Bh
RIRB Lower Base Address
RIRB Upper Base Address
RIRB Write Pointer
Response Interrupt Count
00000000h
00000000h
0000h
R/W, RO
R/W
R/W, RO
R/W
RINTCNT
0000h
36
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
®
Table 1-2. Intel High Definition Audio PCI Register Address Map
®
(Intel High Definition Audio D27:F0) (Sheet 2 of 4)
HDBAR +
Offset
Mnemonic
Register Name
Default
Access
5Ch
RIRBCTL
RIRBSTS
RIRBSIZE
IC
RIRB Control
RIRB Status
RIRB Size
00h
00h
R/W
R/WC
RO
5Dh
5Eh
42h
60h–63h
64h–67h
68h–69h
70h–73h
74h–77h
80–82h
83h
Immediate Command
00000000h
00000000h
0000h
R/W
IR
Immediate Response
RO
IRS
Immediate Command Status
DMA Position Lower Base Address
DMA Position Upper Base Address
Input Stream Descriptor 0 (ISD0) Control
ISD0 Status
R/W, R/WC
R/W, RO
R/W
DPLBASE
DPUBASE
ISD0CTL
ISD0STS
ISD0LPIB
ISD0CBL
ISD0LVI
ISD0FIFOW
ISD0FIFOS
ISD0FMT
00000000h
00000000h
040000h
00h
R/W, RO
R/WC, RO
RO
84h–87h
88h–8Bh
8Ch–8Dh
8Eh–8F
90h–91h
92h–93h
ISD0 Link Position in Buffer
ISD0 Cyclic Buffer Length
ISD0 Last Valid Index
00000000h
00000000h
0000h
R/W
R/W
ISD0 FIFO Watermark
ISD0 FIFO Size
0004h
R/W
0077h
RO
ISD0 Format
0000h
R/W
ISD0 Buffer Descriptor List Pointer-Lower
Base Address
98h–9Bh
9Ch–9Fh
ISD0BDPL
ISD0BDPU
00000000h
00000000h
R/W, RO
R/W
ISD0 Buffer Description List Pointer-Upper
Base Address
A0h–A2h
A3h
ISD1CTL
ISD1STS
ISD1LPIB
ISD1CBL
ISD1LVI
Input Stream Descriptor 1(ISD01) Control
ISD1 Status
040000h
00h
R/W, RO
R/WC, RO
RO
A4h–A7h
A8h–ABh
ACh–ADh
AEh–AFh
B0h–B1h
B2–B3h
ISD1 Link Position in Buffer
ISD1 Cyclic Buffer Length
ISD1 Last Valid Index
ISD1 FIFO Watermark
ISD1 FIFO Size
00000000h
00000000h
0000h
R/W
R/W
ISD1FIFOW
ISD1FIFOS
ISD1FMT
0004h
R/W
0077h
RO
ISD1 Format
0000h
R/W
ISD1 Buffer Descriptor List Pointer-Lower
Base Address
B8–BBh
ISD1BDPL
ISD1BDPU
00000000h
00000000h
R/W, RO
R/W
ISD1 Buffer Description List Pointer-Upper
Base Address
BCh–BFh
C0h–C2h
C3h
ISD2CTL
ISD2STS
ISD2LPIB
ISD2CBL
ISD2LVI
Input Stream Descriptor 2 (ISD2) Control
ISD2 Status
040000h
00h
R/W, RO
R/WC, RO
RO
Ch4–C7h
C8h–CBh
CCh–CDh
CEh–CFh
ISD2 Link Position in Buffer
ISD2 Cyclic Buffer Length
ISD2 Last Valid Index
00000000h
00000000h
0000h
R/W
R/W
ISD1FIFOW
ISD1 FIFO Watermark
0004h
R/W
Programmer’s Reference Manual
37
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
®
Table 1-2. Intel High Definition Audio PCI Register Address Map
®
(Intel High Definition Audio D27:F0) (Sheet 3 of 4)
HDBAR +
Offset
Mnemonic
Register Name
Default
Access
D0h–D1h
D2h–D3h
ISD2FIFOS
ISD2FMT
ISD2 FIFO Size
0077h
0000h
RO
ISD2 Format
R/W
ISD2 Buffer Descriptor List Pointer-Lower
Base Address
D8h–DBh
DCh–DFh
ISD2BDPL
ISD2BDPU
00000000h
00000000h
R/W, RO
R/W
ISD2 Buffer Description List Pointer-Upper
Base Address
E0h–E2h
E3h
ISD3CTL
ISD3STS
ISD3LPIB
ISD3CBL
ISD3LVI
Input Stream Descriptor 3 (ISD3) Control
ISD3 Status
040000h
00h
R/W, RO
R/WC, RO
RO
E4h–E7h
E8h–EBh
ECh–EDh
EEh–EFh
F0h–F1h
F2h–F3h
ISD3 Link Position in Buffer
ISD3 Cyclic Buffer Length
ISD3 Last Valid Index
ISD3 FIFO Watermark
ISD3 FIFO Size
00000000h
00000000h
0000h
R/W
R/W
ISD3FIFOW
ISD3FIFOS
ISD3FMT
0004h
R/W
0077h
RO
ISD3 Format
0000h
R/W
ISD3 Buffer Descriptor List Pointer-Lower
Base Address
F8h–FBh
FCh–FFh
ISD3BDPL
ISD3BDPU
00000000h
00000000h
R/W, RO
R/W
ISD3 Buffer Description List Pointer-Upper
Base Address
100h–102h
103h
OSD0CTL
OSD0STS
OSD0LPIB
OSD0CBL
OSD0LVI
Output Stream Descriptor 0 (OSD0) Control
OSD0 Status
040000h
00h
R/W, RO
R/WC, RO
RO
104h–107h
108h–10Bh
10Ch–10Dh
10Eh–10Fh
110h–111h
112–113h
OSD0 Link Position in Buffer
OSD0 Cyclic Buffer Length
OSD0 Last Valid Index
OSD0 FIFO Watermark
OSD0 FIFO Size
00000000h
00000000h
0000h
R/W
R/W
OSD0FIFOW
OSD0FIFOS
OSD0FMT
0004h
R/W
00BFh
R/W
OSD0 Format
0000h
R/W
OSD0 Buffer Descriptor List Pointer-Lower
Base Address
118h–11Bh
11Ch–11Fh
OSD0BDPL
OSD0BDPU
00000000h
00000000h
R/W, RO
R/W
OSD0 Buffer Description List Pointer-Upper
Base Address
120h–122h
123h
OSD1CTL
OSD1STS
OSD1LPIB
OSD1CBL
OSD1LVI
Output Stream Descriptor 1 (OSD1) Control
OSD1 Status
040000h
00h
R/W, RO
R/WC, RO
RO
124h–127h
128h–12Bh
12Ch–12Dh
12Eh–12Fh
130h–131h
132h–133h
OSD1 Link Position in Buffer
OSD1 Cyclic Buffer Length
OSD1 Last Valid Index
OSD1 FIFO Watermark
OSD1 FIFO Size
00000000h
00000000h
0000h
R/W
R/W
OSD1FIFOW
OSD1FIFOS
OSD1FMT
0004h
R/W
00BFh
R/W
OSD1 Format
0000h
R/W
38
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
®
Table 1-2. Intel High Definition Audio PCI Register Address Map
®
(Intel High Definition Audio D27:F0) (Sheet 4 of 4)
HDBAR +
Offset
Mnemonic
Register Name
Default
Access
OSD1 Buffer Descriptor List Pointer-Lower
Base Address
138h–13Bh
OSD1BDPL
OSD1BDPU
00000000h
00000000h
R/W, RO
R/W
OSD1 Buffer Description List Pointer-Upper
Base Address
13Ch–13Fh
140h–142h
143h
OSD2CTL
OSD2STS
OSD2LPIB
OSD2CBL
OSD2LVI
Output Stream Descriptor 2 (OSD2) Control
OSD2 Status
040000h
00h
R/W, RO
R/WC, RO
RO
144h–147h
148h–14Bh
14Ch–14Dh
14Eh–14Fh
150h–151h
152h–153h
OSD2 Link Position in Buffer
OSD2 Cyclic Buffer Length
OSD2 Last Valid Index
OSD2 FIFO Watermark
OSD2 FIFO Size
00000000h
00000000h
0000h
R/W
R/W
OSD2FIFOW
OSD2FIFOS
OSD2FMT
0004h
R/W
00BFh
R/W
OSD2 Format
0000h
R/W
OSD2 Buffer Descriptor List Pointer-Lower
Base Address
158h–15Bh
15Ch–15Fh
OSD2BDPL
OSD2BDPU
00000000h
00000000h
R/W, RO
R/W
OSD2 Buffer Description List Pointer-Upper
Base Address
160h–162h
163h
OSD3CTL
OSD3STS
OSD3LPIB
OSD3CBL
OSD3LVI
Output Stream Descriptor 3 (OSD3) Control
OSD3 Status
040000h
00h
R/W, RO
R/WC, RO
RO
164h–167h
168h–16Bh
16Ch–16Dh
16Eh–16Fh
170h–171h
172h–173h
OSD3 Link Position in Buffer
OSD3 Cyclic Buffer Length
OSD3 Last Valid Index
OSD3 FIFO Watermark
OSD3 FIFO Size
00000000h
00000000h
0000h
R/W
R/W
OSD3FIFOW
OSD3FIFOS
OSD3FMT
0004h
R/W
00BFh
R/W
OSD3 Format
0000h
R/W
OSD3 Buffer Descriptor List Pointer-Lower
Base Address
178h–17Bh
17Ch–17Fh
OSD3BDPL
OSD3BDPU
00000000h
00000000h
R/W, RO
R/W
OSD3 Buffer Description List Pointer-Upper
Base Address
Programmer’s Reference Manual
39
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.1
GCAP—Global Capabilities Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 00h
Attribute:
Size:
RO
16 bits
Default Value:
4401h
Bit
Description
Number of Output Stream Supported — RO. Hardwired to 0100b indicating that the ICH7 Intel® High
Definition Audio controller supports 4 output streams.
15:12
11:8
Number of Input Stream Supported — RO. Hardwired to 0100b indicating that the ICH7 Intel High
Definition Audio controller supports 4 input streams.
Number of Bidirectional Stream Supported — RO. Hardwired to 0 indicating that the ICH7 Intel High
Definition Audio controller supports 0 bidirectional stream.
7:3
2
Reserved.
Number of Serial Data Out Signals — RO. Hardwired to 0 indicating that the ICH7 Intel High
Definition Audio controller supports 1 serial data output signal.
1
64-bit Address Supported — RO. Hardwired to 1b indicating that the ICH7 Intel High Definition
Audio controller supports 64-bit addressing for BDL addresses, data buffer addressees, and
command buffer addresses.
0
1.2.2
1.2.3
VMIN—Minor Version Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 02h
Attribute:
Size:
RO
8 bits
Default Value:
00h
Bit
Description
Minor Version — RO. Hardwired to 0 indicating that the Intel® ICH7 supports minor revision number
00h of the Intel® High Definition Audio specification.
7:0
VMAJ—Major Version Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 03h
Attribute:
Size:
RO
8 bits
Default Value:
01h
Bit
Description
Major Version — RO. Hardwired to 01h indicating that the Intel® ICH7 supports major revision
number 1 of the Intel® High Definition Audio specification.
7:0
40
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.4
OUTPAY—Output Payload Capability Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 04h
Attribute:
Size:
RO
16 bits
Default Value:
003Ch
Bit
Description
15:7
6:0
Reserved.
Output Payload Capability — RO. Hardwired to 3Ch indicating 60 word payload.
This field indicates the total output payload available on the link. This does not include bandwidth
used for command and control. This measurement is in 16-bit word quantities per 48 MHz frame.
The default link clock of 24.000 MHz (the data is double pumped) provides 1000 bits per frame, or
62.5 words in total. 40 bits are used for command and control, leaving 60 words available for data
payload.
00h = 0 word
01h = 1 word payload.
.....
FFh = 256 word payload.
1.2.5
INPAY—Input Payload Capability Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 06h
Attribute:
Size:
RO
16 bits
Default Value:
001Dh
Bit
Description
15:7
6:0
Reserved.
Input Payload Capability — RO. Hardwired to 1Dh indicating 29 word payload.
This field indicates the total output payload available on the link. This does not include bandwidth
used for response. This measurement is in 16-bit word quantities per 48 MHz frame. The default link
clock of 24.000 MHz provides 500 bits per frame, or 31.25 words in total. 36 bits are used for
response, leaving 29 words available for data payload.
00h = 0 word
01h = 1 word payload.
.....
FFh = 256 word payload.
Programmer’s Reference Manual
41
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.6
GCTL—Global Control Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 08h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
31:9
Reserved.
Accept Unsolicited Response Enable — R/W.
0 = Unsolicited responses from the codecs are not accepted.
1 = Unsolicited response from the codecs are accepted by the controller and placed into the
Response Input Ring Buffer.
8
7:2
Reserved.
Flush Control — R/W.
0 = Flush Not in progress.
1 = Writing a 1 to this bit initiates a flush. When the flush completion is received by the controller,
hardware sets the Flush Status bit and clears this Flush Control bit. Before a flush cycle is
initiated, the DMA Position Buffer must be programmed with a valid memory address by
software, but the DMA Position Buffer bit 0 needs not be set to enable the position reporting
mechanism. Also, all streams must be stopped (the associated RUN bit must be 0).
1
When the flush is initiated, the controller will flush the pipelines to memory to ensure that the
hardware is ready to transition to a D3 state. Setting this bit is not a critical step in the power state
transition if the content of the FIFIOs is not critical.
Controller Reset # — R/W.
0 = Writing a 0 to this bit causes the Intel® High Definition Audio controller to be reset. All state
machines, FIFOs, and non-resume well memory mapped configuration registers (not PCI
configuration registers) in the controller will be reset. The Intel High Definition Audio link
RESET# signal will be asserted, and all other link signals will be driven to their default values.
After the hardware has completed sequencing into the reset state, it will report a 0 in this bit.
Software must read a 0 from this bit to verify the controller is in reset.
1 = Writing a 1 to this bit causes the controller to exit its reset state and deassert the Intel High
Definition Audio link RESET# signal. Software is responsible for setting/clearing this bit such
that the minimum Intel High Definition Audio link RESET# signal assertion pulse width
specification is met. When the controller hardware is ready to begin operation, it will report a 1
in this bit. Software must read a 1 from this bit before accessing any controller registers. This
bit defaults to a 0 after Hardware reset, therefore, software needs to write a 1 to this bit to
begin operation.
0
NOTES:
1. The CORB/RIRB RUN bits and all stream RUN bits must be verified cleared to 0 before writing
a 0 to this bit in order to assure a clean re-start.
2. When setting or clearing this bit, software must ensure that minimum link timing requirements
(minimum RESET# assertion time, etc.) are met.
3. When this bit is 0 indicating that the controller is in reset, writes to all Intel High Definition Audio
memory mapped registers are ignored as if the device is not present. The only exception is this
register itself. The Global Control register is write-able as a DWord, Word, or Byte even when
CRST# (this bit) is 0 if the byte enable for the byte containing the CRST# bit (Byte Enable 0) is
active. If Byte Enable 0 is not active, writes to the Global Control register will be ignored when
CRST# is 0. When CRST# is 0, reads to Intel High Definition Audio memory mapped registers
will return their default value except for registers that are not reset with PLTRST# or on a
D3HOT to D0 transition.
42
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.7
WAKEEN—Wake Enable Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 0Ch
Attribute:
Size:
R/W
16 bits
Default Value:
0000h
Bit
Description
15:3
2:0
Reserved.
SDIN Wake Enable Flags — R/W. These bits control which SDI signal(s) may generate a wake
event. A 1b in the bit mask indicates that the associated SDIN signal is enabled to generate a wake.
Bit 0 is used for SDI0
Bit 1 is used for SDI1
Bit 2 is used for SDI2
NOTE: These bits are in the resume well and only cleared on a power on reset. Software must not
make assumptions about the reset state of these bits and must set them appropriately.
1.2.8
STATESTS—State Change Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 0Eh
Attribute:
Size:
R/WC
16 bits
Default Value:
0000h
Bit
Description
15:3
2:0
Reserved.
SDIN State Change Status Flags — R/WC. Flag bits that indicate which SDI signal(s) received a
state change event. The bits are cleared by writing 1’s to them.
Bit 0 = SDI0
Bit 1 = SDI1
Bit 2 = SDI2
NOTE: These bits are in the resume well and only cleared on a power on reset. Software must not
make assumptions about the reset state of these bits and must set them appropriately.
Programmer’s Reference Manual
43
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.9
GSTS—Global Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 10h
Attribute:
Size:
R/WC
16 bits
Default Value:
0000h
Bit
Description
15:4
3
Reserved.
Reserved
2
Reserved
Flush Status — R/WC.
0 = Flush not completed
1 = This bit is set to 1 by hardware to indicate that the flush cycle initiated when the Flush
Control bit (HDBAR + 08h, bit 1) was set has completed.
1
0
NOTE: Software must write a 1 to clear this bit before the next time the Flush Control bit is set to
clear the bit.
Reserved.
1.2.10
OUTSTRMPAY—Output Stream Payload Capability
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 18h
Attribute:
Size:
RO
16 bits
Default Value:
0030h
Bit
Description
Output FIFO Padding Type (OPADTYPE)— RO: This field indicates how the controller pads the
samples in the controller's buffer (FIFO). Controllers may not pad at all or may pad to byte or
memory container sizes.
15:14
0h = Controller pads all samples to bytes
1h = Reserved
2h = Controller pads to memory container size
3h = Controller does not pad and uses samples directly
Output Stream Payload Capability (OUTSTRMPAY)— RO: This field indicates maximum number
of words per frame for any single output stream. This measurement is in 16 bit word quantities per
48 kHz frame. The maximum supported is 48 Words (96B); therefore, a value of 30h is reported in
this register. The value does not specify the number of words actually transmitted in the frame, but is
the size of the data in the controller buffer (FIFO) after the samples are padded as specified by
OPADTYPE. Thus, to compute the supported streams, each sample is padded according to
OPADTYPE and then multiplied by the number of channels and samples per frame. If this computed
value is larger than OUTSTRMPAY, then that stream is not supported. The value specified is not
affected by striping.
13:0
Software must ensure that a format that would cause more Words per frame than indicated is not
programmed into the Output Stream Descriptor Register.
The value may be larger than the OUTPAY register value in some cases.
44
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.11
INSTRMPAY—Input Stream Payload Capability
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 1Ah
Attribute:
Size:
RO
16 bits
Default Value:
0018h
Bit
Description
Input FIFO Padding Type (IPADTYPE)— RO: This field indicates how the controller pads the
samples in the controller's buffer (FIFO). Controllers may not pad at all or may pad to byte or
memory container sizes.
15:14
0h = Controller pads all samples to bytes
1h = Reserved
2h = Controller pads to memory container size
3h = Controller does not pad and uses samples directly
Input Stream Payload Capability (INSTRMPAY)— RO: This field indicates the maximum number
of Words per frame for any single input stream. This measurement is in 16-bit Word quantities per
48-kHz frame. The maximum supported is 24 Words (48B); therefore, a value of 18h is reported in
this register.
The value does not specify the number of words actually transmitted in the frame, but is the size of
the data as it will be placed into the controller's buffer (FIFO). Thus, samples will be padded
according to IPADTYPE before being stored into controller buffer. To compute the supported
streams, each sample is padded according to IPADTYPE and then multiplied by the number of
channels and samples per frame. If this computed value is larger than INSTRMPAY, then that
stream is not supported. As the inbound stream tag is not stored with the samples it is not included
in the word count.
13:0
The value may be larger than INPAY register value in some cases, although values less than INPAY
may also be invalid due to overhead. Software must ensure that a format that would cause more
Words per frame than indicated is not programmed into the Input Stream Descriptor Register.
Programmer’s Reference Manual
45
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.12
INTCTL—Interrupt Control Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 20h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
Global Interrupt Enable (GIE) — R/W. Global bit to enable device interrupt generation.
0 = Disable.
1 = Enable. The Intel® High Definition Audio function is enabled to generate an interrupt. This
control is in addition to any bits in the bus specific address space, such as the Interrupt Enable
bit in the PCI configuration space.
31
NOTE: This bit is not affected by the D3HOT to D0 transition.
Controller Interrupt Enable (CIE) — R/W. Enables the general interrupt for controller functions.
0 = Disable.
1 = Enable. The controller generates an interrupt when the corresponding status bit gets set due to
a Response Interrupt, a Response Buffer Overrun, and State Change events.
30
NOTE: This bit is not affected by the D3HOT to D0 transition.
Reserved
29:8
Stream Interrupt Enable (SIE) — R/W.
0 = Disable.
1 = Enable. When set to 1, the individual streams are enabled to generate an interrupt when the
corresponding status bits get set.
A stream interrupt will be caused as a result of a buffer with IOC = 1in the BDL entry being
completed, or as a result of a FIFO error (underrun or overrun) occurring. Control over the
generation of each of these sources is in the associated Stream Descriptor.
The streams are numbered and the SIE bits assigned sequentially, based on their order in the
register set.
7:0
Bit 0: input stream 1
Bit 1: input stream 2
Bit 2: input stream 3
Bit 3: input stream 4
Bit 4: output stream 1
Bit 5: output stream 2
Bit 6: output stream 3
Bit 7: output stream 4
46
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.13
INTSTS—Interrupt Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 24h
Attribute:
Size:
RO
32 bits
Default Value:
00000000h
Bit
Description
Global Interrupt Status (GIS) — RO. This bit is an OR of all the interrupt status bits in this register.
31
NOTE: This bit is not affected by the D3HOT to D0 transition.
Controller Interrupt Status (CIS) — RO. Status of general controller interrupt.
0 = An interrupt condition did Not occur as described below.
1 = An interrupt condition occurred due to a Response Interrupt, a Response Buffer Overrun
Interrupt, or a SDIN State Change event. The exact cause can be determined by interrogating
other registers. This bit is an OR of all of the stated interrupt status bits for this register.
30
NOTES:
1. This bit is set regardless of the state of the corresponding interrupt enable bit, but a hardware
interrupt will not be generated unless the corresponding enable bit is set.
2. This bit is not affected by the D3HOT to D0 transition.
29:8
Reserved
Stream Interrupt Status (SIS) — RO.
0 = An interrupt condition did Not occur on the corresponding stream.
1 = An interrupt condition occurred on the corresponding stream. This bit is an OR of all of the
stream’s interrupt status bits.
NOTE: These bits are set regardless of the state of the corresponding interrupt enable bits.
The streams are numbered and the SIE bits assigned sequentially, based on their order in the
register set.
Bit 0: input stream 1
Bit 1: input stream 2
Bit 2: input stream 3
Bit 3: input stream 4
Bit 4: output stream 1
Bit 5: output stream 2
Bit 6: output stream 3
Bit 7: output stream 4
7:0
1.2.14
WALCLK—Wall Clock Counter Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 30h
Attribute:
Size:
RO
32 bits
Default Value:
00000000h
Bit
Description
Wall Clock Counter — RO. This 32-bit counter field is incremented on each link BCLK period and
rolls over from FFFF FFFFh to 0000 0000h. This counter will roll over to 0 with a period of
approximately 179 seconds.
31:0
This counter is enabled while the BCLK bit is set to 1. Software uses this counter to synchronize
between multiple controllers. Will be reset on controller reset.
Programmer’s Reference Manual
47
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.15
SSYNC—Stream Synchronization Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 34h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
31:8
Reserved
Stream Synchronization (SSYNC) — R/W.
0 = Data is Not blocked from being sent on or received from the link
1 = The set bits block data from being sent on or received from the link. Each bit controls the
associated stream descriptor (i.e., bit 0 corresponds to the first stream descriptor, etc.)
To synchronously start a set of DMA engines, these bits are first set to 1. The RUN bits for the
associated stream descriptors are then set to 1 to start the DMA engines. When all streams are
ready (FIFORDY =1), the associated SSYNC bits can all be set to 0 at the same time, and
transmission or reception of bits to or from the link will begin together at the start of the next full link
frame.
To synchronously stop the streams, first these bits are set, and then the individual RUN bits in the
stream descriptor are cleared by software.
If synchronization is not desired, these bits may be left as 0, and the stream will simply begin running
normally when the stream’s RUN bit is set.
7:0
The streams are numbered and the SIE bits assigned sequentially, based on their order in the
register set.
Bit 0: input stream 1
Bit 1: input stream 2
Bit 2: input stream 3
Bit 3: input stream 4
Bit 4: output stream 1
Bit 5: output stream 2
Bit 6: output stream 3
Bit 7: output stream 4
1.2.16
CORBLBASE—CORB Lower Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 40h
Attribute:
Size:
R/W, RO
32 bits
Default Value:
00000000h
Bit
Description
CORB Lower Base Address — R/W. Lower address of the Command Output Ring Buffer, allowing
the CORB base address to be assigned on any 128-B boundary. This register field must not be
written when the DMA engine is running or the DMA transfer may be corrupted.
31:7
6:0
CORB Lower Base Unimplemented Bits — RO. Hardwired to 0. This requires the CORB to be
allocated with 128B granularity to allow for cache line fetch optimizations.
48
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.17
CORBUBASE—CORB Upper Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 44h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
CORB Upper Base Address — R/W. Upper 32 bits of the address of the Command Output Ring
buffer. This register field must not be written when the DMA engine is running or the DMA transfer
may be corrupted.
31:0
1.2.18
CORBWP—CORB Write Pointer Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 48h
Attribute:
Size:
R/W
16 bits
Default Value:
0000h
Bit
Description
15:8
Reserved.
CORB Write Pointer — R/W. Software writes the last valid CORB entry offset into this field in
DWord granularity. The DMA engine fetches commands from the CORB until the Read pointer
matches the Write pointer. Supports 256 CORB entries (256x4B = 1KB). This register field may be
written when the DMA engine is running.
7:0
1.2.19
CORBRP—CORB Read Pointer Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 4Ah
Attribute:
Size:
R/W
16 bits
Default Value:
0000h
Bit
Description
CORB Read Pointer Reset — R/W. Software writes a 1 to this bit to reset the CORB Read Pointer
to 0 and clear any residual prefetched commands in the CORB hardware buffer within the Intel®
High Definition Audio controller. The hardware will physically update this bit to 1 when the CORB
Pointer reset is complete. Software must read a 1 to verify that the reset completed correctly.
Software must clear this bit back to 0 and read back the 0 to verify that the clear completed correctly.
The CORB DMA engine must be stopped prior to resetting the Read Pointer or else DMA transfer
may be corrupted.
15
14:8
7:0
Reserved.
CORB Read Pointer (CORBRP)— RO. Software reads this field to determine how many commands
it can write to the CORB without over-running. The value read indicates the CORB Read Pointer
offset in DWord granularity. The offset entry read from this field has been successfully fetched by the
DMA controller and may be over-written by software. Supports 256 CORB entries (256 x 4B=1KB).
This field may be read while the DMA engine is running.
Programmer’s Reference Manual
49
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.20
CORBCTL—CORB Control Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 4Ch
Attribute:
Size:
R/W
8 bits
Default Value:
00h
Bit
Description
7:2
Reserved.
Enable CORB DMA Engine — R/W. After software writes a 0 to this bit, the hardware may not stop
immediately. The hardware will physically update the bit to 0 when the DMA engine is truly stopped.
Software must read a 0 from this bit to verify that the DMA engine is truly stopped.
1
0 = DMA stop
1 = DMA run
CORB Memory Error Interrupt Enable — R/W.
0 = Disable.
0
1 = Enable. The controller will generate an interrupt if the CMEI status bit (HDBAR + 4Dh: bit 0) is
set.
1.2.21
CORBST—CORB Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 4Dh
Attribute:
Size:
R/WC
8 bits
Default Value:
00h
Bit
Description
7:1
0
Reserved.
CORB Memory Error Indication (CMEI) — R/WC.
0 = Error Not detected.
1 = The controller has detected an error in the path way between the controller and memory. This
may be an ECC bit error or any other type of detectable data error which renders the command
data fetched invalid.
NOTE: Software can clear this bit by writing a 1 to it. However, this type of error leaves the audio
subsystem in an un-viable state and typically requires a controller reset by writing a 0 to the
Controller Reset # bit (HDBAR + 08h: bit 0).
1.2.22
CORBSIZE—CORB Size Register
Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 4Eh
Attribute:
Size:
RO
8 bits
Default Value:
42h
Bit
Description
CORB Size Capability — RO. Hardwired to 0100b indicating that the ICH7 only supports a CORB
size of 256 CORB entries (1024B).
7:4
3:2
1:0
Reserved.
CORB Size — RO. Hardwired to 10b which sets the CORB size to 256 entries (1024B).
50
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.23
RIRBLBASE—RIRB Lower Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 50h
Attribute:
Size:
R/W, RO
32 bits
Default Value:
00000000h
Bit
Description
CORB Lower Base Address — R/W. Lower address of the Response Input Ring Buffer, allowing
the RIRB base address to be assigned on any 128-B boundary. This register field must not be
written when the DMA engine is running or the DMA transfer may be corrupted.
31:7
6:0
RIRB Lower Base Unimplemented Bits — RO. Hardwired to 0. This required the RIRB to be
allocated with 128-B granularity to allow for cache line fetch optimizations.
1.2.24
RIRBUBASE—RIRB Upper Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 54h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
RIRB Upper Base Address — R/W. Upper 32 bits of the address of the Response Input Ring
Buffer. This register field must not be written when the DMA engine is running or the DMA transfer
may be corrupted.
31:0
1.2.25
RIRBWP—RIRB Write Pointer Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 58h
Attribute:
Size:
R/W, RO
16 bits
Default Value:
0000h
Bit
Description
RIRB Write Pointer Reset — R/W. Software writes a 1 to this bit to reset the RIRB Write Pointer to
0. The RIRB DMA engine must be stopped prior to resetting the Write Pointer or else DMA transfer
may be corrupted.
15
This bit is always read as 0.
Reserved.
14:8
RIRB Write Pointer (RIRBWP) — RO. Indicates the last valid RIRB entry written by the DMA
controller. Software reads this field to determine how many responses it can read from the RIRB.
The value read indicates the RIRB Write Pointer offset in 2 DWord RIRB entry units (since each
RIRB entry is 2 DWords long). Supports up to 256 RIRB entries (256 x 8 B = 2 KB). This register
field may be written when the DMA engine is running.
7:0
Programmer’s Reference Manual
51
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.26
RINTCNT—Response Interrupt Count Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 5Ah
Attribute:
Size:
R/W
16 bits
Default Value:
0000h
Bit
Description
15:8
31:0
Reserved.
N Response Interrupt Count — R/W.
0000 0001b = 1 response sent to RIRB
...........
1111 1111b = 255 responses sent to RIRB
0000 0000b = 256 responses sent to RIRB
The DMA engine should be stopped when changing this field or else an interrupt may be lost.
Note that each response occupies 2 DWords in the RIRB.
This is compared to the total number of responses that have been returned, as opposed to the
number of frames in which there were responses. If more than one codec responds in one frame,
then the count is increased by the number of responses received in the frame.
1.2.27
RIRBCTL—RIRB Control Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 5Ch
Attribute:
Size:
R/W
8 bits
Default Value:
00h
Bit
Description
7:3
Reserved.
Response Overrun Interrupt Control — R/W.
0 = Hardware will Not generated an interrupt as described below.
1 = The hardware will generate an interrupt when the Response Overrun Interrupt Status bit
(HDBAR + 5Dh: bit 2) is set.
2
Enable RIRB DMA Engine — R/W. After software writes a 0 to this bit, the hardware may not stop
immediately. The hardware will physically update the bit to 0 when the DMA engine is truly stopped.
Software must read a 0 from this bit to verify that the DMA engine is truly stopped.
1
0
0 = DMA stop
1 = DMA run
Response Interrupt Control — R/W.
0 = Disable Interrupt
1 = Generate an interrupt after N number of responses are sent to the RIRB buffer OR when an
empty Response slot is encountered on all SDI[x] inputs (whichever occurs first). The N counter
is reset when the interrupt is generated.
52
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.28
RIRBSTS—RIRB Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 5Dh
Attribute:
Size:
R/WC
8 bits
Default Value:
00h
Bit
Description
7:3
2
Reserved.
Response Overrun Interrupt Status — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = Software sets this bit to 1 when the RIRB DMA engine is not able to write the incoming
responses to memory before additional incoming responses overrun the internal FIFO. When
the overrun occurs, the hardware will drop the responses that overrun the buffer. An interrupt
may be generated if the Response Overrun Interrupt Control bit is set. Note that this status bit is
set even if an interrupt is not enabled for this event.
1
0
Reserved.
Response Interrupt — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = Hardware sets this bit to 1 when an interrupt has been generated after N number of Responses
are sent to the RIRB buffer OR when an empty Response slot is encountered on all SDI[x]
inputs (whichever occurs first). Note that this status bit is set even if an interrupt is not enabled
for this event.
1.2.29
RIRBSIZE—RIRB Size Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 5Eh
Attribute:
Size:
RO
8 bits
Default Value:
42h
Bit
Description
RIRB Size Capability — RO. Hardwired to 0100b indicating that the ICH7 only supports a RIRB size
of 256 RIRB entries (2048B)
7:4
3:2
1:0
Reserved.
RIRB Size — RO. Hardwired to 10b which sets the CORB size to 256 entries (2048B)
1.2.30
IC—Immediate Command Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 60h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
Immediate Command Write — R/W. The command to be sent to the codec via the Immediate
Command mechanism is written to this register. The command stored in this register is sent out over
the link during the next available frame after a 1 is written to the ICB bit (HDBAR + 68h: bit 0)
31:0
Programmer’s Reference Manual
53
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.31
IR—Immediate Response Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 64h
Attribute:
Size:
RO
32 bits
Default Value:
00000000h
Bit
Description
Immediate Response Read (IRR) — RO. This register contains the response received from a codec
resulting from a command sent via the Immediate Command mechanism.
31:0
If multiple codecs responded in the same time, there is no assurance as to which response will be
latched. Therefore, broadcast-type commands must not be issued via the Immediate Command
mechanism.
1.2.32
IRS—Immediate Command Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 68h
Attribute:
Size:
R/W, R/WC
16 bits
Default Value:
0000h
Bit
Description
15:2
Reserved.
Immediate Result Valid (IRV) — R/WC.
0 = Software must clear this bit by writing a 1 to it before issuing a new command so that the
software may determine when a new response has arrived.
1 = Set to 1 by hardware when a new response is latched into the Immediate Response register
(HDBAR + 64). This is a status flag indicating that software may read the response from the
Immediate Response register.
1
Immediate Command Busy (ICB) — R/W. When this bit is read as 0, it indicates that a new
command may be issued using the Immediate Command mechanism. When this bit transitions from
0-to-1 (via software writing a 1), the controller issues the command currently stored in the Immediate
Command register to the codec over the link. When the corresponding response is latched into the
Immediate Response register, the controller hardware sets the IRV flag and clears the ICB bit back
to 0.
0
NOTE: An Immediate Command must not be issued while the CORB/RIRB mechanism is
operating, otherwise the responses conflict. This must be enforced by software.
54
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.33
DPLBASE—DMA Position Lower Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 70h
Attribute:
Size:
R/W, RO
32 bits
Default Value:
00000000h
Bit
Description
DMA Position Lower Base Address — R/W. Lower 32 bits of the DMA Position Buffer Base
Address. This register field must not be written when any DMA engine is running or the DMA
transfer may be corrupted. This same address is used by the Flush Control and must be
programmed with a valid value before the Flush Control bit (HDBAR+08h:bit 1) is set.
31:7
6:1
DMA Position Lower Base Unimplemented bits — RO. Hardwired to 0 to force the 128-byte buffer
alignment for cache line write optimizations.
DMA Position Buffer Enable — R/W.
0 = Disable.
0
1 = Enable. The controller will write the DMA positions of each of the DMA engines to the buffer in
the main memory periodically (typically once per frame). Software can use this value to
determine what data in memory is valid data.
1.2.34
DPUBASE—DMA Position Upper Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: HDBAR + 74h
Attribute:
Size:
R/W
32 bits
Default Value:
00000000h
Bit
Description
DMA Position Upper Base Address — R/W. Upper 32 bits of the DMA Position Buffer Base
Address. This register field must not be written when any DMA engine is running or the DMA
transfer may be corrupted.
31:0
1.2.35
SDCTL—Stream Descriptor Control Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 80h
Input Stream[1]: HDBAR + A0h
Attribute:
R/W, RO
Input Stream[2]: HDBAR + C0h
Input Stream[3]: HDBAR + E0h
Output Stream[0]: HDBAR + 100h
Output Stream[1]: HDBAR + 120h
Output Stream[2]: HDBAR + 140h
Output Stream[3]: HDBAR + 160h
Default Value:
040000h
Size:
24 bits
Programmer’s Reference Manual
55
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
Bit
Description
Stream Number — R/W. This value reflects the Tag associated with the data being transferred on
the link.
When data controlled by this descriptor is sent out over the link, it will have its stream number
encoded on the SYNC signal.
When an input stream is detected on any of the SDI signals that match this value, the data samples
are loaded into FIFO associated with this descriptor.
Note that while a single SDI input may contain data from more than one stream number, two different
SDI inputs may not be configured with the same stream number.
23:20
0000 = Reserved
0001 = Stream 1
........
1110 = Stream 14
1111 = Stream 15
Bidirectional Direction Control — RO. This bit is only meaningful for bidirectional streams; therefore,
this bit is hardwired to 0.
19
18
Traffic Priority — RO. Hardwired to 1 indicating that all streams will use VC1 if it is enabled through
the PCI Express* registers.
17:16 Stripe Control — RO. This bit is only meaningful for input streams; therefore, this bit is hardwired to 0.
15:5
Reserved
Descriptor Error Interrupt Enable — R/W.
0 = Disable
4
1 = An interrupt is generated when the Descriptor Error Status bit is set.
FIFO Error Interrupt Enable — R/W.
0 = Disable.
3
2
1 = Enable. This bit controls whether the occurrence of a FIFO error (overrun for input or underrun
for output) will cause an interrupt or not. If this bit is not set, bit 3 in the Status register will be set,
but the interrupt will not occur. Either way, the samples will be dropped.
Interrupt on Completion Enable — R/W.
0 = Disable.
1 = Enable. This bit controls whether or not an interrupt occurs when a buffer completes with the
IOC bit set in its descriptor. If this bit is not set, bit 2 in the Status register will be set, but the
interrupt will not occur.
Stream Run (RUN) — R/W.
0 = Disable. The DMA engine associated with this input stream will be disabled. The hardware will
report a 0 in this bit when the DMA engine is actually stopped. Software must read a 0 from this
bit before modifying related control registers or restarting the DMA engine.
1
1 = Enable. The DMA engine associated with this input stream will be enabled to transfer data from
the FIFO to the main memory. The SSYNC bit must also be cleared in order for the DMA engine
to run. For output streams, the cadence generator is reset whenever the RUN bit is set.
Stream Reset (SRST) — R/W.
0 = Writing a 0 causes the corresponding stream to exit reset. When the stream hardware is ready
to begin operation, it will report a 0 in this bit. Software must read a 0 from this bit before
accessing any of the stream registers.
1 = Writing a 1 causes the corresponding stream to be reset. The Stream Descriptor registers
(except the SRST bit itself) and FIFO’s for the corresponding stream are reset. After the stream
hardware has completed sequencing into the reset state, it will report a 1 in this bit. Software
must read a 1 from this bit to verify that the stream is in reset. The RUN bit must be cleared
before SRST is asserted.
0
56
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.36
SDSTS—Stream Descriptor Status Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 83h
Input Stream[1]: HDBAR + A3h
Attribute:
R/WC, RO
Input Stream[2]: HDBAR + C3h
Input Stream[3]: HDBAR + E3h
Output Stream[0]: HDBAR + 103h
Output Stream[1]: HDBAR + 123h
Output Stream[2]: HDBAR + 143h
Output Stream[3]: HDBAR + 163h
Default Value:
00h
Size:
8 bits
Bit
Description
7:6
Reserved.
FIFO Ready (FIFORDY) — RO.
For output streams, the controller hardware will set this bit to 1 while the output DMA FIFO contains
enough data to maintain the stream on the link. This bit defaults to 0 on reset because the FIFO is
cleared on a reset.
5
For input streams, the controller hardware will set this bit to 1 when a valid descriptor is loaded and
the engine is ready for the RUN bit to be set.
Descriptor Error — R/WC.
0 = No error detected.
1 = A serious error occurred during the fetch of a descriptor. This could be a result of a Master
Abort, a parity or ECC error on the bus, or any other error which renders the current Buffer
Descriptor or Buffer Descriptor list useless. This error is treated as a fatal stream error, as the
stream cannot continue running. The RUN bit will be cleared and the stream will stop.
4
NOTE: Software may attempt to restart the stream engine after addressing the cause of the error
and writing a 1 to this bit to clear it.
FIFO Error — R/WC. The bit is cleared by writing a 1 to it.
0 = No error detected.
1 = FIFO error occurred. This bit is set even if an interrupt is not enabled.
For an input stream, this indicates a FIFO overrun occurring while the RUN bit is set. When this
happens, the FIFO pointers do not increment and the incoming data is not written into the FIFO,
thereby being lost.
3
For an output stream, this indicates a FIFO underrun when there are still buffers to send. The
hardware should not transmit anything on the link for the associated stream if there is not valid data
to send.
Buffer Completion Interrupt Status — R/WC.
0 = Last sample of a buffer has Not been processed as described below.
1 = Set to 1 by the hardware after the last sample of a buffer has been processed, AND if the
Interrupt on Completion bit is set in the command byte of the buffer descriptor. It remains active
until software clears it by writing a 1 to it.
2
1:0
Reserved.
Programmer’s Reference Manual
57
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.37
SDLPIB—Stream Descriptor Link Position in Buffer
Register (Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 84h
Input Stream[1]: HDBAR + A4h
Attribute:
RO
Input Stream[2]: HDBAR + C4h
Input Stream[3]: HDBAR + E4h
Output Stream[0]: HDBAR + 104h
Output Stream[1]: HDBAR + 124h
Output Stream[2]: HDBAR + 144h
Output Stream[3]: HDBAR + 164h
Default Value:
00000000h
Size:
32 bits
Bit
Description
Link Position in Buffer — RO. Indicates the number of bytes that have been received off the link.
This register will count from 0 to the value in the Cyclic Buffer Length register and then wrap to 0.
31:0
1.2.38
SDCBL—Stream Descriptor Cyclic Buffer Length Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 88h
Input Stream[1]: HDBAR + A8h
Attribute:
R/W
Input Stream[2]: HDBAR + C8h
Input Stream[3]: HDBAR + E8h
Output Stream[0]: HDBAR + 108h
Output Stream[1]: HDBAR + 128h
Output Stream[2]: HDBAR + 148h
Output Stream[3]: HDBAR + 168h
Default Value:
00000000h
Size:
32 bits
Bit
Description
Cyclic Buffer Length — R/W. Indicates the number of bytes in the complete cyclic buffer. This
register represents an integer number of samples. Link Position in Buffer will be reset when it
reaches this value.
31:0
Software may only write to this register after Global Reset, Controller Reset, or Stream Reset has
occurred. This value should be only modified when the RUN bit is 0. Once the RUN bit has been set
to enable the engine, software must not write to this register until after the next reset is asserted, or
transfer may be corrupted.
58
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.39
SDLVI—Stream Descriptor Last Valid Index Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 8Ch
Input Stream[1]: HDBAR + ACh
Attribute:
R/W
Input Stream[2]: HDBAR + CCh
Input Stream[3]: HDBAR + ECh
Output Stream[0]: HDBAR + 10Ch
Output Stream[1]: HDBAR + 12Ch
Output Stream[2]: HDBAR + 14Ch
Output Stream[3]: HDBAR + 16Ch
Default Value:
0000h
Size:
16 bits
Bit
Description
15:8
Reserved.
Last Valid Index — R/W. The value written to this register indicates the index for the last valid Buffer
Descriptor in BDL. After the controller has processed this descriptor, it will wrap back to the first
descriptor in the list and continue processing.
7:0
This field must be at least 1 (i.e., there must be at least 2 valid entries in the buffer descriptor list
before DMA operations can begin).
This value should only be modified when the RUN bit is 0.
1.2.40
SDFIFOW—Stream Descriptor FIFO Watermark Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 8Eh
Input Stream[1]: HDBAR + AEh
Attribute:
R/W
Input Stream[2]: HDBAR + CEh
Input Stream[3]: HDBAR + EEh
Output Stream[0]: HDBAR + 10Eh
Output Stream[1]: HDBAR + 12Eh
Output Stream[2]: HDBAR + 14Eh
Output Stream[3]: HDBAR + 16Eh
Default Value:
0004h
Size:
16 bits
Bit
Description
15:3
Reserved.
FIFO Watermark (FIFOW) — R/W. Indicates the minimum number of bytes accumulated/free in the
FIFO before the controller will start a fetch/eviction of data.
010 = 8B
011 = 16B
100 = 32B (Default)
Others = Unsupported
2:0
NOTES:
1. When the bit field is programmed to an unsupported size, the hardware sets itself to the default
value.
2. Software must read the bit field to test if the value is supported after setting the bit field.
Programmer’s Reference Manual
59
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.41
SDFIFOS—Stream Descriptor FIFO Size Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 90h
Input Stream[1]: HDBAR + B0h
Attribute:
Output:
Input: RO
R/W
Input Stream[2]: HDBAR + D0h
Input Stream[3]: HDBAR + F0h
Output Stream[0]: HDBAR + 110h
Output Stream[1]: HDBAR + 130h
Output Stream[2]: HDBAR + 150h
Output Stream[3]: HDBAR + 170h
Default Value:
Input Stream: 0077h
Output Stream: 00BFh
Size:
16 bits
Bit
Description
15:8
Reserved.
FIFO Size — RO (Input stream), R/W (Output stream). Indicates the maximum number of bytes that
could be fetched by the controller at one time. This is the maximum number of bytes that may have
been DMA’d into memory but not yet transmitted on the link, and is also the maximum possible value
that the PICB count will increase by at one time.
The value in this field is different for input and output streams. It is also dependent on the Bits per
Samples setting for the corresponding stream. Following are the values read/written from/to this
register for input and output streams, and for non-padded and padded bit formats:
Output Stream R/W value:
Value
Output Streams
0Fh = 16B
1Fh = 32B
3Fh = 64B
7Fh = 128B
BFh = 192B
FFh = 256B
8, 16, 20, 24, or 32 bit Output Streams
8, 16, 20, 24, or 32 bit Output Streams
8, 16, 20, 24, or 32 bit Output Streams
8, 16, 20, 24, or 32 bit Output Streams
8, 16, or 32 bit Output Streams
7:0
20, 24 bit Output Streams
NOTES:
1. All other values not listed are not supported.
2. When the output stream is programmed to an unsupported size, the hardware sets itself to the
default value (BFh).
3. Software must read the bit field to test if the value is supported after setting the bit field.
Input Stream RO value:
Value
Input Streams
77h = 120B
9Fh = 160B
8, 16, 32 bit Input Streams
20, 24 bit Input Streams
NOTE: The default value is different for input and output streams, and reflects the default state of
the BITS fields (in Stream Descriptor Format registers) for the corresponding stream.
60
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.42
SDFMT—Stream Descriptor Format Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 92h
Input Stream[1]: HDBAR + B2h
Attribute:
R/W
Input Stream[2]: HDBAR + D2h
Input Stream[3]: HDBAR + F2h
Output Stream[0]: HDBAR + 112h
Output Stream[1]: HDBAR + 132h
Output Stream[2]: HDBAR + 152h
Output Stream[3]: HDBAR + 172h
Default Value:
0000h
Size:
16 bits
Bit
Description
15
Reserved.
Sample Base Rate — R/W
0 = 48 kHz
14
1 = 44.1 kHz
Sample Base Rate Multiple — R/W
000 = 48 kHz, 44.1 kHz or less
001 = x2 (96 kHz, 88.2 kHz, 32 kHz)
010 = x3 (144 kHz)
13:11
011 = x4 (192 kHz, 176.4 kHz)
Others = Reserved.
Sample Base Rate Devisor — R/W.
000 = Divide by 1(48 kHz, 44.1 kHz)
001 = Divide by 2 (24 kHz, 22.05 kHz)
010 = Divide by 3 (16 kHz, 32 kHz)
011 = Divide by 4 (11.025 kHz)
100 = Divide by 5 (9.6 kHz)
10:8
101 = Divide by 6 (8 kHz)
110 = Divide by 7
111 = Divide by 8 (6 kHz)
7
Reserved.
Bits per Sample (BITS) — R/W.
000 = 8 bits. The data will be packed in memory in 8-bit containers on 16-bit boundaries
001 = 16 bits. The data will be packed in memory in 16-bit containers on 16-bit boundaries
010 = 20 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries
011 = 24 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries
100 = 32 bits. The data will be packed in memory in 32-bit containers on 32-bit boundaries
Others = Reserved.
6:4
Number of Channels (CHAN) — R/W. Indicates number of channels in each frame of the stream.
0000 =1
0001 =2
........
3:0
1111 =16
Programmer’s Reference Manual
61
Download from Www.Somanuals.com. All Manuals Search And Download.
®
Intel High Definition Audio Controller Registers (D27:F0)
1.2.43
SDBDPL—Stream Descriptor Buffer Descriptor List Pointer
Lower Base Address Register
(Intel® High Definition Audio Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 98h
Input Stream[1]: HDBAR + B8h
Attribute:
R/W,RO
Input Stream[2]: HDBAR + D8h
Input Stream[3]: HDBAR + F8h
Output Stream[0]: HDBAR + 118h
Output Stream[1]: HDBAR + 138h
Output Stream[2]: HDBAR + 158h
Output Stream[3]: HDBAR + 178h
Default Value:
00000000h
Size:
32 bits
Bit
Description
Buffer Descriptor List Pointer Lower Base Address — R/W. Lower address of the Buffer
Descriptor List. This value should only be modified when the RUN bit is 0, or DMA transfer may be
corrupted.
31:7
6:0
Hardwired to 0 forcing alignment on 128-B boundaries.
1.2.44
SDBDPU—Stream Descriptor Buffer Descriptor List Pointer
Upper Base Address Register (Intel® High Definition Audio
Controller—D27:F0)
Memory Address: Input Stream[0]: HDBAR + 9Ch
Input Stream[1]: HDBAR + BCh
Attribute:
R/W
Input Stream[2]: HDBAR + DCh
Input Stream[3]: HDBAR + FCh
Output Stream[0]: HDBAR + 11Ch
Output Stream[1]: HDBAR + 13Ch
Output Stream[2]: HDBAR + 15Ch
Output Stream[3]: HDBAR + 17Ch
Default Value:
00000000h
Size:
32 bits
Bit
Description
Buffer Descriptor List Pointer Upper Base Address — R/W. Upper 32-bit address of the Buffer
Descriptor List. This value should only be modified when the RUN bit is 0, or DMA transfer may be
corrupted.
31:0
§
62
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2 AC ’97 Audio Controller Registers
(D30:F2)
2.1
AC ’97 Audio PCI Configuration Space
(Audio—D30:F2)
Note: Registers that are not shown should be treated as Reserved.
Table 2-1. AC ‘97 Audio PCI Register Address Map (Audio—D30:F2)
Offset
Mnemonic
Register Name
Vendor Identification
Default
Access
00h–01h
VID
8086h
RO
See register
description.
02h–03h
DID
Device Identification
RO
04h–05h
06h–07h
PCICMD
PCISTS
PCI Command
PCI Status
0000h
0280h
R/W, RO
R/WC, RO
See register
description
08h
RID
Revision Identification
RO
09h
0Ah
PI
SCC
Programming Interface
Sub Class Code
Base Class Code
Header Type
00
01h
RO
RO
0Bh
BCC
04h
RO
0Eh
HEADTYP
00h
RO
10h–13h
14h–17h
18h–1Bh
1Ch–1Fh
2Ch–2Dh
2Eh–2Fh
34h
NAMBBAR Native Audio Mixer Base Address
00000001h
00000001h
00000000h
00000000h
0000h
R/W, RO
R/W, RO
R/W, RO
R/W, RO
R/WO
R/WO
RO
NAMMBAR Native Audio Bus Mastering Base Address
MMBAR
MBBAR
SVID
Mixer Base Address (Mem)
Bus Master Base Address (Mem)
Subsystem Vendor Identification
Subsystem Identification
Capabilities Pointer
SID
0000h
CAP_PTR
INT_LN
50h
3Ch
Interrupt Line
00h
R/W
See register
description
3Dh
INT_PN
Interrupt Pin
RO
40h
PCID
CFG
PID
Programmable Codec ID
09h
00h
R/W
R/W
41h
Configuration
50h–51h
52h–53h
54h–55h
PCI Power Management Capability ID
PC -Power Management Capabilities
Power Management Control and Status
0001h
C9C2h
0000h
RO
PC
RO
PCS
R/W, R/WC
Note: Internal reset as a result of D3
to D0 transition will reset all the core well registers except the
HOT
following BIOS programmed registers as BIOS may not be invoked following the D3-to-D0
transition. All resume well registers will not be reset by the D3 to D0 transition.
HOT
Programmer’s Reference Manual
63
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
Core well registers not reset by the D3
to D0 transition:
HOT
• offset 2Ch–2Dh – Subsystem Vendor ID (SVID)
• offset 2Eh–2Fh – Subsystem ID (SID)
• offset 40h – Programmable Codec ID (PCID)
• offset 41h – Configuration (CFG)
Resume well registers will not be reset by the D3
to D0 transition:
HOT
• offset 54h–55h – Power Management Control and Status (PCS)
• Bus Mastering Register: Global Status Register, bits 17:16
• Bus Mastering Register: SDATA_IN MAP register, bits 7:3
2.1.1
2.1.2
VID—Vendor Identification Register (Audio—D30:F2)
Offset:
Default Value:
Lockable:
00h–01h
8086h
No
Attribute:
Size:
Power Well:
RO
16 Bits
Core
Bit
Description
Vendor ID. This is a 16-bit value assigned to Intel.
15:0
DID—Device Identification Register (Audio—D30:F2)
Offset:
Default Value:
02h–03h
See bit description
Attribute:
Size:
RO
16 Bits
Lockable:
No
Power Well:
Core
Bit
Description
Device ID — RO. This is a 16-bit value assigned to the Intel® ICH7 AC ‘97 Audio controller. Refer to
the Intel® I/O Controller Hub 7 (ICH7) Family Specification Update for the value of the Device ID
Register.
15:0
64
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.3
PCICMD—PCI Command Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
04h–05h
0000h
No
Attribute:
Size:
Power Well:
R/W, RO
16 bits
Core
PCICMD is a 16-bit control register. Refer to the PCI 2.3 specification for complete details on each
bit.
Bit
Description
15:11 Reserved. Read 0.
Interrupt Disable (ID) — R/W.
10
0 = The INTx# signals may be asserted and MSIs may be generated.
1 = The AC ‘97 controller’s INTx# signal will be de-asserted and it may not generate MSIs.
9
8
7
6
5
4
3
Fast Back to Back Enable (FBE) — RO. Not implemented. Hardwired to 0.
SERR# Enable (SERR_EN) — RO. Not implemented. Hardwired to 0.
Wait Cycle Control (WCC) — RO. Not implemented. Hardwired to 0.
Parity Error Response (PER) — RO. Not implemented. Hardwired to 0.
VGA Palette Snoop (VPS). Not implemented. Hardwired to 0.
Memory Write and Invalidate Enable (MWIE) — RO. Not implemented. Hardwired to 0.
Special Cycle Enable (SCE). Not implemented. Hardwired to 0.
Bus Master Enable (BME) — R/W. Controls standard PCI bus mastering capabilities.
2
1
0 = Disable
1 = Enable
Memory Space Enable (MSE) — R/W. Enables memory space addresses to the AC ’97 Audio
controller.
0 = Disable
1 = Enable
I/O Space Enable (IOSE) — R/W. This bit controls access to the AC ’97 Audio controller I/O space
registers.
0 = Disable (Default).
1 = Enable access to I/O space. The Native PCI Mode Base Address register should be
programmed prior to setting this bit.
0
NOTE: This bit becomes writable when the IOSE bit in offset 41h is set. If at any point software
decides to clear the IOSE bit, software must first clear the IOS bit.
Programmer’s Reference Manual
65
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.4
PCISTS—PCI Status Register (Audio—D30:F2)
Offset:
Default Value
Lockable:
06h–07h
0280h
No
Attribute:
Size:
Power Well:
RO, R/WC
16 bits
Core
PCISTA is a 16-bit status register. Refer to the PCI 2.3 specification for complete details on each
bit.
Bit
Description
15
14
Detected Parity Error (DPE). Not implemented. Hardwired to 0.
Signaled System Error (SSE) — RO. Not implemented. Hardwired to 0.
Master Abort Status (MAS) — R/WC. Software clears this bit by writing a 1 to it.
13
0 = No master abort generated.
1 = Bus Master AC '97 2.3 interface function, as a master, generates a master abort.
12
11
Reserved — RO. Will always read as 0.
Signaled Target Abort (STA) — RO. Not implemented. Hardwired to 0.
DEVSEL# Timing Status (DEV_STS) — RO. This 2-bit field reflects the ICH7's DEVSEL# timing
when performing a positive decode.
10:9
01b = Medium timing.
8
7
Data Parity Error Detected (DPED) — RO. Not implemented. Hardwired to 0.
Fast Back to Back Capable (FB2BC) — RO. Hardwired to 1. This bit indicates that the ICH7 as a
target is capable of fast back-to-back transactions.
6
5
UDF Supported — RO. Not implemented. Hardwired to 0.
66 MHz Capable (66MHZ_CAP) — RO. Hardwired to 0.
Capabilities List (CAP_LIST) — RO. Indicates that the controller contains a capabilities pointer list.
The first item is pointed to by looking at configuration offset 34h.
4
Interrupt Status (IS) — RO.
3
0 = This bit is 0 after the interrupt is cleared.
1 = This bit is 1 when the INTx# is asserted.
2:0
Reserved.
66
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.5
RID—Revision Identification Register (Audio—D30:F2)
Offset:
Default Value:
Lockable:
08h
Attribute:
Size:
Power Well:
RO
8 Bits
Core
See bit description
No
Bit
Description
Revision ID — RO. Refer to the Intel® I/O Controller Hub 7 (ICH7) Family Specification Update for
the value of the Revision ID Register.
7:0
2.1.6
2.1.7
PI—Programming Interface Register (Audio—D30:F2)
Offset:
Default Value:
Lockable:
09h
00h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
7:0
Programming Interface — RO.
SCC—Sub Class Code Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
0Ah
01h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
Sub Class Code (SCC) — RO.
01h = Audio Device
7:0
2.1.8
BCC—Base Class Code Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
0Bh
04h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
Base Class Code (BCC) — RO.
04h = Multimedia device
7:0
Programmer’s Reference Manual
67
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.9
HEADTYP—Header Type Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
0Eh
00h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
7:0
Header Type — RO. Hardwired to 00h.
2.1.10
NAMBAR—Native Audio Mixer Base Address Register
(Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
10–13h
00000001h
No
Attribute:
Size:
Power Well:
R/W, RO
32 bits
Core
The Native PCI Mode Audio function uses PCI Base Address register #1 to request a contiguous
block of I/O space that is to be used for the Native Audio Mixer software interface. The mixer
requires 256 bytes of I/O space. Native Audio Mixer and Modem codec I/O registers are located
from 00h to 7Fh and reside in the codec. Access to these registers will be decoded by the AC '97
controller and forwarded over the AC-link to the codec. The codec will then respond with the
register value.
In the case of the split codec implementation, accesses to the different codecs are differentiated by
the controller by using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh
for the secondary codec.
Note: The tertiary codec cannot be addressed via this address space. The tertiary space is only available
from the new MMBAR register. This register powers up as read only and only becomes write-able
when the IOSE bit in offset 41h is set.
For description of these I/O registers, refer to the Audio Codec ‘97 Component Specification,
Version 2.3.
Bit
Description
31:16 Hardwired to 0’s.
Base Address — R/W. These bits are used in the I/O space decode of the Native Audio Mixer
interface registers. The number of upper bits that a device actually implements depends on how
much of the address space the device will respond to. For the AC ‘97 mixer, the upper 16 bits are
hardwired to 0, while bits 15:8 are programmable. This configuration yields a maximum I/O block
size of 256 bytes for this base address.
15:8
7:1
0
Reserved. Read as 0s.
Resource Type Indicator (RTE) — RO. This bit defaults to 0 and changes to 1 if the IOSE bit is set
(D30:F2:Offset 41h, bit 0). When 1, this bit indicates a request for I/O space.
68
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.11
NABMBAR—Native Audio Bus Mastering Base Address
Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
14h–17h
00000001h
No
Attribute:
Size:
Power Well:
R/W, RO
32 bits
Core
The Native PCI Mode Audio function uses PCI Base Address register #1 to request a contiguous
block of I/O space that is to be used for the Native Mode Audio software interface.
Note: The DMA registers for S/PDIF* and Microphone In 2 cannot be addressed via this address space.
These DMA functions are only available from the new MBBAR register. This register powers up
as read only and only becomes write-able when the IOSE bit in offset 41h is set.
Bit
Description
31:16 Hardwired to 0’s
Base Address — R/W. These bits are used in the I/O space decode of the Native Audio Bus
Mastering interface registers. The number of upper bits that a device actually implements depends
on how much of the address space the device will respond to. For AC '97 bus mastering, the upper
16 bits are hardwired to 0, while bits 15:6 are programmable. This configuration yields a maximum
I/O block size of 64 bytes for this base address.
15:6
5:1
0
Reserved. Read as 0’s.
Resource Type Indicator (RTE) — RO. This bit defaults to 0 and changes to 1 if the IOSE bit is set
(D30:F2:Offset 41h, bit 0). When 1, this bit indicates a request for I/O space.
2.1.12
MMBAR—Mixer Base Address Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
18h–1Bh
00000000h
No
Attribute:
Size:
Power Well:
R/W, RO
32 bits
Core
This BAR creates 512 bytes of memory space to signify the base address of the register space. The
lower 256 bytes of this space map to the same registers as the 256-byte I/O space pointed to by
NAMBAR. The lower 384 bytes are divided as follows:
• 128 bytes for the primary codec (offsets 00–7Fh)
• 128 bytes for the secondary codec (offsets 80–FFh)
• 128 bytes for the tertiary codec (offsets 100h–17Fh).
• 128 bytes of reserved space (offsets 180h–1FFh), returning all 0’s.
Bit
Description
Base Address — R/W. This field provides the lower 32-bits of the 512-byte memory offset to use for
decoding the primary, secondary, and tertiary codec’s mixer spaces.
31:9
8:3
2:1
0
Reserved. Read as 0’s.
Type — RO. Hardwired to 00b to Indicate the base address exists in 32-bit address space
Resource Type Indicator (RTE) — RO. Hardwired to 0 to indicate a request for memory space.
Programmer’s Reference Manual
69
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.13
MBBAR—Bus Master Base Address Register
(Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
1Ch–1Fh
00000000h
No
Attribute:
Size:
Power Well:
R/W, RO
32 bits
Core
This BAR creates 256-bytes of memory space to signify the base address of the bus master
memory space. The lower 64-bytes of the space pointed to by this register point to the same
registers as the MBBAR.
Bit
Description
Base Address — R/W. This field provides the I/O offset to use for decoding the PCM In, PCM Out,
and Microphone 1 DMA engines.
31:8
7:3
2:1
0
Reserved. Read as 0’s.
Type — RO. Hardwired to 00b to indicate the base address exists in 32-bit address space
Resource Type Indicator (RTE) — RO. Hardwired to 0 to indicate a request for memory space.
2.1.14
SVID—Subsystem Vendor Identification Register
(Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
2Ch–2Dh
0000h
No
Attribute:
Size:
Power Well:
R/WO
16 bits
Core
The SVID register, in combination with the Subsystem ID register (D30:F2:2Eh), enable the
operating environment to distinguish one audio subsystem from the other(s).
This register is implemented as write-once register. Once a value is written to it, the value can be
read back. Any subsequent writes will have no effect.
This register is not affected by the D3
to D0 transition.
HOT
Bit
Description
15:0
Subsystem Vendor ID — R/WO.
70
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.15
SID—Subsystem Identification Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
2Eh–2Fh
0000h
No
Attribute:
Size:
Power Well:
R/WO
16 bits
Core
The SID register, in combination with the Subsystem Vendor ID register (D30:F2:2Ch) make it
possible for the operating environment to distinguish one audio subsystem from the other(s).
This register is implemented as write-once register. Once a value is written to it, the value can be
read back. Any subsequent writes will have no effect.
This register is not affected by the D3
to D0 transition.
HOT
T
Bit
Description
15:0
Subsystem ID — R/WO.
2.1.16
CAP_PTR—Capabilities Pointer Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
34h
50h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
This register indicates the offset for the capability pointer.
Bit
Description
Capabilities Pointer (CAP_PTR) — RO. This field indicates that the first capability pointer offset is
offset 50h
7:0
2.1.17
INT_LN—Interrupt Line Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
3Ch
00h
No
Attribute:
Size:
Power Well:
R/W
8 bits
Core
This register indicates which PCI interrupt line is used for the AC ’97 module interrupt.
Bit
Description
Interrupt Line (INT_LN) — R/W. This data is not used by the Intel® ICH7. It is used to communicate
to software the interrupt line that is connected to the interrupt pin.
7:0
Programmer’s Reference Manual
71
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.18
INT_PN—Interrupt Pin Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
3Dh
See Description
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
This register indicates which PCI interrupt pin is used for the AC '97 module interrupt. The AC '97
interrupt is internally OR’d to the interrupt controller with the PIRQB# signal.
Bit
Description
7:0
AC '97 Interrupt Routing — RO. This reflects the value of D30IP.AAIP in chipset configuration space.
2.1.19
PCID—Programmable Codec Identification Register
(Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
40h
09h
No
Attribute:
Size:
Power Well:
R/W
8 bits
Core
This register is used to specify the ID for the secondary and tertiary codecs for I/O accesses. This
register is not affected by the D3
to D0 transition. The value in this register must be modified
HOT
before any AC ’97 codec accesses.
Bit
Description
7:4
3:2
Reserved.
Tertiary Codec ID (TID) — R/W. These bits define the encoded ID that is used to address the
tertiary codec I/O space. Bit 1 is the first bit sent and Bit 0 is the second bit sent on ACZ_SDOUT
during slot 0.
Secondary Codec ID (SCID) — R/W. These two bits define the encoded ID that is used to address
the secondary codec I/O space. The two bits are the ID that will be placed on slot 0, bits 0 and 1,
upon an I/O access to the secondary codec. Bit 1 is the first bit sent and bit 0 is the second bit sent
on ACZ_SDOUT during slot 0.
1:0
2.1.20
CFG—Configuration Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
41h
00h
No
Attribute:
Size:
Power Well:
R/W
8 bits
Core
This register is used to specify the ID for the secondary and tertiary codecs for I/O accesses. This
register is not affected by the D3
to D0 transition.
HOT
Bit
Description
7:1
0
Reserved—RO.
I/O Space Enable (IOSE) — R/W.
0 = Disable. The IOS bit at offset 04h and the I/O space BARs at offset 10h and 14h become read
only registers. Additionally, bit 0 of the I/O BARs at offsets 10h and 14h are hardwired to 0 when
this bit is 0. This is the default state for the I/O BARs. BIOS must explicitly set this bit to allow a
legacy driver to work.
1 = Enable.
72
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.21
PID—PCI Power Management Capability Identification
Register (Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
50h–51h
0001h
No
Attribute:
Size:
Power Well:
RO
16 bits
Core
Bit
Description
15:8
7:0
Next Capability (NEXT) — RO. This field indicates that the next item in the list is at offset 00h.
Capability ID (CAP) — RO.This field indicates that this pointer is a message signaled interrupt
capability
2.1.22
PC—Power Management Capabilities Register
(Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
52h–53h
C9C2h
No
Attribute:
Size:
Power Well:
RO
16 bits
Core
This register is not affected by the D3
to D0 transition.
HOT
Bit
Description
15:11 PME Support — RO. This field indicates PME# can be generated from all D states.
10:9
8:6
Reserved.
Auxiliary Current — RO. This field reports 375 mA maximum suspend well current required when in
the D3COLD state.
Device Specific Initialization (DSI)—RO. This field indicates that no device-specific initialization is
required.
5
4
3
Reserved — RO.
PME Clock (PMEC) — RO. This field indicates that PCI clock is not required to generate PME#.
Version (VER) — RO. This field indicates support for Revision 1.1 of the PCI Power Management
Specification.
2:0
Programmer’s Reference Manual
73
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.1.23
PCS—Power Management Control and Status Register
(Audio—D30:F2)
Address Offset:
Default Value:
Lockable:
54h–55h
0000h
No
Attribute:
Size:
Power Well:
R/W, R/WC
16 bits
Resume
Bit
Description
PME Status (PMES) — R/WC. This bit resides in the resume well. Software clears this bit by writing
a 1 to it.
15
0 = PME# signal Not asserted by AC ‘97 controller.
1 = This bit is set when the AC ’97 controller would normally assert the PME# signal independent of
the state of the PME_En bit.
14:9
8
Reserved — RO.
Power Management Event Enable (PMEE) — R/W.
0 = Disable.
1 = Enable. When set, and if corresponding PMES is also set, the AC '97 controller sets the
AC97_STS bit in the GPE0_STS register
7:2
Reserved—RO.
Power State (PS) — R/W. This field is used both to determine the current power state of the AC ’97
controller and to set a new power state. The values are:
00 = D0 state
01 = not supported
10 = not supported
11 = D3HOT state
1:0
When in the D3HOT state, the AC ’97 controller’s configuration space is available, but the I/O and
memory spaces are not. Additionally, interrupts are blocked.
If software attempts to write a value of 10b or 01b in to this field, the write operation must complete
normally; however, the data is discarded and no state change occurs.
74
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2
AC ’97 Audio I/O Space (D30:F2)
The AC ’97 I/O space includes Native Audio Bus Master registers and Native Mixer registers. For
the ICH7, the offsets are important as they will determine bits 1:0 of the TAG field (codec ID).
Audio Mixer I/O space can be accessed as a 16-bit field only since the data packet length on
AC-link is a word. Any S/W access to the codec will be done as a 16-bit access starting from the
first active byte. In case no byte enables are active, the access will be done at the first word of the
QWord that contains the address of this request.
®
Table 2-2. Intel ICH7 Audio Mixer Register Configuration
Primary Offset
(Codec ID =00)
Secondary Offset
(Codec ID =01)
Tertiary Offset
(Codec ID =10)
NAMBAR Exposed Registers
(D30:F2)
00h
02h
04h
06h
08h
0Ah
0Ch
0Eh
10h
12h
14h
16h
18h
1Ah
1Ch
1Eh
20h
22h
24h
26h
28h
2Ah
2Ch
2Eh
30h
32h
34h
36h
38h
3Ah
3Ch–56h
58h
80h
82h
100h
102h
104h
106h
108h
10Ah
10Ch
10Eh
110h
112h
114h
116h
118h
11Ah
11Ch
11Eh
120h
122h
124h
126h
128h
12Ah
12Ch
12Eh
130h
132h
134h
136h
138h
13Ah
13C–156h
158h
Reset
Master Volume
84h
Aux Out Volume
Mono Volume
86h
88h
Master Tone (R & L)
PC_BEEP Volume
Phone Volume
8Ah
8Ch
8Eh
90h
Mic Volume
Line In Volume
92h
CD Volume
94h
Video Volume
96h
Aux In Volume
98h
PCM Out Volume
Record Select
9Ah
9Ch
9Eh
A0h
A2h
A4h
A6h
A8h
AAh
ACh
AEh
B0h
B2h
B4h
B6h
B8h
BAh
BC–D6h
D8h
Record Gain
Record Gain Mic
General Purpose
3D Control
AC ’97 RESERVED
Powerdown Ctrl/Stat
Extended Audio
Extended Audio Ctrl/Stat
PCM Front DAC Rate
PCM Surround DAC Rate
PCM LFE DAC Rate
PCM LR ADC Rate
MIC ADC Rate
6Ch Vol: C, LFE
6Ch Vol: L, R Surround
S/PDIF Control
Intel RESERVED
AC ’97 Reserved
Programmer’s Reference Manual
75
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
®
Table 2-2. Intel ICH7 Audio Mixer Register Configuration
Primary Offset
(Codec ID =00)
Secondary Offset
(Codec ID =01)
Tertiary Offset
(Codec ID =10)
NAMBAR Exposed Registers
(D30:F2)
5Ah
7Ch
7Eh
DAh
FCh
FEh
15Ah
17Ch
17Eh
Vendor Reserved
Vendor ID1
Vendor ID2
NOTE:
1. Software should not try to access reserved registers
2. Primary Codec ID cannot be changed. Secondary codec ID can be changed via bits 1:0 of configuration
register 40h. Tertiary codec ID can be changed via bits 3:2 of configuration register 40h.
3. The tertiary offset is only available through the memory space defined by the MMBAR register.
The Bus Master registers are located from offset + 00h to offset + 51h and reside in the AC ’97
controller. Accesses to these registers do not cause the cycle to be forwarded over the AC-link to
the codec. S/W could access these registers as bytes, word, DWord or qword quantities, but reads
must not cross DWord boundaries.
In the case of the split codec implementation, accesses to the different codecs are differentiated by
the controller by using address offsets 00h–7Fh for the primary codec, address offsets 80h–FFh for
the secondary codec and address offsets 100h–17Fh for the tertiary codec.
The Global Control (GLOB_CNT) (D30:F2:2Ch) and Global Status (GLOB_STA) (D30:F2:30h)
registers are aliased to the same global registers in the audio and modem I/O space. Therefore a
read/write to these registers in either audio or modem I/O space affects the same physical register.
Bus Mastering registers exist in I/O space and reside in the AC ’97 controller. The six channels,
PCM in, PCM in 2, PCM out, Mic in, Mic 2, and S/PDIF out, each have their own set of Bus
Mastering registers. The following register descriptions apply to all six channels. The register
definition section titles use a generic “x_” in front of the register to indicate that the register applies
I/O address is as follows:
PI = PCM in channel
PO = PCM out channel
MC = Mic in channel
MC2 = Mic 2 channel
PI2 = PCM in 2 channel
SP = S/PDIF out channel.
76
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
Table 2-3. Native Audio Bus Master Control Registers (Sheet 1 of 2)
Offset
Mnemonic
Name
Default
Access
00h
04h
05h
06h
08h
0Ah
0Bh
PI_BDBAR
PI_CIV
PI_LVI
PCM In Buffer Descriptor list Base Address
PCM In Current Index Value
PCM In Last Valid Index
00000000h
00h
R/W
RO
00h
R/W
R/WC, RO
RO
PI_SR
PCM In Status
0001h
0000h
00h
PI_PICB
PI_PIV
PI_CR
PCM In Position in Current Buffer
PCM In Prefetched Index Value
PCM In Control
RO
00h
R/W, R/W (special)
PCM Out Buffer Descriptor list Base
Address
10h
PO_BDBAR
00000000h
R/W
14h
15h
16h
18h
1Ah
1Bh
20h
24h
25h
26h
28h
2Ah
2Bh
2Ch
PO_CIV
PO_LVI
PO_SR
PO_PICB
PO_PIV
PO_CR
PCM Out Current Index Value
PCM Out Last Valid Index
PCM Out Status
00h
00h
RO
R/W
0001h
0000h
00h
R/WC, RO
PCM In Position In Current Buffer
PCM Out Prefetched Index Value
PCM Out Control
RO
RO
00h
R/W, R/W (special)
MC_BDBAR Mic. In Buffer Descriptor List Base Address
00000000h
00h
R/W
MC_CIV
MC_LVI
Mic. In Current Index Value
Mic. In Last Valid Index
Mic. In Status
RO
R/W
00h
MC_SR
0001h
0000h
00h
R/WC, RO
RO
MC_PICB
MC_PIV
Mic. In Position In Current Buffer
Mic. In Prefetched Index Value
Mic. In Control
RO
MC_CR
00h
R/W, R/W (special)
R/W, R/W (special)
GLOB_CNT
Global Control
00000000h
See register
description
30h
GLOB_STA
CAS
Global Status
R/W, R/WC, RO
34h
40h
44h
45h
46h
48h
4Ah
4Bh
Codec Access Semaphore
00h
00000000h
00h
R/W (special)
MC2_BDBAR Mic. 2 Buffer Descriptor List Base Address
R/W
MC2_CIV
MC2_LVI
MC2_SR
MC2_PICB
MC2_PIV
MC2_CR
Mic. 2 Current Index Value
Mic. 2 Last Valid Index
Mic. 2 Status
RO
00h
R/W
RO, R/WC
RO
0001h
0000h
00h
Mic 2 Position In Current Buffer
Mic. 2 Prefetched Index Value
Mic. 2 Control
RO
00h
R/W, R/W (special)
PCM In 2 Buffer Descriptor List Base
Address
50h
PI2_BDBAR
00000000h
R/W
54h
55h
56h
PI2_CIV
PI2_LVI
PI2_SR
PCM In 2 Current Index Value
PCM In 2 Last Valid Index
PCM In 2 Status
00h
00h
RO
R/W
0001h
R/WC, RO
Programmer’s Reference Manual
77
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
Table 2-3. Native Audio Bus Master Control Registers (Sheet 2 of 2)
Offset
Mnemonic
Name
Default
Access
58h
5Ah
5Bh
60h
64h
65h
66h
68h
6Ah
6Bh
80h
PI2_PICB
PI2_PIV
PI2_CR
SPBAR
SPCIV
SPLVI
PCM In 2 Position in Current Buffer
PCM In 2 Prefetched Index Value
PCM In 2 Control
0000h
00h
RO
RO
00h
R/W, R/W (special)
S/PDIF Buffer Descriptor List Base Address
S/PDIF Current Index Value
S/PDIF Last Valid Index
00000000h
00h
R/W
RO
00h
R/W
SPSR
S/PDIF Status
0001h
0000h
00h
R/WC, RO
RO
SPPICB
SPPIV
SPCR
S/PDIF Position In Current Buffer
S/PDIF Prefetched Index Value
S/PDIF Control
RO
00h
R/W, R/W (special)
R/W, RO
SDM
SData_IN Map
00h
Note: Internal reset as a result of D3
to D0 transition will reset all the core well registers except the
HOT
registers shared with the AC ’97 Modem (GCR, GSR, CASR). All resume well registers will not be
reset by the D3 to D0 transition.
HOT
Core well registers and bits not reset by the D3
to D0 transition:
HOT
• offset 2Ch–2Fh – bits 6:0 Global Control (GLOB_CNT)
• offset 30h–33h – bits [29,15,11:10,0] Global Status (GLOB_STA)
• offset 34h – Codec Access Semaphore Register (CAS)
Resume well registers and bits will not be reset by the D3
to D0 transition:
HOT
• offset 30h–33h – bits [17:16] Global Status (GLOB_STA)
2.2.1
x_BDBAR—Buffer Descriptor Base Address Register
(Audio—D30:F2)
I/O Address:
NABMBAR + 00h (PIBDBAR), Attribute:
NABMBAR + 10h (POBDBAR),
NABMBAR + 20h (MCBDBAR)
MBBAR + 40h (MC2BDBAR)
MBBAR + 50h (PI2BDBAR)
R/W
MBBAR + 60h (SPBAR)
00000000h
No
Default Value:
Lockable:
Size:
Power Well:
32 bits
Core
Software can read the register at offset 00h by performing a single 32-bit read from address offset
00h. Reads across DWord boundaries are not supported.
Bit
Description
Buffer Descriptor Base Address[31:3] — R/W. These bits represent address bits 31:3. The data
should be aligned on 8-byte boundaries. Each buffer descriptor is 8 bytes long and the list can
contain a maximum of 32 entries.
31:3
2:0
Hardwired to 0.
78
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.2
x_CIV—Current Index Value Register (Audio—D30:F2)
I/O Address:
NABMBAR + 04h (PICIV),
NABMBAR + 14h (POCIV),
NABMBAR + 24h (MCCIV)
MBBAR + 44h (MC2CIV)
MBBAR + 54h (PI2CIV)
MBBAR + 64h (SPCIV)
00h
Attribute:
RO
Default Value:
Lockable:
Size:
Power Well:
8 bits
Core
No
Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single,
32-bit read from address offset 04h. Software can also read this register individually by doing a
single, 8-bit read to offset 04h.
Bit
Description
7:5
Hardwired to 0
Current Index Value [4:0] — RO. These bits represent which buffer descriptor within the list of 32
descriptors is currently being processed. As each descriptor is processed, this value is incremented.
The value rolls over after it reaches 31.
4:0
NOTE: Reads across DWord boundaries are not supported.
2.2.3
x_LVI—Last Valid Index Register (Audio—D30:F2)
I/O Address:
NABMBAR + 05h (PILVI),
NABMBAR + 15h (POLVI),
NABMBAR + 25h (MCLVI)
MBBAR + 45h (MC2LVI)
MBBAR + 55h (PI2LVI)
MBBAR + 65h (SPLVI)
00h
Attribute:
R/W
Default Value:
Lockable:
Size:
Power Well:
8 bits
Core
No
Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single,
32-bit read from address offset 04h. Software can also read this register individually by doing a
single, 8-bit read to offset 05h.
Bit
Description
7:5
Hardwired to 0.
Last Valid Index [4:0] — R/W. This value represents the last valid descriptor in the list. This value is
updated by the software each time it prepares a new buffer and adds it to the list.
4:0
NOTE: Reads across DWord boundaries are not supported.
Programmer’s Reference Manual
79
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.4
x_SR—Status Register (Audio—D30:F2)
I/O Address:
NABMBAR + 06h (PISR),
NABMBAR + 16h (POSR),
NABMBAR + 26h (MCSR)
MBBAR + 46h (MC2SR)
MBBAR + 56h (PI2SR)
MBBAR + 66h (SPSR)
0001h
Attribute:
R/WC, RO
Default Value:
Lockable:
Size:
Power Well:
16 bits
Core
No
Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single,
32-bit read from address offset 04h. Software can also read this register individually by doing a
single, 16-bit read to offset 06h. Reads across DWord boundaries are not supported.
Bit
Description
15:5
Reserved.
FIFO Error (FIFOE) — R/WC. Software clears this bit by writing a 1 to it.
0 = No FIFO error.
1 = FIFO error occurs.
PISR Register: FIFO error indicates a FIFO overrun. The FIFO pointers don't increment, the
4
3
incoming data is not written into the FIFO, thus is lost.
POSR Register: FIFO error indicates a FIFO underrun. The sample transmitted in this case should
be the last valid sample.
The ICH7 will set the FIFO bit if the under-run or overrun occurs when there are more valid buffers
to process.
Buffer Completion Interrupt Status (BCIS) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = Set by the hardware after the last sample of a buffer has been processed, AND if the Interrupt
on Completion (IOC) bit is set in the command byte of the buffer descriptor. It remains active
until cleared by software.
Last Valid Buffer Completion Interrupt (LVBCI) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = Last valid buffer has been processed. It remains active until cleared by software. This bit
indicates the occurrence of the event signified by the last valid buffer being processed. Thus
this is an event status bit that can be cleared by software once this event has been
recognized. This event will cause an interrupt if the enable bit (D30:F2:NABMBAR + 0Bh, bit
2) in the Control Register is set. The interrupt is cleared when the software clears this bit.
2
In the case of Transmits (PCM out, Modem out) this bit is set, after the last valid buffer has
been fetched (not after transmitting it). While in the case of Receives, this bit is set after the
data for the last buffer has been written to memory.
Current Equals Last Valid (CELV) — RO.
0 = Cleared by hardware when controller exists state (i.e., until a new value is written to the LVI
register.)
1 = Current Index is equal to the value in the Last Valid Index Register (D30:F2:NABMBAR + 05h),
and the buffer pointed to by the CIV has been processed (i.e., after the last valid buffer has
been processed). This bit is very similar to bit 2, except this bit reflects the state rather than the
event. This bit reflects the state of the controller, and remains set until the controller exits this
state.
1
0
DMA Controller Halted (DCH) — RO.
0 = Running.
1 = Halted. This could happen because of the Start/Stop bit being cleared and the DMA engines
are idle, or it could happen once the controller has processed the last valid buffer.
80
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.5
x_PICB—Position In Current Buffer Register
(Audio—D30:F2)
I/O Address:
NABMBAR + 08h (PIPICB),
Attribute:
RO
NABMBAR + 18h (POPICB),
NABMBAR + 28h (MCPICB)
MBBAR + 48h (MC2PICB)
MBBAR + 58h (PI2PICB)
MBBAR + 68h (SPPICB)
0000h
Default Value:
Lockable:
Size:
Power Well:
16 bits
Core
No
Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from
the address offset 08h. Software can also read this register individually by doing a single, 16-bit
read to offset 08h. Reads across DWord boundaries are not supported.
Bit
Description
Position In Current Buffer [15:0] — RO. These bits represent the number of samples left to be
processed in the current buffer. This means the number of samples not yet read from memory (in
the case of reads from memory) or not yet written to memory (in the case of writes to memory),
irrespective of the number of samples that have been transmitted/received across
AC-link.
15:0
2.2.6
x_PIV—Prefetched Index Value Register (Audio—D30:F2)
I/O Address:
NABMBAR + 0Ah (PIPIV),
NABMBAR + 1Ah (POPIV),
NABMBAR + 2Ah (MCPIV)
MBBAR + 4Ah (MC2PIV)
MBBAR + 5Ah (PI2PIV)
MBBAR + 6Ah (SPPIV)
00h
Attribute:
RO
Default Value:
Lockable:
Size:
Power Well:
8 bits
Core
No
Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from
the address offset 08h. Software can also read this register individually by doing a single, 8-bit read
to offset 0Ah. Reads across DWord boundaries are not supported.
Bit
Description
7:5
Hardwired to 0.
Prefetched Index Value [4:0] — RO. These bits represent which buffer descriptor in the list has
been prefetched. The bits in this register are also modulo 32 and roll over after they reach 31.
4:0
Programmer’s Reference Manual
81
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.7
x_CR—Control Register (Audio—D30:F2)
I/O Address:
NABMBAR + 0Bh (PICR),
NABMBAR + 1Bh (POCR),
NABMBAR + 2Bh (MCCR)
MBBAR + 4Bh (MC2CR)
MBBAR + 5Bh (PI2CR)
MBBAR + 6Bh (SPCR)
00h
Attribute:
R/W, R/W (special)
Default Value:
Lockable:
Size:
Power Well:
8 bits
Core
No
Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from
the address offset 08h. Software can also read this register individually by doing a single, 8-bit read
to offset 0Bh. Reads across DWord boundaries are not supported.
Bit
Description
7:5
Reserved.
Interrupt on Completion Enable (IOCE) — R/W. This bit controls whether or not an interrupt
occurs when a buffer completes with the IOC bit set in its descriptor.
4
3
2
0 = Disable. Interrupt will not occur.
1 = Enable.
FIFO Error Interrupt Enable (FEIE) — R/W. This bit controls whether the occurrence of a FIFO
error will cause an interrupt or not.
0 = Disable. Bit 4 in the Status register will be set, but the interrupt will not occur.
1 = Enable. Interrupt will occur.
Last Valid Buffer Interrupt Enable (LVBIE) — R/W. This bit controls whether the completion of the
last valid buffer will cause an interrupt or not.
0 = Disable. Bit 2 in the Status register will still be set, but the interrupt will not occur.
1 = Enable.
Reset Registers (RR) — R/W (special).
0 = Removes reset condition.
1 = Contents of all Bus master related registers to be reset, except the interrupt enable bits (bit
4,3,2 of this register). Software needs to set this bit but need not clear it since the bit is self
clearing. This bit must be set only when the Run/Pause bit (D30:F2:2Bh, bit 0) is cleared.
Setting it when the Run bit is set will cause undefined consequences.
1
0
Run/Pause Bus Master (RPBM) — R/W.
0 = Pause bus master operation. This results in all state information being retained (i.e., master
mode operation can be stopped and then resumed).
1 = Run. Bus master operation starts.
82
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.8
GLOB_CNT—Global Control Register (Audio—D30:F2)
I/O Address:
Default Value:
Lockable:
NABMBAR + 2Ch
00000000h
No
Attribute:
Size:
Power Well:
R/W, R/W (special)
32 bits
Core
Bit
Description
S/PDIF Slot Map (SSM) — R/W. If the run/pause bus master bit (bit 0 of offset 2Bh) is set, then the
value in these bits indicate which slots S/PDIF data is transmitted on. Software must ensure that the
programming here does not conflict with the PCM channels being used. If there is a conflict,
unpredictable behavior will result — the hardware will not check for a conflict.
31:30
00 = Reserved
01 = Slots 7 and 8
10 = Slots 6 and 9
11 = Slots 10 and 11
29:24 Reserved.
PCM Out Mode (POM) — R/W. Enables the PCM out channel to use 16- or 20-bit audio on PCM
out. This does not affect the microphone of S/PDIF DMA. When greater than 16-bit audio is used,
the data structures are aligned as 32-bits per sample, with the highest order bits representing the
data, and the lower order bits as don’t care.
23:22
00 = 16 bit audio (default)
01 = 20 bit audio
10 = Reserved. If set, indeterminate behavior will result.
11 = Reserved. If set, indeterminate behavior will result.
PCM 4/6 Enable — R/W. This field configures PCM Output for 2-, 4- or 6-channel mode.
00 = 2-channel mode (default)
01 = 4-channel mode
10 = 6-channel mode
11 = Reserved
21:20
19:7
Reserved.
ACZ_SDIN2 Interrupt Enable — R/W.
0 = Disable.
1 = Enable an interrupt to occur when the codec on the ACZ_SDIN2 causes a resume event on the
AC-link.
6
5
NOTE: This bit is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
ACZ_SDIN1 Interrupt Enable — R/W.
0 = Disable.
1 = Enable an interrupt to occur when the codec on the ACZ_SDIN1 causes a resume event on the
AC-link.
NOTE: This bit is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
ACZ_SDIN0 Interrupt Enable — R/W.
0 = Disable.
1 = Enable an interrupt to occur when the codec on ACZ_SDIN0 causes a resume event on the
AC-link.
4
3
NOTE: This bit is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
AC-LINK Shut Off (LSO) — R/W.
0 = Normal operation.
1 = Controller disables all outputs which will be pulled low by internal pull down resistors.
NOTE: This bit is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
Programmer’s Reference Manual
83
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
Bit
Description
AC ’97 Warm Reset — R/W (special).
0 = Normal operation.
1 = Writing a 1 to this bit causes a warm reset to occur on the AC-link. The warm reset will awaken
a suspended codec without clearing its internal registers. If software attempts to perform a
warm reset while bit_clk is running, the write will be ignored and the bit will not change. This bit
is self-clearing (it remains set until the reset completes and bit_clk is seen on the AC-link, after
which it clears itself).
2
NOTE: This bit is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
AC ’97 Cold Reset# — R/W.
0 = Writing a 0 to this bit causes a cold reset to occur throughout the AC ‘97 circuitry. All data in the
controller and the codec will be lost. Software needs to clear this bit no sooner than the
minimum number of ms have elapsed.
1 = This bit defaults to 0 and hence after reset, the driver needs to set this bit to a 1. The value of
this bit is retained after suspends; hence, if this bit is set to a 1 prior to suspending, a cold reset
is not generated automatically upon resuming.
1
0
NOTE: This bit is in the core well and is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
GPI Interrupt Enable (GIE) — R/W. This bit controls whether the change in status of any GPI
causes an interrupt.
0 = Bit 0 of the Global Status register is set, but no interrupt is generated.
1 = The change on value of a GPI causes an interrupt and sets bit 0 of the Global Status register.
NOTE: This bit is not affected by AC ‘97 Audio Function D3HOT to D0 reset.
NOTE: Reads across DWord boundaries are not supported.
84
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.9
GLOB_STA—Global Status Register (Audio—D30:F2)
I/O Address:
Default Value:
Lockable:
NABMBAR + 30h
00x0xxx01110000000000xxxxx00xxxb Size:
No Power Well:
Attribute:
RO, R/W, R/WC
32 bits
Core
Bit
Description
31:30 Reserved.
ACZ_SDIN2 Resume Interrupt (S2RI) — R/WC. This bit indicates a resume event occurred on
ACZ_SDIN2. Software clears this bit by writing a 1 to it.
0 = Resume event did Not occur.
1 = Resume event occurred.
29
28
NOTE: This bit is not affected by D3HOT to D0 Reset.
ACZ_SDIN2 Codec Ready (S2CR) — RO. Reflects the state of the codec ready bit on
ACZ_SDIN2. Bus masters ignore the condition of the codec ready bits, so software must check this
bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready”
spontaneously.
0 = Not Ready.
1 = Ready.
Bit Clock Stopped (BCS) — RO. This bit indicates that the bit clock is not running.
0 = Transition is found on BIT_CLK.
1 = ICH7 detected that there has been no transition on BIT_CLK for four consecutive PCI clocks.
27
26
25
24
S/PDIF Interrupt (SPINT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = S/PDIF out channel interrupt status bits have been set.
PCM In 2 Interrupt (P2INT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the PCM In 2 channel status bits have been set.
Microphone 2 In Interrupt (M2INT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the Mic in channel interrupts status bits has been set.
Sample Capabilities — RO. This field indicates the capability to support greater than 16-bit audio.
00 = Reserved
23:22 01 = 16 and 20-bit Audio supported (ICH7 value)
10 = Reserved
11 = Reserved
Multichannel Capabilities— RO. This field indicates the capability to support more 4 and 6
21:20
channels on PCM Out.
19:18 Reserved.
MD3 — R/W. Power down semaphore for Modem. This bit exists in the suspend well and maintains
context across power states (except G3). The bit has no hardware function. It is used by software in
17
16
conjunction with the AD3 bit to coordinate the entry of the two codecs into D3 state.
NOTE: This bit is not affected by D3HOT to D0 Reset.
AD3 — R/W. Power down semaphore for Audio. This bit exists in the suspend well and maintains
context across power states (except G3). The bit has no hardware function. It is used by software in
conjunction with the MD3 bit to coordinate the entry of the two codecs into D3 state.
NOTE: This bit is not affected by D3HOT to D0 Reset.
Read Completion Status (RCS) — R/WC. This bit indicates the status of codec read completions.
0 = A codec read completes normally.
1 = A codec read results in a time-out. The bit remains set until being cleared by software writing a
1 to the bit location.
15
NOTE: This bit is not affected by D3HOT to D0 Reset.
Programmer’s Reference Manual
85
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
Bit
Description
14
13
12
Bit 3 of Slot 12 — RO. Display bit 3 of the most recent slot 12.
Bit 2 of Slot 12 — RO. Display bit 2 of the most recent slot 12.
Bit 1 of slot 12 — RO. Display bit 1 of the most recent slot 12.
ACZ_SDIN1 Resume Interrupt (S1R1) — R/WC. This bit indicates that a resume event occurred
on ACZ_SDIN1. Software clears this bit by writing a 1 to it.
0 = Resume event did Not occur
1 = Resume event occurred.
11
10
NOTE: This bit is not affected by D3HOT to D0 Reset.
ACZ_SDIN0 Resume Interrupt (S0R1) — R/WC. This bit indicates that a resume event occurred
on ACZ_SDIN0. Software clears this bit by writing a 1 to it.
0 = Resume event did Not occur
1 = Resume event occurred.
NOTE: This bit is not affected by D3HOT to D0 Reset.
ACZ_SDIN1 Codec Ready (S1CR) — RO. Reflects the state of the codec ready bit in ACZ_SDIN1.
Bus masters ignore the condition of the codec ready bits, so software must check this bit before
starting the bus masters. Once the codec is “ready”, it must never go “not ready” spontaneously.
9
8
0 = Not Ready.
1 = Ready.
ACZ_SDIN0 Codec Ready (S0CR) — RO. Reflects the state of the codec ready bit in ACZ_SDIN0.
Bus masters ignore the condition of the codec ready bits, so software must check this bit before
starting the bus masters. Once the codec is “ready”, it must never go “not ready” spontaneously.
0 = Not Ready.
1 = Ready.
Microphone In Interrupt (MINT) — RO.
7
6
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the Mic in channel interrupts status bits has been set.
PCM Out Interrupt (POINT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the PCM out channel interrupts status bits has been set.
PCM In Interrupt (PIINT) — RO.
5
4:3
2
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the PCM in channel interrupts status bits has been set.
Reserved
Modem Out Interrupt (MOINT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the modem out channel interrupts status bits has been set.
Modem In Interrupt (MIINT) — RO.
1
0
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the modem in channel interrupts status bits has been set.
GPI Status Change Interrupt (GSCI) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = This bit reflects the state of bit 0 in slot 12, and is set when bit 0 of slot 12 is set. This indicates
that one of the GPI’s changed state, and that the new values are available in slot 12.
This bit is not affected by AC ‘97 Audio Function D3HOT to D0 Reset.
NOTE: Reads across DWord boundaries are not supported.
86
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
2.2.10
CAS—Codec Access Semaphore Register (Audio—D30:F2)
I/O Address:
Default Value:
Lockable:
NABMBAR + 34h
00h
No
Attribute:
Size:
Power Well:
R/W (special)
8 bits
Core
Bit
Description
7:1
Reserved.
Codec Access Semaphore (CAS) — R/W (special). This bit is read by software to check whether a
codec access is currently in progress.
0
0 = No access in progress.
1 = The act of reading this register sets this bit to 1. The driver that read this bit can then perform
an I/O access. Once the access is completed, hardware automatically clears this bit.
NOTE: Reads across DWord boundaries are not supported.
2.2.11
SDM—SDATA_IN Map Register (Audio—D30:F2)
I/O Address:
Default Value:
Lockable:
NABMBAR + 80h
00h
No
Attribute:
Size:
Power Well:
R/W, RO
8 bits
Core
Bit
Description
PCM In 2, Microphone In 2 Data In Line (DI2L)— R/W. When the SE bit is set, these bits indicates
which ACZ_SDIN line should be used by the hardware for decoding the input slots for PCM In 2 and
Microphone In 2. When the SE bit is cleared, the value of these bits are irrelevant, and PCM In 2
and Mic In 2 DMA engines are not available.
7:6
00 = ACZ_SDIN0
01 = ACZ_SDIN1
10 = ACZ_SDIN2
11 = Reserved
PCM In 1, Microphone In 1 Data In Line (DI1L)— R/W. When the SE bit is set, these bits indicates
which ACZ_SDIN line should be used by the hardware for decoding the input slots for PCM In 1 and
Microphone In 1. When the SE bit is cleared, the value of these bits are irrelevant, and the PCM In 1
and Mic In 1 engines use the OR’d ACZ_SDIN lines.
5:4
00 = ACZ_SDIN0
01 = ACZ_SDIN1
10 = ACZ_SDIN2
11 = Reserved
Steer Enable (SE) — R/W. When set, the ACZ_SDIN lines are treated separately and not OR’d
together before being sent to the DMA engines. When cleared, the ACZ_SDIN lines are OR’d
together, and the “Microphone In 2” and “PCM In 2” DMA engines are not available.
3
2
Reserved — RO.
Last Codec Read Data Input (LDI) — RO. When a codec register is read, this indicates which
ACZ_SDIN the read data returned on. Software can use this to determine how the codecs are
mapped. The values are:
1:0
00 = ACZ_SDIN0
01 = ACZ_SDIN1
10 = ACZ_SDIN2
11 = Reserved
NOTE: Reads across DWord boundaries are not supported.
§
Programmer’s Reference Manual
87
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Audio Controller Registers (D30:F2)
88
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3 AC ’97 Modem Controller
Registers (D30:F3)
3.1
AC ’97 Modem PCI Configuration Space (D30:F3)
Note: Registers that are not shown should be treated as Reserved.
Table 3-1. AC ‘97 Modem PCI Register Address Map (Modem—D30:F3)
Offset
Mnemonic
Register
Vendor Identification
Default
Access
00h–01h
VID
8086
RO
See register
description
02h–03h
DID
Device Identification
RO
04h–05h
06h–07h
PCICMD
PCISTS
PCI Command
PCI Status
0000h
0290h
R/W, RO
R/WC, RO
See register
description
08h
RID
Revision Identification
RO
09h
0Ah
PI
SCC
Programming Interface
Sub Class Code
00h
03h
RO
RO
0Bh
BCC
Base Class Code
07h
RO
0Eh
HEADTYP
MMBAR
MBAR
SVID
Header Type
00h
RO
10h–13h
14h–17h
2Ch–2Dh
2Eh–2Fh
34h
Modem Mixer Base Address
Modem Base Address
Subsystem Vendor Identification
Subsystem Identification
Capabilities Pointer
Interrupt Line
00000001h
00000001h
0000h
0000h
50h
R/W, RO
R/W, RO
R/WO
R/WO
RO
SID
CAP_PTR
INT_LN
3Ch
00h
R/W
See register
description
3Dh
INT_PN
Interrupt Pin
RO
50h–51h
52h–53h
54h–55h
PID
PC
PCI Power Management Capability ID
Power Management Capabilities
0001h
C9C2h
0000h
RO
RO
PCS
Power Management Control and Status
R/W, R/WC
Note: Internal reset as a result of D3
to D0 transition will reset all the core well registers except the
HOT
following BIOS programmed registers as BIOS may not be invoked following the D3-to-D0
transition. All resume well registers will not be reset by the D3 to D0 transition.
HOT
Core well registers not reset by the D3
to D0 transition:
HOT
• offset 2Ch–2Dh – Subsystem Vendor ID (SVID)
• offset 2Eh–2Fh – Subsystem ID (SID)
Resume well registers will not be reset by the D3
to D0 transition:
HOT
• offset 54h–55h – Power Management Control and Status (PCS)
Programmer’s Reference Manual
89
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.1
VID—Vendor Identification Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
00h–01h
8086
No
Attribute:
Size:
Power Well:
RO
16 Bits
Core
Bit
Description
Vendor ID — RO. This is a 16-bit value assigned to Intel.
15:0
3.1.2
DID—Device Identification Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
02h–03h
See bit description
No
Attribute:
Size:
Power Well:
RO
16 Bits
Core
Bit
Description
Device ID — RO. This is a 16-bit value assigned to the Intel® ICH7 AC ‘97 Modem controller. Refer
to the Intel® I/O Controller Hub 7 (ICH7) Family Specification Update for the value of the Device ID
Register.
15:0
3.1.3
PCICMD—PCI Command Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
04h–05h
0000h
No
Attribute:
Size:
Power Well:
R/W, RO
16 bits
Core
PCICMD is a 16-bit control register. Refer to the PCI Local Bus Specification for complete details
on each bit.
Bit
Description
15:11
Reserved. Read 0.
Interrupt Disable (ID)— R/W.
10
0 = The INTx# signals may be asserted and MSIs may be generated.
1 = The AC ‘97 controller’s INTx# signal will be de-asserted and it may not generate MSIs.
9
8
7
6
5
4
3
Fast Back to Back Enable (FBE) — RO. Not implemented. Hardwired to 0.
SERR# Enable (SERR_EN) — RO. Not implemented. Hardwired to 0.
Wait Cycle Control (WCC) — RO. Not implemented. Hardwired to 0.
Parity Error Response (PER) — RO. Not implemented. Hardwired to 0.
VGA Palette Snoop (VPS) — RO. Not implemented. Hardwired to 0.
Memory Write and Invalidate Enable (MWIE) — RO. Not implemented. Hardwired to 0.
Special Cycle Enable (SCE) — RO. Not implemented. Hardwired to 0.
Bus Master Enable (BME) — R/W. This bit controls standard PCI bus mastering capabilities.
2
1
0 = Disable
1 = Enable
Memory Space Enable (MSE) — RO. Hardwired to 0, AC ‘97 does not respond to memory
accesses.
I/O Space Enable (IOSE) — R/W. This bit controls access to the I/O space registers.
0 = Disable access. (default = 0).
1 = Enable access to I/O space. The Native PCI Mode Base Address register should be
programmed prior to setting this bit.
0
90
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.4
PCISTS—PCI Status Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
06h–07h
0290h
No
Attribute:
Size:
Power Well:
R/WC, RO
16 bits
Core
PCISTS is a 16-bit status register. Refer to the PCI Local Bus Specification for complete details on
each bit.
Note: For the writable bits, software must write a 1 to clear bits that are set. Writing a 0 to the bit has no
effect.
Bit
Description
15
14
Detected Parity Error (DPE) — RO. Not implemented. Hardwired to 0.
Signaled System Error (SSE) —RO. Not implemented. Hardwired to 0.
Master Abort Status (MAS) — R/WC.
13
0 = Master abort Not generated by bus master AC ‘97 function.
1 = Bus Master AC ‘97 interface function, as a master, generates a master abort.
12
11
Reserved. Read as 0.
Signaled Target Abort (STA) — RO. Not implemented. Hardwired to 0.
DEVSEL# Timing Status (DEV_STS) — RO. This 2-bit field reflects the ICH7's DEVSEL# timing
parameter. These read only bits indicate the ICH7's DEVSEL# timing when performing a positive
decode.
10:9
8
7
Data Parity Error Detected (DPED) — RO. Not implemented. Hardwired to 0.
Fast Back to Back Capable (FB2BC) — RO. Hardwired to 1. This bit indicates that the ICH7 as a
target is capable of fast back-to-back transactions.
6
5
User Definable Features (UDF) — RO. Not implemented. Hardwired to 0.
66 MHz Capable (66MHZ_CAP) — RO. Hardwired to 0.
Capabilities List (CAP_LIST) — RO. Indicates that the controller contains a capabilities pointer list.
The first item is pointed to by looking at configuration offset 34h.
4
Interrupt Status (INTS) — RO.
3
0 = This bit is 0 after the interrupt is cleared.
1 = This bit is 1 when the INTx# is asserted.
2:0
Reserved
Programmer’s Reference Manual
91
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.5
RID—Revision Identification Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
08h
Attribute:
Size:
Power Well:
RO
8 Bits
Core
See bit description
No
Bit
Description
Revision ID — RO. Refer to the Intel® I/O Controller Hub 7 (ICH7) Family Specification Update for
the value of the Revision ID Register.
7:0
3.1.6
3.1.7
PI—Programming Interface Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
09h
00h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
7:0
Programming Interface — RO.
SCC—Sub Class Code Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
0Ah
03h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
Sub Class Code — RO.
03h = Generic Modem.
7:0
3.1.8
BCC—Base Class Code Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
0Bh
07h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
Base Class Code — RO.
7:0
07h = Simple Communications controller.
92
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.9
HEADTYP—Header Type Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
0Eh
00h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
Bit
Description
7:0
Header Type — RO.
3.1.10
MMBAR—Modem Mixer Base Address Register
(Modem—D30:F3)
Address Offset:
Default Value:
10–13h
00000001h
Attribute:
Size:
R/W, RO
32 bits
The Native PCI Mode Modem uses PCI Base Address register #1 to request a contiguous block of
I/O space that is to be used for the Modem Mixer software interface. The mixer requires 256 bytes
of I/O space. All accesses to the mixer registers are forwarded over the AC-link to the codec where
the registers reside.
In the case of the split codec implementation, accesses to the different codecs are differentiated by
the controller by using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh
for the secondary codec.
Bit
Description
31:16
Hardwired to 0’s.
Base Address — R/W. These bits are used in the I/O space decode of the Modem interface
registers. The number of upper bits that a device actually implements depends on how much of the
address space the device will respond to. For the AC ‘97 Modem, the upper 16 bits are hardwired to
0, while bits 15:8 are programmable. This configuration yields a maximum I/O block size of
256 bytes for this base address.
15:8
7:1
0
Reserved. Read as 0
Resource Type Indicator (RTE) — RO. Hardwired to 1 indicating a request for I/O space.
Programmer’s Reference Manual
93
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.11
MBAR—Modem Base Address Register (Modem—D30:F3)
Address Offset:
Default Value:
14h–17h
00000001h
Attribute:
Size:
R/W, RO
32 bits
The Modem function uses PCI Base Address register #1 to request a contiguous block of I/O space
that is to be used for the Modem software interface. The Modem Bus Mastering register space
requires 128 bytes of I/O space. All Modem registers reside in the controller, therefore cycles are
not forwarded over the AC-link to the codec.
Bit
Description
31:16
Hardwired to 0’s.
Base Address — R/W. These bits are used in the I/O space decode of the Modem interface
registers. The number of upper bits that a device actually implements depends on how much of the
address space the device will respond to. For the AC ‘97 Modem, the upper 16 bits are hardwired to
0, while bits 15:7 are programmable. This configuration yields a maximum I/O block size of
128 bytes for this base address.
15:7
6:1
0
Reserved. Read as 0
Resource Type Indicator (RTE) — RO. Hardwired to 1 indicating a request for I/O space.
3.1.12
SVID—Subsystem Vendor Identification Register
(Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
2Ch–2Dh
0000h
No
Attribute:
Size:
Power Well:
R/WO
16 bits
Core
The SVID register, in combination with the Subsystem ID register, enable the operating
environment to distinguish one audio subsystem from the other(s). This register is implemented as
write-once register. Once a value is written to it, the value can be read back. Any subsequent writes
will have no effect.
This register is not affected by the D3
to D0 transition.
HOT
Bit
Description
15:0
Subsystem Vendor ID — R/WO.
94
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.13
SID—Subsystem Identification Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
2Eh–2Fh
0000h
No
Attribute:
Size:
Power Well:
R/WO
16 bits
Core
The SID register, in combination with the Subsystem Vendor ID register make it possible for the
operating environment to distinguish one audio subsystem from another. This register is
implemented as write-once register. Once a value is written to it, the value can be read back. Any
subsequent writes will have no effect.
This register is not affected by the D3
to D0 transition.
HOT
Bit
Description
15:0
Subsystem ID — R/WO.
3.1.14
CAP_PTR—Capabilities Pointer Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
34h
50h
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
This register indicates the offset for the capability pointer.
Bit
Description
Capabilities Pointer (CAP_PTR) — RO. This field indicates that the first capability pointer offset is
offset 50h.
7:0
3.1.15
INT_LN—Interrupt Line Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
3Ch
00h
No
Attribute:
Size:
Power Well:
R/W
8 bits
Core
This register indicates which PCI interrupt line is used for the AC ’97 module interrupt.
Bit
Description
Interrupt Line (INT_LN) — R/W. This data is not used by the Intel® ICH7. It is used to communicate
to software the interrupt line that is connected to the interrupt pin.
7:0
Programmer’s Reference Manual
95
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.16
INT_PIN—Interrupt Pin Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
3Dh
See description
No
Attribute:
Size:
Power Well:
RO
8 bits
Core
This register indicates which PCI interrupt pin is used for the AC ’97 modem interrupt. The AC ’97
interrupt is internally OR’d to the interrupt controller with the PIRQB# signal.
Bit
Description
7:3
2:0
Reserved
Interrupt Pin (INT_PN) — RO. This reflects the value of D30IP.AMIP in chipset configuration space.
3.1.17
PID—PCI Power Management Capability Identification
Register (Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
50h
0001h
No
Attribute:
Size:
Power Well:
RO
16 bits
Core
Bit
Description
15:8
7:0
Next Capability (NEXT) — RO. This field indicates that this is the last item in the list.
Capability ID (CAP) — RO. This field indicates that this pointer is a message signaled interrupt
capability.
3.1.18
PC—Power Management Capabilities Register
(Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
52h
C9C2h
No
Attribute:
Size:
Power Well:
RO
16 bits
Core
Bit
Description
15:11 PME Support — RO. This field indicates PME# can be generated from all D states.
10:9
8:6
Reserved.
Auxiliary Current — RO. This field reports 375 mA maximum Suspend well current required when in
the D3COLD state.
Device Specific Initialization (DSI) — RO. This bit indicates that no device-specific initialization is
required.
5
4
3
Reserved — RO.
PME Clock (PMEC) — RO. This bit indicates that PCI clock is not required to generate PME#.
Version (VS) — RO. This field indicates support for Revision 1.1 of the PCI Power Management
Specification.
2:0
96
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.1.19
PCS—Power Management Control and Status Register
(Modem—D30:F3)
Address Offset:
Default Value:
Lockable:
54h
0000h
No
Attribute:
Size:
Power Well:
R/W, R/WC
16 bits
Resume
This register is not affected by the D3
to D0 transition.
HOT
Bit
Description
PME Status (PMES) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = This bit is set when the AC ’97 controller would normally assert the PME# signal independent of
the state of the PME_En bit. This bit resides in the resume well.
15
14:9
8
Reserved — RO.
PME Enable (PMEE) — R/W.
0 = Disable.
1 = Enable. When set, and if corresponding PMES is also set, the AC '97 controller sets the
AC97_STS bit in the GPE0_STS register.
7:2
Reserved — RO.
Power State (PS) — R/W. This field is used both to determine the current power state of the AC ’97
controller and to set a new power state. The values are:
00 = D0 state
01 = not supported
10 = not supported
11 = D3HOT state
1:0
When in the D3HOT state, the AC ’97 controller’s configuration space is available, but the I/O and
memory spaces are not. Additionally, interrupts are blocked.
If software attempts to write a value of 10b or 01b in to this field, the write operation must complete
normally; however, the data is discarded and no state change occurs.
Programmer’s Reference Manual
97
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2
AC ’97 Modem I/O Space (D30:F3)
In the case of the split codec implementation accesses to the modem mixer registers in different
codecs are differentiated by the controller by using address offsets 00h–7Fh for the primary codec
the modem mixer registers.
®
Table 3-2. Intel ICH7 Modem Mixer Register Configuration
Register
MMBAR Exposed Registers (D30:F3)
Name
Primary
Secondary
00h:38h
3Ch
3Eh
40h
42h
44h
46h
48h
4Ah
4Ch
4Eh
50h
52h
54h
56h
58h
5Ah
7Ch
7Eh
80h:B8h
BCh
BEh
C0h
C2h
C4h
C6h
C8h
CAh
CCh
CEh
D0h
D2h
D4h
D6h
D8h
DAh
FCh
FEh
Intel RESERVED
Extended Modem ID
Extended Modem Stat/Ctrl
Line 1 DAC/ADC Rate
Line 2 DAC/ADC Rate
Handset DAC/ADC Rate
Line 1 DAC/ADC Level Mute
Line 2 DAC/ADC Level Mute
Handset DAC/ADC Level Mute
GPIO Pin Config
GPIO Polarity/Type
GPIO Pin Sticky
GPIO Pin Wake Up
GPIO Pin Status
Misc. Modem AFE Stat/Ctrl
AC ’97 Reserved
Vendor Reserved
Vendor ID1
Vendor ID2
NOTES:
1. Registers in italics are for functions not supported by the ICH7.
2. Software should not try to access reserved registers.
3. The ICH7 supports a modem codec connected to ACZ_SDIN[2:0], as long as the Codec ID is 00 or 01.
However, the ICH7 does not support more than one modem codec. For a complete list of topologies, see
your ICH7 enabled Platform Design Guide.
The Global Control (GLOB_CNT) and Global Status (GLOB_STA) registers are aliased to the
same global registers in the audio and modem I/O space. Therefore a read/write to these registers in
either audio or modem I/O space affects the same physical register. Software could access these
registers as bytes, word, DWord quantities, but reads must not cross DWord boundaries.
98
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
These registers exist in I/O space and reside in the AC ’97 controller. The two channels, Modem in
and Modem out, each have their own set of Bus Mastering registers. The following register
descriptions apply to both channels. The naming prefix convention used is as follows:
MI = Modem in channel
MO = Modem out channel
Table 3-3. Modem Registers
Offset
Mnemonic
Name
Default
Access
Modem In Buffer Descriptor List Base
Address
00h–03h
MI_BDBAR
00000000h
R/W
04h
05h
MI_CIV
MI_LVI
Modem In Current Index Value
Modem In Last Valid Index
Modem In Status
00h
00h
RO
R/W
06h–07h
08h–09h
0Ah
MI_SR
0001h
0000h
00h
R/WC, RO
RO
MI_PICB
MI_PIV
Modem In Position In Current Buffer
Modem In Prefetch Index Value
RO
R/W,
R/W (special)
0Bh
MI_CR
Modem In Control
00h
Modem Out Buffer Descriptor List Base
Address
10h–13h
MO_BDBAR
00000000h
R/W
14h
15h
MO_CIV
MO_LVI
MO_SR
MI_PICB
MO_PIV
Modem Out Current Index Value
Modem Out Last Valid
00h
00h
RO
R/W
16h–17h
18h–19h
1Ah
Modem Out Status
0001h
0000h
00h
R/WC, RO
RO
Modem In Position In Current Buffer
Modem Out Prefetched Index
RO
R/W,
R/W (special)
1Bh
MO_CR
Modem Out Control
Global Control
00h
R/W,
R/W (special)
3Ch–3Fh
GLOB_CNT
00000000h
RO, R/W,
R/WC
40h–43h
44h
GLOB_STA
CAS
Global Status
00300000h
00h
Codec Access Semaphore
R/W (special)
NOTE:
1. MI = Modem in channel; MO = Modem out channel
Note: Internal reset as a result of D3
to D0 transition will reset all the core well registers except the
HOT
registers shared with the AC ’97 audio controller (GCR, GSR, CASR). All resume well registers
will not be reset by the D3 to D0 transition.
HOT
Core well registers and bits not reset by the D3
to D0 transition:
HOT
• offset 3Ch–3Fh – bits [6:0] Global Control (GLOB_CNT)
• offset 40h–43h – bits [29,15,11:10] Global Status (GLOB_STA)
• offset 44h – Codec Access Semaphore Register (CAS)
Resume well registers and bits will not be reset by the D3
to D0 transition:
HOT
• offset 40h–43h – bits [17:16] Global Status (GLOB_STA)
Programmer’s Reference Manual
99
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.1
x_BDBAR—Buffer Descriptor List Base Address Register
(Modem—D30:F3)
I/O Address:
MBAR + 00h (MIBDBAR),
MBAR + 10h (MOBDBAR)
Attribute:
R/W
Default Value:
Lockable:
00000000h
No
Size:
Power Well:
32bits
Core
Software can read the register at offset 00h by performing a single, 32-bit read from address offset
00h. Reads across DWord boundaries are not supported.
Bit
Description
Buffer Descriptor List Base Address [31:3] — R/W. These bits represent address bits 31:3. The
entries should be aligned on 8-byte boundaries.
31:3
2:0
Hardwired to 0.
3.2.2
x_CIV—Current Index Value Register (Modem—D30:F3)
I/O Address:
MBAR + 04h (MICIV),
MBAR + 14h (MOCIV),
Attribute:
RO
Default Value:
Lockable:
00h
No
Size:
Power Well:
8bits
Core
Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single,
32-bit read from address offset 04h. Software can also read this register individually by doing a
single, 8-bit read to offset 04h. Reads across DWord boundaries are not supported.
Bit
Description
7:5
Hardwired to 0.
Current Index Value [4:0] — RO. These bits represent which buffer descriptor within the list of 16
descriptors is being processed currently. As each descriptor is processed, this value is
incremented.
4:0
3.2.3
x_LVI—Last Valid Index Register (Modem—D30:F3)
I/O Address:
MBAR + 05h (MILVI),
MBAR + 15h (MOLVI)
00h
Attribute:
R/W
Default Value:
Power Well:
Core
Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single,
32-bit read from address offset 04h. Software can also read this register individually by doing a
single, 8-bit read to offset 05h. Reads across DWord boundaries are not supported.
Bit
Description
7:5
Hardwired to 0
Last Valid Index [4:0] — R/W. These bits indicate the last valid descriptor in the list. This value is
updated by the software as it prepares new buffers and adds to the list.
4:0
100
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.4
x_SR—Status Register (Modem—D30:F3)
I/O Address:
MBAR + 06h (MISR),
MBAR + 16h (MOSR)
Attribute:
R/WC, RO
Default Value:
Lockable:
0001h
No
Size:
Power Well:
16 bits
Core
Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single,
32-bit read from address offset 04h. Software can also read this register individually by doing a
single, 16-bit read to offset 06h. Reads across DWord boundaries are not supported.
Bit
Description
15:5
Reserved
FIFO Error (FIFOE) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = FIFO error occurs.
Modem in: FIFO error indicates a FIFO overrun. The FIFO pointers don't increment, the incoming
4
3
data is not written into the FIFO, thereby being lost.
Modem out: FIFO error indicates a FIFO underrun. The sample transmitted in this case should be
the last valid sample.
The ICH7 will set the FIFO bit if the under-run or overrun occurs when there are more valid buffers
to process.
Buffer Completion Interrupt Status (BCIS) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = Set by the hardware after the last sample of a buffer has been processed, AND if the Interrupt
on Completion (IOC) bit is set in the command byte of the buffer descriptor. Remains active
until software clears bit.
Last Valid Buffer Completion Interrupt (LVBCI) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = Set by hardware when last valid buffer has been processed. It remains active until cleared by
software. This bit indicates the occurrence of the event signified by the last valid buffer being
processed. Thus, this is an event status bit that can be cleared by software once this event has
been recognized. This event will cause an interrupt if the enable bit in the Control Register is
set. The interrupt is cleared when the software clears this bit.
2
In the case of transmits (PCM out, Modem out) this bit is set, after the last valid buffer has been
fetched (not after transmitting it). While in the case of Receives, this bit is set after the data for
the last buffer has been written to memory.
Current Equals Last Valid (CELV) — RO.
0 = Hardware clears when controller exists state (i.e., until a new value is written to the LVI
register).
1 = Current Index is equal to the value in the Last Valid Index Register, AND the buffer pointed to
by the CIV has been processed (i.e., after the last valid buffer has been processed). This bit is
very similar to bit 2, except this bit reflects the state rather than the event. This bit reflects the
state of the controller, and remains set until the controller exits this state.
1
0
DMA Controller Halted (DCH) — RO.
0 = Running.
1 = Halted. This could happen because of the Start/Stop bit being cleared and the DMA engines
are idle, or it could happen once the controller has processed the last valid buffer.
Programmer’s Reference Manual
101
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.5
x_PICB—Position in Current Buffer Register
(Modem—D30:F3)
I/O Address:
MBAR + 08h (MIPICB),
MBAR + 18h (MOPICB),
Attribute:
RO
Default Value:
Lockable:
0000h
No
Size:
Power Well:
16 bits
Core
Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from
the address offset 08h. Software can also read this register individually by doing a single, 16-bit
read to offset 08h. Reads across DWord boundaries are not supported.
Bit
Description
Position In Current Buffer[15:0] — RO. These bits represent the number of samples left to be
processed in the current buffer.
15:0
3.2.6
x_PIV—Prefetch Index Value Register
(Modem—D30:F3)
I/O Address:
MBAR + 0Ah (MIPIV),
MBAR + 1Ah (MOPIV)
Attribute:
RO
Default Value:
Lockable:
00h
No
Size:
Power Well:
8 bits
Core
Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from
the address offset 08h. Software can also read this register individually by doing a single, 8-bit read
to offset 0Ah. Reads across DWord boundaries are not supported.
Bit
Description
7:5
Hardwired to 0
Prefetched Index Value [4:0] — RO. These bits represent which buffer descriptor in the list has
been prefetched.
4:0
102
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.7
x_CR—Control Register (Modem—D30:F3)
I/O Address:
MBAR + 0Bh (MICR),
MBAR + 1Bh (MOCR)
Attribute:
R/W, R/W (special)
Default Value:
Lockable:
00h
No
Size:
Power Well:
8 bits
Core
Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from
the address offset 08h. Software can also read this register individually by doing a single, 8-bit read
to offset 0Bh. Reads across DWord boundaries are not supported.
Bit
Description
7:5
Reserved
Interrupt on Completion Enable (IOCE) — R/W. This bit controls whether or not an interrupt
occurs when a buffer completes with the IOC bit set in its descriptor.
4
3
2
0 = Disable
1 = Enable
FIFO Error Interrupt Enable (FEIE) — R/W. This bit controls whether the occurrence of a FIFO
error will cause an interrupt or not.
0 = Disable. Bit 4 in the Status Register will be set, but the interrupt will not occur.
1 = Enable. Interrupt will occur.
Last Valid Buffer Interrupt Enable (LVBIE) — R/W. This bit controls whether the completion of the
last valid buffer will cause an interrupt or not.
0 = Disable. Bit 2 in the Status register will still be set, but the interrupt will not occur.
1 = Enable
Reset Registers (RR) — R/W (special).
0 = Removes reset condition.
1 = Contents of all registers to be reset, except the interrupt enable bits (bit 4,3,2 of this register).
Software needs to set this bit. It must be set only when the Run/Pause bit is cleared. Setting it
when the Run bit is set will cause undefined consequences. This bit is self-clearing (software
needs not clear it).
1
0
Run/Pause Bus Master (RPBM) — R/W.
0 = Pause bus master operation. This results in all state information being retained (i.e., master
mode operation can be stopped and then resumed).
1 = Run. Bus master operation starts.
Programmer’s Reference Manual
103
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.8
GLOB_CNT—Global Control Register (Modem—D30:F3)
I/O Address:
Default Value:
Lockable:
MBAR + 3Ch
00000000h
No
Attribute:
Size:
Power Well:
R/W, R/W (special)
32 bits
Core
Bit
Description
31:6
Reserved.
ACZ_SDIN2 Interrupt Enable (S2RE) — R/W.
0 = Disable.
6
1 = Enable an interrupt to occur when the codec on the ACZ_SDIN2 causes a resume event on
the AC-link.
ACZ_SDIN1 Resume Interrupt Enable (S1RE) — R/W.
0 = Disable.
5
1 = Enable an interrupt to occur when the codec on the ACZ_SDIN1 causes a resume event on
the AC-link.
ACZ_SDIN0 Resume Interrupt Enable (S0RE) — R/W.
0 = Disable.
4
3
1 = Enable an interrupt to occur when the codec on ACZ_SDIN0 causes a resume event on the
AC-link.
AC-LINK Shut Off (LSO) — R/W.
0 = Normal operation.
1 = Controller disables all outputs which will be pulled low by internal pull down resistors.
AC ’97 Warm Reset — R/W (special).
0 = Normal operation.
1 = Writing a 1 to this bit causes a warm reset to occur on the AC-link. The warm reset will awaken
a suspended codec without clearing its internal registers. If software attempts to perform a
warm reset while bit_clk is running, the write will be ignored and the bit will not change. This bit
is self-clearing (it remains set until the reset completes and bit_clk is seen on the AC-link, after
which it clears itself).
2
AC ’97 Cold Reset# — R/W.
0 = Writing a 0 to this bit causes a cold reset to occur throughout the AC ‘97 circuitry. All data in the
controller and the codec will be lost. Software needs to clear this bit no sooner than the
minimum number of ms have elapsed.
1 = This bit defaults to 0 and hence after reset, the driver needs to set this bit to a 1. The value of
this bit is retained after suspends; hence, if this bit is set to a 1 prior to suspending, a cold reset
is not generated automatically upon resuming.
1
0
NOTE: This bit is in the Core well.
GPI Interrupt Enable (GIE) — R/W. This bit controls whether the change in status of any GPI
causes an interrupt.
0 = Bit 0 of the Global Status Register is set, but no interrupt is generated.
1 = The change in value of a GPI causes an interrupt and sets bit 0 of the Global Status Register.
NOTE: This bit is cleared by the AC ‘97 Modem function D3HOT to D0 reset.
Note: Reads across DWord boundaries are not supported.
104
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.9
GLOB_STA—Global Status Register (Modem—D30:F3)
I/O Address:
Default Value:
Lockable:
MBAR + 40h
00300000h
No
Attribute:
Size:
Power Well:
RO, R/W, R/WC
32 bits
Core
Bit
Description
31:30 Reserved.
ACZ_SDIN2 Resume Interrupt (S2RI) — R/WC. This bit indicates a resume event occurred on
ACZ_SDIN2.
0 = Software clears this bit by writing a 1 to it.
1 = Resume event occurred.
29
NOTE: This bit is not affected by D3HOT to D0 Reset.
ACZ_SDIN2 Codec Ready (S2CR) — RO. This bit reflects the state of the codec ready bit on
ACZ_SDIN2. Bus masters ignore the condition of the codec ready bits, so software must check this
bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready”
spontaneously.
28
27
0 = Not Ready.
1 = Ready.
Bit Clock Stopped (BCS) — RO. This bit indicates that the bit clock is not running.
0 = Transition is found on BIT_CLK.
1 = Intel® ICH7 detects that there has been no transition on BIT_CLK for four consecutive PCI
clocks.
S/PDIF* Interrupt (SPINT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = S/PDIF out channel interrupt status bits have been set.
26
25
24
PCM In 2 Interrupt (P2INT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the PCM In 2 channel status bits have been set.
Microphone 2 In Interrupt (M2INT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the Mic in channel interrupts status bits has been set.
Sample Capabilities — RO. This field indicates the capability to support greater than 16-bit audio.
00 = Reserved
23:22 01 = 16 and 20-bit Audio supported (ICH7 value)
10 = Reserved
11 = Reserved
Multichannel Capabilities — RO. This field indicates the capability to support 4 and 6 channels on
21:20
PCM Out.
19:18 Reserved.
MD3 — R/W. Power down semaphore for Modem. This bit exists in the suspend well and maintains
context across power states (except G3). The bit has no hardware function. It is used by software in
17
16
conjunction with the AD3 bit to coordinate the entry of the two codecs into D3 state.
NOTE: This bit is not affected by D3HOT to D0 Reset.
AD3 — R/W. Power down semaphore for Audio. This bit exists in the suspend well and maintains
context across power states (except G3). The bit has no hardware function. It is used by software in
conjunction with the MD3 bit to coordinate the entry of the two codecs into D3 state.
NOTE: This bit is not affected by D3HOT to D0 Reset.
Read Completion Status (RCS) — R/WC. This bit indicates the status of codec read completions.
Software clears this bit by writing a 1 to it.
0 = A codec read completes normally.
1 = A codec read results in a time-out.
15
14
NOTE: This bit is not affected by D3HOT to D0 Reset.
Bit 3 of Slot 12 — RO. Display bit 3 of the most recent slot 12.
Programmer’s Reference Manual
105
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
Bit
Description
13
12
Bit 2 of Slot 12 — RO. Display bit 2 of the most recent slot 12.
Bit 1 of Slot 12 — RO. Display bit 1 of the most recent slot 12.
ACZ_SDIN1 Resume Interrupt (S1RI) — R/WC. This bit indicates that a resume event occurred on
ACZ_SDIN1. Software clears this bit by writing a 1 to it.
0 = Resume event did Not occur.
1 = Resume event occurred.
11
10
9
NOTE: This bit is not affected by D3HOT to D0 Reset.
ACZ_SDIN0 Resume Interrupt (S0RI) — R/WC. This bit indicates that a resume event occurred on
ACZ_SDIN0. Software clears this bit by writing a 1 to it.
0 = Resume event did Not occur.
1 = Resume event occurred.
NOTE: This bit is not affected by D3HOT to D0 Reset.
ACZ_SDIN1 Codec Ready (S1CR) — RO. This bit reflects the state of the codec ready bit in
ACZ_SDIN1. Bus masters ignore the condition of the codec ready bits, so software must check this
bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready”
spontaneously.
0 = Not Ready.
1 = Ready.
ACZ_SDIN0 Codec Ready (S0CR) — RO. This bit reflects the state of the codec ready bit in
ACZ_SDIN 0. Bus masters ignore the condition of the codec ready bits, so software must check this
bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready”
spontaneously.
8
0 = Not Ready.
1 = Ready.
Microphone In Interrupt (MINT) — RO.
7
6
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the Mic in channel interrupts status bits has been set.
PCM Out Interrupt (POINT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the PCM out channel interrupts status bits has been set.
PCM In Interrupt (PIINT) — RO.
5
4:3
2
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the PCM in channel interrupts status bits has been set.
Reserved
Modem Out Interrupt (MOINT) — RO.
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the modem out channel interrupts status bits has been set.
Modem In Interrupt (MIINT) — RO.
1
0
0 = When the specific status bit is cleared, this bit will be cleared.
1 = One of the modem in channel interrupts status bits has been set.
GPI Status Change Interrupt (GSCI) — R/WC.
0 = Software clears this bit by writing a 1 to it.
1 = This bit reflects the state of bit 0 in slot 12, and is set when bit 0 of slot 12 is set. This indicates
that one of the GPI’s changed state, and that the new values are available in slot 12.
NOTE: This bit has not affected by AC ‘97 Audio Modem function D3HOT to D0 Reset.
Note: On reads from a codec, the controller will give the codec a maximum of four frames to respond,
after which if no response is received, it will return a dummy read completion to the processor
(with all F’s on the data) and also set the Read Completion Status bit in the Global Status Register.
Note: Reads across DWord boundaries are not supported.
106
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
3.2.10
CAS—Codec Access Semaphore Register
(Modem—D30:F3)
I/O Address:
Default Value:
Lockable:
NABMBAR + 44h
00h
No
Attribute:
Size:
Power Well:
R/W (special)
8 bits
Core
Bit
Description
7:1
Reserved
Codec Access Semaphore (CAS) — R/W (special). This bit is read by software to check whether a
codec access is currently in progress.
0
0 = No access in progress.
1 = The act of reading this register sets this bit to 1. The driver that read this bit can then perform
an I/O access. Once the access is completed, hardware automatically clears this bit.
Note: Reads across DWord boundaries are not supported.
§
Programmer’s Reference Manual
107
Download from Www.Somanuals.com. All Manuals Search And Download.
AC ’97 Modem Controller Registers (D30:F3)
108
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
®
4 Intel High Definition Audio BIOS
Considerations
®
The Intel HD Audio controller (Bus #0, Device #27, Function #0) is an ICH7 internal PCI
Express Endpoint device. Software may access the Intel® HD Audio controller registers (including
the memory mapped registers) by byte, word, DWord quantities and on natural boundaries; DWord
accesses must be on dWord boundaries, word accesses on word boundaries, etc. This chapter
describes BIOS requirements for Intel® HD Audio controller support.
®
4.1
Intel High Definition Audio/AC’ 97 Signal Mode
Selection
The Intel® HD Audio controller and the AC’97 controllers (audio and modem) share the same
AC97# Signal Mode (AZ/AC97#) bit at D27:F0:Reg40h[0] determines which one of the two
controllers is connected to the codec.
®
Figure 4-1. Intel ICH7 High Definition Audio/AC’ 97 Share Signals to Codecs
Signal Names
®
Intel ICH7
ACZ_RST#
ACZ_SYNC
ACZ_BIT_CLK
HD Audio
ACZ_SDOUT
ACZ_SDIN[2:0]
D27:F0
=1
X
Codecs
=0
AC’ 97
D30:F2,F3
- HD Audio/AC97Signal Mode Selection
( D27:F0:Reg40h[0] AZ/AC97# )
X
- ICH7 HD Audio/AC’ 97 Share Signals to Codecs -
Programmer’s Reference Manual
109
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
4.1.1
Intel® High Definition Audio/AC’ 97 Codec Detection
Before PCI device enumeration during POST, BIOS must determine the type of codec present on
the platform, then program the AZ/AC97# bit to select either Intel® HD Audio or AC’ 97 signal
mode, and program the corresponding bit in the Function Disable register (RCBA+ 3418h[6:4]) to
disable the other controller.
If the BIOS has inherent knowledge of which type of Codec(s) will be connected to the ICH7’s
signals, it can set the AZ/AC97# bit accordingly.
ICH7 also provides a mechanism for software to detect the type of the codec present on the
platform. Below is the Intel® HD Audio register used in the codec detection.
D27:F0:Reg40h – AZCTL—Intel® HD Audio Control
Bit
Type
Reset
Description
7:4
RsvdP
0s
Reserved
BITCLK Detect Clear (CLKDETCLR): Writing a 1 to this bit clears the
CLKDET# bit. The CLKDET# bit remains clear while this bit is set to 1. When a
0 is written to this bit, the clock detect circuit is operational and may be enabled.
3
2
R/W
R/W
0
0
BITCLK Detect Enable (CLKDETEN): Writing a 1 to this bit enables the clock
detection circuit. Writing a 0 latches the current state of the CLKDET# bit.
BITCLK Detected Inverted (CLKDET#): This bit is modified by hardware. It is
set to 0 when the ICH7 detects that the BITCLK signal is toggling, indicating the
presence of an AC’97 codec on the link. Note that the CLKDETEN and
CLKDETCLR bits control the operation of this bit and must be manipulated
correctly to get a valid CLKDET# indicator.
1
RO
0
Intel® HD Audio/AC97# Signal Mode (AZ/AC97#): This bit selects the mode
of the shared Intel® HD Audio/AC97 signals.
0 = AC97 mode is selected.
1 = Intel® HD Audio mode is selected.
The bit defaults to 0 (AC97 mode) to protect against contention on BCLK when
an AC97 codec is connected.
0
R/W
0
Note that this bit has no effect on the visibility of the AC97 and Intel® HD Audio
function configuration space. That is controlled through individual function
enable bits.
This bit is in the resume well and only cleared on a power-on reset. Software
must not make assumptions about the reset state of this bit and must set it
appropriately.
In the Intel® HD Audio environment the ICH7 drives BITCLK signal. The AZ/AC97# bit defaults
to 0 (AC97 mode) after reset, so the BITCLK signal will be configured as an input. The ICH7
samples the BITCLK signal. If it is toggling the CLKDET# bit will be set to 0. The BIOS can read
this bit and set the AZ/AC97# bit accordingly.
BIOS should perform this detection prior to PCI enumeration. The following is the BIOS software
flow for codec detection:
1. Ensure that ICH7 RCBA base address register (D31:F0:Reg F0h) is initialized and enabled.
2. Ensure that both AC’97 and Intel® HD Audio functions are present (RCBA+
3418[6:4]=000b), which is the power on default.
3. Set IOSE bit (D30:F2:Reg41h[0]=1), program the AC'97 function's PCI BARs with temporary
address values and enable IO BAR space via PCI command register.
110
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
4. De-assert AC_RESET# bit to take the link out of RESET# (NABMBAR at D30:F2:Reg14h +
offset 2Ch[1]=1).
5. Wait ~20ms for AC'97 codec driven BIT_CLK startup.
6. Write a 0 to the Intel® HD Audio/AC97# bit (D27:F0:Reg40h[0]=0) to ensure that AC’97
mode is selected.
7. Make sure that CLKDET# bit is cleared by writing a 1 and then a 0 to the CLKDETCLR bit.
8. Write a 1 to the CLKDETEN bit to enable the clock detection circuit.
9. Write a 0 to the CLKDETEN bit.
10. Read the CLKDET# bit.
11. If CLKDET# is clear(==0), then the codec(s) are AC'97. Disable and hide the Intel® HD
Audio function. Skip the steps below and exit.
12. If CLKDET# is set (==1), then the codec(s) are Intel® HD Audio.
13. Reassert AC_RESET# bit to put the link back into reset state (NABMBAR at D30:F2:Reg14h
+ offset 2Ch[1]=0).
14. Clear the AC'97 BARs and disable memory/IO space through its PCI register 04h.
15. Hide the AC'97 functions (RCBA+ 3418h[6:5] = 11b)
16. Set the AZ/AC'97# bit to 1 to enable Intel® HD Audio signal mode (D27:F0:Reg40h[0]=1b)
17. Program the Intel® HD Audio AZBAR at PCI config space 10h-17h to a temporary address
and enable it by setting PCI command register 04h[1]=1.
18. De-assert the Controller Reset# bit in Intel® HD Audio to cause the link to start up
(AZBAR+08h [0] = 1)
19. Clear STATESTS bits (AZBAR+0Eh [2:0]) by writing 1s to them.
20. Turn off the link by writing a 0 to the Controller Reset# bit in Intel® HD Audio (AZBAR+08h
[0] = 0). Poll Controller Reset# bit until it reads back as 0.
21. Turn on the link again by writing a 1 to Controller Reset# bit (AZBAR+08h [0] = 1). This
causes a codec link re-enumeration. Wait for about 1 millisecond (ms). Poll Controller Reset#
bit until it reads back as 1.
22. Read the STATESTS bits (AZBAR+0Eh [2:0]) which will indicate which SDIN lines have
codecs on them. If there is one or more bits set to 1, Intel® HD Audio codec(s) are present, go
to step 24. Otherwise there is no codec present.
23. If there is no codec present, BIOS can disable the Intel® HD Audio controller by
• Turning off the link by writing a 0 to the Controller Reset bit (AZBAR+08h [0] = 0).
• Clearing Intel® HD Audio AZBAR register (offset 10h), then write 0 to PCI command
register at offset 04h.
• Disabling Intel® HD Audio controller via Function Disable register (set RCBA+ 3418h[4]
=1).
Skip the following steps and exit.
24. For each Intel® HD Audio codec present as indicated by AZBAR+0Eh[2:0], perform codec
initialization as described in the next section.
Programmer’s Reference Manual
111
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
®
4.1.2
Intel High Definition Audio Codec Initialization
This section involves the programming interface on Intel® HD Audio codec link. Readers are
encouraged to read the relevant chapters of Intel® HD Audio Specification for information
regarding architecture overview, register interface, programming model and codec features and
requirements.
Intel® HD Audio allows flexible configurations of the inputs and outputs among its internal
functional units and between codec and external jacks. Each pair of pins in the codec is assigned to
an internal node in the codec, so the information related to the jack position, color coding, etc. is
mapped to the node that is internally assigned to the pins and wired to a jack. This information will
allow the audio driver to configure the audio codecs correctly.
After BIOS has determined the presence of Intel® HD Audio codec(s), it must follow the
programming sequence given in this section to update the codec with correct jack information
specific to the platform for Intel® HD Audio driver to retrieve and use later. If the codecs are not
initialized with this platform-specific information, the Intel® HD Audio driver will use the default
data in the codecs which may or may not match the pin/jack connections or jack locations of the
platform.
®
4.1.2.1
Intel High Definition Audio Codec Architecture Introduction
The Intel® HD Audio Specification defines a modular codec architecture that is fully discoverable
and configurable by software. It provides for the construction and description of various codec
functions from a defined set of parameterized modules (building blocks, or Widgets). Each such
module and each collection of modules becomes a uniquely addressable Node, from which
software can read capability parameters and to which it can send control commands. The root node
is the top level node and always has a Node ID (NID) of 0. Each node contains information of the
For each Intel® HD Audio codec present, a unique Codec Address (CAd) is assigned to the codec
by hardware after reset during the codec link initialization and will be used for software to address
each codec. For instance, the codec connected to SDI0 (as indicated by AZBAR+0Eh[0]=1) has its
CAd=0, the codec connected to SDI1 (as indicated by AZBAR+0Eh[1]=1) has its CAd=1, and so
on, each node in a codec has its pre-defined, unique Node ID (NID). The CAd+NID combination is
used by a Verb to uniquely address a codec node.
112
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
®
Figure 4-2. Intel High Definition Audio Codec Node Structure and Addressing
Root Node
Root Node NID=0 Strt=3
Function Group Nodes
(e.g., Audio, Modem)
NID= 3
Strt= 9
NID = 4
NID = 5
Strt = 12
Strt = 68
Widget Nodes
NID=70
NID=9
NID=11
NID=68
NID=12 NID=13
(e.g., Pin, DAC)
NID=69
NID=10
A codec verb is a 32-bit DWord command sent to a codec by software that contains the following
information:
• Codec address and Node ID of the target node in the codec
• Command to be performed by the target node
• Data payload (if any)
Below is the format of a Verb dword.
There are two ways for software to send verbs to and receive response data from codecs over the
Intel® HD Audio codec link: Using CORB/RIRB (Command Output Ring Buffer / Response Input
Ring Buffer), or using Immediate Command/Immediate Response register pair. See the Intel® HD
Audio Specification for details of register description and programming interface.
4.1.2.2
Codec Verb Table
For each codec present on the Intel® HD Audio codec link, a corresponding pre-defined “Codec
Verb Table” must be available to BIOS. The Codec Verb Tables are based on codec specific
information (coded datasheet) and platform design specific information (schematics) and are built
by BIOS writers and platform designers. The table contains a list of 32-bit “Verb”s (command and
data payload) to be sent to the corresponding codec over the Intel® HD Audio codec link.
Programmer’s Reference Manual
113
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
Below is a sample Intel® HD Audio Codec Verb Table, defined in Intel x86 Assembly Language,
for a platform with 1 codec at codec address 01h.
;Sample Intel® HD Audio Codec Verb Table
;Codec Address (CAd) = 01h
;Codec Vendor: XYZ Company
;VenID DevID:
dd 12345678h
;SubsystemID: Program 0x87654321h
dd 10172021h
dd 10172143h
dd 10172265h
dd 10172387h
;--------------------------------------------------
; FrontPanel_Supported? ; 1=Supported , 0=Not supported
db 01h
; # of Rear Panel Pin Complexes
dw 0009h
; # of Front Panel Pin Complexes
dw 0002h------------------------------------------------
VerbTable0:
;Pin Complex 1
(NID 12h)
(NID 11h)
(NID 13h)
(NID 32h)
dd 11271C11h
dd 11271D81h
dd 11271E30h
dd 11271F00h
;Pin Complex 2
dd 11171C11h
dd 11171D01h
dd 11171E40h
dd 11171F00h
;Pin Complex 3
dd 11371C11h
dd 11371DA1h
dd 11371E60h
dd 11371F00h
;Pin Complex 4
dd 13271C11h
dd 13271D01h
dd 13271E00h
dd 13271F00h
114
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
;Pin Complex 5
(NID 15h)
dd 11571C11h
dd 11571D01h
dd 11571E00h
dd 11571F00h
;Pin Complex 6
(NID 31h)
dd 13171C11h
dd 13171D01h
dd 13171E00h
dd 13171F00h
;Pin Complex 9 (NID 19h)
dd 11971C11h
dd 11971DC4h
dd 11971E00h
dd 11971F00h
;Pin Complex 10
(NID 18h)
(NID 17h)
dd 11871C11h
dd 11871D04h
dd 11871E00h
dd 11871F00h
;Pin Complex 11
dd 11771C90h
dd 11771D3Fh
dd 11771E00h
dd 11771F00h
VerbTable0FP:
;Pin Complex 7
dd 11471C02h
(NID 14h) Front Panel Jack
dd 11471D21h
dd 11471E10h
dd 11471F00h
;Pin Complex 8
(NID 16h) Front Panel Jack
dd 11671C02h
dd 11671DA1h
dd 11671E10h
dd 11671F00h
Programmer’s Reference Manual
115
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
4.1.2.3
Codec Initialization Programming Sequence
After BIOS has determined the presence of Intel® HD Audio codec(s), it must follow the
programming sequence given in this section to update the codec with correct jack information
specific to the platform for Intel® HD Audio driver to retrieve and use later.
There are two ways for software to send verbs to and receive response data from codecs over the
Intel® HD Audio codec link: Using CORB/RIRB (Command Output Ring Buffer / Response Input
Ring Buffer), or using Immediate Command/Immediate Response register pair. The sequence
below uses the latter which does not require the availability of a memory buffer.
BIOS should ensure that the Intel® HD Audio AZBAR at PCI config space 10h-17h contains a
valid address value and is enabled by setting PCI command register 04h[1]=1. BIOS should also
ensure that the Controller Reset# bit of Global Control register in memory-mapped space
(AZBAR+08h[0]) is set to 1 and read back as 1.
For each Intel® HD Audio codec present as indicated by AZBAR+0Eh[2:0], BIOS should perform
the codec initialization as described below:
1. Read the VenderID/DeviceID pair from the attached codec
• Poll the ICB bit of IRS register at AZBAR+68h[0] to make sure it returns 0.
• Write verb c00F0000h (dword) to the IC register at AZBAR+60h, where: ‘c’ (bits
31:28) represents the codec address (CAd).
• Write the bits of IRS register at AZBAR+68h[1:0] to 11b to send the verb to codec.
• Poll IRS register bits at AZBAR+68h[1:0] until it returns 10b indicating the verb has
been sent to the codec and response data from codec is now valid.
• Read the IR register at AZBAR+64h, the dword data is the VID/DID value returned by
the codec.
2. Check against internal list to determine if there is a stored verb table which matches the CAd/
VID/DID information.
Note that steps 1 and 2 are BIOS implementation-specific steps and can be done in different
ways. If a BIOS has prior knowledge of fixed platform/codec combination (e.g., for a BIOS
having 3 stored verb tables for 3 known codecs at known codec addresses on a known
platform), a simple pre-defined codec-to-table matching can be used and steps 1 and 2 can be
eliminated. For a BIOS to support multiple codec/platform combinations, an internal match-
list might be needed to match a platform/codec combination to a codec verb table.
3. If there is a match, send the entire list of verbs in the matching verb table one by one to the
codec.
• Poll the ICB bit of IRS register at AZBAR+68h[0] to make sure it returns 0.
• Write the next verb (dword) in the table to the IC register at AZBAR+60h,
• Write the bits of IRS register at AZBAR+68h[1:0] to 11b to send the verb to codec.
• Poll the ICB bit of IRS register at AZBAR+68h[0] until it returns 0 indicating the verb has
been sent to the codec.
• Repeat the steps until all the verbs in the table have been sent.
Note: Some verbs in the table may need to be qualified by certain platform-specific conditions. For
example, for the sample table above, the verbs for Pin Complex 7 and 8 (NID=14,16 respectively)
should be sent only if the Front Panel Jacks are present and connected on the platform, which may
be indicated by a software flag that is controlled by certain GPIO pin state.
116
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
4.1.2.4
Codec Initialization Sample Code
This section shows an example of code implementation of the Intel® HD Audio codec
initialization sequence.
;----------------------------------------------------------------------------
;
; Procedure:InitializeIntel®HDAudioCodecs
;
; Description:Initialize Intel®HDAudioCodecs by sending
; codec verbs to codecs.
;
; Input:
; ES - 0000h with 4GB limit.
; STACK- Available.
; Intel® HD Audio controller's AZBAR is initialized and enabled.
; Codec verb tables are available and defined in the
; same code segment.
;
; Output:
; CF : 1 = Codec initialization failure
; CF : 0 = Codec initialization success
;
; Registers modified:All except segment registers.
;
; Notes:
; MKF_HDAudio_BASE_ADDRESS = the value of AZBAR register
; MKF_MAX_NUM_AZAL_CODECS = 3 (max of 3 codecs supported)
; HDAudio_MMIO_STATESTS = 0Eh
; HDAudio_MMIO_IC = 60h
; HDAudio_MMIO_IR = 64h
; HDAudio_MMIO_ICS_ICB = 68h
; VerbHeaderSize = 11d
;----------------------------------------------------------------------------
InitializeHDAudioCodecs PROC NEAR PUBLIC
;
ebx will always hold the Intel® HD Audio base address
mov ebx, MKF_HDAudio_BASE_ADDRESS
;
;
ecx is the current codec address (only 15 codecs are supported in the
Intel® HD Audio spec so only the lower 4 bits are relevant)
mov ecx, MKF_MAX_NUM_AZAL_CODECS
Programmer’s Reference Manual
117
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
;
;
dx is the map of SDI pins, and the bits will be cleared as the
associated codecs are serviced
mov dx, word ptr es:[ebx+HDAudio_MMIO_STATESTS]
InitCurrentCodec:
dec cx
btr dx, cx
; Test for 'cx'th codec
jnc NextSDI
;----------------------------------------------------------------------------
;1. Ensure Intel® HD Audio device is enabled and BARs are programmed
;
; a. Program Intel® HD Audio BARs with temporary values
; b. Enable memory space and bus mastering
; c. Deassert CRST#
;----------------------------------------------------------------------------
;
a. Set the AZ/AC'97# bit to 1 to enable Intel® HD Audio signal mode
(D27:F0:Reg40h[0]=1b)
mov ah, HDAudio_AZCTL_OFFSET
mov al, HDAudio_AZCTL_OFFSET_AZ_AC97
_SET_PCI_FAR HDAudio
;
b. Program the Intel® HD Audio AZBAR at PCI config space 10h-17h
to a temporary address
mov ah, PCI_BAR0
mov ebx, MKF_HDAudio_BASE_ADDRESS
_WRITE_PCI_DWORD_FAR HDAudio
;
;
c. Enable memory space and bus mastering for Intel® HD Audio
mov al, CMD_MEM_SPACE+CMD_BUS_MASTER
_SET_PCI_FAR HDAudio
d. Deassert the CRST bit in Intel® HD Audio to cause the link to start
up(AZBAR+08h[0]=1)
or
byte ptr es:[ebx+HDAudio_MMIO_GCTL],
HDAudio_MMIO_GCTL_CRST
;----------------------------------------------------------------------------
;2. Read the Vendor ID/Device ID pair from the attached codec
;
; a. Poll the ICB bit in the ICS register at AZBAR+68h[0] until it returns 0
;
b. Write verb c00F0000h (dword) to the IC register at AZBAR+60h;
where 'c'
118
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
;
(bits 31:28) respresents the codec address (CAd).
; c. Set bits 1:0 of the IRS register at AZBAR+68h[1:0]
d. Poll ICS register bits at AZBAR+68h[1:0] until they return 10b
indicating
;
;
the verb has been sent to the codec and response data from codec is
now valid.
;
e. Read IR register at AZBAR+64h, the dword data is the VendorID/
Device
;
ID value returned by the codec
;----------------------------------------------------------------------------
;
a. Poll the ICB bit in the ICS register at AZBAR+68h[0] until it returns 0
push cx
xor cx, cx
PollICBBit:
; 64K cycles
test
HDAudio_MMIO_ICS_ICB
jz ICBBitClear
loop PollICBBit
word ptr es:[ebx+HDAudio_MMIO_ICS],
; Poll ICB bit until it returns 0
;
;
Add error handling code here
When timeout occurs, reset link per audio driver team request
and
byte ptr es:[ebx+HDAudio_MMIO_GCTL], NOT
HDAudio_MMIO_GCTL_CRST
or
byte ptr es:[ebx+HDAudio_MMIO_GCTL],
HDAudio_MMIO_GCTL_CRST
ICBBitClear:
pop cx
;
b. Write verb c00F0000h (dword) to the IC register at AZBAR+60h;
where 'c'
;
;
(bits 31:28) respresents the codec address (CAd).
mov eax, ecx
shl eax, 28
or
eax, 000F0000h
mov dword ptr es:[ebx+HDAudio_MMIO_IC], eax ; Write the verb
c. Set bits 1:0 of the IRS register at AZBAR+60h[1:0]
or
command
word ptr es:[ebx+HDAudio_MMIO_ICS], BIT1+BIT0 ; Send the
;
d. Poll ICS register bits at AZBAR+68h[1:0] until they return 10b
indicating
Programmer’s Reference Manual
119
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
;
the verb has been sent to the codec and response data from codec
is now valid.
PollDataValid:
mov al, byte ptr es:[ebx+HDAudio_MMIO_ICS]
cmp al, 10b
jne PollDataValid
;
e. Read IR register at AZBAR+64h, the dword data is the VendorID/
Device
;
ID value returned by the codec
eax, dword ptr es:[ebx+HDAudio_MMIO_IR] ; eax=vendorID/
mov
deviceID
;----------------------------------------------------------------------------
;3. Check against the list of supported vendor ID/Device ID combinations
;
to determine if the received VID/DID is supported.
;----------------------------------------------------------------------------
push ecx
call CheckforValidCodec
or
cx, cx
jz
VerbTableDone
; jump if VID/DID not supported
;----------------------------------------------------------------------------
;4. If there is a match, send the entire list of verbs in the matching verb
;
table one by one to the codec
; a. Poll the ICB bit of the ICS register at AZBAR+68h[0] until it returns 0.
b. Write the next verb (dword) in the table to the IC register at
;
AZBAR+60h.
; c. Write the bits of the ICS register at AZBAR+68h[1:0] to 11b to send the
;
verb to the codec.
; d. Repeat steps 4a-4c until all verbs in the table have been sent for the
current codec.
;----------------------------------------------------------------------------
;
;
a. Poll the ICB bit of the ICS register at AZBAR+68h[0] until it returns 0.
push cx
xor cx, cx
PollICBBit2:
120
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
test
HDAudio_MMIO_ICS_ICB
jz ICBBit2
word ptr es:[ebx+HDAudio_MMIO_ICS],
; Poll ICB bit until it returns 0 (need to
change”HDAudio” in this command to HDAudio?
loop PollICBBit2
;
Add error handling code here
ICBBit2:
pop cx
;
b. Write the current verb (dword) in the table to the IC register at
AZBAR+60h.
mov eax, dword ptr cs:[si]
mov dword ptr es:[ebx+HDAudio_MMIO_IC], eax ; Write verb
;
c. Write the bits of the ICS register at AZBAR+68h[1:0] to 11b to send
verb to the codec.
the
;
or
word ptr es:[ebx+HDAudio_MMIO_ICS], BIT1+BIT0
;
;
d. Repeat steps 3a-3d until all verbs in the table have been sent for the
current codec.
loop PollICBBit2
; Continue until all verbs written
VerbTableDone:
pop ecx
NextSDI:
or
dx, dx
jnz InitCurrentCodec
HDAudioCodecComplete:
ret
InitializeHDAudioCodecs ENDP
;----------------------------------------------------------------------------
;
; Procedure:CheckforValidCodec
Programmer’s Reference Manual
121
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
;
; Description:Detects whether the vendor and device ID of the current
codec
;
;
;
is supported based on whether the value is found at the start
of any of the codec verb tables.
; Input:EAX - Vendor and device ID of the current codec
;
;
ECX - Current codec address
DS - BDA_DSEG.
; ES - 0000h with 4GB limit.
; FS - POST_DSEG.
; GS - RUN_CSEG.
; STACK- Available.
;
; Output:CX
- Size of codec verb table (in dwords) if a valid
codec is present. Else cx = 0.
SI - Adddress of the codec verb table (valid if CF=0)
;
;
;
; Modified:SI
;----------------------------------------------------------------------------
CheckforValidCodec
push bx
PROC NEAR PUBLIC
push edx
push si
xor bx, bx
CheckNextCodecTable:
mov si, word ptr cs:[bx+offset CodecVerbTableList]
cmp dword ptr cs:[si], eax
je
FoundValidCodec
;
end of table?
add bx, 2
cmp
; Next verb table entry
bx, (offset CodecVerbTableListEnd - offset
CodecVerbTableList)
jb
CheckNextCodecTable
CodecNotValid:
xor cx, cx
122
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
jmp CodecCheckDone
FoundValidCodec:
mov edx, dword ptr cs:[si+VerbHeaderSize]
; Get first verb
shr edx, 28
cmp edx, ecx
jne CodecNotValid
add si, 6
; Is the codec address correct?
call GetVerbTableSize
; Codec has valid DID/VID and addr
CodecCheckDone:
pop si
pop edx
pop bx
ret
CheckforValidCodec
ENDP
;----------------------------------------------------------------------------
;
; Procedure:GetVerbTableSize
;
; Description:Checks the front panel sensing GPIO to determine if front
;
panel jacks are present. The routine returns the size of
the verb table (size may depend on whether front panel is
supported or if the codec supports front panel).
;
;
;
; Input:SI
;
- Adddress of the front panel supported status byte
DS - BDA_DSEG.
; ES - 0000h with 4GB limit.
; FS - POST_DSEG.
; GS - RUN_CSEG.
; STACK- Available.
;
; Output:CX
- Size of codec verb table in dwords
- Adddress of the codec verb table
;
;
SI
; Modified:EBX, CX, SI
Programmer’s Reference Manual
123
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
;----------------------------------------------------------------------------
GetverbTableSize
push ebx
PROC NEAR PUBLIC
mov cl, byte ptr cs:[si]
inc si
; al = Front panel support bit
or
cl, cl
mov cx, word ptr cs:[si]
; cx = length of rear panel table
; If front panel not supported
jz
FPSupportDone
; by the codec, no need to add
; FP table size
;
TODO: OEMs must add code here to query the GPIO dedicated to
panel sensing.
front
;
jz
FPSupportDone
;
;
If control comes here, front panel jack is supported by the codec and
is present in the system, so add the size of the FP table.
add cx, word ptr cs:[si+2]
;
; cx = rear panel table size +
front panel table size
FPSupportDone:
add si, 4
shl cx, 2
; si = start of codec verb table
; cx = # of Pin complexes * 4
= # of dwords in table
;
pop ebx
ret
GetVerbTableSize
ENDP
CodecVerbTableList:
dw offset VerbTable0
dw offset VerbTable1
CodecVerbTableListEnd:
124
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
4.1.3
Intel® High Definition Audio Codec Initialization on S3
Resume
®
According to Microsoft, the SSID response from the Intel HD Audio codec must be consistent at
any point the OS may read the value. Similarly other codec configuration information must follow
the same rule. Additionally, the assumption of relying on the function driver to ensure such
consistency across different sleep states is not always practical due to the fact that the function
driver can be disabled/unloaded by user (for whatever reason) prior to system power state
transitions.
This requires that any programming of the Intel® Hd Audio codecs that the BIOS performs during
POST must also be performed any time the codec power plane loses power. In particular, this
means that the codec verb table, if programmed into the codec during POST, must be restored by
BIOS on S3 resume if the codec context is not constantly maintained by standby power.
Note that this requirement does not apply to platforms that use the codec’s hardware default
configurations without changing them, or platforms that maintain the codec context in S3 by
standby power.
S3 Resume BIOS Requirement
The BIOS programming on resume is complicated by the need to preserve the wake status
information in the codec, so that the bus driver can determine if a codec (usually a modem) has
‘awoken’ the system. The following programming sequence is therefore recommended during S3
resume:
1. Read the original STATESTS from AZBAR+0Eh[2:0], save it to OldState.
2. Set AZBAR+08h[0] = 1 to take the controller out of reset, wait for about 1ms.
3. Program Verb Tables to codecs as BIOS did during the POST.
4. Write AZBAR+0Eh[2:0]=NOT(OldState) to restore previous STATESTS.
5. Set AZBAR+08h[0] = 0 to put the controller back in reset.
®
4.2
Intel High Definition Audio Controller
Configuration
Once the Intel® HD Audio codec is determined to be present and Intel® HD Audio controller is
kept enabled via Function Disable register (RCBA+ 3418h[4]=1), BIOS should:
• Initialize the configuration space of Intel® HD Audio controller as a regular PCI device
(assign memory and interrupt resources and enable the device using standard PCI command
register 04h).
• Initialize SSID/SVID registers at D27:F0:Reg2C-2Fh to OEM-specific IDs. This is similar to
the SSID/SVIDs given to other ICH7 devices such as IDE, SATA, SMBus, USBs, etc.
Programmer’s Reference Manual
125
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
®
4.3
Intel High Definition Audio PME Event
Although it is a PCI Express Root Complex Integrated endpoint, the Intel® HD Audio controller in
the ICH7 is not capable of supporting the native PME software model. Its PME is supported in the
same manner as a PCI PME.
The AC97_STS/AC97_EN bit-pair in ICH7 GPE0 register (PMBase+28h[5], PMBase+2Ch[5]) is
shared between AC97 and Intel® HD Audio PME event, depending on which one of the two
devices is selected and enabled by BIOS. To support this PME feature in ACPI OS environment,
BIOS needs to provide the proper _PRW object and \_GPE._L05() control method in the ACPI
name space. Below is an example of the ACPI name space for Intel® HD Audio/AC97 PME
support:
Scope (\_SB)
{
Device (PCI0)
// PCI Bus0
{
Name (_BBN, 0) // Bus Number of PCI0
Method(_PRT, 0)
{
//
_PRT package for PCI0
}
……..
Device (AC97)
{
// AC97 controller
Name(_ADR, 0x001E0002)// Device30:Func2
Name ( _PRW, Package () {0x05,0x03} )
capability reporting
// PME Wake
……..
} // End AC97
Device (AZAL)
//
Intel® HD Audio
controller
{
Name(_ADR, 0x001B0000)// Device27:Func0
Name ( _PRW, Package () {0x05,0x03} )
// PME Wake
capability reporting
……..
126
Programmer’sReferenceManual
Download from Www.Somanuals.com. All Manuals Search And Download.
Intel® High Definition Audio BIOS Considerations
} // End AZAL
} // End Device PCI0
} // End \_SB scope
Scope (\_GPE)
//
GPE event handlers
{
Method (_L05, 0)
//
Intel® HD Audio/
AC97 PME event handler
{
// If Intel® HD Audio is the enabled controller
Notify (\_SB.PCI0.AZAL, 0x02)// notify wake event
// Else
//
//
Notify (\_SB.PCI0.AC97, 0x02)// notify wake event
} // End of _L05
} // End of \_GPE scope
§
Programmer’s Reference Manual
127
Download from Www.Somanuals.com. All Manuals Search And Download.
|