OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
Go to the source code of this file.
#define HDA_OFFSET_RING_BASE 0x00 |
Definition at line 263 of file HdaRegisters.h.
#define HDA_OFFSET_RING_CTL 0x0C |
Definition at line 268 of file HdaRegisters.h.
#define HDA_OFFSET_RING_CTL_RUN BIT1 |
Definition at line 269 of file HdaRegisters.h.
#define HDA_OFFSET_RING_RP 0x0A |
Definition at line 266 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE 0x0E |
Definition at line 273 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_ENT16 BIT0 |
Definition at line 276 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_ENT2 0 |
Definition at line 275 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_ENT256 BIT1 |
Definition at line 277 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_MASK (BIT0 | BIT1) |
Definition at line 274 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_SZCAP_16 BIT5 |
Definition at line 279 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_SZCAP_2 BIT4 |
Definition at line 278 of file HdaRegisters.h.
#define HDA_OFFSET_RING_SIZE_SZCAP_256 BIT6 |
Definition at line 280 of file HdaRegisters.h.
#define HDA_OFFSET_RING_STS 0x0D |
Definition at line 271 of file HdaRegisters.h.
#define HDA_OFFSET_RING_UBASE 0x04 |
Definition at line 264 of file HdaRegisters.h.
#define HDA_OFFSET_RING_WP 0x08 |
Definition at line 265 of file HdaRegisters.h.
#define HDA_REG_CORB_BASE 0x40 |
Definition at line 260 of file HdaRegisters.h.
#define HDA_REG_CORBCTL 0x4C |
Definition at line 109 of file HdaRegisters.h.
#define HDA_REG_CORBCTL_CMEIE BIT0 |
Definition at line 110 of file HdaRegisters.h.
#define HDA_REG_CORBCTL_CORBRUN BIT1 |
Definition at line 111 of file HdaRegisters.h.
#define HDA_REG_CORBLBASE 0x40 |
Definition at line 95 of file HdaRegisters.h.
#define HDA_REG_CORBRP 0x4A |
Definition at line 104 of file HdaRegisters.h.
#define HDA_REG_CORBRP_RP | ( | a | ) |
Definition at line 105 of file HdaRegisters.h.
#define HDA_REG_CORBRP_RST BIT15 |
Definition at line 106 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE 0x4E |
Definition at line 118 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_CORBSZCAP_16 BIT5 |
Definition at line 124 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_CORBSZCAP_2 BIT4 |
Definition at line 123 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_CORBSZCAP_256 BIT6 |
Definition at line 125 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_ENT16 BIT0 |
Definition at line 121 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_ENT2 0 |
Definition at line 120 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_ENT256 BIT1 |
Definition at line 122 of file HdaRegisters.h.
#define HDA_REG_CORBSIZE_MASK (BIT0 | BIT1) |
Definition at line 119 of file HdaRegisters.h.
#define HDA_REG_CORBSTS 0x4D |
Definition at line 114 of file HdaRegisters.h.
#define HDA_REG_CORBSTS_CMEI BIT0 |
Definition at line 115 of file HdaRegisters.h.
#define HDA_REG_CORBUBASE 0x44 |
Definition at line 98 of file HdaRegisters.h.
#define HDA_REG_CORBWP 0x48 |
Definition at line 101 of file HdaRegisters.h.
#define HDA_REG_DPLBASE 0x70 |
Definition at line 163 of file HdaRegisters.h.
#define HDA_REG_DPLBASE_EN BIT0 |
Definition at line 164 of file HdaRegisters.h.
#define HDA_REG_DPUBASE 0x74 |
Definition at line 167 of file HdaRegisters.h.
#define HDA_REG_GCAP 0x00 |
Definition at line 35 of file HdaRegisters.h.
#define HDA_REG_GCAP_64OK BIT0 |
Definition at line 36 of file HdaRegisters.h.
#define HDA_REG_GCAP_BSS | ( | a | ) |
Definition at line 38 of file HdaRegisters.h.
#define HDA_REG_GCAP_ISS | ( | a | ) |
Definition at line 39 of file HdaRegisters.h.
#define HDA_REG_GCAP_NSDO | ( | a | ) |
Definition at line 37 of file HdaRegisters.h.
#define HDA_REG_GCAP_OSS | ( | a | ) |
Definition at line 40 of file HdaRegisters.h.
#define HDA_REG_GCTL 0x08 |
Definition at line 55 of file HdaRegisters.h.
#define HDA_REG_GCTL_CRST BIT0 |
Definition at line 56 of file HdaRegisters.h.
#define HDA_REG_GCTL_FCNTRL BIT1 |
Definition at line 57 of file HdaRegisters.h.
#define HDA_REG_GCTL_UNSOL BIT8 |
Definition at line 58 of file HdaRegisters.h.
#define HDA_REG_GSTS 0x10 |
Definition at line 69 of file HdaRegisters.h.
#define HDA_REG_GSTS_FSTS BIT1 |
Definition at line 70 of file HdaRegisters.h.
#define HDA_REG_ICII 0x64 |
Definition at line 177 of file HdaRegisters.h.
#define HDA_REG_ICIS 0x68 |
Definition at line 180 of file HdaRegisters.h.
#define HDA_REG_ICIS_ICB BIT0 |
Definition at line 181 of file HdaRegisters.h.
#define HDA_REG_ICIS_ICV BIT2 |
Definition at line 183 of file HdaRegisters.h.
#define HDA_REG_ICIS_IRRADD | ( | a | ) |
Definition at line 185 of file HdaRegisters.h.
#define HDA_REG_ICIS_IRRUNSOL BIT3 |
Definition at line 184 of file HdaRegisters.h.
#define HDA_REG_ICIS_IRV BIT1 |
Definition at line 182 of file HdaRegisters.h.
#define HDA_REG_ICOI 0x60 |
Definition at line 174 of file HdaRegisters.h.
#define HDA_REG_INPAY 0x06 |
Definition at line 52 of file HdaRegisters.h.
#define HDA_REG_INSTRMPAY 0x1A |
Definition at line 76 of file HdaRegisters.h.
#define HDA_REG_INTCTL 0x20 |
Definition at line 83 of file HdaRegisters.h.
#define HDA_REG_INTSTS 0x24 |
Definition at line 86 of file HdaRegisters.h.
#define HDA_REG_OUTPAY 0x04 |
Definition at line 49 of file HdaRegisters.h.
#define HDA_REG_OUTSTRMPAY 0x18 |
Definition at line 73 of file HdaRegisters.h.
#define HDA_REG_RINTCNT 0x5A |
Definition at line 139 of file HdaRegisters.h.
#define HDA_REG_RIRB_BASE 0x50 |
Definition at line 261 of file HdaRegisters.h.
#define HDA_REG_RIRBCTL 0x5C |
Definition at line 142 of file HdaRegisters.h.
#define HDA_REG_RIRBCTL_RINTCTL BIT0 |
Definition at line 143 of file HdaRegisters.h.
#define HDA_REG_RIRBCTL_RIRBDMAEN BIT1 |
Definition at line 144 of file HdaRegisters.h.
#define HDA_REG_RIRBCTL_RIRBOIC BIT2 |
Definition at line 145 of file HdaRegisters.h.
#define HDA_REG_RIRBLBASE 0x50 |
Definition at line 128 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE 0x5E |
Definition at line 153 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_ENT16 BIT0 |
Definition at line 156 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_ENT2 0 |
Definition at line 155 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_ENT256 BIT1 |
Definition at line 157 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_MASK (BIT0 | BIT1) |
Definition at line 154 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_RIRBSZCAP_16 BIT5 |
Definition at line 159 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_RIRBSZCAP_2 BIT4 |
Definition at line 158 of file HdaRegisters.h.
#define HDA_REG_RIRBSIZE_RIRBSZCAP_256 BIT6 |
Definition at line 160 of file HdaRegisters.h.
#define HDA_REG_RIRBSTS 0x5D |
Definition at line 148 of file HdaRegisters.h.
#define HDA_REG_RIRBSTS_RINTFL BIT0 |
Definition at line 149 of file HdaRegisters.h.
#define HDA_REG_RIRBSTS_RIRBOIS BIT2 |
Definition at line 150 of file HdaRegisters.h.
#define HDA_REG_RIRBUBASE 0x54 |
Definition at line 131 of file HdaRegisters.h.
#define HDA_REG_RIRBWP 0x58 |
Definition at line 134 of file HdaRegisters.h.
#define HDA_REG_RIRBWP_RST BIT15 |
Definition at line 136 of file HdaRegisters.h.
#define HDA_REG_RIRBWP_WP | ( | a | ) |
Definition at line 135 of file HdaRegisters.h.
#define HDA_REG_SDNBDPL | ( | n | ) |
Definition at line 246 of file HdaRegisters.h.
#define HDA_REG_SDNBDPU | ( | n | ) |
Definition at line 249 of file HdaRegisters.h.
#define HDA_REG_SDNCBL | ( | n | ) |
Definition at line 221 of file HdaRegisters.h.
#define HDA_REG_SDNCTL1 | ( | n | ) |
Definition at line 193 of file HdaRegisters.h.
#define HDA_REG_SDNCTL1_DEIE BIT4 |
Definition at line 198 of file HdaRegisters.h.
#define HDA_REG_SDNCTL1_FEIE BIT3 |
Definition at line 197 of file HdaRegisters.h.
#define HDA_REG_SDNCTL1_IOCE BIT2 |
Definition at line 196 of file HdaRegisters.h.
#define HDA_REG_SDNCTL1_RUN BIT1 |
Definition at line 195 of file HdaRegisters.h.
#define HDA_REG_SDNCTL1_SRST BIT0 |
Definition at line 194 of file HdaRegisters.h.
#define HDA_REG_SDNCTL2 | ( | n | ) |
Definition at line 201 of file HdaRegisters.h.
#define HDA_REG_SDNCTL3 | ( | n | ) |
Definition at line 204 of file HdaRegisters.h.
#define HDA_REG_SDNCTL3_DIR BIT3 |
Definition at line 206 of file HdaRegisters.h.
#define HDA_REG_SDNCTL3_STRM_GET | ( | a | ) |
Definition at line 207 of file HdaRegisters.h.
#define HDA_REG_SDNCTL3_STRM_SET | ( | a, | |
s ) |
Definition at line 208 of file HdaRegisters.h.
#define HDA_REG_SDNCTL3_TP BIT2 |
Definition at line 205 of file HdaRegisters.h.
#define HDA_REG_SDNFIFOS | ( | n | ) |
Definition at line 227 of file HdaRegisters.h.
#define HDA_REG_SDNFMT | ( | n | ) |
Definition at line 230 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BASE_44KHZ BIT14 |
Definition at line 240 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BITS | ( | a | ) |
Definition at line 232 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BITS_16 0x1 |
Definition at line 234 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BITS_20 0x2 |
Definition at line 235 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BITS_24 0x3 |
Definition at line 236 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BITS_32 0x4 |
Definition at line 237 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_BITS_8 0x0 |
Definition at line 233 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_CHAN | ( | a | ) |
Definition at line 231 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_DIV | ( | a | ) |
Definition at line 238 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_MULT | ( | a | ) |
Definition at line 239 of file HdaRegisters.h.
#define HDA_REG_SDNFMT_SET | ( | chan, | |
bits, | |||
div, | |||
mult, | |||
base ) |
Definition at line 241 of file HdaRegisters.h.
#define HDA_REG_SDNLPIB | ( | n | ) |
Definition at line 218 of file HdaRegisters.h.
#define HDA_REG_SDNLPIBA | ( | n | ) |
Definition at line 255 of file HdaRegisters.h.
#define HDA_REG_SDNLVI | ( | n | ) |
Definition at line 224 of file HdaRegisters.h.
#define HDA_REG_SDNSTS | ( | n | ) |
Definition at line 211 of file HdaRegisters.h.
#define HDA_REG_SDNSTS_BCIS BIT2 |
Definition at line 212 of file HdaRegisters.h.
#define HDA_REG_SDNSTS_DESE BIT4 |
Definition at line 214 of file HdaRegisters.h.
#define HDA_REG_SDNSTS_FIFOE BIT3 |
Definition at line 213 of file HdaRegisters.h.
#define HDA_REG_SDNSTS_FIFORDY BIT5 |
Definition at line 215 of file HdaRegisters.h.
#define HDA_REG_SSYNC 0x38 |
Definition at line 92 of file HdaRegisters.h.
#define HDA_REG_STATESTS 0x0E |
Definition at line 64 of file HdaRegisters.h.
#define HDA_REG_STATESTS_CLEAR 0xEFFF |
Definition at line 66 of file HdaRegisters.h.
#define HDA_REG_STATESTS_INDEX | ( | i | ) |
Definition at line 65 of file HdaRegisters.h.
#define HDA_REG_VMAJ 0x03 |
Definition at line 46 of file HdaRegisters.h.
#define HDA_REG_VMIN 0x02 |
Definition at line 43 of file HdaRegisters.h.
#define HDA_REG_WAKEEN 0x0C |
Definition at line 61 of file HdaRegisters.h.
#define HDA_REG_WALCLKA 0x2030 |
Definition at line 252 of file HdaRegisters.h.
#define HDA_REG_WALLCLOCK 0x30 |
Definition at line 89 of file HdaRegisters.h.