Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
xonar_pcm179x.c File Reference
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <sound/ac97_codec.h>
#include <sound/control.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/tlv.h>
#include "xonar.h"
#include "cm9780.h"
#include "pcm1796.h"
#include "cs2000.h"

Go to the source code of this file.

Data Structures

struct  xonar_pcm179x
 
struct  xonar_hdav
 

Macros

#define GPIO_D2X_EXT_POWER   0x0020
 
#define GPIO_D2_ALT   0x0080
 
#define GPIO_D2_OUTPUT_ENABLE   0x0100
 
#define GPI_EXT_POWER   0x01
 
#define GPIO_INPUT_ROUTE   0x0100
 
#define GPIO_HDAV_OUTPUT_ENABLE   0x0001
 
#define GPIO_HDAV_MAGIC   0x00c0
 
#define GPIO_DB_MASK   0x0030
 
#define GPIO_DB_H6   0x0000
 
#define GPIO_ST_OUTPUT_ENABLE   0x0001
 
#define GPIO_ST_HP_REAR   0x0002
 
#define GPIO_ST_MAGIC   0x0040
 
#define GPIO_ST_HP   0x0080
 
#define I2C_DEVICE_PCM1796(i)   (0x98 + ((i) << 1)) /* 10011, ii, /W=0 */
 
#define I2C_DEVICE_CS2000   0x9c /* 100111, 0, /W=0 */
 
#define PCM1796_REG_BASE   16
 

Functions

int __devinit get_xonar_pcm179x_model (struct oxygen *chip, const struct pci_device_id *id)
 

Macro Definition Documentation

#define GPI_EXT_POWER   0x01

Definition at line 201 of file xonar_pcm179x.c.

#define GPIO_D2_ALT   0x0080

Definition at line 198 of file xonar_pcm179x.c.

#define GPIO_D2_OUTPUT_ENABLE   0x0100

Definition at line 199 of file xonar_pcm179x.c.

#define GPIO_D2X_EXT_POWER   0x0020

Definition at line 197 of file xonar_pcm179x.c.

#define GPIO_DB_H6   0x0000

Definition at line 208 of file xonar_pcm179x.c.

#define GPIO_DB_MASK   0x0030

Definition at line 207 of file xonar_pcm179x.c.

#define GPIO_HDAV_MAGIC   0x00c0

Definition at line 205 of file xonar_pcm179x.c.

#define GPIO_HDAV_OUTPUT_ENABLE   0x0001

Definition at line 204 of file xonar_pcm179x.c.

#define GPIO_INPUT_ROUTE   0x0100

Definition at line 202 of file xonar_pcm179x.c.

#define GPIO_ST_HP   0x0080

Definition at line 213 of file xonar_pcm179x.c.

#define GPIO_ST_HP_REAR   0x0002

Definition at line 211 of file xonar_pcm179x.c.

#define GPIO_ST_MAGIC   0x0040

Definition at line 212 of file xonar_pcm179x.c.

#define GPIO_ST_OUTPUT_ENABLE   0x0001

Definition at line 210 of file xonar_pcm179x.c.

#define I2C_DEVICE_CS2000   0x9c /* 100111, 0, /W=0 */

Definition at line 216 of file xonar_pcm179x.c.

#define I2C_DEVICE_PCM1796 (   i)    (0x98 + ((i) << 1)) /* 10011, ii, /W=0 */

Definition at line 215 of file xonar_pcm179x.c.

#define PCM1796_REG_BASE   16

Definition at line 218 of file xonar_pcm179x.c.

Function Documentation

int __devinit get_xonar_pcm179x_model ( struct oxygen chip,
const struct pci_device_id id 
)

Definition at line 1090 of file xonar_pcm179x.c.