// SPDX-License-Identifier: GPL-2.0-only /* * motu-midi.h - a part of driver for MOTU FireWire series * * Copyright (c) 2015-2017 Takashi Sakamoto <[email protected]> */ #include "motu.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_motu *motu, struct snd_rawmidi_str *str) { … } int snd_motu_create_midi_devices(struct snd_motu *motu) { … }