#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.
|
| 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) |
|
MODULE_ALIAS |
( |
"platform:pcspkr" |
| ) |
|
MODULE_DESCRIPTION |
( |
"PC-Speaker driver" |
| ) |
|
module_exit |
( |
pcsp_exit |
| ) |
|
module_init |
( |
pcsp_init |
| ) |
|
module_param |
( |
id |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
nopcm |
, |
|
|
bool |
, |
|
|
0444 |
|
|
) |
| |
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}}" |
| ) |
|