#include <linux/io.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/firmware.h>
#include <sound/core.h>
#include <sound/snd_wavefront.h>
#include <sound/initval.h>
#define FX_LSB_TRANSFER …
#define FX_MSB_TRANSFER …
#define FX_AUTO_INCR …
#define WAIT_IDLE …
static int
wavefront_fx_idle (snd_wavefront_t *dev)
{ … }
static void
wavefront_fx_mute (snd_wavefront_t *dev, int onoff)
{ … }
static int
wavefront_fx_memset (snd_wavefront_t *dev,
int page,
int addr,
int cnt,
unsigned short *data)
{ … }
int
snd_wavefront_fx_detect (snd_wavefront_t *dev)
{ … }
int
snd_wavefront_fx_open (struct snd_hwdep *hw, struct file *file)
{ … }
int
snd_wavefront_fx_release (struct snd_hwdep *hw, struct file *file)
{ … }
int
snd_wavefront_fx_ioctl (struct snd_hwdep *sdev, struct file *file,
unsigned int cmd, unsigned long arg)
{ … }
int
snd_wavefront_fx_start (snd_wavefront_t *dev)
{ … }
MODULE_FIRMWARE(…) …;