Lines Matching refs:rmidi
18 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_open()
37 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_close()
48 struct snd_ff *ff = substream->rmidi->private_data; in midi_capture_trigger()
65 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_trigger()
99 struct snd_rawmidi *rmidi; in snd_ff_create_midi_devices() local
105 &rmidi); in snd_ff_create_midi_devices()
109 snprintf(rmidi->name, sizeof(rmidi->name), in snd_ff_create_midi_devices()
111 rmidi->private_data = ff; in snd_ff_create_midi_devices()
113 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_ff_create_midi_devices()
114 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_ff_create_midi_devices()
116 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ff_create_midi_devices()
119 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; in snd_ff_create_midi_devices()
120 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_ff_create_midi_devices()
122 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_ff_create_midi_devices()
125 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; in snd_ff_create_midi_devices()