Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ad1889.c File Reference
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/ac97_codec.h>
#include <asm/io.h>
#include "ad1889.h"
#include "ac97/ac97_id.h"

Go to the source code of this file.

Data Structures

struct  ad1889_register_state
 
struct  snd_ad1889
 

Macros

#define AD1889_DRVVER   "Version: 1.7"
 
#define DEVNAME   "ad1889"
 
#define PFX   DEVNAME ": "
 
#define ad1889_debug(fmt, arg...)   snd_printd(KERN_DEBUG fmt, ## arg)
 

Functions

 MODULE_AUTHOR ("Kyle McMartin <[email protected]>, Thibaut Varene <t[email protected]>")
 
 MODULE_DESCRIPTION ("Analog Devices AD1889 ALSA sound driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{Analog Devices,AD1889}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for the AD1889 soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for the AD1889 soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable AD1889 soundcard.")
 
 module_param_array (ac97_quirk, charp, NULL, 0444)
 
 MODULE_PARM_DESC (ac97_quirk,"AC'97 workaround for strange hardware.")
 
 MODULE_DEVICE_TABLE (pci, snd_ad1889_ids)
 
 module_pci_driver (ad1889_pci_driver)
 

Macro Definition Documentation

#define ad1889_debug (   fmt,
  arg... 
)    snd_printd(KERN_DEBUG fmt, ## arg)

Definition at line 81 of file ad1889.c.

#define AD1889_DRVVER   "Version: 1.7"

Definition at line 54 of file ad1889.c.

#define DEVNAME   "ad1889"

Definition at line 77 of file ad1889.c.

#define PFX   DEVNAME ": "

Definition at line 78 of file ad1889.c.

Function Documentation

MODULE_AUTHOR ( "Kyle McMartin <[email protected] ,
Thibaut Varene< t-bone @parisc-linux.org >"   
)
MODULE_DESCRIPTION ( "Analog Devices AD1889 ALSA sound driver )
MODULE_DEVICE_TABLE ( pci  ,
snd_ad1889_ids   
)
MODULE_LICENSE ( "GPL"  )
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
module_param_array ( id  ,
charp  ,
NULL  ,
0444   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
module_param_array ( ac97_quirk  ,
charp  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for the AD1889 soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for the AD1889 soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable AD1889 soundcard."   
)
MODULE_PARM_DESC ( ac97_quirk  ,
"AC'97 workaround for strange hardware."   
)
module_pci_driver ( ad1889_pci_driver  )
MODULE_SUPPORTED_DEVICE ( "{{Analog Devices,AD1889}}"  )