// SPDX-License-Identifier: GPL-2.0-only /* * fireworks_midi.c - a part of driver for Fireworks based devices * * Copyright (c) 2009-2010 Clemens Ladisch * Copyright (c) 2013-2014 Takashi Sakamoto */ #include "fireworks.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 *substrm, int up) { … } static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) { … } static void set_midi_substream_names(struct snd_efw *efw, struct snd_rawmidi_str *str) { … } int snd_efw_create_midi_devices(struct snd_efw *efw) { … }