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

Go to the source code of this file.

Macros

#define verbose_debug(fmt, args...)
 

Functions

 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for Digigram Lola driver.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for Digigram Lola driver.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable Digigram Lola driver.")
 
 module_param_array (granularity, int, NULL, 0444)
 
 MODULE_PARM_DESC (granularity,"Granularity value")
 
 module_param_array (sample_rate_min, int, NULL, 0444)
 
 MODULE_PARM_DESC (sample_rate_min,"Minimal sample rate")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{Digigram, Lola}}")
 
 MODULE_DESCRIPTION ("Digigram Lola driver")
 
 MODULE_AUTHOR ("Takashi Iwai <[email protected]>")
 
int lola_codec_write (struct lola *chip, unsigned int nid, unsigned int verb, unsigned int data, unsigned int extdata)
 
int lola_codec_read (struct lola *chip, unsigned int nid, unsigned int verb, unsigned int data, unsigned int extdata, unsigned int *val, unsigned int *extval)
 
int lola_codec_flush (struct lola *chip)
 
 MODULE_DEVICE_TABLE (pci, lola_ids)
 
 module_pci_driver (lola_driver)
 

Macro Definition Documentation

#define verbose_debug (   fmt,
  args... 
)

Definition at line 80 of file lola.c.

Function Documentation

int lola_codec_flush ( struct lola chip)

Definition at line 220 of file lola.c.

int lola_codec_read ( struct lola chip,
unsigned int  nid,
unsigned int  verb,
unsigned int  data,
unsigned int  extdata,
unsigned int val,
unsigned int extval 
)

Definition at line 204 of file lola.c.

int lola_codec_write ( struct lola chip,
unsigned int  nid,
unsigned int  verb,
unsigned int  data,
unsigned int  extdata 
)

Definition at line 195 of file lola.c.

MODULE_AUTHOR ( "Takashi Iwai <[email protected]>"  )
MODULE_DESCRIPTION ( "Digigram Lola driver )
MODULE_DEVICE_TABLE ( pci  ,
lola_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 ( granularity  ,
int  ,
NULL  ,
0444   
)
module_param_array ( sample_rate_min  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for Digigram Lola driver."   
)
MODULE_PARM_DESC ( id  ,
"ID string for Digigram Lola driver."   
)
MODULE_PARM_DESC ( enable  ,
"Enable Digigram Lola driver."   
)
MODULE_PARM_DESC ( granularity  ,
"Granularity value  
)
MODULE_PARM_DESC ( sample_rate_min  ,
"Minimal sample rate  
)
module_pci_driver ( lola_driver  )
MODULE_SUPPORTED_DEVICE ( "{{Digigram, Lola}}"  )