FreeBSD kernel sound device code
ad1816.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AD1816_ALE   0 /* indirect reg access */
 
#define AD1816_INT   1 /* interrupt status */
 
#define AD1816_LOW   2 /* indirect low byte */
 
#define AD1816_HIGH   3 /* indirect high byte */
 
#define AD1816_PLAY   8 /* playback config */
 
#define AD1816_CAPT   9 /* capture config */
 
#define AD1816_BUSY   0x80 /* chip is busy */
 
#define AD1816_ALEMASK   0x3F /* mask for indirect adr. */
 
#define AD1816_INTRCI   0x40 /* capture intr */
 
#define AD1816_INTRPI   0x80 /* playback intr */
 
#define AD1816_ENABLE   0x01 /* enable pl/cp */
 
#define AD1816_PIO   0x02 /* use pio */
 
#define AD1816_STEREO   0x04
 
#define AD1816_COMP   0x08 /* data is companded */
 
#define AD1816_U8   0x00 /* 8 bit linear pcm */
 
#define AD1816_MULAW   0x08 /* 8 bit mulaw */
 
#define AD1816_ALAW   0x18 /* 8 bit alaw */
 
#define AD1816_S16LE   0x10 /* 16 bit linear little endian */
 
#define AD1816_S16BE   0x30 /* 16 bit linear big endian */
 
#define AD1816_FORMASK   0x38 /* format mask */
 
#define AD1816_REC_DEVICES    (SOUND_MASK_LINE | SOUND_MASK_MIC | SOUND_MASK_CD)
 
#define AD1816_MIXER_DEVICES
 

Macro Definition Documentation

◆ AD1816_ALAW

#define AD1816_ALAW   0x18 /* 8 bit alaw */

Definition at line 86 of file ad1816.h.

◆ AD1816_ALE

#define AD1816_ALE   0 /* indirect reg access */

Definition at line 38 of file ad1816.h.

◆ AD1816_ALEMASK

#define AD1816_ALEMASK   0x3F /* mask for indirect adr. */

Definition at line 65 of file ad1816.h.

◆ AD1816_BUSY

#define AD1816_BUSY   0x80 /* chip is busy */

Definition at line 64 of file ad1816.h.

◆ AD1816_CAPT

#define AD1816_CAPT   9 /* capture config */

Definition at line 62 of file ad1816.h.

◆ AD1816_COMP

#define AD1816_COMP   0x08 /* data is companded */

Definition at line 83 of file ad1816.h.

◆ AD1816_ENABLE

#define AD1816_ENABLE   0x01 /* enable pl/cp */

Definition at line 80 of file ad1816.h.

◆ AD1816_FORMASK

#define AD1816_FORMASK   0x38 /* format mask */

Definition at line 89 of file ad1816.h.

◆ AD1816_HIGH

#define AD1816_HIGH   3 /* indirect high byte */

Definition at line 41 of file ad1816.h.

◆ AD1816_INT

#define AD1816_INT   1 /* interrupt status */

Definition at line 39 of file ad1816.h.

◆ AD1816_INTRCI

#define AD1816_INTRCI   0x40 /* capture intr */

Definition at line 76 of file ad1816.h.

◆ AD1816_INTRPI

#define AD1816_INTRPI   0x80 /* playback intr */

Definition at line 77 of file ad1816.h.

◆ AD1816_LOW

#define AD1816_LOW   2 /* indirect low byte */

Definition at line 40 of file ad1816.h.

◆ AD1816_MIXER_DEVICES

#define AD1816_MIXER_DEVICES
Value:
(SOUND_MASK_VOLUME | SOUND_MASK_PCM | SOUND_MASK_SYNTH | \
SOUND_MASK_LINE | SOUND_MASK_MIC | SOUND_MASK_CD | SOUND_MASK_IGAIN)

Definition at line 94 of file ad1816.h.

◆ AD1816_MULAW

#define AD1816_MULAW   0x08 /* 8 bit mulaw */

Definition at line 85 of file ad1816.h.

◆ AD1816_PIO

#define AD1816_PIO   0x02 /* use pio */

Definition at line 81 of file ad1816.h.

◆ AD1816_PLAY

#define AD1816_PLAY   8 /* playback config */

Definition at line 61 of file ad1816.h.

◆ AD1816_REC_DEVICES

#define AD1816_REC_DEVICES    (SOUND_MASK_LINE | SOUND_MASK_MIC | SOUND_MASK_CD)

Definition at line 91 of file ad1816.h.

◆ AD1816_S16BE

#define AD1816_S16BE   0x30 /* 16 bit linear big endian */

Definition at line 88 of file ad1816.h.

◆ AD1816_S16LE

#define AD1816_S16LE   0x10 /* 16 bit linear little endian */

Definition at line 87 of file ad1816.h.

◆ AD1816_STEREO

#define AD1816_STEREO   0x04

Definition at line 82 of file ad1816.h.

◆ AD1816_U8

#define AD1816_U8   0x00 /* 8 bit linear pcm */

Definition at line 84 of file ad1816.h.