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

Go to the source code of this file.

Macros

#define HR222_LINE_PLAYBACK_LEVEL_MIN   0 /* -25.5 dB */
 
#define HR222_LINE_PLAYBACK_ZERO_LEVEL   51 /* 0.0 dB */
 
#define HR222_LINE_PLAYBACK_LEVEL_MAX   99 /* +24.0 dB */
 
#define HR222_LINE_CAPTURE_LEVEL_MIN   0 /* -111.5 dB */
 
#define HR222_LINE_CAPTURE_ZERO_LEVEL   223 /* 0.0 dB */
 
#define HR222_LINE_CAPTURE_LEVEL_MAX   255 /* +16 dB */
 
#define HR222_MICRO_CAPTURE_LEVEL_MIN   0 /* -98.5 dB */
 
#define HR222_MICRO_CAPTURE_LEVEL_MAX   210 /* +6.5 dB */
 

Functions

int hr222_sub_init (struct pcxhr_mgr *mgr)
 
int hr222_sub_set_clock (struct pcxhr_mgr *mgr, unsigned int rate, int *changed)
 
int hr222_get_external_clock (struct pcxhr_mgr *mgr, enum pcxhr_clock_type clock_type, int *sample_rate)
 
int hr222_read_gpio (struct pcxhr_mgr *mgr, int is_gpi, int *value)
 
int hr222_write_gpo (struct pcxhr_mgr *mgr, int value)
 
int hr222_manage_timecode (struct pcxhr_mgr *mgr, int enable)
 
int hr222_update_analog_audio_level (struct snd_pcxhr *chip, int is_capture, int channel)
 
int hr222_set_audio_source (struct snd_pcxhr *chip)
 
int hr222_iec958_capture_byte (struct snd_pcxhr *chip, int aes_idx, unsigned char *aes_bits)
 
int hr222_iec958_update_byte (struct snd_pcxhr *chip, int aes_idx, unsigned char aes_bits)
 
int hr222_add_mic_controls (struct snd_pcxhr *chip)
 

Macro Definition Documentation

#define HR222_LINE_CAPTURE_LEVEL_MAX   255 /* +16 dB */

Definition at line 45 of file pcxhr_mix22.h.

#define HR222_LINE_CAPTURE_LEVEL_MIN   0 /* -111.5 dB */

Definition at line 43 of file pcxhr_mix22.h.

#define HR222_LINE_CAPTURE_ZERO_LEVEL   223 /* 0.0 dB */

Definition at line 44 of file pcxhr_mix22.h.

#define HR222_LINE_PLAYBACK_LEVEL_MAX   99 /* +24.0 dB */

Definition at line 41 of file pcxhr_mix22.h.

#define HR222_LINE_PLAYBACK_LEVEL_MIN   0 /* -25.5 dB */

Definition at line 39 of file pcxhr_mix22.h.

#define HR222_LINE_PLAYBACK_ZERO_LEVEL   51 /* 0.0 dB */

Definition at line 40 of file pcxhr_mix22.h.

#define HR222_MICRO_CAPTURE_LEVEL_MAX   210 /* +6.5 dB */

Definition at line 47 of file pcxhr_mix22.h.

#define HR222_MICRO_CAPTURE_LEVEL_MIN   0 /* -98.5 dB */

Definition at line 46 of file pcxhr_mix22.h.

Function Documentation

int hr222_add_mic_controls ( struct snd_pcxhr chip)

Definition at line 843 of file pcxhr_mix22.c.

int hr222_get_external_clock ( struct pcxhr_mgr mgr,
enum pcxhr_clock_type  clock_type,
int sample_rate 
)

Definition at line 413 of file pcxhr_mix22.c.

int hr222_iec958_capture_byte ( struct snd_pcxhr chip,
int  aes_idx,
unsigned char aes_bits 
)

Definition at line 631 of file pcxhr_mix22.c.

int hr222_iec958_update_byte ( struct snd_pcxhr chip,
int  aes_idx,
unsigned char  aes_bits 
)

Definition at line 652 of file pcxhr_mix22.c.

int hr222_manage_timecode ( struct pcxhr_mgr mgr,
int  enable 
)

Definition at line 531 of file pcxhr_mix22.c.

int hr222_read_gpio ( struct pcxhr_mgr mgr,
int  is_gpi,
int value 
)

Definition at line 505 of file pcxhr_mix22.c.

int hr222_set_audio_source ( struct snd_pcxhr chip)

Definition at line 581 of file pcxhr_mix22.c.

int hr222_sub_init ( struct pcxhr_mgr mgr)

Definition at line 283 of file pcxhr_mix22.c.

int hr222_sub_set_clock ( struct pcxhr_mgr mgr,
unsigned int  rate,
int changed 
)

Definition at line 349 of file pcxhr_mix22.c.

int hr222_update_analog_audio_level ( struct snd_pcxhr chip,
int  is_capture,
int  channel 
)

Definition at line 542 of file pcxhr_mix22.c.

int hr222_write_gpo ( struct pcxhr_mgr mgr,
int  value 
)

Definition at line 519 of file pcxhr_mix22.c.