#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/dma-mapping.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/control.h>
#include <sound/rawmidi.h>
#include <sound/initval.h>
#include <sound/info.h>
#include <asm/io.h>
#include <asm/hardware.h>
#include <asm/parisc-device.h>
#include "harmony.h"
Go to the source code of this file.
#define HARMONY_CONTROLS ARRAY_SIZE(snd_harmony_controls) |
#define HARMONY_VOLUME |
( |
|
xname, |
|
|
|
left_shift, |
|
|
|
right_shift, |
|
|
|
mask, |
|
|
|
invert |
|
) |
| |
Value:
.info = snd_harmony_mixercontrol_info, \
.get = snd_harmony_volume_get, .put = snd_harmony_volume_put, \
.private_value = ((left_shift) | ((right_shift) << 8) | \
((
mask) << 16) | ((invert) << 24)) }
Definition at line 830 of file harmony.c.
MODULE_DESCRIPTION |
( |
"Harmony sound driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
parisc |
, |
|
|
snd_harmony_devtable |
|
|
) |
| |
module_exit |
( |
alsa_harmony_fini |
| ) |
|
module_init |
( |
alsa_harmony_init |
| ) |
|
module_param |
( |
id |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for Harmony driver." |
|
|
) |
| |