linux/sound/isa/gus/gus_main.c

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

#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/gus.h>
#include <sound/control.h>

#include <asm/dma.h>

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

static int snd_gus_init_dma_irq(struct snd_gus_card * gus, int latches);

int snd_gus_use_inc(struct snd_gus_card * gus)
{}

void snd_gus_use_dec(struct snd_gus_card * gus)
{}

static int snd_gus_joystick_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
{}

static int snd_gus_joystick_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
{}

static int snd_gus_joystick_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
{}

static const struct snd_kcontrol_new snd_gus_joystick_control =;

static void snd_gus_init_control(struct snd_gus_card *gus)
{}

/*
 *
 */

static int snd_gus_free(struct snd_gus_card *gus)
{}

static int snd_gus_dev_free(struct snd_device *device)
{}

int snd_gus_create(struct snd_card *card,
		   unsigned long port,
		   int irq, int dma1, int dma2,
		   int timer_dev,
		   int voices,
		   int pcm_channels,
		   int effect,
		   struct snd_gus_card **rgus)
{}

/*
 *  Memory detection routine for plain GF1 soundcards
 */

static int snd_gus_detect_memory(struct snd_gus_card * gus)
{}

static int snd_gus_init_dma_irq(struct snd_gus_card * gus, int latches)
{}

static int snd_gus_check_version(struct snd_gus_card * gus)
{}

int snd_gus_initialize(struct snd_gus_card *gus)
{}

  /* gus_io.c */
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
  /* gus_reset.c */
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
  /* gus_mixer.c */
EXPORT_SYMBOL();
  /* gus_pcm.c */
EXPORT_SYMBOL();
  /* gus.c */
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
  /* gus_irq.c */
EXPORT_SYMBOL();
  /* gus_uart.c */
EXPORT_SYMBOL();
  /* gus_dram.c */
EXPORT_SYMBOL();
EXPORT_SYMBOL();
  /* gus_volume.c */
EXPORT_SYMBOL();
EXPORT_SYMBOL();
  /* gus_mem.c */
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();
EXPORT_SYMBOL();