linux/sound/isa/wavefront/wavefront_fx.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) 1998-2002 by Paul Davis <[email protected]>
 */

#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>

/* Control bits for the Load Control Register
 */

#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)

{}

/* YSS225 initialization.

   This code was developed using DOSEMU. The Turtle Beach SETUPSND
   utility was run with I/O tracing in DOSEMU enabled, and a reconstruction
   of the port I/O done, using the Yamaha faxback document as a guide
   to add more logic to the code. Its really pretty weird.

   This is the approach of just dumping the whole I/O
   sequence as a series of port/value pairs and a simple loop
   that outputs it.
*/

int
snd_wavefront_fx_start (snd_wavefront_t *dev)
{}

MODULE_FIRMWARE();