#include "digi00x.h"
static int midi_open(struct snd_rawmidi_substream *substream)
{ … }
static int midi_close(struct snd_rawmidi_substream *substream)
{ … }
static void midi_capture_trigger(struct snd_rawmidi_substream *substream,
int up)
{ … }
static void midi_playback_trigger(struct snd_rawmidi_substream *substream,
int up)
{ … }
static void set_substream_names(struct snd_dg00x *dg00x,
struct snd_rawmidi *rmidi, bool is_console)
{ … }
static int add_substream_pair(struct snd_dg00x *dg00x, unsigned int out_ports,
unsigned int in_ports, bool is_console)
{ … }
int snd_dg00x_create_midi_devices(struct snd_dg00x *dg00x)
{ … }