#include <linux/init.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/tlv.h>
#include "ice1712.h"
#include "envy24ht.h"
#include "maya44.h"
Go to the source code of this file.
#define COMPOSE_GPIO_VAL |
( |
|
shift, |
|
|
|
inv |
|
) |
| ((shift) | ((inv) << 8)) |
#define GET_GPIO_VAL_INV |
( |
|
val | ) |
(((val) >> 8) & 1) |
#define GET_GPIO_VAL_SHIFT |
( |
|
val | ) |
((val) & 0xff) |
#define GET_SW_VAL_IDX |
( |
|
val | ) |
((val) & 0xff) |
#define GET_SW_VAL_MASK |
( |
|
val | ) |
(((val) >> 16) & 0xff) |
#define GET_SW_VAL_REG |
( |
|
val | ) |
(((val) >> 8) & 0xff) |
#define GPIO_PHANTOM_OFF 2 |
#define GPIO_SPDIF_IN_INV 5 |
#define MAYA_LINE_IN 1 /* in-2 */ |
#define MAYA_MIC_IN 3 /* in-4 */ |
#define WM8776_CLOCK_RATIO_128FS 0 |
#define WM8776_CLOCK_RATIO_192FS 1 |
#define WM8776_CLOCK_RATIO_256FS 2 |
#define WM8776_CLOCK_RATIO_384FS 3 |
#define WM8776_CLOCK_RATIO_512FS 4 |
#define WM8776_CLOCK_RATIO_768FS 5 |
#define WM8776_NUM_REGS 0x18 |
#define WM8776_REG_ADC_ALC1 0x10 |
#define WM8776_REG_ADC_ALC2 0x11 |
#define WM8776_REG_ADC_ALC3 0x12 |
#define WM8776_REG_ADC_ATTEN_L 0x0e |
#define WM8776_REG_ADC_ATTEN_R 0x0f |
#define WM8776_REG_ADC_IF_CONTROL 0x0b |
#define WM8776_REG_ADC_LIMITER 0x14 |
#define WM8776_REG_ADC_MUX 0x15 |
#define WM8776_REG_ADC_NOISE_GATE 0x13 |
#define WM8776_REG_DAC_ATTEN_L 0x03 |
#define WM8776_REG_DAC_ATTEN_MASTER 0x05 |
#define WM8776_REG_DAC_ATTEN_R 0x04 |
#define WM8776_REG_DAC_CONTROL 0x07 |
#define WM8776_REG_DAC_DEEMPH 0x09 |
#define WM8776_REG_DAC_IF_CONTROL 0x0a |
#define WM8776_REG_DAC_MUTE 0x08 |
#define WM8776_REG_DAC_PHASE 0x06 |
#define WM8776_REG_HEADPHONE_L 0x00 |
#define WM8776_REG_HEADPHONE_MASTER 0x02 |
#define WM8776_REG_HEADPHONE_R 0x01 |
#define WM8776_REG_MASTER_MODE_CONTROL 0x0c |
#define WM8776_REG_OUTPUT_MUX 0x16 |
#define WM8776_REG_POWERDOWN 0x0d |
#define WM8776_REG_RESET 0x17 |
- Enumerator:
WM_VOL_HP |
|
WM_VOL_DAC |
|
WM_VOL_ADC |
|
WM_NUM_VOLS |
|
Definition at line 73 of file maya44.c.
- Enumerator:
WM_SW_DAC |
|
WM_SW_BYPASS |
|
WM_NUM_SWITCHES |
|
Definition at line 74 of file maya44.c.