Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pcsp.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <asm/bitops.h>
#include "pcsp_input.h"
#include "pcsp.h"

Go to the source code of this file.

Macros

#define PCSP_PM_OPS   NULL
 

Functions

 MODULE_AUTHOR ("Stas Sergeev <[email protected]>")
 
 MODULE_DESCRIPTION ("PC-Speaker driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{PC-Speaker, pcsp}}")
 
 MODULE_ALIAS ("platform:pcspkr")
 
 module_param (index, int, 0444)
 
 MODULE_PARM_DESC (index,"Index value for pcsp soundcard.")
 
 module_param (id, charp, 0444)
 
 MODULE_PARM_DESC (id,"ID string for pcsp soundcard.")
 
 module_param (enable, bool, 0444)
 
 MODULE_PARM_DESC (enable,"Enable PC-Speaker sound.")
 
 module_param (nopcm, bool, 0444)
 
 MODULE_PARM_DESC (nopcm,"Disable PC-Speaker PCM sound. Only beeps remain.")
 
 module_init (pcsp_init)
 
 module_exit (pcsp_exit)
 

Variables

struct snd_pcsp pcsp_chip
 

Macro Definition Documentation

#define PCSP_PM_OPS   NULL

Definition at line 214 of file pcsp.c.

Function Documentation

MODULE_ALIAS ( "platform:pcspkr"  )
MODULE_AUTHOR ( "Stas Sergeev <[email protected]>"  )
MODULE_DESCRIPTION ( "PC-Speaker driver )
module_exit ( pcsp_exit  )
module_init ( pcsp_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( index  ,
int  ,
0444   
)
module_param ( id  ,
charp  ,
0444   
)
module_param ( enable  ,
bool  ,
0444   
)
module_param ( nopcm  ,
bool  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for pcsp soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for pcsp soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable PC-Speaker sound."   
)
MODULE_PARM_DESC ( nopcm  ,
"Disable PC-Speaker PCM sound. Only beeps remain."   
)
MODULE_SUPPORTED_DEVICE ( "{{PC-Speaker, pcsp}}"  )

Variable Documentation

struct snd_pcsp pcsp_chip

Definition at line 40 of file pcsp.c.