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

Go to the source code of this file.

Data Structures

struct  mixer_def
 

Macros

#define MODE1_REC_DEVICES
 
#define SPRO_REC_DEVICES
 
#define MODE1_MIXER_DEVICES
 
#define MODE2_MIXER_DEVICES
 
#define MODE3_MIXER_DEVICES   (MODE2_MIXER_DEVICES | SOUND_MASK_VOLUME)
 
#define C930_MIXER_DEVICES
 
#define SPRO_MIXER_DEVICES
 
#define MIX_ENT(name, reg_l, pola_l, pos_l, len_l, reg_r, pola_r, pos_r, len_r, mute_bit)
 
#define MIX_ENT2(name, reg_l, pola_l, pos_l, len_l, mute_reg_l, mute_pola_l, mute_pos_l, rec_reg_l, rec_pola_l, rec_pos_l,reg_r, pola_r, pos_r, len_r, mute_reg_r, mute_pola_r, mute_pos_r,rec_reg_r, rec_pola_r, rec_pos_r)
 
#define LEFT_CHN   0
 
#define RIGHT_CHN   1
 
#define AUDIO_SPEAKER   0x01 /* Enable mono output */
 
#define AUDIO_HEADPHONE   0x02 /* Sparc only */
 
#define AUDIO_LINE_OUT   0x04 /* Sparc only */
 

Typedefs

typedef struct mixer_def mixer_ent
 
typedef mixer_ent mixer_ents [2]
 

Macro Definition Documentation

#define AUDIO_HEADPHONE   0x02 /* Sparc only */

Definition at line 251 of file ad1848_mixer.h.

#define AUDIO_LINE_OUT   0x04 /* Sparc only */

Definition at line 252 of file ad1848_mixer.h.

#define AUDIO_SPEAKER   0x01 /* Enable mono output */

Definition at line 250 of file ad1848_mixer.h.

#define C930_MIXER_DEVICES
Value:
SOUND_MASK_MIC | SOUND_MASK_VOLUME | \
SOUND_MASK_LINE3 | \
SOUND_MASK_IGAIN | SOUND_MASK_PCM)

Definition at line 48 of file ad1848_mixer.h.

#define LEFT_CHN   0

Definition at line 242 of file ad1848_mixer.h.

#define MIX_ENT (   name,
  reg_l,
  pola_l,
  pos_l,
  len_l,
  reg_r,
  pola_r,
  pos_r,
  len_r,
  mute_bit 
)
Value:
[name] = {{reg_l, pola_l, pos_l, len_l, reg_l, 0, mute_bit, 0, 0, 8}, \
{reg_r, pola_r, pos_r, len_r, reg_r, 0, mute_bit, 0, 0, 8}}

Definition at line 93 of file ad1848_mixer.h.

#define MIX_ENT2 (   name,
  reg_l,
  pola_l,
  pos_l,
  len_l,
  mute_reg_l,
  mute_pola_l,
  mute_pos_l,
  rec_reg_l,
  rec_pola_l,
  rec_pos_l,
  reg_r,
  pola_r,
  pos_r,
  len_r,
  mute_reg_r,
  mute_pola_r,
  mute_pos_r,
  rec_reg_r,
  rec_pola_r,
  rec_pos_r 
)
Value:
[name] = {{reg_l, pola_l, pos_l, len_l, mute_reg_l, mute_pola_l, mute_pos_l, \
rec_reg_l, rec_pola_l, rec_pos_l}, \
{reg_r, pola_r, pos_r, len_r, mute_reg_r, mute_pola_r, mute_pos_r, \
rec_reg_r, rec_pola_r, rec_pos_r}}

Definition at line 97 of file ad1848_mixer.h.

#define MODE1_MIXER_DEVICES
Value:
SOUND_MASK_LINE2 | \
SOUND_MASK_IGAIN | \
SOUND_MASK_PCM | SOUND_MASK_IMIX)

Definition at line 32 of file ad1848_mixer.h.

#define MODE1_REC_DEVICES
Value:
SOUND_MASK_LINE1 | SOUND_MASK_IMIX)

Definition at line 26 of file ad1848_mixer.h.

#define MODE2_MIXER_DEVICES
Value:
SOUND_MASK_MIC | \
SOUND_MASK_LINE3 | SOUND_MASK_SPEAKER | \
SOUND_MASK_IGAIN | \
SOUND_MASK_PCM | SOUND_MASK_IMIX)

Definition at line 37 of file ad1848_mixer.h.

#define MODE3_MIXER_DEVICES   (MODE2_MIXER_DEVICES | SOUND_MASK_VOLUME)

Definition at line 43 of file ad1848_mixer.h.

#define RIGHT_CHN   1

Definition at line 243 of file ad1848_mixer.h.

#define SPRO_MIXER_DEVICES
Value:
SOUND_MASK_LINE | SOUND_MASK_SYNTH | \
SOUND_MASK_CD | SOUND_MASK_MIC | \
SOUND_MASK_SPEAKER | SOUND_MASK_LINE1 | \
SOUND_MASK_OGAIN)

Definition at line 53 of file ad1848_mixer.h.

#define SPRO_REC_DEVICES
Value:

Definition at line 29 of file ad1848_mixer.h.

Typedef Documentation

Definition at line 81 of file ad1848_mixer.h.

typedef mixer_ent mixer_ents[2]

Definition at line 82 of file ad1848_mixer.h.