Linux Kernel
3.7.1
|
Go to the source code of this file.
#define MCLK_128 0 |
Definition at line 143 of file oxygen_regs.h.
#define MCLK_256 1 |
Definition at line 144 of file oxygen_regs.h.
#define MCLK_512 2 |
Definition at line 145 of file oxygen_regs.h.
#define OXYGEN_2WIRE_ADDRESS_MASK 0xfe /* slave device address */ |
Definition at line 215 of file oxygen_regs.h.
#define OXYGEN_2WIRE_ADDRESS_SHIFT 1 |
Definition at line 216 of file oxygen_regs.h.
#define OXYGEN_2WIRE_BUS_RESET 0x0400 |
Definition at line 235 of file oxygen_regs.h.
#define OXYGEN_2WIRE_BUS_STATUS 0x94 |
Definition at line 221 of file oxygen_regs.h.
#define OXYGEN_2WIRE_BUSY 0x0001 |
Definition at line 222 of file oxygen_regs.h.
#define OXYGEN_2WIRE_CLOCK_SYNC 0x0200 |
Definition at line 234 of file oxygen_regs.h.
#define OXYGEN_2WIRE_CONTROL 0x90 |
Definition at line 211 of file oxygen_regs.h.
#define OXYGEN_2WIRE_DATA 0x92 /* data, 16 bits */ |
Definition at line 219 of file oxygen_regs.h.
#define OXYGEN_2WIRE_DIR_MASK 0x01 |
Definition at line 212 of file oxygen_regs.h.
#define OXYGEN_2WIRE_DIR_READ 0x01 |
Definition at line 214 of file oxygen_regs.h.
#define OXYGEN_2WIRE_DIR_WRITE 0x00 |
Definition at line 213 of file oxygen_regs.h.
#define OXYGEN_2WIRE_INTERRUPT_MASK 0x0040 /* 0 = int. if not responding */ |
Definition at line 229 of file oxygen_regs.h.
#define OXYGEN_2WIRE_LENGTH_16 0x0002 |
Definition at line 225 of file oxygen_regs.h.
#define OXYGEN_2WIRE_LENGTH_8 0x0000 |
Definition at line 224 of file oxygen_regs.h.
#define OXYGEN_2WIRE_LENGTH_MASK 0x0002 |
Definition at line 223 of file oxygen_regs.h.
#define OXYGEN_2WIRE_MANUAL_READ 0x0004 /* 0 = auto read */ |
Definition at line 226 of file oxygen_regs.h.
#define OXYGEN_2WIRE_MAP 0x91 /* address, 8 bits */ |
Definition at line 218 of file oxygen_regs.h.
#define OXYGEN_2WIRE_SLAVE_AD_MASK 0x0030 /* AD0, AD1 */ |
Definition at line 228 of file oxygen_regs.h.
#define OXYGEN_2WIRE_SLAVE_NO_RESPONSE 0x0080 |
Definition at line 230 of file oxygen_regs.h.
#define OXYGEN_2WIRE_SPEED_FAST 0x0100 |
Definition at line 233 of file oxygen_regs.h.
#define OXYGEN_2WIRE_SPEED_MASK 0x0100 |
Definition at line 231 of file oxygen_regs.h.
#define OXYGEN_2WIRE_SPEED_STANDARD 0x0000 |
Definition at line 232 of file oxygen_regs.h.
#define OXYGEN_2WIRE_WRITE_MAP_ONLY 0x0008 |
Definition at line 227 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_0_MASK 0x03 |
Definition at line 365 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_0_SHIFT 0 |
Definition at line 366 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_1_MASK 0x0c |
Definition at line 367 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_1_SHIFT 2 |
Definition at line 368 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_2_MASK 0x30 |
Definition at line 369 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_2_SHIFT 4 |
Definition at line 370 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_3_MASK 0xc0 |
Definition at line 371 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTE_3_SHIFT 6 |
Definition at line 372 of file oxygen_regs.h.
#define OXYGEN_A_MONITOR_ROUTING 0xc4 |
Definition at line 364 of file oxygen_regs.h.
#define OXYGEN_AC97_CLOCK_DISABLE 0x0004 |
Definition at line 378 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_BASE 0x00002000 |
Definition at line 402 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_CENTER 0x00001000 |
Definition at line 401 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_FRONTL 0x00000100 |
Definition at line 397 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_FRONTR 0x00000200 |
Definition at line 398 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_LINEL 0x00000100 |
Definition at line 417 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_LINER 0x00000200 |
Definition at line 418 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_REARL 0x00004000 |
Definition at line 403 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_REARR 0x00008000 |
Definition at line 404 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_SIDEL 0x00000400 |
Definition at line 399 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC0_SIDER 0x00000800 |
Definition at line 400 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINEL 0x00000001 |
Definition at line 407 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINEL_16 0x00000000 |
Definition at line 409 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINEL_18 0x00000004 |
Definition at line 410 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINEL_20 0x00000008 |
Definition at line 411 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINEL_VSR 0x00000002 |
Definition at line 408 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINER 0x00000010 |
Definition at line 412 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINER_16 0x00000000 |
Definition at line 414 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINER_18 0x00000040 |
Definition at line 415 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINER_20 0x00000080 |
Definition at line 416 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_LINER_VSR 0x00000020 |
Definition at line 413 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_SLOT3 0x00000001 |
Definition at line 393 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_SLOT3_VSR 0x00000002 |
Definition at line 394 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_SLOT4 0x00000010 |
Definition at line 395 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC1_SLOT4_VSR 0x00000020 |
Definition at line 396 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC_0 0x0010 |
Definition at line 380 of file oxygen_regs.h.
#define OXYGEN_AC97_CODEC_1 0x0020 |
Definition at line 381 of file oxygen_regs.h.
#define OXYGEN_AC97_COLD_RESET 0x0001 |
Definition at line 375 of file oxygen_regs.h.
#define OXYGEN_AC97_CONTROL 0xd0 |
Definition at line 374 of file oxygen_regs.h.
#define OXYGEN_AC97_IN_CONFIG 0xd8 |
Definition at line 406 of file oxygen_regs.h.
#define OXYGEN_AC97_INT_CODEC_0 0x10 |
Definition at line 386 of file oxygen_regs.h.
#define OXYGEN_AC97_INT_CODEC_1 0x20 |
Definition at line 387 of file oxygen_regs.h.
#define OXYGEN_AC97_INT_READ_DONE 0x01 |
Definition at line 384 of file oxygen_regs.h.
#define OXYGEN_AC97_INT_WRITE_DONE 0x02 |
Definition at line 385 of file oxygen_regs.h.
#define OXYGEN_AC97_INTERRUPT_MASK 0xd2 |
Definition at line 383 of file oxygen_regs.h.
#define OXYGEN_AC97_INTERRUPT_STATUS 0xd3 |
Definition at line 389 of file oxygen_regs.h.
#define OXYGEN_AC97_NO_CODEC_0 0x0008 |
Definition at line 379 of file oxygen_regs.h.
#define OXYGEN_AC97_OUT_CONFIG 0xd4 |
Definition at line 392 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_ADDR_MASK 0x007f0000 |
Definition at line 422 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_ADDR_SHIFT 16 |
Definition at line 423 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_CODEC_MASK 0x01000000 |
Definition at line 427 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_CODEC_SHIFT 24 |
Definition at line 428 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_DATA_MASK 0x0000ffff |
Definition at line 421 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_DIR_MASK 0x00800000 |
Definition at line 424 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_DIR_READ 0x00800000 |
Definition at line 426 of file oxygen_regs.h.
#define OXYGEN_AC97_REG_DIR_WRITE 0x00000000 |
Definition at line 425 of file oxygen_regs.h.
#define OXYGEN_AC97_REGS 0xdc |
Definition at line 420 of file oxygen_regs.h.
#define OXYGEN_AC97_RESUME 0x0002 /* write */ |
Definition at line 377 of file oxygen_regs.h.
#define OXYGEN_AC97_SUSPENDED 0x0002 /* read */ |
Definition at line 376 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR 0xc3 |
Definition at line 356 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR_A 0x01 |
Definition at line 357 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR_A_HALF_VOL 0x02 |
Definition at line 358 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR_B 0x04 |
Definition at line 359 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR_B_HALF_VOL 0x08 |
Definition at line 360 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR_C 0x10 |
Definition at line 361 of file oxygen_regs.h.
#define OXYGEN_ADC_MONITOR_C_HALF_VOL 0x20 |
Definition at line 362 of file oxygen_regs.h.
#define OXYGEN_CHANNEL_A 0x01 |
Definition at line 37 of file oxygen_regs.h.
#define OXYGEN_CHANNEL_AC97 0x20 |
Definition at line 42 of file oxygen_regs.h.
#define OXYGEN_CHANNEL_B 0x02 |
Definition at line 38 of file oxygen_regs.h.
#define OXYGEN_CHANNEL_C 0x04 |
Definition at line 39 of file oxygen_regs.h.
#define OXYGEN_CHANNEL_MULTICH 0x10 |
Definition at line 41 of file oxygen_regs.h.
#define OXYGEN_CHANNEL_SPDIF 0x08 |
Definition at line 40 of file oxygen_regs.h.
#define OXYGEN_CODEC_ID_MASK 0x07 |
Definition at line 441 of file oxygen_regs.h.
#define OXYGEN_CODEC_VERSION 0xe4 |
Definition at line 440 of file oxygen_regs.h.
#define OXYGEN_DEVICE_SENSE 0xac |
Definition at line 279 of file oxygen_regs.h.
#define OXYGEN_DMA_A_ADDRESS 0x00 /* 32-bit base address */ |
Definition at line 5 of file oxygen_regs.h.
#define OXYGEN_DMA_A_BURST_16 0x04 |
Definition at line 58 of file oxygen_regs.h.
#define OXYGEN_DMA_A_BURST_8 0x00 /* dwords */ |
Definition at line 57 of file oxygen_regs.h.
#define OXYGEN_DMA_A_BURST_MASK 0x04 |
Definition at line 56 of file oxygen_regs.h.
#define OXYGEN_DMA_A_COUNT 0x04 /* buffer counter (dwords) */ |
Definition at line 6 of file oxygen_regs.h.
#define OXYGEN_DMA_A_TCOUNT 0x06 /* interrupt counter (dwords) */ |
Definition at line 7 of file oxygen_regs.h.
#define OXYGEN_DMA_AC97_ADDRESS 0x30 |
Definition at line 30 of file oxygen_regs.h.
#define OXYGEN_DMA_AC97_COUNT 0x34 |
Definition at line 31 of file oxygen_regs.h.
#define OXYGEN_DMA_AC97_TCOUNT 0x36 |
Definition at line 32 of file oxygen_regs.h.
#define OXYGEN_DMA_B_ADDRESS 0x08 |
Definition at line 10 of file oxygen_regs.h.
#define OXYGEN_DMA_B_COUNT 0x0c |
Definition at line 11 of file oxygen_regs.h.
#define OXYGEN_DMA_B_TCOUNT 0x0e |
Definition at line 12 of file oxygen_regs.h.
#define OXYGEN_DMA_C_ADDRESS 0x10 |
Definition at line 15 of file oxygen_regs.h.
#define OXYGEN_DMA_C_COUNT 0x14 |
Definition at line 16 of file oxygen_regs.h.
#define OXYGEN_DMA_C_TCOUNT 0x16 |
Definition at line 17 of file oxygen_regs.h.
#define OXYGEN_DMA_FLUSH 0xe1 |
Definition at line 437 of file oxygen_regs.h.
#define OXYGEN_DMA_MULTICH_ADDRESS 0x20 |
Definition at line 25 of file oxygen_regs.h.
#define OXYGEN_DMA_MULTICH_BURST_16 0x08 |
Definition at line 61 of file oxygen_regs.h.
#define OXYGEN_DMA_MULTICH_BURST_8 0x00 |
Definition at line 60 of file oxygen_regs.h.
#define OXYGEN_DMA_MULTICH_BURST_MASK 0x08 |
Definition at line 59 of file oxygen_regs.h.
#define OXYGEN_DMA_MULTICH_COUNT 0x24 /* 24 bits */ |
Definition at line 26 of file oxygen_regs.h.
#define OXYGEN_DMA_MULTICH_TCOUNT 0x28 /* 24 bits */ |
Definition at line 27 of file oxygen_regs.h.
#define OXYGEN_DMA_PAUSE 0x41 /* 1 = pause */ |
Definition at line 44 of file oxygen_regs.h.
#define OXYGEN_DMA_RESET 0x42 |
Definition at line 47 of file oxygen_regs.h.
#define OXYGEN_DMA_SPDIF_ADDRESS 0x18 |
Definition at line 20 of file oxygen_regs.h.
#define OXYGEN_DMA_SPDIF_COUNT 0x1c |
Definition at line 21 of file oxygen_regs.h.
#define OXYGEN_DMA_SPDIF_TCOUNT 0x1e |
Definition at line 22 of file oxygen_regs.h.
#define OXYGEN_DMA_STATUS 0x40 /* 1 = running, 0 = stop */ |
Definition at line 36 of file oxygen_regs.h.
#define OXYGEN_EEPROM_ADDRESS_MASK 0x7f |
Definition at line 200 of file oxygen_regs.h.
#define OXYGEN_EEPROM_BUSY 0x80 |
Definition at line 207 of file oxygen_regs.h.
#define OXYGEN_EEPROM_CONTROL 0x80 |
Definition at line 199 of file oxygen_regs.h.
#define OXYGEN_EEPROM_DATA 0x82 /* 16 bits */ |
Definition at line 209 of file oxygen_regs.h.
#define OXYGEN_EEPROM_DIR_MASK 0x80 |
Definition at line 201 of file oxygen_regs.h.
#define OXYGEN_EEPROM_DIR_READ 0x00 |
Definition at line 202 of file oxygen_regs.h.
#define OXYGEN_EEPROM_DIR_WRITE 0x80 |
Definition at line 203 of file oxygen_regs.h.
#define OXYGEN_EEPROM_STATUS 0x81 |
Definition at line 205 of file oxygen_regs.h.
#define OXYGEN_EEPROM_VALID 0x40 |
Definition at line 206 of file oxygen_regs.h.
#define OXYGEN_FORMAT_16 0x00 |
Definition at line 95 of file oxygen_regs.h.
#define OXYGEN_FORMAT_24 0x01 |
Definition at line 96 of file oxygen_regs.h.
#define OXYGEN_FORMAT_32 0x02 |
Definition at line 97 of file oxygen_regs.h.
#define OXYGEN_FUNCTION 0x50 |
Definition at line 114 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_2WIRE 0x40 |
Definition at line 125 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_2WIRE_SPI_MASK 0x40 |
Definition at line 123 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_CLOCK_CRYSTAL 0x01 |
Definition at line 117 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_CLOCK_MASK 0x01 |
Definition at line 115 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_CLOCK_PLL 0x00 |
Definition at line 116 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_ENABLE_SPI_4_5 0x80 /* 0 = EEPROM */ |
Definition at line 126 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_PWDN 0x08 |
Definition at line 120 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_PWDN_EN 0x10 |
Definition at line 121 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_PWDN_POL 0x20 |
Definition at line 122 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_RESET_CODEC 0x02 |
Definition at line 118 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_RESET_POL 0x04 |
Definition at line 119 of file oxygen_regs.h.
#define OXYGEN_FUNCTION_SPI 0x00 |
Definition at line 124 of file oxygen_regs.h.
#define OXYGEN_GPI_DATA 0xa4 |
Definition at line 263 of file oxygen_regs.h.
#define OXYGEN_GPI_INTERRUPT_MASK 0xa5 |
Definition at line 266 of file oxygen_regs.h.
#define OXYGEN_GPIO1_XSLAVE_RDY 0x8000 |
Definition at line 274 of file oxygen_regs.h.
#define OXYGEN_GPIO_CONTROL 0xa8 |
Definition at line 272 of file oxygen_regs.h.
#define OXYGEN_GPIO_DATA 0xa6 |
Definition at line 269 of file oxygen_regs.h.
#define OXYGEN_GPIO_INTERRUPT_MASK 0xaa |
Definition at line 276 of file oxygen_regs.h.
#define OXYGEN_HEAD_PHONE_ACTIVE_SPK 0x04 |
Definition at line 284 of file oxygen_regs.h.
#define OXYGEN_HEAD_PHONE_DETECT 0x01 |
Definition at line 280 of file oxygen_regs.h.
#define OXYGEN_HEAD_PHONE_HP 0x02 |
Definition at line 283 of file oxygen_regs.h.
#define OXYGEN_HEAD_PHONE_MASK 0x06 |
Definition at line 281 of file oxygen_regs.h.
#define OXYGEN_HEAD_PHONE_PASSIVE_SPK 0x00 |
Definition at line 282 of file oxygen_regs.h.
#define OXYGEN_I2S_A_FORMAT 0x62 |
Definition at line 159 of file oxygen_regs.h.
#define OXYGEN_I2S_B_FORMAT 0x64 |
Definition at line 160 of file oxygen_regs.h.
#define OXYGEN_I2S_BCLK_128 0x0200 |
Definition at line 155 of file oxygen_regs.h.
#define OXYGEN_I2S_BCLK_256 0x0400 |
Definition at line 156 of file oxygen_regs.h.
#define OXYGEN_I2S_BCLK_64 0x0000 |
Definition at line 154 of file oxygen_regs.h.
#define OXYGEN_I2S_BCLK_MASK 0x0600 /* BCLK/LRCK */ |
Definition at line 153 of file oxygen_regs.h.
#define OXYGEN_I2S_BITS_16 0x0000 |
Definition at line 148 of file oxygen_regs.h.
#define OXYGEN_I2S_BITS_20 0x0040 |
Definition at line 149 of file oxygen_regs.h.
#define OXYGEN_I2S_BITS_24 0x0080 |
Definition at line 150 of file oxygen_regs.h.
#define OXYGEN_I2S_BITS_32 0x00c0 |
Definition at line 151 of file oxygen_regs.h.
#define OXYGEN_I2S_BITS_MASK 0x00c0 |
Definition at line 147 of file oxygen_regs.h.
#define OXYGEN_I2S_C_FORMAT 0x66 |
Definition at line 161 of file oxygen_regs.h.
#define OXYGEN_I2S_FORMAT_I2S 0x0000 |
Definition at line 139 of file oxygen_regs.h.
#define OXYGEN_I2S_FORMAT_LJUST 0x0008 |
Definition at line 140 of file oxygen_regs.h.
#define OXYGEN_I2S_FORMAT_MASK 0x0008 |
Definition at line 138 of file oxygen_regs.h.
#define OXYGEN_I2S_MASTER 0x0100 |
Definition at line 152 of file oxygen_regs.h.
#define OXYGEN_I2S_MCLK | ( | f | ) | (((f) & 3) << OXYGEN_I2S_MCLK_SHIFT) |
Definition at line 146 of file oxygen_regs.h.
#define OXYGEN_I2S_MCLK_MASK 0x0030 /* MCLK/LRCK */ |
Definition at line 141 of file oxygen_regs.h.
#define OXYGEN_I2S_MCLK_SHIFT 4 |
Definition at line 142 of file oxygen_regs.h.
#define OXYGEN_I2S_MULTICH_FORMAT 0x60 |
Definition at line 128 of file oxygen_regs.h.
#define OXYGEN_I2S_MUTE_MCLK 0x0800 |
Definition at line 157 of file oxygen_regs.h.
#define OXYGEN_I2S_RATE_MASK 0x0007 /* LRCK */ |
Definition at line 129 of file oxygen_regs.h.
#define OXYGEN_INT_2WIRE 0x0400 |
Definition at line 67 of file oxygen_regs.h.
#define OXYGEN_INT_AC97 0x4000 |
Definition at line 70 of file oxygen_regs.h.
#define OXYGEN_INT_GPIO 0x0800 |
Definition at line 68 of file oxygen_regs.h.
#define OXYGEN_INT_MCB 0x2000 |
Definition at line 69 of file oxygen_regs.h.
#define OXYGEN_INT_MCU 0x0200 |
Definition at line 66 of file oxygen_regs.h.
#define OXYGEN_INT_MIDI 0x1000 |
Definition at line 74 of file oxygen_regs.h.
#define OXYGEN_INT_SPDIF_IN_DETECT 0x0100 |
Definition at line 65 of file oxygen_regs.h.
#define OXYGEN_INTERRUPT_MASK 0x44 |
Definition at line 63 of file oxygen_regs.h.
#define OXYGEN_INTERRUPT_STATUS 0x46 |
Definition at line 72 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_ADDRESS_10 0x00 |
Definition at line 309 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_ADDRESS_12 0x10 |
Definition at line 310 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_ADDRESS_14 0x20 |
Definition at line 311 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_ADDRESS_16 0x30 |
Definition at line 312 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_ADDRESS_MASK 0x30 |
Definition at line 308 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_BUSY 0x01 |
Definition at line 291 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_CONTROL 0xb4 |
Definition at line 301 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_DATA 0xb0 |
Definition at line 286 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_DRV_ACK 0x01 |
Definition at line 302 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_DRV_XACT 0x02 |
Definition at line 303 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_DRV_XACT_FAIL 0x20 /* r/wc */ |
Definition at line 298 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_INT_MASK 0x04 |
Definition at line 304 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_INT_POL 0x40 |
Definition at line 313 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_LENGTH_1 0x00 |
Definition at line 293 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_LENGTH_2 0x02 |
Definition at line 294 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_LENGTH_3 0x04 |
Definition at line 295 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_LENGTH_MASK 0x06 |
Definition at line 292 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_MAP 0xb2 |
Definition at line 288 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_READ 0x10 /* r/wc */ |
Definition at line 297 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_RESET 0x40 |
Definition at line 299 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_STATUS 0xb3 |
Definition at line 290 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_SYNC_DATA 0x08 |
Definition at line 307 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_SYNC_ENABLE 0x80 |
Definition at line 314 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_SYNC_MASK 0x08 |
Definition at line 305 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_SYNC_RDY_PIN 0x00 |
Definition at line 306 of file oxygen_regs.h.
#define OXYGEN_MCU_2WIRE_WRITE 0x08 /* r/wc */ |
Definition at line 296 of file oxygen_regs.h.
#define OXYGEN_MISC 0x48 |
Definition at line 76 of file oxygen_regs.h.
#define OXYGEN_MISC_CRYSTAL_24576 0x00 |
Definition at line 85 of file oxygen_regs.h.
#define OXYGEN_MISC_CRYSTAL_27 0x80 /* MHz */ |
Definition at line 86 of file oxygen_regs.h.
#define OXYGEN_MISC_CRYSTAL_MASK 0x80 |
Definition at line 84 of file oxygen_regs.h.
#define OXYGEN_MISC_LATENCY_3F 0x02 |
Definition at line 78 of file oxygen_regs.h.
#define OXYGEN_MISC_MIDI 0x40 |
Definition at line 83 of file oxygen_regs.h.
#define OXYGEN_MISC_PCI_MEM_W_1_CLOCK 0x20 |
Definition at line 82 of file oxygen_regs.h.
#define OXYGEN_MISC_REC_A_FROM_MULTICH 0x10 |
Definition at line 81 of file oxygen_regs.h.
#define OXYGEN_MISC_REC_B_FROM_AC97 0x08 |
Definition at line 80 of file oxygen_regs.h.
#define OXYGEN_MISC_REC_C_FROM_SPDIF 0x04 |
Definition at line 79 of file oxygen_regs.h.
#define OXYGEN_MISC_WRITE_PCI_SUBID 0x01 |
Definition at line 77 of file oxygen_regs.h.
#define OXYGEN_MPU401 0xa0 |
Definition at line 258 of file oxygen_regs.h.
#define OXYGEN_MPU401_CONTROL 0xa2 |
Definition at line 260 of file oxygen_regs.h.
#define OXYGEN_MPU401_LOOPBACK 0x01 /* TXD to RXD */ |
Definition at line 261 of file oxygen_regs.h.
#define OXYGEN_MULTICH_FORMAT_MASK 0x0c |
Definition at line 102 of file oxygen_regs.h.
#define OXYGEN_MULTICH_FORMAT_SHIFT 2 |
Definition at line 103 of file oxygen_regs.h.
#define OXYGEN_MUTE_I2S_ADC_1 0x01 |
Definition at line 343 of file oxygen_regs.h.
#define OXYGEN_MUTE_I2S_ADC_2 0x02 |
Definition at line 344 of file oxygen_regs.h.
#define OXYGEN_MUTE_I2S_ADC_3 0x04 |
Definition at line 345 of file oxygen_regs.h.
#define OXYGEN_OFFSBASE_44K 0xed |
Definition at line 455 of file oxygen_regs.h.
#define OXYGEN_OFFSBASE_48K 0xe9 |
Definition at line 452 of file oxygen_regs.h.
#define OXYGEN_OFFSBASE_MASK 0x0fff |
Definition at line 453 of file oxygen_regs.h.
#define OXYGEN_OFFSIN_44K 0xec |
Definition at line 454 of file oxygen_regs.h.
#define OXYGEN_OFFSIN_48K 0xe8 |
Definition at line 451 of file oxygen_regs.h.
#define OXYGEN_PACKAGE_ID_8786 0x0004 |
Definition at line 445 of file oxygen_regs.h.
#define OXYGEN_PACKAGE_ID_8787 0x0006 |
Definition at line 446 of file oxygen_regs.h.
#define OXYGEN_PACKAGE_ID_8788 0x0007 |
Definition at line 447 of file oxygen_regs.h.
#define OXYGEN_PACKAGE_ID_MASK 0x0007 |
Definition at line 444 of file oxygen_regs.h.
#define OXYGEN_PLAY_CHANNELS 0x43 |
Definition at line 50 of file oxygen_regs.h.
#define OXYGEN_PLAY_CHANNELS_2 0x00 |
Definition at line 52 of file oxygen_regs.h.
#define OXYGEN_PLAY_CHANNELS_4 0x01 |
Definition at line 53 of file oxygen_regs.h.
#define OXYGEN_PLAY_CHANNELS_6 0x02 |
Definition at line 54 of file oxygen_regs.h.
#define OXYGEN_PLAY_CHANNELS_8 0x03 |
Definition at line 55 of file oxygen_regs.h.
#define OXYGEN_PLAY_CHANNELS_MASK 0x03 |
Definition at line 51 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC0_SOURCE_MASK 0x0300 |
Definition at line 333 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC0_SOURCE_SHIFT 8 |
Definition at line 334 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC1_SOURCE_MASK 0x0c00 |
Definition at line 335 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC1_SOURCE_SHIFT 10 |
Definition at line 336 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC2_SOURCE_MASK 0x3000 |
Definition at line 337 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC2_SOURCE_SHIFT 12 |
Definition at line 338 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC3_SOURCE_MASK 0xc000 |
Definition at line 339 of file oxygen_regs.h.
#define OXYGEN_PLAY_DAC3_SOURCE_SHIFT 14 |
Definition at line 340 of file oxygen_regs.h.
#define OXYGEN_PLAY_FORMAT 0x4b |
Definition at line 99 of file oxygen_regs.h.
#define OXYGEN_PLAY_MULTICH_AC97 0x0010 |
Definition at line 323 of file oxygen_regs.h.
#define OXYGEN_PLAY_MULTICH_I2S_DAC 0x0000 |
Definition at line 322 of file oxygen_regs.h.
#define OXYGEN_PLAY_MULTICH_MASK 0x0010 |
Definition at line 321 of file oxygen_regs.h.
#define OXYGEN_PLAY_MUTE01 0x0001 |
Definition at line 317 of file oxygen_regs.h.
#define OXYGEN_PLAY_MUTE23 0x0002 |
Definition at line 318 of file oxygen_regs.h.
#define OXYGEN_PLAY_MUTE45 0x0004 |
Definition at line 319 of file oxygen_regs.h.
#define OXYGEN_PLAY_MUTE67 0x0008 |
Definition at line 320 of file oxygen_regs.h.
#define OXYGEN_PLAY_ROUTING 0xc0 |
Definition at line 316 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_I2S_ADC_3 0x00e0 |
Definition at line 332 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_MASK 0x00e0 |
Definition at line 324 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_MULTICH_01 0x0020 |
Definition at line 326 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_MULTICH_23 0x0040 |
Definition at line 327 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_MULTICH_45 0x0060 |
Definition at line 328 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_MULTICH_67 0x0080 |
Definition at line 329 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_REC_A 0x00a0 |
Definition at line 330 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_REC_B 0x00c0 |
Definition at line 331 of file oxygen_regs.h.
#define OXYGEN_PLAY_SPDIF_SPDIF 0x0000 |
Definition at line 325 of file oxygen_regs.h.
#define OXYGEN_RATE_176400 0x0006 |
Definition at line 136 of file oxygen_regs.h.
#define OXYGEN_RATE_192000 0x0007 |
Definition at line 137 of file oxygen_regs.h.
#define OXYGEN_RATE_32000 0x0000 |
Definition at line 130 of file oxygen_regs.h.
#define OXYGEN_RATE_44100 0x0001 |
Definition at line 131 of file oxygen_regs.h.
#define OXYGEN_RATE_48000 0x0002 |
Definition at line 132 of file oxygen_regs.h.
#define OXYGEN_RATE_64000 0x0003 |
Definition at line 133 of file oxygen_regs.h.
#define OXYGEN_RATE_88200 0x0004 |
Definition at line 134 of file oxygen_regs.h.
#define OXYGEN_RATE_96000 0x0005 |
Definition at line 135 of file oxygen_regs.h.
#define OXYGEN_REC_A_ROUTE_AC97_0 0x08 |
Definition at line 348 of file oxygen_regs.h.
#define OXYGEN_REC_A_ROUTE_I2S_ADC_1 0x00 |
Definition at line 347 of file oxygen_regs.h.
#define OXYGEN_REC_A_ROUTE_MASK 0x08 |
Definition at line 346 of file oxygen_regs.h.
#define OXYGEN_REC_B_ROUTE_AC97_1 0x10 |
Definition at line 351 of file oxygen_regs.h.
#define OXYGEN_REC_B_ROUTE_I2S_ADC_2 0x00 |
Definition at line 350 of file oxygen_regs.h.
#define OXYGEN_REC_B_ROUTE_MASK 0x10 |
Definition at line 349 of file oxygen_regs.h.
#define OXYGEN_REC_C_ROUTE_I2S_ADC_3 0x20 |
Definition at line 354 of file oxygen_regs.h.
#define OXYGEN_REC_C_ROUTE_MASK 0x20 |
Definition at line 352 of file oxygen_regs.h.
#define OXYGEN_REC_C_ROUTE_SPDIF 0x00 |
Definition at line 353 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS 0x4c |
Definition at line 106 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS_2_2_2 0x00 /* DMA A, B, C */ |
Definition at line 108 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS_4_2_2 0x01 |
Definition at line 109 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS_6_0_2 0x02 |
Definition at line 110 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS_6_2_0 0x03 |
Definition at line 111 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS_8_0_0 0x04 |
Definition at line 112 of file oxygen_regs.h.
#define OXYGEN_REC_CHANNELS_MASK 0x07 |
Definition at line 107 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT 0x4a |
Definition at line 88 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT_A_MASK 0x03 |
Definition at line 89 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT_A_SHIFT 0 |
Definition at line 90 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT_B_MASK 0x0c |
Definition at line 91 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT_B_SHIFT 2 |
Definition at line 92 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT_C_MASK 0x30 |
Definition at line 93 of file oxygen_regs.h.
#define OXYGEN_REC_FORMAT_C_SHIFT 4 |
Definition at line 94 of file oxygen_regs.h.
#define OXYGEN_REC_ROUTING 0xc2 |
Definition at line 342 of file oxygen_regs.h.
#define OXYGEN_REVISION 0xe6 |
Definition at line 443 of file oxygen_regs.h.
#define OXYGEN_REVISION_2 0x0008 |
Definition at line 449 of file oxygen_regs.h.
#define OXYGEN_REVISION_MASK 0xfff8 |
Definition at line 448 of file oxygen_regs.h.
#define OXYGEN_SPDIF_C 0x00000004 |
Definition at line 187 of file oxygen_regs.h.
#define OXYGEN_SPDIF_CATEGORY_MASK 0x000007f0 |
Definition at line 189 of file oxygen_regs.h.
#define OXYGEN_SPDIF_CATEGORY_SHIFT 4 |
Definition at line 190 of file oxygen_regs.h.
#define OXYGEN_SPDIF_CONTROL 0x70 |
Definition at line 164 of file oxygen_regs.h.
#define OXYGEN_SPDIF_CS_RATE_MASK 0x0000f000 |
Definition at line 192 of file oxygen_regs.h.
#define OXYGEN_SPDIF_CS_RATE_SHIFT 12 |
Definition at line 193 of file oxygen_regs.h.
#define OXYGEN_SPDIF_FORMAT_MASK 0x03 |
Definition at line 100 of file oxygen_regs.h.
#define OXYGEN_SPDIF_FORMAT_SHIFT 0 |
Definition at line 101 of file oxygen_regs.h.
#define OXYGEN_SPDIF_IN_CLOCK_192 0x00010000 /* > 96 kHz */ |
Definition at line 180 of file oxygen_regs.h.
#define OXYGEN_SPDIF_IN_CLOCK_96 0x00000000 /* <= 96 kHz */ |
Definition at line 179 of file oxygen_regs.h.
#define OXYGEN_SPDIF_IN_CLOCK_MASK 0x00010000 |
Definition at line 178 of file oxygen_regs.h.
#define OXYGEN_SPDIF_INPUT_BITS 0x78 |
Definition at line 196 of file oxygen_regs.h.
#define OXYGEN_SPDIF_LOCK_INT 0x00004000 /* r/wc */ |
Definition at line 176 of file oxygen_regs.h.
#define OXYGEN_SPDIF_LOCK_MASK 0x00000010 |
Definition at line 168 of file oxygen_regs.h.
#define OXYGEN_SPDIF_LOCK_PAR 0x00000400 |
Definition at line 172 of file oxygen_regs.h.
#define OXYGEN_SPDIF_LOCK_STATUS 0x00001000 |
Definition at line 174 of file oxygen_regs.h.
#define OXYGEN_SPDIF_LOOPBACK 0x00000004 /* in to out */ |
Definition at line 166 of file oxygen_regs.h.
#define OXYGEN_SPDIF_NONAUDIO 0x00000002 |
Definition at line 186 of file oxygen_regs.h.
#define OXYGEN_SPDIF_ORIGINAL 0x00000800 |
Definition at line 191 of file oxygen_regs.h.
#define OXYGEN_SPDIF_OUT_ENABLE 0x00000002 |
Definition at line 165 of file oxygen_regs.h.
#define OXYGEN_SPDIF_OUT_RATE_MASK 0x07000000 |
Definition at line 181 of file oxygen_regs.h.
#define OXYGEN_SPDIF_OUT_RATE_SHIFT 24 |
Definition at line 182 of file oxygen_regs.h.
#define OXYGEN_SPDIF_OUTPUT_BITS 0x74 |
Definition at line 185 of file oxygen_regs.h.
#define OXYGEN_SPDIF_PREEMPHASIS 0x00000008 |
Definition at line 188 of file oxygen_regs.h.
#define OXYGEN_SPDIF_RATE_INT 0x00008000 /* r/wc */ |
Definition at line 177 of file oxygen_regs.h.
#define OXYGEN_SPDIF_RATE_MASK 0x00000020 |
Definition at line 169 of file oxygen_regs.h.
#define OXYGEN_SPDIF_SENSE_INT 0x00002000 /* r/wc */ |
Definition at line 175 of file oxygen_regs.h.
#define OXYGEN_SPDIF_SENSE_MASK 0x00000008 |
Definition at line 167 of file oxygen_regs.h.
#define OXYGEN_SPDIF_SENSE_PAR 0x00000200 |
Definition at line 171 of file oxygen_regs.h.
#define OXYGEN_SPDIF_SENSE_STATUS 0x00000800 |
Definition at line 173 of file oxygen_regs.h.
#define OXYGEN_SPDIF_SPDVALID 0x00000040 |
Definition at line 170 of file oxygen_regs.h.
#define OXYGEN_SPDIF_V 0x00010000 /* 0 = valid */ |
Definition at line 194 of file oxygen_regs.h.
#define OXYGEN_SPI_BUSY 0x01 /* read */ |
Definition at line 238 of file oxygen_regs.h.
#define OXYGEN_SPI_CEN_LATCH_CLOCK_HI 0x80 |
Definition at line 252 of file oxygen_regs.h.
#define OXYGEN_SPI_CEN_LATCH_CLOCK_LO 0x00 |
Definition at line 251 of file oxygen_regs.h.
#define OXYGEN_SPI_CEN_MASK 0x80 |
Definition at line 250 of file oxygen_regs.h.
#define OXYGEN_SPI_CLOCK_1280 0x0c |
Definition at line 247 of file oxygen_regs.h.
#define OXYGEN_SPI_CLOCK_160 0x00 /* ns */ |
Definition at line 244 of file oxygen_regs.h.
#define OXYGEN_SPI_CLOCK_320 0x04 |
Definition at line 245 of file oxygen_regs.h.
#define OXYGEN_SPI_CLOCK_640 0x08 |
Definition at line 246 of file oxygen_regs.h.
#define OXYGEN_SPI_CLOCK_MASK 0x0c |
Definition at line 243 of file oxygen_regs.h.
#define OXYGEN_SPI_CODEC_MASK 0x70 /* 0..5 */ |
Definition at line 248 of file oxygen_regs.h.
#define OXYGEN_SPI_CODEC_SHIFT 4 |
Definition at line 249 of file oxygen_regs.h.
#define OXYGEN_SPI_CONTROL 0x98 |
Definition at line 237 of file oxygen_regs.h.
#define OXYGEN_SPI_DATA1 0x99 |
Definition at line 254 of file oxygen_regs.h.
#define OXYGEN_SPI_DATA2 0x9a |
Definition at line 255 of file oxygen_regs.h.
#define OXYGEN_SPI_DATA3 0x9b |
Definition at line 256 of file oxygen_regs.h.
#define OXYGEN_SPI_DATA_LENGTH_2 0x00 |
Definition at line 241 of file oxygen_regs.h.
#define OXYGEN_SPI_DATA_LENGTH_3 0x02 |
Definition at line 242 of file oxygen_regs.h.
#define OXYGEN_SPI_DATA_LENGTH_MASK 0x02 |
Definition at line 240 of file oxygen_regs.h.
#define OXYGEN_SPI_TRIGGER 0x01 /* write */ |
Definition at line 239 of file oxygen_regs.h.
#define OXYGEN_TEST 0xe0 |
Definition at line 430 of file oxygen_regs.h.
#define OXYGEN_TEST_2WIRE_LOOPBACK 0x10 |
Definition at line 435 of file oxygen_regs.h.
#define OXYGEN_TEST_PLAYBACK_RAM 0x02 |
Definition at line 432 of file oxygen_regs.h.
#define OXYGEN_TEST_PLL 0x08 |
Definition at line 434 of file oxygen_regs.h.
#define OXYGEN_TEST_RAM_SUCCEEDED 0x01 |
Definition at line 431 of file oxygen_regs.h.
#define OXYGEN_TEST_RECORD_RAM 0x04 |
Definition at line 433 of file oxygen_regs.h.