// SPDX-License-Identifier: GPL-2.0-only /* * dice_midi.c - a part of driver for Dice based devices * * Copyright (c) 2014 Takashi Sakamoto */ #include "dice.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_dice *dice, struct snd_rawmidi_str *str) { … } int snd_dice_create_midi(struct snd_dice *dice) { … }