#include <asm/io.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include "ice1712.h"
#include "envy24ht.h"
#include "phase.h"
#include <sound/tlv.h>
Go to the source code of this file.
#define PCM_RES 128 /* -64dB */ |
#define WM_ADC_GAIN 0x19 /* ADC gain L(19)/R(1a) */ |
#define WM_ADC_MUX 0x1b /* input MUX */ |
#define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */ |
#define WM_DAC_CTRL1 0x13 /* DAC control bits */ |
#define WM_DAC_CTRL2 0x15 /* de-emphasis and zefo-flag */ |
#define WM_DAC_DIG_ATTEN 0x09 /* DAC1-8 digital attenuation */ |
#define WM_DAC_DIG_MASTER_ATTEN 0x11 /* DAC master digital attenuation */ |
#define WM_DAC_MASTER_ATTEN 0x08 /* DAC master analog attenuation */ |
#define WM_INT_CTRL 0x16 /* interface control */ |
#define WM_MASTER 0x17 /* master clock and mode */ |
#define WM_MUTE 0x14 /* mute controls */ |
#define WM_OUT_MUX1 0x1c /* output MUX */ |
#define WM_OUT_MUX2 0x1e /* output MUX */ |
#define WM_PHASE_SWAP 0x12 /* DAC phase */ |
#define WM_POWERDOWN 0x18 /* power-down controls */ |
#define WM_RESET 0x1f /* software reset */ |
#define WM_VOL_MAX (sizeof(wm_vol) - 1) |
#define WM_VOL_MUTE 0x8000 |