ReactOS 0.4.15-dev-8621-g4b051b9
|
#include <SupportDefs.h>
Go to the source code of this file.
Classes | |
struct | rirb_t |
struct | bdl_entry_t |
Typedefs | |
typedef uint32 | corb_t |
#define ATI_HDA_ENABLE_SNOOP 0x02 |
Definition at line 147 of file hda_controller_defs.h.
#define ATI_HDA_MISC_CNTR2 0x42 |
Definition at line 145 of file hda_controller_defs.h.
#define ATI_HDA_MISC_CNTR2_MASK 0xf8 |
Definition at line 146 of file hda_controller_defs.h.
#define CONTROL0_BUFFER_COMPLETED_INTR (1 << 2) |
Definition at line 110 of file hda_controller_defs.h.
#define CONTROL0_DESCRIPTOR_ERROR_INTR (1 << 4) |
Definition at line 112 of file hda_controller_defs.h.
#define CONTROL0_FIFO_ERROR_INTR (1 << 3) |
Definition at line 111 of file hda_controller_defs.h.
#define CONTROL0_RESET (1 << 0) |
Definition at line 108 of file hda_controller_defs.h.
#define CONTROL0_RUN (1 << 1) |
Definition at line 109 of file hda_controller_defs.h.
#define CONTROL2_BIDIR (1 << 3) |
Definition at line 117 of file hda_controller_defs.h.
#define CONTROL2_STREAM_MASK 0xf0 |
Definition at line 115 of file hda_controller_defs.h.
#define CONTROL2_STREAM_SHIFT 4 |
Definition at line 116 of file hda_controller_defs.h.
#define CONTROL2_STRIPE_SDO_MASK 0x03 |
Definition at line 119 of file hda_controller_defs.h.
#define CONTROL2_TRAFFIC_PRIORITY (1 << 2) |
Definition at line 118 of file hda_controller_defs.h.
#define CORB_CONTROL_MEMORY_ERROR_INTR (1 << 0) |
Definition at line 57 of file hda_controller_defs.h.
#define CORB_CONTROL_RUN (1 << 1) |
Definition at line 56 of file hda_controller_defs.h.
#define CORB_READ_POS_RESET (1 << 15) |
Definition at line 52 of file hda_controller_defs.h.
#define CORB_SIZE_16_ENTRIES 0x01 |
Definition at line 68 of file hda_controller_defs.h.
#define CORB_SIZE_256_ENTRIES 0x02 |
Definition at line 69 of file hda_controller_defs.h.
#define CORB_SIZE_2_ENTRIES 0x00 |
Definition at line 67 of file hda_controller_defs.h.
#define CORB_SIZE_CAP_16_ENTRIES (1 << 5) |
Definition at line 65 of file hda_controller_defs.h.
#define CORB_SIZE_CAP_256_ENTRIES (1 << 6) |
Definition at line 66 of file hda_controller_defs.h.
#define CORB_SIZE_CAP_2_ENTRIES (1 << 4) |
Definition at line 64 of file hda_controller_defs.h.
#define CORB_STATUS_MEMORY_ERROR (1 << 0) |
Definition at line 60 of file hda_controller_defs.h.
#define DMA_POSITION_ENABLED 1 |
Definition at line 101 of file hda_controller_defs.h.
#define FORMAT_16BIT (1 << 4) |
Definition at line 131 of file hda_controller_defs.h.
#define FORMAT_20BIT (2 << 4) |
Definition at line 132 of file hda_controller_defs.h.
#define FORMAT_24BIT (3 << 4) |
Definition at line 133 of file hda_controller_defs.h.
#define FORMAT_32BIT (4 << 4) |
Definition at line 134 of file hda_controller_defs.h.
#define FORMAT_44_1_BASE_RATE (1 << 14) |
Definition at line 135 of file hda_controller_defs.h.
#define FORMAT_8BIT (0 << 4) |
Definition at line 130 of file hda_controller_defs.h.
#define FORMAT_DIVIDE_RATE_SHIFT 8 |
Definition at line 137 of file hda_controller_defs.h.
#define FORMAT_MULTIPLY_RATE_SHIFT 11 |
Definition at line 136 of file hda_controller_defs.h.
Definition at line 22 of file hda_controller_defs.h.
Definition at line 20 of file hda_controller_defs.h.
Definition at line 19 of file hda_controller_defs.h.
Definition at line 21 of file hda_controller_defs.h.
Definition at line 18 of file hda_controller_defs.h.
#define GLOBAL_CONTROL_FLUSH (1 << 1) |
Definition at line 30 of file hda_controller_defs.h.
#define GLOBAL_CONTROL_RESET (1 << 0) |
Definition at line 31 of file hda_controller_defs.h.
#define GLOBAL_CONTROL_UNSOLICITED (1 << 8) |
Definition at line 28 of file hda_controller_defs.h.
#define HDAC_CORB_BASE_LOWER 0x40 |
Definition at line 46 of file hda_controller_defs.h.
#define HDAC_CORB_BASE_UPPER 0x44 |
Definition at line 47 of file hda_controller_defs.h.
#define HDAC_CORB_CONTROL 0x4c |
Definition at line 54 of file hda_controller_defs.h.
#define HDAC_CORB_CONTROL_MASK 0x3 |
Definition at line 55 of file hda_controller_defs.h.
#define HDAC_CORB_READ_POS 0x4a |
Definition at line 51 of file hda_controller_defs.h.
#define HDAC_CORB_SIZE 0x4e |
Definition at line 62 of file hda_controller_defs.h.
#define HDAC_CORB_SIZE_MASK 0x3 |
Definition at line 63 of file hda_controller_defs.h.
#define HDAC_CORB_STATUS 0x4d |
Definition at line 59 of file hda_controller_defs.h.
#define HDAC_CORB_WRITE_POS 0x48 |
Definition at line 48 of file hda_controller_defs.h.
#define HDAC_CORB_WRITE_POS_MASK 0xff |
Definition at line 49 of file hda_controller_defs.h.
#define HDAC_DMA_POSITION_BASE_LOWER 0x70 |
Definition at line 99 of file hda_controller_defs.h.
#define HDAC_DMA_POSITION_BASE_UPPER 0x74 |
Definition at line 100 of file hda_controller_defs.h.
#define HDAC_GLOBAL_CAP 0x00 |
Definition at line 17 of file hda_controller_defs.h.
#define HDAC_GLOBAL_CONTROL 0x08 |
Definition at line 27 of file hda_controller_defs.h.
#define HDAC_INTR_CONTROL 0x20 |
Definition at line 37 of file hda_controller_defs.h.
#define HDAC_INTR_STATUS 0x24 |
Definition at line 41 of file hda_controller_defs.h.
#define HDAC_RESPONSE_INTR_COUNT 0x5a |
Definition at line 77 of file hda_controller_defs.h.
#define HDAC_RESPONSE_INTR_COUNT_MASK 0xff |
Definition at line 78 of file hda_controller_defs.h.
#define HDAC_RIRB_BASE_LOWER 0x50 |
Definition at line 71 of file hda_controller_defs.h.
#define HDAC_RIRB_BASE_UPPER 0x54 |
Definition at line 72 of file hda_controller_defs.h.
#define HDAC_RIRB_CONTROL 0x5c |
Definition at line 80 of file hda_controller_defs.h.
#define HDAC_RIRB_CONTROL_MASK 0x7 |
Definition at line 81 of file hda_controller_defs.h.
#define HDAC_RIRB_SIZE 0x5e |
Definition at line 90 of file hda_controller_defs.h.
#define HDAC_RIRB_SIZE_MASK 0x3 |
Definition at line 91 of file hda_controller_defs.h.
#define HDAC_RIRB_STATUS 0x5d |
Definition at line 86 of file hda_controller_defs.h.
#define HDAC_RIRB_WRITE_POS 0x58 |
Definition at line 74 of file hda_controller_defs.h.
#define HDAC_STATE_STATUS 0x0e |
Definition at line 35 of file hda_controller_defs.h.
#define HDAC_STREAM_BASE 0x80 |
Definition at line 104 of file hda_controller_defs.h.
#define HDAC_STREAM_BUFFER_SIZE 0x08 |
Definition at line 126 of file hda_controller_defs.h.
#define HDAC_STREAM_BUFFERS_BASE_LOWER 0x18 |
Definition at line 138 of file hda_controller_defs.h.
#define HDAC_STREAM_BUFFERS_BASE_UPPER 0x1c |
Definition at line 139 of file hda_controller_defs.h.
#define HDAC_STREAM_CONTROL0 0x00 |
Definition at line 107 of file hda_controller_defs.h.
#define HDAC_STREAM_CONTROL1 0x01 |
Definition at line 113 of file hda_controller_defs.h.
#define HDAC_STREAM_CONTROL2 0x02 |
Definition at line 114 of file hda_controller_defs.h.
#define HDAC_STREAM_FIFO_SIZE 0x10 |
Definition at line 128 of file hda_controller_defs.h.
#define HDAC_STREAM_FORMAT 0x12 |
Definition at line 129 of file hda_controller_defs.h.
#define HDAC_STREAM_LAST_VALID 0x0c |
Definition at line 127 of file hda_controller_defs.h.
#define HDAC_STREAM_POSITION 0x04 |
Definition at line 125 of file hda_controller_defs.h.
#define HDAC_STREAM_SIZE 0x20 |
Definition at line 105 of file hda_controller_defs.h.
#define HDAC_STREAM_STATUS 0x03 |
Definition at line 120 of file hda_controller_defs.h.
#define HDAC_VERSION_MAJOR 0x03 |
Definition at line 25 of file hda_controller_defs.h.
#define HDAC_VERSION_MINOR 0x02 |
Definition at line 24 of file hda_controller_defs.h.
#define HDAC_WAKE_ENABLE 0x0c |
Definition at line 33 of file hda_controller_defs.h.
#define HDAC_WAKE_ENABLE_MASK 0x7fff |
Definition at line 34 of file hda_controller_defs.h.
#define INTEL_SCH_HDA_DEVC 0x78 |
Definition at line 154 of file hda_controller_defs.h.
#define INTEL_SCH_HDA_DEVC_SNOOP 0x800 |
Definition at line 155 of file hda_controller_defs.h.
#define INTR_CONTROL_CONTROLLER_ENABLE (1 << 30) |
Definition at line 39 of file hda_controller_defs.h.
Definition at line 38 of file hda_controller_defs.h.
#define INTR_STATUS_CONTROLLER (1 << 30) |
Definition at line 43 of file hda_controller_defs.h.
Definition at line 42 of file hda_controller_defs.h.
#define INTR_STATUS_STREAM_MASK 0x3fffffff |
Definition at line 44 of file hda_controller_defs.h.
#define NVIDIA_HDA_ENABLE_COHBIT 0x01 |
Definition at line 150 of file hda_controller_defs.h.
#define NVIDIA_HDA_ENABLE_COHBITS 0x0f |
Definition at line 153 of file hda_controller_defs.h.
#define NVIDIA_HDA_ISTRM_COH 0x4d |
Definition at line 149 of file hda_controller_defs.h.
#define NVIDIA_HDA_OSTRM_COH 0x4c |
Definition at line 148 of file hda_controller_defs.h.
#define NVIDIA_HDA_TRANSREG 0x4e |
Definition at line 151 of file hda_controller_defs.h.
#define NVIDIA_HDA_TRANSREG_MASK 0xf0 |
Definition at line 152 of file hda_controller_defs.h.
#define PCI_HDA_TCSEL 0x44 |
Definition at line 142 of file hda_controller_defs.h.
#define PCI_HDA_TCSEL_MASK 0xf8 |
Definition at line 143 of file hda_controller_defs.h.
#define RESPONSE_FLAGS_CODEC_MASK 0x0000000f |
Definition at line 166 of file hda_controller_defs.h.
#define RESPONSE_FLAGS_UNSOLICITED (1 << 4) |
Definition at line 167 of file hda_controller_defs.h.
#define RIRB_CONTROL_DMA_ENABLE (1 << 1) |
Definition at line 83 of file hda_controller_defs.h.
#define RIRB_CONTROL_OVERRUN_INTR (1 << 2) |
Definition at line 82 of file hda_controller_defs.h.
#define RIRB_CONTROL_RESPONSE_INTR (1 << 0) |
Definition at line 84 of file hda_controller_defs.h.
#define RIRB_SIZE_16_ENTRIES 0x01 |
Definition at line 96 of file hda_controller_defs.h.
#define RIRB_SIZE_256_ENTRIES 0x02 |
Definition at line 97 of file hda_controller_defs.h.
#define RIRB_SIZE_2_ENTRIES 0x00 |
Definition at line 95 of file hda_controller_defs.h.
#define RIRB_SIZE_CAP_16_ENTRIES (1 << 5) |
Definition at line 93 of file hda_controller_defs.h.
#define RIRB_SIZE_CAP_256_ENTRIES (1 << 6) |
Definition at line 94 of file hda_controller_defs.h.
#define RIRB_SIZE_CAP_2_ENTRIES (1 << 4) |
Definition at line 92 of file hda_controller_defs.h.
#define RIRB_STATUS_OVERRUN (1 << 2) |
Definition at line 87 of file hda_controller_defs.h.
#define RIRB_STATUS_RESPONSE (1 << 0) |
Definition at line 88 of file hda_controller_defs.h.
#define RIRB_WRITE_POS_RESET (1 << 15) |
Definition at line 75 of file hda_controller_defs.h.
#define STATUS_BUFFER_COMPLETED (1 << 2) |
Definition at line 121 of file hda_controller_defs.h.
#define STATUS_DESCRIPTOR_ERROR (1 << 4) |
Definition at line 123 of file hda_controller_defs.h.
#define STATUS_FIFO_ERROR (1 << 3) |
Definition at line 122 of file hda_controller_defs.h.
#define STATUS_FIFO_READY (1 << 5) |
Definition at line 124 of file hda_controller_defs.h.
Definition at line 159 of file hda_controller_defs.h.