Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
aureon.c File Reference
#include <linux/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 "aureon.h"
#include <sound/tlv.h>

Go to the source code of this file.

Data Structures

struct  aureon_spec
 

Macros

#define WM_DAC_ATTEN   0x00 /* DAC1-8 analog attenuation */
 
#define WM_DAC_MASTER_ATTEN   0x08 /* DAC master analog attenuation */
 
#define WM_DAC_DIG_ATTEN   0x09 /* DAC1-8 digital attenuation */
 
#define WM_DAC_DIG_MASTER_ATTEN   0x11 /* DAC master digital attenuation */
 
#define WM_PHASE_SWAP   0x12 /* DAC phase */
 
#define WM_DAC_CTRL1   0x13 /* DAC control bits */
 
#define WM_MUTE   0x14 /* mute controls */
 
#define WM_DAC_CTRL2   0x15 /* de-emphasis and zefo-flag */
 
#define WM_INT_CTRL   0x16 /* interface control */
 
#define WM_MASTER   0x17 /* master clock and mode */
 
#define WM_POWERDOWN   0x18 /* power-down controls */
 
#define WM_ADC_GAIN   0x19 /* ADC gain L(19)/R(1a) */
 
#define WM_ADC_MUX   0x1b /* input MUX */
 
#define WM_OUT_MUX1   0x1c /* output MUX */
 
#define WM_OUT_MUX2   0x1e /* output MUX */
 
#define WM_RESET   0x1f /* software reset */
 
#define CS8415_CTRL1   0x01
 
#define CS8415_CTRL2   0x02
 
#define CS8415_QSUB   0x14
 
#define CS8415_RATIO   0x1E
 
#define CS8415_C_BUFFER   0x20
 
#define CS8415_ID   0x7F
 
#define PCA9554_DEV   0x40 /* I2C device address */
 
#define PCA9554_IN   0x00 /* input port */
 
#define PCA9554_OUT   0x01 /* output port */
 
#define PCA9554_INVERT   0x02 /* input invert */
 
#define PCA9554_DIR   0x03 /* port directions */
 
#define AUREON_AC97_STEREO   0x80
 
#define aureon_ac97_mute_info   snd_ctl_boolean_mono_info
 
#define aureon_ac97_micboost_info   snd_ctl_boolean_mono_info
 
#define aureon_mono_bool_info   snd_ctl_boolean_mono_info
 
#define aureon_ac97_mmute_info   snd_ctl_boolean_mono_info
 
#define WM_VOL_MAX   100
 
#define WM_VOL_CNT   101 /* 0dB .. -100dB */
 
#define WM_VOL_MUTE   0x8000
 
#define wm_pcm_mute_info   snd_ctl_boolean_mono_info
 
#define wm_master_mute_info   snd_ctl_boolean_stereo_info
 
#define PCM_0dB   0xff
 
#define PCM_RES   128 /* -64dB */
 
#define PCM_MIN   (PCM_0dB - PCM_RES)
 
#define wm_adc_mute_info   snd_ctl_boolean_stereo_info
 
#define aureon_cs8415_mute_info   snd_ctl_boolean_mono_info
 
#define aureon_hpamp_info   snd_ctl_boolean_mono_info
 
#define aureon_deemp_info   snd_ctl_boolean_mono_info
 
#define prodigy71_eeprom   aureon71_eeprom
 
#define prodigy71xt_eeprom   prodigy71lt_eeprom
 

Macro Definition Documentation

#define aureon_ac97_micboost_info   snd_ctl_boolean_mono_info

Definition at line 456 of file aureon.c.

#define aureon_ac97_mmute_info   snd_ctl_boolean_mono_info

Definition at line 659 of file aureon.c.

#define aureon_ac97_mute_info   snd_ctl_boolean_mono_info

Definition at line 418 of file aureon.c.

#define AUREON_AC97_STEREO   0x80

Definition at line 362 of file aureon.c.

#define aureon_cs8415_mute_info   snd_ctl_boolean_mono_info

Definition at line 1234 of file aureon.c.

#define aureon_deemp_info   snd_ctl_boolean_mono_info

Definition at line 1363 of file aureon.c.

#define aureon_hpamp_info   snd_ctl_boolean_mono_info

Definition at line 1341 of file aureon.c.

#define aureon_mono_bool_info   snd_ctl_boolean_mono_info

Definition at line 654 of file aureon.c.

#define CS8415_C_BUFFER   0x20

Definition at line 95 of file aureon.c.

#define CS8415_CTRL1   0x01

Definition at line 91 of file aureon.c.

#define CS8415_CTRL2   0x02

Definition at line 92 of file aureon.c.

#define CS8415_ID   0x7F

Definition at line 96 of file aureon.c.

#define CS8415_QSUB   0x14

Definition at line 93 of file aureon.c.

#define CS8415_RATIO   0x1E

Definition at line 94 of file aureon.c.

#define PCA9554_DEV   0x40 /* I2C device address */

Definition at line 99 of file aureon.c.

#define PCA9554_DIR   0x03 /* port directions */

Definition at line 103 of file aureon.c.

#define PCA9554_IN   0x00 /* input port */

Definition at line 100 of file aureon.c.

#define PCA9554_INVERT   0x02 /* input invert */

Definition at line 102 of file aureon.c.

#define PCA9554_OUT   0x01 /* output port */

Definition at line 101 of file aureon.c.

#define PCM_0dB   0xff

Definition at line 950 of file aureon.c.

#define PCM_MIN   (PCM_0dB - PCM_RES)

Definition at line 952 of file aureon.c.

#define PCM_RES   128 /* -64dB */

Definition at line 951 of file aureon.c.

static unsigned char prodigy71_eeprom   aureon71_eeprom

Definition at line 2208 of file aureon.c.

#define prodigy71xt_eeprom   prodigy71lt_eeprom

Definition at line 2243 of file aureon.c.

#define WM_ADC_GAIN   0x19 /* ADC gain L(19)/R(1a) */

Definition at line 84 of file aureon.c.

#define wm_adc_mute_info   snd_ctl_boolean_stereo_info

Definition at line 999 of file aureon.c.

#define WM_ADC_MUX   0x1b /* input MUX */

Definition at line 85 of file aureon.c.

#define WM_DAC_ATTEN   0x00 /* DAC1-8 analog attenuation */

Definition at line 73 of file aureon.c.

#define WM_DAC_CTRL1   0x13 /* DAC control bits */

Definition at line 78 of file aureon.c.

#define WM_DAC_CTRL2   0x15 /* de-emphasis and zefo-flag */

Definition at line 80 of file aureon.c.

#define WM_DAC_DIG_ATTEN   0x09 /* DAC1-8 digital attenuation */

Definition at line 75 of file aureon.c.

#define WM_DAC_DIG_MASTER_ATTEN   0x11 /* DAC master digital attenuation */

Definition at line 76 of file aureon.c.

#define WM_DAC_MASTER_ATTEN   0x08 /* DAC master analog attenuation */

Definition at line 74 of file aureon.c.

#define WM_INT_CTRL   0x16 /* interface control */

Definition at line 81 of file aureon.c.

#define WM_MASTER   0x17 /* master clock and mode */

Definition at line 82 of file aureon.c.

#define wm_master_mute_info   snd_ctl_boolean_stereo_info

Definition at line 909 of file aureon.c.

#define WM_MUTE   0x14 /* mute controls */

Definition at line 79 of file aureon.c.

#define WM_OUT_MUX1   0x1c /* output MUX */

Definition at line 86 of file aureon.c.

#define WM_OUT_MUX2   0x1e /* output MUX */

Definition at line 87 of file aureon.c.

#define wm_pcm_mute_info   snd_ctl_boolean_mono_info

Definition at line 721 of file aureon.c.

#define WM_PHASE_SWAP   0x12 /* DAC phase */

Definition at line 77 of file aureon.c.

#define WM_POWERDOWN   0x18 /* power-down controls */

Definition at line 83 of file aureon.c.

#define WM_RESET   0x1f /* software reset */

Definition at line 88 of file aureon.c.

#define WM_VOL_CNT   101 /* 0dB .. -100dB */

Definition at line 699 of file aureon.c.

#define WM_VOL_MAX   100

Definition at line 698 of file aureon.c.

#define WM_VOL_MUTE   0x8000

Definition at line 700 of file aureon.c.