linux/sound/isa/gus/gus_timer.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Routines for Gravis UltraSound soundcards - Timers
 *  Copyright (c) by Jaroslav Kysela <[email protected]>
 *
 *  GUS have similar timers as AdLib (OPL2/OPL3 chips).
 */

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

/*
 *  Timer 1 - 80us
 */

static int snd_gf1_timer1_start(struct snd_timer * timer)
{}

static int snd_gf1_timer1_stop(struct snd_timer * timer)
{}

/*
 *  Timer 2 - 320us
 */

static int snd_gf1_timer2_start(struct snd_timer * timer)
{}

static int snd_gf1_timer2_stop(struct snd_timer * timer)
{}

/*

 */

static void snd_gf1_interrupt_timer1(struct snd_gus_card * gus)
{}

static void snd_gf1_interrupt_timer2(struct snd_gus_card * gus)
{}

/*

 */

static const struct snd_timer_hardware snd_gf1_timer1 =;

static const struct snd_timer_hardware snd_gf1_timer2 =;

static void snd_gf1_timer1_free(struct snd_timer *timer)
{}

static void snd_gf1_timer2_free(struct snd_timer *timer)
{}

void snd_gf1_timers_init(struct snd_gus_card * gus)
{}

void snd_gf1_timers_done(struct snd_gus_card * gus)
{}