Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
oxygen.c File Reference
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <sound/ac97_codec.h>
#include <sound/control.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/tlv.h>
#include "oxygen.h"
#include "xonar_dg.h"
#include "ak4396.h"
#include "wm8785.h"

Go to the source code of this file.

Data Structures

struct  generic_data
 

Macros

#define GPIO_AK5385_DFS_MASK   0x0003
 
#define GPIO_AK5385_DFS_NORMAL   0x0000
 
#define GPIO_AK5385_DFS_DOUBLE   0x0001
 
#define GPIO_AK5385_DFS_QUAD   0x0002
 
#define GPIO_MERIDIAN_DIG_MASK   0x0050
 
#define GPIO_MERIDIAN_DIG_EXT   0x0010
 
#define GPIO_MERIDIAN_DIG_BOARD   0x0040
 
#define GPIO_CLARO_DIG_COAX   0x0040
 
#define GPIO_CLARO_HP   0x0100
 

Enumerations

enum  {
  MODEL_CMEDIA_REF, MODEL_MERIDIAN, MODEL_MERIDIAN_2G, MODEL_CLARO,
  MODEL_CLARO_HALO, MODEL_FANTASIA, MODEL_SERENADE, MODEL_2CH_OUTPUT,
  MODEL_HG2PCI, MODEL_XONAR_DG, MODEL_XONAR_DGX
}
 

Functions

 MODULE_AUTHOR ("Clemens Ladisch <[email protected]>")
 
 MODULE_DESCRIPTION ("C-Media CMI8788 driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_SUPPORTED_DEVICE ("{{C-Media,CMI8786}"",{C-Media,CMI8787}"",{C-Media,CMI8788}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"card index")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"enable card")
 
 MODULE_DEVICE_TABLE (pci, oxygen_ids)
 
 module_pci_driver (oxygen_driver)
 

Macro Definition Documentation

#define GPIO_AK5385_DFS_DOUBLE   0x0001

Definition at line 138 of file oxygen.c.

#define GPIO_AK5385_DFS_MASK   0x0003

Definition at line 136 of file oxygen.c.

#define GPIO_AK5385_DFS_NORMAL   0x0000

Definition at line 137 of file oxygen.c.

#define GPIO_AK5385_DFS_QUAD   0x0002

Definition at line 139 of file oxygen.c.

#define GPIO_CLARO_DIG_COAX   0x0040

Definition at line 145 of file oxygen.c.

#define GPIO_CLARO_HP   0x0100

Definition at line 146 of file oxygen.c.

#define GPIO_MERIDIAN_DIG_BOARD   0x0040

Definition at line 143 of file oxygen.c.

#define GPIO_MERIDIAN_DIG_EXT   0x0010

Definition at line 142 of file oxygen.c.

#define GPIO_MERIDIAN_DIG_MASK   0x0050

Definition at line 141 of file oxygen.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
MODEL_CMEDIA_REF 
MODEL_MERIDIAN 
MODEL_MERIDIAN_2G 
MODEL_CLARO 
MODEL_CLARO_HALO 
MODEL_FANTASIA 
MODEL_SERENADE 
MODEL_2CH_OUTPUT 
MODEL_HG2PCI 
MODEL_XONAR_DG 
MODEL_XONAR_DGX 

Definition at line 86 of file oxygen.c.

Function Documentation

MODULE_AUTHOR ( "Clemens Ladisch <[email protected]>"  )
MODULE_DESCRIPTION ( "C-Media CMI8788 driver )
MODULE_DEVICE_TABLE ( pci  ,
oxygen_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
module_param_array ( id  ,
charp  ,
NULL  ,
0444   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"card index  
)
MODULE_PARM_DESC ( id  ,
"ID string  
)
MODULE_PARM_DESC ( enable  ,
"enable card  
)
module_pci_driver ( oxygen_driver  )
MODULE_SUPPORTED_DEVICE ( "{{C-Media,CMI8786}"",{C-Media,CMI8787}"",{C-Media,CMI8788}}"  )