Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
azt3328.h File Reference

Go to the source code of this file.

Macros

#define AZF_IO_SIZE_CTRL   0x80
 
#define AZF_IO_SIZE_CTRL_PM   0x70
 
#define AZF_IO_OFFS_CODEC_PLAYBACK   0x00
 
#define AZF_IO_OFFS_CODEC_CAPTURE   0x20
 
#define AZF_IO_OFFS_CODEC_I2S_OUT   0x40
 
#define IDX_IO_CODEC_DMA_FLAGS   0x00 /* PU:0x0000 */
 
#define DMA_RESUME   0x0001 /* paused if cleared? */
 
#define DMA_RUN_SOMETHING1   0x0002 /* \ alternated (toggled) */
 
#define DMA_RUN_SOMETHING2   0x0004 /* / bits */
 
#define SOMETHING_ALMOST_ALWAYS_SET   0x0008 /* ???; can be modified */
 
#define DMA_EPILOGUE_SOMETHING   0x0010
 
#define DMA_SOMETHING_ELSE   0x0020 /* ??? */
 
#define SOMETHING_UNMODIFIABLE   0xffc0 /* unused? not modifiable */
 
#define IDX_IO_CODEC_IRQTYPE   0x02 /* PU:0x0001 */
 
#define IRQ_SOMETHING   0x0001 /* something & ACK */
 
#define IRQ_FINISHED_DMABUF_1   0x0002 /* 1st dmabuf finished & ACK */
 
#define IRQ_FINISHED_DMABUF_2   0x0004 /* 2nd dmabuf finished & ACK */
 
#define IRQMASK_SOME_STATUS_1   0x0008 /* \ related bits */
 
#define IRQMASK_SOME_STATUS_2   0x0010 /* / (checked together in loop) */
 
#define IRQMASK_UNMODIFIABLE   0xffe0 /* unused? not modifiable */
 
#define IDX_IO_CODEC_DMA_START_1   0x04
 
#define IDX_IO_CODEC_DMA_START_2   0x08
 
#define IDX_IO_CODEC_DMA_LENGTHS   0x0c
 
#define IDX_IO_CODEC_DMA_CURRPOS   0x10 /* current DMA position, PU:0x00000000 */
 
#define IDX_IO_CODEC_DMA_CURROFS   0x14
 
#define IDX_IO_CODEC_SOUNDFORMAT   0x16 /* PU:0x0010 */
 
#define SOUNDFORMAT_FREQUENCY_MASK   0x000f
 
#define SOUNDFORMAT_XTAL1   0x00
 
#define SOUNDFORMAT_XTAL2   0x01
 
#define SOUNDFORMAT_FREQ_SUSPECTED_4000   0x0c | SOUNDFORMAT_XTAL1
 
#define SOUNDFORMAT_FREQ_SUSPECTED_4800   0x0a | SOUNDFORMAT_XTAL1
 
#define SOUNDFORMAT_FREQ_5510   0x0c | SOUNDFORMAT_XTAL2
 
#define SOUNDFORMAT_FREQ_6620   0x0a | SOUNDFORMAT_XTAL2
 
#define SOUNDFORMAT_FREQ_8000   0x00 | SOUNDFORMAT_XTAL1 /* also 0x0e | SOUNDFORMAT_XTAL1? */
 
#define SOUNDFORMAT_FREQ_9600   0x08 | SOUNDFORMAT_XTAL1
 
#define SOUNDFORMAT_FREQ_11025   0x00 | SOUNDFORMAT_XTAL2 /* also 0x0e | SOUNDFORMAT_XTAL2? */
 
#define SOUNDFORMAT_FREQ_SUSPECTED_13240   0x08 | SOUNDFORMAT_XTAL2 /* seems to be 6620 *2 */
 
#define SOUNDFORMAT_FREQ_16000   0x02 | SOUNDFORMAT_XTAL1
 
#define SOUNDFORMAT_FREQ_22050   0x02 | SOUNDFORMAT_XTAL2
 
#define SOUNDFORMAT_FREQ_32000   0x04 | SOUNDFORMAT_XTAL1
 
#define SOUNDFORMAT_FREQ_44100   0x04 | SOUNDFORMAT_XTAL2
 
#define SOUNDFORMAT_FREQ_48000   0x06 | SOUNDFORMAT_XTAL1
 
#define SOUNDFORMAT_FREQ_SUSPECTED_66200   0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */
 
#define SOUNDFORMAT_FLAG_16BIT   0x0010
 
#define SOUNDFORMAT_FLAG_2CHANNELS   0x0020
 
#define AZF_FREQ(rate)   AZF_FREQ_##rate = rate
 
#define IDX_IO_TIMER_VALUE   0x60 /* found this timer area by pure luck :-) */
 
#define TIMER_VALUE_MASK   0x000fffffUL
 
#define TIMER_COUNTDOWN_ENABLE   0x01000000UL
 
#define TIMER_IRQ_ENABLE   0x02000000UL
 
#define TIMER_IRQ_ACK   0x04000000UL
 
#define IDX_IO_IRQSTATUS   0x64
 
#define IRQ_PLAYBACK   0x0001
 
#define IRQ_RECORDING   0x0002
 
#define IRQ_I2S_OUT   0x0004 /* this IS I2S, right!? (untested) */
 
#define IRQ_GAMEPORT   0x0008 /* Interrupt of Digital(ly) Enhanced Game Port */
 
#define IRQ_MPU401   0x0010
 
#define IRQ_TIMER   0x0020 /* DirectX timer */
 
#define IRQ_UNKNOWN2   0x0040 /* probably unused, or possibly OPL3 timer? */
 
#define IRQ_UNKNOWN3   0x0080 /* probably unused, or possibly OPL3 timer? */
 
#define IDX_IO_66H   0x66 /* writing 0xffff returns 0x0000 */
 
#define IDX_IO_SOME_VALUE   0x68
 
#define IO_68_RANDOM_TOGGLE1   0x0100 /* toggles randomly */
 
#define IO_68_RANDOM_TOGGLE2   0x0200 /* toggles randomly */
 
#define IDX_IO_6AH   0x6A /* WRITE_ONLY! */
 
#define IO_6A_SOMETHING1_GAMEPORT   0x0020
 
#define IO_6A_PAUSE_PLAYBACK_BIT8   0x0100
 
#define IO_6A_PAUSE_PLAYBACK_BIT9   0x0200
 
#define IO_6A_SOMETHING2_GAMEPORT   0x0400
 
#define IDX_IO_6CH   0x6C /* unknown; fully read-writable */
 
#define IDX_IO_6EH   0x6E
 
#define AZF_IO_SIZE_GAME   0x08
 
#define AZF_IO_SIZE_GAME_PM   0x06
 
#define IDX_GAME_LEGACY_COMPATIBLE   0x00
 
#define IDX_GAME_AXES_CONFIG   0x01
 
#define GAME_AXES_ENABLE_1   0x01
 
#define GAME_AXES_ENABLE_2   0x02
 
#define GAME_AXES_ENABLE_3   0x04
 
#define GAME_AXES_ENABLE_4   0x08
 
#define GAME_AXES_READ_MASK   0x30
 
#define GAME_AXES_LATCH_ENABLE   0x40
 
#define GAME_AXES_SAMPLING_READY   0x80
 
#define IDX_GAME_AXIS_VALUE   0x02
 
#define IDX_GAME_HWCONFIG   0x04
 
#define GAME_HWCFG_IRQ_ENABLE   0x01
 
#define GAME_HWCFG_ADC_COUNTER_FREQ_MASK   0x06
 
#define GAME_HWCFG_ADC_COUNTER_FREQ_STD   0
 
#define GAME_HWCFG_ADC_COUNTER_FREQ_1_2   1
 
#define GAME_HWCFG_ADC_COUNTER_FREQ_1_20   2
 
#define GAME_HWCFG_ADC_COUNTER_FREQ_1_200   3
 
#define GAME_HWCFG_LEGACY_ADDRESS_ENABLE   0x08
 
#define AZF_IO_SIZE_MPU   0x04
 
#define AZF_IO_SIZE_MPU_PM   0x04
 
#define AZF_IO_SIZE_OPL3   0x08
 
#define AZF_IO_SIZE_OPL3_PM   0x06
 
#define AZF_IO_SIZE_MIXER   0x40
 
#define AZF_IO_SIZE_MIXER_PM   0x22
 
#define MIXER_VOLUME_RIGHT_MASK   0x001f
 
#define MIXER_VOLUME_LEFT_MASK   0x1f00
 
#define MIXER_MUTE_MASK   0x8000
 
#define IDX_MIXER_RESET   0x00 /* does NOT seem to have AC97 ID bits */
 
#define IDX_MIXER_PLAY_MASTER   0x02
 
#define IDX_MIXER_MODEMOUT   0x04
 
#define IDX_MIXER_BASSTREBLE   0x06
 
#define MIXER_BASSTREBLE_TREBLE_VOLUME_MASK   0x000e
 
#define MIXER_BASSTREBLE_BASS_VOLUME_MASK   0x0e00
 
#define IDX_MIXER_PCBEEP   0x08
 
#define IDX_MIXER_MODEMIN   0x0a
 
#define IDX_MIXER_MIC   0x0c
 
#define MIXER_MIC_MICGAIN_20DB_ENHANCEMENT_MASK   0x0040
 
#define IDX_MIXER_LINEIN   0x0e
 
#define IDX_MIXER_CDAUDIO   0x10
 
#define IDX_MIXER_VIDEO   0x12
 
#define IDX_MIXER_AUX   0x14
 
#define IDX_MIXER_WAVEOUT   0x16
 
#define IDX_MIXER_FMSYNTH   0x18
 
#define IDX_MIXER_REC_SELECT   0x1a
 
#define MIXER_REC_SELECT_MIC   0x00
 
#define MIXER_REC_SELECT_CD   0x01
 
#define MIXER_REC_SELECT_VIDEO   0x02
 
#define MIXER_REC_SELECT_AUX   0x03
 
#define MIXER_REC_SELECT_LINEIN   0x04
 
#define MIXER_REC_SELECT_MIXSTEREO   0x05
 
#define MIXER_REC_SELECT_MIXMONO   0x06
 
#define MIXER_REC_SELECT_MONOIN   0x07
 
#define IDX_MIXER_REC_VOLUME   0x1c
 
#define IDX_MIXER_ADVCTL1   0x1e
 
#define MIXER_ADVCTL1_3DWIDTH_MASK   0x000e
 
#define MIXER_ADVCTL1_HIFI3D_MASK   0x0300 /* yup, this is missing the high bit that official AC97 contains, plus it doesn't have linear bit value range behaviour but instead acts weirdly (possibly we're dealing with two *different* 3D settings here??) */
 
#define IDX_MIXER_ADVCTL2   0x20 /* subset of AC97_GENERAL_PURPOSE reg! */
 
#define MIXER_ADVCTL2_LPBK   0x0080 /* Loopback mode -- Win driver: "WaveOut3DBypass"? mutes WaveOut at LineOut */
 
#define MIXER_ADVCTL2_MS   0x0100 /* Mic Select 0=Mic1, 1=Mic2 -- Win driver: "ModemOutSelect"?? */
 
#define MIXER_ADVCTL2_MIX   0x0200 /* Mono output select 0=Mix, 1=Mic; Win driver: "MonoSelectSource"?? */
 
#define MIXER_ADVCTL2_3D   0x2000 /* 3D Enhancement 1=on */
 
#define MIXER_ADVCTL2_POP   0x8000 /* Pcm Out Path, 0=pre 3D, 1=post 3D */
 
#define IDX_MIXER_SOMETHING30H   0x30 /* used, but unknown??? */
 
#define SET_CHAN_LEFT   1
 
#define SET_CHAN_RIGHT   2
 
#define AZF_ALIGN(x)   (((x) + 3) & (~3))
 

Enumerations

enum  azf_freq_t {
  AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000),
  AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000),
  AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000),
  AZF_FREQ =(4000), AZF_FREQ =(4000), AZF_FREQ =(4000)
}
 
enum  { AZF_GAME_LEGACY_IO_PORT = 0x200 }
 

Macro Definition Documentation

#define AZF_ALIGN (   x)    (((x) + 3) & (~3))

Definition at line 340 of file azt3328.h.

#define AZF_FREQ (   rate)    AZF_FREQ_##rate = rate

Definition at line 91 of file azt3328.h.

#define AZF_IO_OFFS_CODEC_CAPTURE   0x20

Definition at line 20 of file azt3328.h.

#define AZF_IO_OFFS_CODEC_I2S_OUT   0x40

Definition at line 21 of file azt3328.h.

#define AZF_IO_OFFS_CODEC_PLAYBACK   0x00

Definition at line 19 of file azt3328.h.

#define AZF_IO_SIZE_CTRL   0x80

Definition at line 9 of file azt3328.h.

#define AZF_IO_SIZE_CTRL_PM   0x70

Definition at line 10 of file azt3328.h.

#define AZF_IO_SIZE_GAME   0x08

Definition at line 197 of file azt3328.h.

#define AZF_IO_SIZE_GAME_PM   0x06

Definition at line 198 of file azt3328.h.

#define AZF_IO_SIZE_MIXER   0x40

Definition at line 289 of file azt3328.h.

#define AZF_IO_SIZE_MIXER_PM   0x22

Definition at line 290 of file azt3328.h.

#define AZF_IO_SIZE_MPU   0x04

Definition at line 275 of file azt3328.h.

#define AZF_IO_SIZE_MPU_PM   0x04

Definition at line 276 of file azt3328.h.

#define AZF_IO_SIZE_OPL3   0x08

Definition at line 280 of file azt3328.h.

#define AZF_IO_SIZE_OPL3_PM   0x06

Definition at line 281 of file azt3328.h.

#define DMA_EPILOGUE_SOMETHING   0x0010

Definition at line 36 of file azt3328.h.

#define DMA_RESUME   0x0001 /* paused if cleared? */

Definition at line 27 of file azt3328.h.

#define DMA_RUN_SOMETHING1   0x0002 /* \ alternated (toggled) */

Definition at line 32 of file azt3328.h.

#define DMA_RUN_SOMETHING2   0x0004 /* / bits */

Definition at line 34 of file azt3328.h.

#define DMA_SOMETHING_ELSE   0x0020 /* ??? */

Definition at line 37 of file azt3328.h.

#define GAME_AXES_ENABLE_1   0x01

Definition at line 216 of file azt3328.h.

#define GAME_AXES_ENABLE_2   0x02

Definition at line 218 of file azt3328.h.

#define GAME_AXES_ENABLE_3   0x04

Definition at line 220 of file azt3328.h.

#define GAME_AXES_ENABLE_4   0x08

Definition at line 222 of file azt3328.h.

#define GAME_AXES_LATCH_ENABLE   0x40

Definition at line 230 of file azt3328.h.

#define GAME_AXES_READ_MASK   0x30

Definition at line 226 of file azt3328.h.

#define GAME_AXES_SAMPLING_READY   0x80

Definition at line 232 of file azt3328.h.

#define GAME_HWCFG_ADC_COUNTER_FREQ_1_2   1

Definition at line 266 of file azt3328.h.

#define GAME_HWCFG_ADC_COUNTER_FREQ_1_20   2

Definition at line 267 of file azt3328.h.

#define GAME_HWCFG_ADC_COUNTER_FREQ_1_200   3

Definition at line 268 of file azt3328.h.

#define GAME_HWCFG_ADC_COUNTER_FREQ_MASK   0x06

Definition at line 262 of file azt3328.h.

#define GAME_HWCFG_ADC_COUNTER_FREQ_STD   0

Definition at line 265 of file azt3328.h.

#define GAME_HWCFG_IRQ_ENABLE   0x01

Definition at line 254 of file azt3328.h.

#define GAME_HWCFG_LEGACY_ADDRESS_ENABLE   0x08

Definition at line 272 of file azt3328.h.

#define IDX_GAME_AXES_CONFIG   0x01

Definition at line 211 of file azt3328.h.

#define IDX_GAME_AXIS_VALUE   0x02

Definition at line 246 of file azt3328.h.

#define IDX_GAME_HWCONFIG   0x04

Definition at line 250 of file azt3328.h.

#define IDX_GAME_LEGACY_COMPATIBLE   0x00

Definition at line 204 of file azt3328.h.

#define IDX_IO_66H   0x66 /* writing 0xffff returns 0x0000 */

Definition at line 136 of file azt3328.h.

#define IDX_IO_6AH   0x6A /* WRITE_ONLY! */

Definition at line 154 of file azt3328.h.

#define IDX_IO_6CH   0x6C /* unknown; fully read-writable */

Definition at line 185 of file azt3328.h.

#define IDX_IO_6EH   0x6E

Definition at line 186 of file azt3328.h.

#define IDX_IO_CODEC_DMA_CURROFS   0x14

Definition at line 60 of file azt3328.h.

#define IDX_IO_CODEC_DMA_CURRPOS   0x10 /* current DMA position, PU:0x00000000 */

Definition at line 58 of file azt3328.h.

#define IDX_IO_CODEC_DMA_FLAGS   0x00 /* PU:0x0000 */

Definition at line 23 of file azt3328.h.

#define IDX_IO_CODEC_DMA_LENGTHS   0x0c

Definition at line 57 of file azt3328.h.

#define IDX_IO_CODEC_DMA_START_1   0x04

Definition at line 52 of file azt3328.h.

#define IDX_IO_CODEC_DMA_START_2   0x08

Definition at line 54 of file azt3328.h.

#define IDX_IO_CODEC_IRQTYPE   0x02 /* PU:0x0001 */

Definition at line 39 of file azt3328.h.

#define IDX_IO_CODEC_SOUNDFORMAT   0x16 /* PU:0x0010 */

Definition at line 61 of file azt3328.h.

#define IDX_IO_IRQSTATUS   0x64

Definition at line 120 of file azt3328.h.

#define IDX_IO_SOME_VALUE   0x68

Definition at line 139 of file azt3328.h.

#define IDX_IO_TIMER_VALUE   0x60 /* found this timer area by pure luck :-) */

DirectX timer, main interrupt area (FIXME: and something else?)

Definition at line 110 of file azt3328.h.

#define IDX_MIXER_ADVCTL1   0x1e

Definition at line 321 of file azt3328.h.

#define IDX_MIXER_ADVCTL2   0x20 /* subset of AC97_GENERAL_PURPOSE reg! */

Definition at line 325 of file azt3328.h.

#define IDX_MIXER_AUX   0x14

Definition at line 308 of file azt3328.h.

#define IDX_MIXER_BASSTREBLE   0x06

Definition at line 298 of file azt3328.h.

#define IDX_MIXER_CDAUDIO   0x10

Definition at line 306 of file azt3328.h.

#define IDX_MIXER_FMSYNTH   0x18

Definition at line 310 of file azt3328.h.

#define IDX_MIXER_LINEIN   0x0e

Definition at line 305 of file azt3328.h.

#define IDX_MIXER_MIC   0x0c

Definition at line 303 of file azt3328.h.

#define IDX_MIXER_MODEMIN   0x0a

Definition at line 302 of file azt3328.h.

#define IDX_MIXER_MODEMOUT   0x04

Definition at line 297 of file azt3328.h.

#define IDX_MIXER_PCBEEP   0x08

Definition at line 301 of file azt3328.h.

#define IDX_MIXER_PLAY_MASTER   0x02

Definition at line 296 of file azt3328.h.

#define IDX_MIXER_REC_SELECT   0x1a

Definition at line 311 of file azt3328.h.

#define IDX_MIXER_REC_VOLUME   0x1c

Definition at line 320 of file azt3328.h.

#define IDX_MIXER_RESET   0x00 /* does NOT seem to have AC97 ID bits */

Definition at line 295 of file azt3328.h.

#define IDX_MIXER_SOMETHING30H   0x30 /* used, but unknown??? */

Definition at line 333 of file azt3328.h.

#define IDX_MIXER_VIDEO   0x12

Definition at line 307 of file azt3328.h.

#define IDX_MIXER_WAVEOUT   0x16

Definition at line 309 of file azt3328.h.

#define IO_68_RANDOM_TOGGLE1   0x0100 /* toggles randomly */

Definition at line 140 of file azt3328.h.

#define IO_68_RANDOM_TOGGLE2   0x0200 /* toggles randomly */

Definition at line 141 of file azt3328.h.

#define IO_6A_PAUSE_PLAYBACK_BIT8   0x0100

Definition at line 163 of file azt3328.h.

#define IO_6A_PAUSE_PLAYBACK_BIT9   0x0200

Definition at line 166 of file azt3328.h.

#define IO_6A_SOMETHING1_GAMEPORT   0x0020

Definition at line 160 of file azt3328.h.

#define IO_6A_SOMETHING2_GAMEPORT   0x0400

Definition at line 175 of file azt3328.h.

#define IRQ_FINISHED_DMABUF_1   0x0002 /* 1st dmabuf finished & ACK */

Definition at line 46 of file azt3328.h.

#define IRQ_FINISHED_DMABUF_2   0x0004 /* 2nd dmabuf finished & ACK */

Definition at line 47 of file azt3328.h.

#define IRQ_GAMEPORT   0x0008 /* Interrupt of Digital(ly) Enhanced Game Port */

Definition at line 131 of file azt3328.h.

#define IRQ_I2S_OUT   0x0004 /* this IS I2S, right!? (untested) */

Definition at line 130 of file azt3328.h.

#define IRQ_MPU401   0x0010

Definition at line 132 of file azt3328.h.

#define IRQ_PLAYBACK   0x0001

Definition at line 128 of file azt3328.h.

#define IRQ_RECORDING   0x0002

Definition at line 129 of file azt3328.h.

#define IRQ_SOMETHING   0x0001 /* something & ACK */

Definition at line 45 of file azt3328.h.

#define IRQ_TIMER   0x0020 /* DirectX timer */

Definition at line 133 of file azt3328.h.

#define IRQ_UNKNOWN2   0x0040 /* probably unused, or possibly OPL3 timer? */

Definition at line 134 of file azt3328.h.

#define IRQ_UNKNOWN3   0x0080 /* probably unused, or possibly OPL3 timer? */

Definition at line 135 of file azt3328.h.

#define IRQMASK_SOME_STATUS_1   0x0008 /* \ related bits */

Definition at line 48 of file azt3328.h.

#define IRQMASK_SOME_STATUS_2   0x0010 /* / (checked together in loop) */

Definition at line 49 of file azt3328.h.

#define IRQMASK_UNMODIFIABLE   0xffe0 /* unused? not modifiable */

Definition at line 50 of file azt3328.h.

#define MIXER_ADVCTL1_3DWIDTH_MASK   0x000e

Definition at line 323 of file azt3328.h.

#define MIXER_ADVCTL1_HIFI3D_MASK   0x0300 /* yup, this is missing the high bit that official AC97 contains, plus it doesn't have linear bit value range behaviour but instead acts weirdly (possibly we're dealing with two *different* 3D settings here??) */

Definition at line 324 of file azt3328.h.

#define MIXER_ADVCTL2_3D   0x2000 /* 3D Enhancement 1=on */

Definition at line 330 of file azt3328.h.

#define MIXER_ADVCTL2_LPBK   0x0080 /* Loopback mode -- Win driver: "WaveOut3DBypass"? mutes WaveOut at LineOut */

Definition at line 327 of file azt3328.h.

#define MIXER_ADVCTL2_MIX   0x0200 /* Mono output select 0=Mix, 1=Mic; Win driver: "MonoSelectSource"?? */

Definition at line 329 of file azt3328.h.

#define MIXER_ADVCTL2_MS   0x0100 /* Mic Select 0=Mic1, 1=Mic2 -- Win driver: "ModemOutSelect"?? */

Definition at line 328 of file azt3328.h.

#define MIXER_ADVCTL2_POP   0x8000 /* Pcm Out Path, 0=pre 3D, 1=post 3D */

Definition at line 331 of file azt3328.h.

#define MIXER_BASSTREBLE_BASS_VOLUME_MASK   0x0e00

Definition at line 300 of file azt3328.h.

#define MIXER_BASSTREBLE_TREBLE_VOLUME_MASK   0x000e

Definition at line 299 of file azt3328.h.

#define MIXER_MIC_MICGAIN_20DB_ENHANCEMENT_MASK   0x0040

Definition at line 304 of file azt3328.h.

#define MIXER_MUTE_MASK   0x8000

Definition at line 294 of file azt3328.h.

#define MIXER_REC_SELECT_AUX   0x03

Definition at line 315 of file azt3328.h.

#define MIXER_REC_SELECT_CD   0x01

Definition at line 313 of file azt3328.h.

#define MIXER_REC_SELECT_LINEIN   0x04

Definition at line 316 of file azt3328.h.

#define MIXER_REC_SELECT_MIC   0x00

Definition at line 312 of file azt3328.h.

#define MIXER_REC_SELECT_MIXMONO   0x06

Definition at line 318 of file azt3328.h.

#define MIXER_REC_SELECT_MIXSTEREO   0x05

Definition at line 317 of file azt3328.h.

#define MIXER_REC_SELECT_MONOIN   0x07

Definition at line 319 of file azt3328.h.

#define MIXER_REC_SELECT_VIDEO   0x02

Definition at line 314 of file azt3328.h.

#define MIXER_VOLUME_LEFT_MASK   0x1f00

Definition at line 293 of file azt3328.h.

#define MIXER_VOLUME_RIGHT_MASK   0x001f

Definition at line 292 of file azt3328.h.

#define SET_CHAN_LEFT   1

Definition at line 336 of file azt3328.h.

#define SET_CHAN_RIGHT   2

Definition at line 337 of file azt3328.h.

#define SOMETHING_ALMOST_ALWAYS_SET   0x0008 /* ???; can be modified */

Definition at line 35 of file azt3328.h.

#define SOMETHING_UNMODIFIABLE   0xffc0 /* unused? not modifiable */

Definition at line 38 of file azt3328.h.

#define SOUNDFORMAT_FLAG_16BIT   0x0010

Definition at line 85 of file azt3328.h.

#define SOUNDFORMAT_FLAG_2CHANNELS   0x0020

Definition at line 86 of file azt3328.h.

#define SOUNDFORMAT_FREQ_11025   0x00 | SOUNDFORMAT_XTAL2 /* also 0x0e | SOUNDFORMAT_XTAL2? */

Definition at line 77 of file azt3328.h.

#define SOUNDFORMAT_FREQ_16000   0x02 | SOUNDFORMAT_XTAL1

Definition at line 79 of file azt3328.h.

#define SOUNDFORMAT_FREQ_22050   0x02 | SOUNDFORMAT_XTAL2

Definition at line 80 of file azt3328.h.

#define SOUNDFORMAT_FREQ_32000   0x04 | SOUNDFORMAT_XTAL1

Definition at line 81 of file azt3328.h.

#define SOUNDFORMAT_FREQ_44100   0x04 | SOUNDFORMAT_XTAL2

Definition at line 82 of file azt3328.h.

#define SOUNDFORMAT_FREQ_48000   0x06 | SOUNDFORMAT_XTAL1

Definition at line 83 of file azt3328.h.

#define SOUNDFORMAT_FREQ_5510   0x0c | SOUNDFORMAT_XTAL2

Definition at line 73 of file azt3328.h.

#define SOUNDFORMAT_FREQ_6620   0x0a | SOUNDFORMAT_XTAL2

Definition at line 74 of file azt3328.h.

#define SOUNDFORMAT_FREQ_8000   0x00 | SOUNDFORMAT_XTAL1 /* also 0x0e | SOUNDFORMAT_XTAL1? */

Definition at line 75 of file azt3328.h.

#define SOUNDFORMAT_FREQ_9600   0x08 | SOUNDFORMAT_XTAL1

Definition at line 76 of file azt3328.h.

#define SOUNDFORMAT_FREQ_SUSPECTED_13240   0x08 | SOUNDFORMAT_XTAL2 /* seems to be 6620 *2 */

Definition at line 78 of file azt3328.h.

#define SOUNDFORMAT_FREQ_SUSPECTED_4000   0x0c | SOUNDFORMAT_XTAL1

Definition at line 71 of file azt3328.h.

#define SOUNDFORMAT_FREQ_SUSPECTED_4800   0x0a | SOUNDFORMAT_XTAL1

Definition at line 72 of file azt3328.h.

#define SOUNDFORMAT_FREQ_SUSPECTED_66200   0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */

Definition at line 84 of file azt3328.h.

#define SOUNDFORMAT_FREQUENCY_MASK   0x000f

Definition at line 63 of file azt3328.h.

#define SOUNDFORMAT_XTAL1   0x00

Definition at line 64 of file azt3328.h.

#define SOUNDFORMAT_XTAL2   0x01

Definition at line 65 of file azt3328.h.

#define TIMER_COUNTDOWN_ENABLE   0x01000000UL

Definition at line 114 of file azt3328.h.

#define TIMER_IRQ_ACK   0x04000000UL

Definition at line 119 of file azt3328.h.

#define TIMER_IRQ_ENABLE   0x02000000UL

Definition at line 116 of file azt3328.h.

#define TIMER_VALUE_MASK   0x000fffffUL

Definition at line 112 of file azt3328.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
AZF_GAME_LEGACY_IO_PORT 

Definition at line 200 of file azt3328.h.

enum azf_freq_t
Enumerator:
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 
AZF_FREQ 

Definition at line 90 of file azt3328.h.