Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xfi.c File Reference
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/moduleparam.h>
#include <linux/pci_ids.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/initval.h>
#include "ctatc.h"
#include "cthardware.h"

Go to the source code of this file.

Macros

#define CT_CARD_PM_OPS   NULL
 

Functions

 MODULE_AUTHOR ("Creative Technology Ltd")
 
 MODULE_DESCRIPTION ("X-Fi driver version 1.03")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_SUPPORTED_DEVICE ("{{Creative Labs, Sound Blaster X-Fi}")
 
 MODULE_PARM_DESC (reference_rate,"Reference rate (default=48000)")
 
 module_param (reference_rate, uint, S_IRUGO)
 
 MODULE_PARM_DESC (multiple,"Rate multiplier (default=2)")
 
 module_param (multiple, uint, S_IRUGO)
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for Creative X-Fi driver")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for Creative X-Fi driver")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable Creative X-Fi driver")
 
 module_param_array (subsystem, int, NULL, 0444)
 
 MODULE_PARM_DESC (subsystem,"Override subsystem ID for Creative X-Fi driver")
 
 MODULE_DEVICE_TABLE (pci, ct_pci_dev_ids)
 
 module_pci_driver (ct_driver)
 

Macro Definition Documentation

#define CT_CARD_PM_OPS   NULL

Definition at line 148 of file xfi.c.

Function Documentation

MODULE_AUTHOR ( "Creative Technology Ltd"  )
MODULE_DESCRIPTION ( "X-Fi driver version 1.03"  )
MODULE_DEVICE_TABLE ( pci  ,
ct_pci_dev_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_param ( reference_rate  ,
uint  ,
S_IRUGO   
)
module_param ( multiple  ,
uint  ,
S_IRUGO   
)
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
module_param_array ( id  ,
charp  ,
NULL  ,
0444   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
module_param_array ( subsystem  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( reference_rate  ,
"Reference rate (default=48000)"   
)
MODULE_PARM_DESC ( multiple  ,
"Rate multiplier (default=2)"   
)
MODULE_PARM_DESC ( index  ,
"Index value for Creative X-Fi driver  
)
MODULE_PARM_DESC ( id  ,
"ID string for Creative X-Fi driver  
)
MODULE_PARM_DESC ( enable  ,
"Enable Creative X-Fi driver  
)
MODULE_PARM_DESC ( subsystem  ,
"Override subsystem ID for Creative X-Fi driver  
)
module_pci_driver ( ct_driver  )
MODULE_SUPPORTED_DEVICE ( )