OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
HdaRegisters.h File Reference
#include <Uefi.h>

Go to the source code of this file.

Macros

#define HDA_REG_GCAP   0x00
 
#define HDA_REG_GCAP_64OK   BIT0
 
#define HDA_REG_GCAP_NSDO(a)
 
#define HDA_REG_GCAP_BSS(a)
 
#define HDA_REG_GCAP_ISS(a)
 
#define HDA_REG_GCAP_OSS(a)
 
#define HDA_REG_VMIN   0x02
 
#define HDA_REG_VMAJ   0x03
 
#define HDA_REG_OUTPAY   0x04
 
#define HDA_REG_INPAY   0x06
 
#define HDA_REG_GCTL   0x08
 
#define HDA_REG_GCTL_CRST   BIT0
 
#define HDA_REG_GCTL_FCNTRL   BIT1
 
#define HDA_REG_GCTL_UNSOL   BIT8
 
#define HDA_REG_WAKEEN   0x0C
 
#define HDA_REG_STATESTS   0x0E
 
#define HDA_REG_STATESTS_INDEX(i)
 
#define HDA_REG_STATESTS_CLEAR   0xEFFF
 
#define HDA_REG_GSTS   0x10
 
#define HDA_REG_GSTS_FSTS   BIT1
 
#define HDA_REG_OUTSTRMPAY   0x18
 
#define HDA_REG_INSTRMPAY   0x1A
 
#define HDA_REG_INTCTL   0x20
 
#define HDA_REG_INTSTS   0x24
 
#define HDA_REG_WALLCLOCK   0x30
 
#define HDA_REG_SSYNC   0x38
 
#define HDA_REG_CORBLBASE   0x40
 
#define HDA_REG_CORBUBASE   0x44
 
#define HDA_REG_CORBWP   0x48
 
#define HDA_REG_CORBRP   0x4A
 
#define HDA_REG_CORBRP_RP(a)
 
#define HDA_REG_CORBRP_RST   BIT15
 
#define HDA_REG_CORBCTL   0x4C
 
#define HDA_REG_CORBCTL_CMEIE   BIT0
 
#define HDA_REG_CORBCTL_CORBRUN   BIT1
 
#define HDA_REG_CORBSTS   0x4D
 
#define HDA_REG_CORBSTS_CMEI   BIT0
 
#define HDA_REG_CORBSIZE   0x4E
 
#define HDA_REG_CORBSIZE_MASK   (BIT0 | BIT1)
 
#define HDA_REG_CORBSIZE_ENT2   0
 
#define HDA_REG_CORBSIZE_ENT16   BIT0
 
#define HDA_REG_CORBSIZE_ENT256   BIT1
 
#define HDA_REG_CORBSIZE_CORBSZCAP_2   BIT4
 
#define HDA_REG_CORBSIZE_CORBSZCAP_16   BIT5
 
#define HDA_REG_CORBSIZE_CORBSZCAP_256   BIT6
 
#define HDA_REG_RIRBLBASE   0x50
 
#define HDA_REG_RIRBUBASE   0x54
 
#define HDA_REG_RIRBWP   0x58
 
#define HDA_REG_RIRBWP_WP(a)
 
#define HDA_REG_RIRBWP_RST   BIT15
 
#define HDA_REG_RINTCNT   0x5A
 
#define HDA_REG_RIRBCTL   0x5C
 
#define HDA_REG_RIRBCTL_RINTCTL   BIT0
 
#define HDA_REG_RIRBCTL_RIRBDMAEN   BIT1
 
#define HDA_REG_RIRBCTL_RIRBOIC   BIT2
 
#define HDA_REG_RIRBSTS   0x5D
 
#define HDA_REG_RIRBSTS_RINTFL   BIT0
 
#define HDA_REG_RIRBSTS_RIRBOIS   BIT2
 
#define HDA_REG_RIRBSIZE   0x5E
 
#define HDA_REG_RIRBSIZE_MASK   (BIT0 | BIT1)
 
#define HDA_REG_RIRBSIZE_ENT2   0
 
#define HDA_REG_RIRBSIZE_ENT16   BIT0
 
#define HDA_REG_RIRBSIZE_ENT256   BIT1
 
#define HDA_REG_RIRBSIZE_RIRBSZCAP_2   BIT4
 
#define HDA_REG_RIRBSIZE_RIRBSZCAP_16   BIT5
 
#define HDA_REG_RIRBSIZE_RIRBSZCAP_256   BIT6
 
#define HDA_REG_DPLBASE   0x70
 
#define HDA_REG_DPLBASE_EN   BIT0
 
#define HDA_REG_DPUBASE   0x74
 
#define HDA_REG_ICOI   0x60
 
#define HDA_REG_ICII   0x64
 
#define HDA_REG_ICIS   0x68
 
#define HDA_REG_ICIS_ICB   BIT0
 
#define HDA_REG_ICIS_IRV   BIT1
 
#define HDA_REG_ICIS_ICV   BIT2
 
#define HDA_REG_ICIS_IRRUNSOL   BIT3
 
#define HDA_REG_ICIS_IRRADD(a)
 
#define HDA_REG_SDNCTL1(n)
 
#define HDA_REG_SDNCTL1_SRST   BIT0
 
#define HDA_REG_SDNCTL1_RUN   BIT1
 
#define HDA_REG_SDNCTL1_IOCE   BIT2
 
#define HDA_REG_SDNCTL1_FEIE   BIT3
 
#define HDA_REG_SDNCTL1_DEIE   BIT4
 
#define HDA_REG_SDNCTL2(n)
 
#define HDA_REG_SDNCTL3(n)
 
#define HDA_REG_SDNCTL3_TP   BIT2
 
#define HDA_REG_SDNCTL3_DIR   BIT3
 
#define HDA_REG_SDNCTL3_STRM_GET(a)
 
#define HDA_REG_SDNCTL3_STRM_SET(a, s)
 
#define HDA_REG_SDNSTS(n)
 
#define HDA_REG_SDNSTS_BCIS   BIT2
 
#define HDA_REG_SDNSTS_FIFOE   BIT3
 
#define HDA_REG_SDNSTS_DESE   BIT4
 
#define HDA_REG_SDNSTS_FIFORDY   BIT5
 
#define HDA_REG_SDNLPIB(n)
 
#define HDA_REG_SDNCBL(n)
 
#define HDA_REG_SDNLVI(n)
 
#define HDA_REG_SDNFIFOS(n)
 
#define HDA_REG_SDNFMT(n)
 
#define HDA_REG_SDNFMT_CHAN(a)
 
#define HDA_REG_SDNFMT_BITS(a)
 
#define HDA_REG_SDNFMT_BITS_8   0x0
 
#define HDA_REG_SDNFMT_BITS_16   0x1
 
#define HDA_REG_SDNFMT_BITS_20   0x2
 
#define HDA_REG_SDNFMT_BITS_24   0x3
 
#define HDA_REG_SDNFMT_BITS_32   0x4
 
#define HDA_REG_SDNFMT_DIV(a)
 
#define HDA_REG_SDNFMT_MULT(a)
 
#define HDA_REG_SDNFMT_BASE_44KHZ   BIT14
 
#define HDA_REG_SDNFMT_SET(chan, bits, div, mult, base)
 
#define HDA_REG_SDNBDPL(n)
 
#define HDA_REG_SDNBDPU(n)
 
#define HDA_REG_WALCLKA   0x2030
 
#define HDA_REG_SDNLPIBA(n)
 
#define HDA_REG_CORB_BASE   0x40
 
#define HDA_REG_RIRB_BASE   0x50
 
#define HDA_OFFSET_RING_BASE   0x00
 
#define HDA_OFFSET_RING_UBASE   0x04
 
#define HDA_OFFSET_RING_WP   0x08
 
#define HDA_OFFSET_RING_RP   0x0A
 
#define HDA_OFFSET_RING_CTL   0x0C
 
#define HDA_OFFSET_RING_CTL_RUN   BIT1
 
#define HDA_OFFSET_RING_STS   0x0D
 
#define HDA_OFFSET_RING_SIZE   0x0E
 
#define HDA_OFFSET_RING_SIZE_MASK   (BIT0 | BIT1)
 
#define HDA_OFFSET_RING_SIZE_ENT2   0
 
#define HDA_OFFSET_RING_SIZE_ENT16   BIT0
 
#define HDA_OFFSET_RING_SIZE_ENT256   BIT1
 
#define HDA_OFFSET_RING_SIZE_SZCAP_2   BIT4
 
#define HDA_OFFSET_RING_SIZE_SZCAP_16   BIT5
 
#define HDA_OFFSET_RING_SIZE_SZCAP_256   BIT6
 

Macro Definition Documentation

◆ HDA_OFFSET_RING_BASE

#define HDA_OFFSET_RING_BASE   0x00

Definition at line 263 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_CTL

#define HDA_OFFSET_RING_CTL   0x0C

Definition at line 268 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_CTL_RUN

#define HDA_OFFSET_RING_CTL_RUN   BIT1

Definition at line 269 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_RP

#define HDA_OFFSET_RING_RP   0x0A

Definition at line 266 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE

#define HDA_OFFSET_RING_SIZE   0x0E

Definition at line 273 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_ENT16

#define HDA_OFFSET_RING_SIZE_ENT16   BIT0

Definition at line 276 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_ENT2

#define HDA_OFFSET_RING_SIZE_ENT2   0

Definition at line 275 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_ENT256

#define HDA_OFFSET_RING_SIZE_ENT256   BIT1

Definition at line 277 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_MASK

#define HDA_OFFSET_RING_SIZE_MASK   (BIT0 | BIT1)

Definition at line 274 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_SZCAP_16

#define HDA_OFFSET_RING_SIZE_SZCAP_16   BIT5

Definition at line 279 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_SZCAP_2

#define HDA_OFFSET_RING_SIZE_SZCAP_2   BIT4

Definition at line 278 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_SIZE_SZCAP_256

#define HDA_OFFSET_RING_SIZE_SZCAP_256   BIT6

Definition at line 280 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_STS

#define HDA_OFFSET_RING_STS   0x0D

Definition at line 271 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_UBASE

#define HDA_OFFSET_RING_UBASE   0x04

Definition at line 264 of file HdaRegisters.h.

◆ HDA_OFFSET_RING_WP

#define HDA_OFFSET_RING_WP   0x08

Definition at line 265 of file HdaRegisters.h.

◆ HDA_REG_CORB_BASE

#define HDA_REG_CORB_BASE   0x40

Definition at line 260 of file HdaRegisters.h.

◆ HDA_REG_CORBCTL

#define HDA_REG_CORBCTL   0x4C

Definition at line 109 of file HdaRegisters.h.

◆ HDA_REG_CORBCTL_CMEIE

#define HDA_REG_CORBCTL_CMEIE   BIT0

Definition at line 110 of file HdaRegisters.h.

◆ HDA_REG_CORBCTL_CORBRUN

#define HDA_REG_CORBCTL_CORBRUN   BIT1

Definition at line 111 of file HdaRegisters.h.

◆ HDA_REG_CORBLBASE

#define HDA_REG_CORBLBASE   0x40

Definition at line 95 of file HdaRegisters.h.

◆ HDA_REG_CORBRP

#define HDA_REG_CORBRP   0x4A

Definition at line 104 of file HdaRegisters.h.

◆ HDA_REG_CORBRP_RP

#define HDA_REG_CORBRP_RP ( a)
Value:
((UINT8)a)

Definition at line 105 of file HdaRegisters.h.

◆ HDA_REG_CORBRP_RST

#define HDA_REG_CORBRP_RST   BIT15

Definition at line 106 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE

#define HDA_REG_CORBSIZE   0x4E

Definition at line 118 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_CORBSZCAP_16

#define HDA_REG_CORBSIZE_CORBSZCAP_16   BIT5

Definition at line 124 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_CORBSZCAP_2

#define HDA_REG_CORBSIZE_CORBSZCAP_2   BIT4

Definition at line 123 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_CORBSZCAP_256

#define HDA_REG_CORBSIZE_CORBSZCAP_256   BIT6

Definition at line 125 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_ENT16

#define HDA_REG_CORBSIZE_ENT16   BIT0

Definition at line 121 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_ENT2

#define HDA_REG_CORBSIZE_ENT2   0

Definition at line 120 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_ENT256

#define HDA_REG_CORBSIZE_ENT256   BIT1

Definition at line 122 of file HdaRegisters.h.

◆ HDA_REG_CORBSIZE_MASK

#define HDA_REG_CORBSIZE_MASK   (BIT0 | BIT1)

Definition at line 119 of file HdaRegisters.h.

◆ HDA_REG_CORBSTS

#define HDA_REG_CORBSTS   0x4D

Definition at line 114 of file HdaRegisters.h.

◆ HDA_REG_CORBSTS_CMEI

#define HDA_REG_CORBSTS_CMEI   BIT0

Definition at line 115 of file HdaRegisters.h.

◆ HDA_REG_CORBUBASE

#define HDA_REG_CORBUBASE   0x44

Definition at line 98 of file HdaRegisters.h.

◆ HDA_REG_CORBWP

#define HDA_REG_CORBWP   0x48

Definition at line 101 of file HdaRegisters.h.

◆ HDA_REG_DPLBASE

#define HDA_REG_DPLBASE   0x70

Definition at line 163 of file HdaRegisters.h.

◆ HDA_REG_DPLBASE_EN

#define HDA_REG_DPLBASE_EN   BIT0

Definition at line 164 of file HdaRegisters.h.

◆ HDA_REG_DPUBASE

#define HDA_REG_DPUBASE   0x74

Definition at line 167 of file HdaRegisters.h.

◆ HDA_REG_GCAP

#define HDA_REG_GCAP   0x00

Definition at line 35 of file HdaRegisters.h.

◆ HDA_REG_GCAP_64OK

#define HDA_REG_GCAP_64OK   BIT0

Definition at line 36 of file HdaRegisters.h.

◆ HDA_REG_GCAP_BSS

#define HDA_REG_GCAP_BSS ( a)
Value:
((UINT8)((a >> 3) & 0x1F))

Definition at line 38 of file HdaRegisters.h.

◆ HDA_REG_GCAP_ISS

#define HDA_REG_GCAP_ISS ( a)
Value:
((UINT8)((a >> 8) & 0xF))

Definition at line 39 of file HdaRegisters.h.

◆ HDA_REG_GCAP_NSDO

#define HDA_REG_GCAP_NSDO ( a)
Value:
((UINT8)((a >> 1) & 0x3))

Definition at line 37 of file HdaRegisters.h.

◆ HDA_REG_GCAP_OSS

#define HDA_REG_GCAP_OSS ( a)
Value:
((UINT8)((a >> 12) & 0xF))

Definition at line 40 of file HdaRegisters.h.

◆ HDA_REG_GCTL

#define HDA_REG_GCTL   0x08

Definition at line 55 of file HdaRegisters.h.

◆ HDA_REG_GCTL_CRST

#define HDA_REG_GCTL_CRST   BIT0

Definition at line 56 of file HdaRegisters.h.

◆ HDA_REG_GCTL_FCNTRL

#define HDA_REG_GCTL_FCNTRL   BIT1

Definition at line 57 of file HdaRegisters.h.

◆ HDA_REG_GCTL_UNSOL

#define HDA_REG_GCTL_UNSOL   BIT8

Definition at line 58 of file HdaRegisters.h.

◆ HDA_REG_GSTS

#define HDA_REG_GSTS   0x10

Definition at line 69 of file HdaRegisters.h.

◆ HDA_REG_GSTS_FSTS

#define HDA_REG_GSTS_FSTS   BIT1

Definition at line 70 of file HdaRegisters.h.

◆ HDA_REG_ICII

#define HDA_REG_ICII   0x64

Definition at line 177 of file HdaRegisters.h.

◆ HDA_REG_ICIS

#define HDA_REG_ICIS   0x68

Definition at line 180 of file HdaRegisters.h.

◆ HDA_REG_ICIS_ICB

#define HDA_REG_ICIS_ICB   BIT0

Definition at line 181 of file HdaRegisters.h.

◆ HDA_REG_ICIS_ICV

#define HDA_REG_ICIS_ICV   BIT2

Definition at line 183 of file HdaRegisters.h.

◆ HDA_REG_ICIS_IRRADD

#define HDA_REG_ICIS_IRRADD ( a)
Value:
((UINT8)((a >> 4) & 0xF))

Definition at line 185 of file HdaRegisters.h.

◆ HDA_REG_ICIS_IRRUNSOL

#define HDA_REG_ICIS_IRRUNSOL   BIT3

Definition at line 184 of file HdaRegisters.h.

◆ HDA_REG_ICIS_IRV

#define HDA_REG_ICIS_IRV   BIT1

Definition at line 182 of file HdaRegisters.h.

◆ HDA_REG_ICOI

#define HDA_REG_ICOI   0x60

Definition at line 174 of file HdaRegisters.h.

◆ HDA_REG_INPAY

#define HDA_REG_INPAY   0x06

Definition at line 52 of file HdaRegisters.h.

◆ HDA_REG_INSTRMPAY

#define HDA_REG_INSTRMPAY   0x1A

Definition at line 76 of file HdaRegisters.h.

◆ HDA_REG_INTCTL

#define HDA_REG_INTCTL   0x20

Definition at line 83 of file HdaRegisters.h.

◆ HDA_REG_INTSTS

#define HDA_REG_INTSTS   0x24

Definition at line 86 of file HdaRegisters.h.

◆ HDA_REG_OUTPAY

#define HDA_REG_OUTPAY   0x04

Definition at line 49 of file HdaRegisters.h.

◆ HDA_REG_OUTSTRMPAY

#define HDA_REG_OUTSTRMPAY   0x18

Definition at line 73 of file HdaRegisters.h.

◆ HDA_REG_RINTCNT

#define HDA_REG_RINTCNT   0x5A

Definition at line 139 of file HdaRegisters.h.

◆ HDA_REG_RIRB_BASE

#define HDA_REG_RIRB_BASE   0x50

Definition at line 261 of file HdaRegisters.h.

◆ HDA_REG_RIRBCTL

#define HDA_REG_RIRBCTL   0x5C

Definition at line 142 of file HdaRegisters.h.

◆ HDA_REG_RIRBCTL_RINTCTL

#define HDA_REG_RIRBCTL_RINTCTL   BIT0

Definition at line 143 of file HdaRegisters.h.

◆ HDA_REG_RIRBCTL_RIRBDMAEN

#define HDA_REG_RIRBCTL_RIRBDMAEN   BIT1

Definition at line 144 of file HdaRegisters.h.

◆ HDA_REG_RIRBCTL_RIRBOIC

#define HDA_REG_RIRBCTL_RIRBOIC   BIT2

Definition at line 145 of file HdaRegisters.h.

◆ HDA_REG_RIRBLBASE

#define HDA_REG_RIRBLBASE   0x50

Definition at line 128 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE

#define HDA_REG_RIRBSIZE   0x5E

Definition at line 153 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_ENT16

#define HDA_REG_RIRBSIZE_ENT16   BIT0

Definition at line 156 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_ENT2

#define HDA_REG_RIRBSIZE_ENT2   0

Definition at line 155 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_ENT256

#define HDA_REG_RIRBSIZE_ENT256   BIT1

Definition at line 157 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_MASK

#define HDA_REG_RIRBSIZE_MASK   (BIT0 | BIT1)

Definition at line 154 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_RIRBSZCAP_16

#define HDA_REG_RIRBSIZE_RIRBSZCAP_16   BIT5

Definition at line 159 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_RIRBSZCAP_2

#define HDA_REG_RIRBSIZE_RIRBSZCAP_2   BIT4

Definition at line 158 of file HdaRegisters.h.

◆ HDA_REG_RIRBSIZE_RIRBSZCAP_256

#define HDA_REG_RIRBSIZE_RIRBSZCAP_256   BIT6

Definition at line 160 of file HdaRegisters.h.

◆ HDA_REG_RIRBSTS

#define HDA_REG_RIRBSTS   0x5D

Definition at line 148 of file HdaRegisters.h.

◆ HDA_REG_RIRBSTS_RINTFL

#define HDA_REG_RIRBSTS_RINTFL   BIT0

Definition at line 149 of file HdaRegisters.h.

◆ HDA_REG_RIRBSTS_RIRBOIS

#define HDA_REG_RIRBSTS_RIRBOIS   BIT2

Definition at line 150 of file HdaRegisters.h.

◆ HDA_REG_RIRBUBASE

#define HDA_REG_RIRBUBASE   0x54

Definition at line 131 of file HdaRegisters.h.

◆ HDA_REG_RIRBWP

#define HDA_REG_RIRBWP   0x58

Definition at line 134 of file HdaRegisters.h.

◆ HDA_REG_RIRBWP_RST

#define HDA_REG_RIRBWP_RST   BIT15

Definition at line 136 of file HdaRegisters.h.

◆ HDA_REG_RIRBWP_WP

#define HDA_REG_RIRBWP_WP ( a)
Value:
((UINT8)a)

Definition at line 135 of file HdaRegisters.h.

◆ HDA_REG_SDNBDPL

#define HDA_REG_SDNBDPL ( n)
Value:
(0x98 + (0x20 * (n)))

Definition at line 246 of file HdaRegisters.h.

◆ HDA_REG_SDNBDPU

#define HDA_REG_SDNBDPU ( n)
Value:
(0x9C + (0x20 * (n)))

Definition at line 249 of file HdaRegisters.h.

◆ HDA_REG_SDNCBL

#define HDA_REG_SDNCBL ( n)
Value:
(0x88 + (0x20 * (n)))

Definition at line 221 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL1

#define HDA_REG_SDNCTL1 ( n)
Value:
(0x80 + (0x20 * (n)))

Definition at line 193 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL1_DEIE

#define HDA_REG_SDNCTL1_DEIE   BIT4

Definition at line 198 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL1_FEIE

#define HDA_REG_SDNCTL1_FEIE   BIT3

Definition at line 197 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL1_IOCE

#define HDA_REG_SDNCTL1_IOCE   BIT2

Definition at line 196 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL1_RUN

#define HDA_REG_SDNCTL1_RUN   BIT1

Definition at line 195 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL1_SRST

#define HDA_REG_SDNCTL1_SRST   BIT0

Definition at line 194 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL2

#define HDA_REG_SDNCTL2 ( n)
Value:
(0x81 + (0x20 * (n)))

Definition at line 201 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL3

#define HDA_REG_SDNCTL3 ( n)
Value:
(0x82 + (0x20 * (n)))

Definition at line 204 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL3_DIR

#define HDA_REG_SDNCTL3_DIR   BIT3

Definition at line 206 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL3_STRM_GET

#define HDA_REG_SDNCTL3_STRM_GET ( a)
Value:
((UINT8)((a >> 4) & 0xF))

Definition at line 207 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL3_STRM_SET

#define HDA_REG_SDNCTL3_STRM_SET ( a,
s )
Value:
((UINT8)(((a) & 0x0F) | (((s) & 0xF)) << 4))

Definition at line 208 of file HdaRegisters.h.

◆ HDA_REG_SDNCTL3_TP

#define HDA_REG_SDNCTL3_TP   BIT2

Definition at line 205 of file HdaRegisters.h.

◆ HDA_REG_SDNFIFOS

#define HDA_REG_SDNFIFOS ( n)
Value:
(0x90 + (0x20 * (n)))

Definition at line 227 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT

#define HDA_REG_SDNFMT ( n)
Value:
(0x92 + (0x20 * (n)))

Definition at line 230 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BASE_44KHZ

#define HDA_REG_SDNFMT_BASE_44KHZ   BIT14

Definition at line 240 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BITS

#define HDA_REG_SDNFMT_BITS ( a)
Value:
((UINT8)(((a) >> 4) & 0x3))

Definition at line 232 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BITS_16

#define HDA_REG_SDNFMT_BITS_16   0x1

Definition at line 234 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BITS_20

#define HDA_REG_SDNFMT_BITS_20   0x2

Definition at line 235 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BITS_24

#define HDA_REG_SDNFMT_BITS_24   0x3

Definition at line 236 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BITS_32

#define HDA_REG_SDNFMT_BITS_32   0x4

Definition at line 237 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_BITS_8

#define HDA_REG_SDNFMT_BITS_8   0x0

Definition at line 233 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_CHAN

#define HDA_REG_SDNFMT_CHAN ( a)
Value:
((UINT8)((a) & 0xF))

Definition at line 231 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_DIV

#define HDA_REG_SDNFMT_DIV ( a)
Value:
((UINT8)(((a) >> 8) & 0x3))

Definition at line 238 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_MULT

#define HDA_REG_SDNFMT_MULT ( a)
Value:
((UINT8)(((a) >> 11) & 0x3))

Definition at line 239 of file HdaRegisters.h.

◆ HDA_REG_SDNFMT_SET

#define HDA_REG_SDNFMT_SET ( chan,
bits,
div,
mult,
base )
Value:
((UINT16)(((chan) & 0xF) | (((bits) & 0x3) << 4) | (((div) & 0x3) << 8) | \
(((mult) & 0x3) << 11) | ((base) ? HDA_REG_SDNFMT_BASE_44KHZ : 0)))
UINT16 base
Definition BmfFile.h:58
#define HDA_REG_SDNFMT_BASE_44KHZ

Definition at line 241 of file HdaRegisters.h.

◆ HDA_REG_SDNLPIB

#define HDA_REG_SDNLPIB ( n)
Value:
(0x84 + (0x20 * (n)))

Definition at line 218 of file HdaRegisters.h.

◆ HDA_REG_SDNLPIBA

#define HDA_REG_SDNLPIBA ( n)
Value:
(0x2084 + (0x20 * (n)))

Definition at line 255 of file HdaRegisters.h.

◆ HDA_REG_SDNLVI

#define HDA_REG_SDNLVI ( n)
Value:
(0x8C + (0x20 * (n)))

Definition at line 224 of file HdaRegisters.h.

◆ HDA_REG_SDNSTS

#define HDA_REG_SDNSTS ( n)
Value:
(0x83 + (0x20 * (n)))

Definition at line 211 of file HdaRegisters.h.

◆ HDA_REG_SDNSTS_BCIS

#define HDA_REG_SDNSTS_BCIS   BIT2

Definition at line 212 of file HdaRegisters.h.

◆ HDA_REG_SDNSTS_DESE

#define HDA_REG_SDNSTS_DESE   BIT4

Definition at line 214 of file HdaRegisters.h.

◆ HDA_REG_SDNSTS_FIFOE

#define HDA_REG_SDNSTS_FIFOE   BIT3

Definition at line 213 of file HdaRegisters.h.

◆ HDA_REG_SDNSTS_FIFORDY

#define HDA_REG_SDNSTS_FIFORDY   BIT5

Definition at line 215 of file HdaRegisters.h.

◆ HDA_REG_SSYNC

#define HDA_REG_SSYNC   0x38

Definition at line 92 of file HdaRegisters.h.

◆ HDA_REG_STATESTS

#define HDA_REG_STATESTS   0x0E

Definition at line 64 of file HdaRegisters.h.

◆ HDA_REG_STATESTS_CLEAR

#define HDA_REG_STATESTS_CLEAR   0xEFFF

Definition at line 66 of file HdaRegisters.h.

◆ HDA_REG_STATESTS_INDEX

#define HDA_REG_STATESTS_INDEX ( i)
Value:
((UINT16)(1 << (i)))

Definition at line 65 of file HdaRegisters.h.

◆ HDA_REG_VMAJ

#define HDA_REG_VMAJ   0x03

Definition at line 46 of file HdaRegisters.h.

◆ HDA_REG_VMIN

#define HDA_REG_VMIN   0x02

Definition at line 43 of file HdaRegisters.h.

◆ HDA_REG_WAKEEN

#define HDA_REG_WAKEEN   0x0C

Definition at line 61 of file HdaRegisters.h.

◆ HDA_REG_WALCLKA

#define HDA_REG_WALCLKA   0x2030

Definition at line 252 of file HdaRegisters.h.

◆ HDA_REG_WALLCLOCK

#define HDA_REG_WALLCLOCK   0x30

Definition at line 89 of file HdaRegisters.h.