linux/sound/isa/gus/gus_reset.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) by Jaroslav Kysela <[email protected]>
 */

#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/time.h>
#include <sound/core.h>
#include <sound/gus.h>

extern int snd_gf1_synth_init(struct snd_gus_card * gus);
extern void snd_gf1_synth_done(struct snd_gus_card * gus);

/*
 *  ok.. default interrupt handlers...
 */

static void snd_gf1_default_interrupt_handler_midi_out(struct snd_gus_card * gus)
{}

static void snd_gf1_default_interrupt_handler_midi_in(struct snd_gus_card * gus)
{}

static void snd_gf1_default_interrupt_handler_timer1(struct snd_gus_card * gus)
{}

static void snd_gf1_default_interrupt_handler_timer2(struct snd_gus_card * gus)
{}

static void snd_gf1_default_interrupt_handler_wave_and_volume(struct snd_gus_card * gus, struct snd_gus_voice * voice)
{}

static void snd_gf1_default_interrupt_handler_dma_write(struct snd_gus_card * gus)
{}

static void snd_gf1_default_interrupt_handler_dma_read(struct snd_gus_card * gus)
{}

void snd_gf1_set_default_handlers(struct snd_gus_card * gus, unsigned int what)
{}

/*

 */

static void snd_gf1_clear_regs(struct snd_gus_card * gus)
{}

static void snd_gf1_look_regs(struct snd_gus_card * gus)
{}

/*
 *  put selected GF1 voices to initial stage...
 */

void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice)
{}

void snd_gf1_stop_voice(struct snd_gus_card * gus, unsigned short voice)
{}

static void snd_gf1_clear_voices(struct snd_gus_card * gus, unsigned short v_min,
				 unsigned short v_max)
{}

void snd_gf1_stop_voices(struct snd_gus_card * gus, unsigned short v_min, unsigned short v_max)
{}

static void snd_gf1_alloc_voice_use(struct snd_gus_card * gus, 
				    struct snd_gus_voice * pvoice,
				    int type, int client, int port)
{}

struct snd_gus_voice *snd_gf1_alloc_voice(struct snd_gus_card * gus, int type, int client, int port)
{}

void snd_gf1_free_voice(struct snd_gus_card * gus, struct snd_gus_voice *voice)
{}

/*
 *  call this function only by start of driver
 */

int snd_gf1_start(struct snd_gus_card * gus)
{}

/*
 *  call this function only by shutdown of driver
 */

int snd_gf1_stop(struct snd_gus_card * gus)
{}