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

Go to the source code of this file.

Data Structures

struct  xonar_cs43xx
 

Macros

#define GPI_EXT_POWER   0x01
 
#define GPIO_D1_OUTPUT_ENABLE   0x0001
 
#define GPIO_D1_FRONT_PANEL   0x0002
 
#define GPIO_D1_MAGIC   0x00c0
 
#define GPIO_D1_INPUT_ROUTE   0x0100
 
#define I2C_DEVICE_CS4398   0x9e /* 10011, AD1=1, AD0=1, /W=0 */
 
#define I2C_DEVICE_CS4362A   0x30 /* 001100, AD0=0, /W=0 */
 

Functions

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

Macro Definition Documentation

#define GPI_EXT_POWER   0x01

Definition at line 62 of file xonar_cs43xx.c.

#define GPIO_D1_FRONT_PANEL   0x0002

Definition at line 64 of file xonar_cs43xx.c.

#define GPIO_D1_INPUT_ROUTE   0x0100

Definition at line 66 of file xonar_cs43xx.c.

#define GPIO_D1_MAGIC   0x00c0

Definition at line 65 of file xonar_cs43xx.c.

#define GPIO_D1_OUTPUT_ENABLE   0x0001

Definition at line 63 of file xonar_cs43xx.c.

#define I2C_DEVICE_CS4362A   0x30 /* 001100, AD0=0, /W=0 */

Definition at line 69 of file xonar_cs43xx.c.

#define I2C_DEVICE_CS4398   0x9e /* 10011, AD1=1, AD0=1, /W=0 */

Definition at line 68 of file xonar_cs43xx.c.

Function Documentation

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

Definition at line 434 of file xonar_cs43xx.c.