Linux Kernel
3.7.1
|
#include <sound/core.h>
#include <sound/control.h>
#include <sound/tlv.h>
#include <sound/vx_core.h>
#include "vx_cmd.h"
Go to the source code of this file.
Data Structures | |
union | vx_codec_data |
struct | vx_codec_data::w |
struct | vx_codec_data::b |
struct | vx_audio_level |
struct | vx_vu_meter |
Macros | |
#define | SET_CDC_DATA_SEL(di, s) ((di).b.mh = (u8) (s)) |
#define | SET_CDC_DATA_REG(di, r) ((di).b.ml = (u8) (r)) |
#define | SET_CDC_DATA_VAL(di, d) ((di).b.ll = (u8) (d)) |
#define | SET_CDC_DATA_INIT(di) ((di).l = 0L, SET_CDC_DATA_SEL(di,XX_CODEC_SELECTOR)) |
#define | DAC_ATTEN_MIN 0x08 |
#define | DAC_ATTEN_MAX 0x38 |
#define | VU_METER_CHANNELS 2 |
#define | vx_audio_sw_info snd_ctl_boolean_stereo_info |
#define | METER_MAX 0xff |
#define | METER_SHIFT 16 |
#define | vx_saturation_info snd_ctl_boolean_stereo_info |
Functions | |
void | vx_toggle_dac_mute (struct vx_core *chip, int mute) |
void | vx_reset_codec (struct vx_core *chip, int cold_reset) |
int | vx_sync_audio_source (struct vx_core *chip) |
int | vx_set_monitor_level (struct vx_core *chip, int audio, int level, int active) |
int | snd_vx_mixer_new (struct vx_core *chip) |
#define DAC_ATTEN_MAX 0x38 |
Definition at line 128 of file vx_mixer.c.
#define DAC_ATTEN_MIN 0x08 |
Definition at line 127 of file vx_mixer.c.
#define METER_MAX 0xff |
Definition at line 852 of file vx_mixer.c.
#define METER_SHIFT 16 |
Definition at line 853 of file vx_mixer.c.
#define SET_CDC_DATA_INIT | ( | di | ) | ((di).l = 0L, SET_CDC_DATA_SEL(di,XX_CODEC_SELECTOR)) |
Definition at line 81 of file vx_mixer.c.
Definition at line 79 of file vx_mixer.c.
Definition at line 78 of file vx_mixer.c.
Definition at line 80 of file vx_mixer.c.
#define VU_METER_CHANNELS 2 |
Definition at line 365 of file vx_mixer.c.
#define vx_audio_sw_info snd_ctl_boolean_stereo_info |
Definition at line 677 of file vx_mixer.c.
#define vx_saturation_info snd_ctl_boolean_stereo_info |
Definition at line 890 of file vx_mixer.c.
Definition at line 934 of file vx_mixer.c.
Definition at line 145 of file vx_mixer.c.
Definition at line 287 of file vx_mixer.c.
Definition at line 196 of file vx_mixer.c.