#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <asm/sgi/hpc3.h>
#include <asm/sgi/ip22.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/pcm-indirect.h>
#include <sound/initval.h>
#include "hal2.h"
Go to the source code of this file.
#define H2_BLOCK_SIZE 1024 |
#define H2_BUF_SIZE 16384 |
#define H2_MIX_INPUT_GAIN 1 |
#define H2_MIX_OUTPUT_ATT 0 |
#define H2_READ_ADDR |
( |
|
addr | ) |
(addr | (1<<7)) |
Value:
HPC3_DMACFG_DS16 | \
HPC3_DMACFG_EVENHI | \
HPC3_DMACFG_RTIME | \
MODULE_AUTHOR |
( |
"Thomas Bogendoerfer" |
| ) |
|
module_param |
( |
id |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
index |
, |
|
|
"Index value for SGI HAL2 soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for SGI HAL2 soundcard." |
|
|
) |
| |
module_platform_driver |
( |
hal2_driver |
| ) |
|