linux/sound/isa/sb/sb8_midi.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) by Jaroslav Kysela <[email protected]>
 *  Routines for control of SoundBlaster cards - MIDI interface
 *
 * --
 *
 * Sun May  9 22:54:38 BST 1999 George David Morrison <[email protected]>
 *   Fixed typo in snd_sb8dsp_midi_new_device which prevented midi from 
 *   working.
 *
 * Sun May 11 12:34:56 UTC 2003 Clemens Ladisch <[email protected]>
 *   Added full duplex UART mode for DSP version 2.0 and later.
 */

#include <linux/io.h>
#include <linux/time.h>
#include <sound/core.h>
#include <sound/sb.h>


irqreturn_t snd_sb8dsp_midi_interrupt(struct snd_sb *chip)
{}

static int snd_sb8dsp_midi_input_open(struct snd_rawmidi_substream *substream)
{}

static int snd_sb8dsp_midi_output_open(struct snd_rawmidi_substream *substream)
{}

static int snd_sb8dsp_midi_input_close(struct snd_rawmidi_substream *substream)
{}

static int snd_sb8dsp_midi_output_close(struct snd_rawmidi_substream *substream)
{}

static void snd_sb8dsp_midi_input_trigger(struct snd_rawmidi_substream *substream, int up)
{}

static void snd_sb8dsp_midi_output_write(struct snd_rawmidi_substream *substream)
{}

static void snd_sb8dsp_midi_output_timer(struct timer_list *t)
{}

static void snd_sb8dsp_midi_output_trigger(struct snd_rawmidi_substream *substream, int up)
{}

static const struct snd_rawmidi_ops snd_sb8dsp_midi_output =;

static const struct snd_rawmidi_ops snd_sb8dsp_midi_input =;

int snd_sb8dsp_midi(struct snd_sb *chip, int device)
{}